
Bayesian optimization of discrete dislocation plasticity
of two-dimensional precipitation hardened crystals
Mika Sarvilahti∗and Lasse Laurson
Computational Physics Laboratory, Tampere University,
P.O. Box 692, FI-33014 Tampere, Finland
(Dated: November 24, 2022)
Discovering relationships between materials’ microstructures and mechanical properties is a key goal of ma-
terials science. Here, we outline a strategy exploiting Bayesian optimization to efficiently search the multi-
dimensional space of microstructures, defined here by the size distribution of precipitates (fixed impurities or
inclusions acting as obstacles for dislocation motion) within a simple two-dimensional discrete dislocation dy-
namics model. The aim is to design a microstructure optimizing a given mechanical property, e.g., maximizing
the expected value of shear stress for a given strain. The problem of finding the optimal discretized shape for
a distribution involves a norm constraint, and we find that sampling the space of possible solutions should be
done in a specific way in order to avoid convergence problems. To this end, we propose a general mathematical
approach that can be used to generate trial solutions uniformly at random while enforcing an Euclidean norm
constraint. Both equality and inequality constraints are considered. A simple technique can then be used to
convert between Euclidean and other Lebesgue p-norm (the 1-norm in particular) constrained representations.
Considering different dislocation-precipitate interaction potentials, we demonstrate the convergence of the al-
gorithm to the optimal solution and discuss its possible extensions to the more complex and realistic case of
three-dimensional dislocation systems where also the optimization of precipitate shapes could be considered.
I. INTRODUCTION
The need to develop novel materials with desired properties
for applications is the driving force behind much of mate-
rials science. One way of framing the problem is in terms
of structure-property relationships [1], where one aims at es-
tablishing relations between, say, the microstructural features
of a solid material and its mechanical properties [2]. In gen-
eral, the problem is very challenging due to the combination
of high dimensionality of microstructural descriptors (due to
the very large number of different microstructural features [3])
and non-linearities and statistical fluctuations in the material
response to external stimuli [4, 5]. For these reasons, con-
ventional materials design strategies relying essentially on a
combination of educated guesses and trial and error are sub-
optimal and constitute a bottleneck for discovery of novel ma-
terials.
Recent years have witnessed the emergence of “smart”
methods in the toolbox of materials scientists, such as ma-
chine learning (ML) and optimization algorithms, which are
used to discover previously unknown dependencies of ma-
terial properties on a wide range of microstructural parame-
ters [6, 7]. Indeed, such developments are currently spawn-
ing a new research field sometimes referred to as materials
informatics [8]. However, a large fraction of applications of
“ML for materials” are currently limited to considering atom-
istic and molecular properties of materials in fields such as
quantum chemistry [9]. Yet, the macroscopic mechanical
properties of realistic crystalline materials are largely con-
trolled by the microstructural features on scales well above
the atomic/molecular scale, calling for novel applications of
ML to discover novel microstructure-property relations using
microstructural features on a coarse-grained scale as input.
∗mika.sarvilahti@tuni.fi
Here, we present an approach based on Bayesian optimiza-
tion to find optimal values for the properties, such as the size
distribution, of precipitate particles within crystals resulting
in desired mechanical properties, such as maximal stress at
a given strain. Bayesian optimization [10–12] is known to
be an excellent choice for optimization problems such as the
present one in which evaluating a data point (here, performing
a discrete dislocation dynamics (DDD) simulation) is com-
putationally expensive and the outcome is stochastic (noisy).
The method can be applied to various problems, and there has
already been success in the context of optimization of, e.g.,
atomistic structures [13] and metamaterials [14]. Bayesian
optimization has also been used to calibrate the parameters of
a gradient plasticity model [15] that predicts the plastic size
effects of micropillars.
In this work, we apply Bayesian optimization to 2D disloca-
tion systems. The stress-strain response of such pure disloca-
tion systems has been studied both using stress-controlled [16,
17] and strain-controlled [18, 19] loading, along with recent
attempts to predict the response to external stresses by using
machine learning techniques [20, 21]. Like in these works, we
impose periodic boundary conditions for simplicity, although
it should be mentioned that recently, various methods have
been developed for simulating finite systems [22–24]. Our
system also contains fixed round precipitates (or solute clus-
ters) acting as obstacles for the moving dislocations. Precip-
itation is known to cause various pinning effects, which have
been studied with 2D DDD simulations in the case of identi-
cal precipitates or pinning centres [25]. Here, we go further
and allow the precipitates to be of varying sizes with the aim
of employing Bayesian optimization to find the optimal shape
for a discretized size distribution, subject to the constraint of
a fixed volume fraction (area fraction in 2D) of precipitates,
resulting in a designed mechanical response of the material.
The design objective in our case is to maximize the average
shear stress required to produce a certain value of strain.
arXiv:2210.02242v2 [cond-mat.mtrl-sci] 23 Nov 2022