Skip to main content
Wiley Open Access Collection logoLink to Wiley Open Access Collection
. 2026 Jun 3;303(2):194–215. doi: 10.1111/jmi.70126

Simplex‐based model for nanoparticle grain identification in four‐dimensional scanning transmission electron microscopy data

Wei Liu 1, Roberto dos Reis 2,3,4, Chad A Mirkin 2,3,5, Vinayak P Dravid 2,3,4, Wei Chen 6, Daniel W Apley 1,✉
PMCID: PMC13397303  PMID: 42233752

Abstract

Grain identification in polycrystalline nanoparticles, for example, determining which crystal phases are present at each spatial location, is fundamental to materials characterisation. This is particularly challenging when grains overlap extensively, as commonly occurs in four‐dimensional scanning transmission electron microscopy (4D‐STEM) datasets. We propose a simplex‐based model (SBM) in which each simplex vertex represents the diffraction pattern (DP) of a pure grain, and the simplex edges and interior represent overlapping grains. Our SBM grain identification algorithm operates on the Bragg disk (BD) data matrix distilled from the 4D‐STEM data to identify the grain membership at each scan position, together with a BD feature matrix whose columns represent the DPs for each constituent grain, which is important for identifying the crystal structure of each grain. We solve the model using a two‐stage algorithm. In Stage 1, we adapt a linear mixing algorithm to estimate an initial BD feature matrix whose columns represent DPs of potentially overlapping grains. Our Stage 2 algorithm incorporates sparsity considerations to transform the initial BD feature matrix so that its columns represent DPs of pure grains. Using simulated datasets with various grain configurations, we demonstrate that SBM recovers both the BD feature matrix and membership maps more accurately than existing methods, even when a grain lacks any pure region and completely overlaps with other grains.

Keywords: 4D‐STEM segmentation, constrained optimisation, grain identification, polycrystalline materials

1. INTRODUCTION

Crystalline nanoparticle characterisation is a cornerstone of material discovery, enabling the design of nanomaterials with tailored properties for applications ranging from polymers to catalysts. 1 Primary characterisation tasks include grain identification or phase mapping to determine the locations and geometry of grains present in a nanoparticle, which is particularly challenging for multi‐element materials. 2 , 3 Here ‘grain’ is used as shorthand for nanoparticle regions producing diffraction patterns (DPs) due to different orientations, phases or crystallites. Such techniques involve identifying regions that exhibit distinct DPs due to differences in crystal structure or orientation, which is essential because grain morphology, encompassing shape, size, spatial distribution, and phase composition, directly dictates macroscopic properties including mechanical strength, electrical conductivity, and magnetisation. For example, crystal orientation influences deformation twinning in nanoscale metals that provide desirable properties such as high strength and hardness. 4

Grain identification based on transmission electron microscopy (TEM) typically relies on the real space image, as TEM provides a DP that is averaged across a selected area that is relatively large (typically at least 10 nm in size but often several hundred nanometres). The emergence of four‐dimensional scanning transmission electron microscopy (4D‐STEM) 5 has revolutionised nanoparticle characterisation by providing fine lattice information about nanoscale structures. 4D‐STEM records various forms of scattering measurements of a STEM probe in both real and reciprocal spaces, producing a full DP at each real space scan position over a 2D spatial grid covering the nanoparticle. The resulting 4D tensor data contains rich structural information of the material, particularly for crystalline materials where DPs feature clear and periodic Bragg disks (BDs). 6 However, it is challenging to extract this information buried in the raw 4D‐STEM data, motivating the development of robust statistical models for accurate and efficient characterisation.

Integrating modern statistical tools with crystallographic domain knowledge for 4D‐STEM segmentation remains an open challenge that has stimulated a growing body of research. Thronsen et al. (2024) 7 benchmarked traditional methods for phase mapping that require substantial prior knowledge (e.g., a library of simulated DPs for known grains) such as template matching and vector matching against machine learning techniques like non‐negative matrix factorisation (NMF) and neural networks over the dataset of an alloy sample. The py4DSTEM framework 8 includes an algorithm that first groups BDs via the frequency of coexistence of BDs within the same DP, and then segments the nanoparticle image. Other researchers have focused on applying popular segmentation/clustering methods. Shi et al. 9 , 10 applied hierarchical clustering and K‐means clustering to segment real space images of 4D‐STEM datasets of WS2‐WSe2 with strain‐engineered structures, which successfully revealed regions of different types/levels of deformations across the sample area. Francis and Voyles (2024) 11 developed an algorithm built on density‐based spatial clustering that utilises both real space and reciprocal space coordinates of BD centres. Liu et al. (2025) 12 integrated customised data preprocessing steps with a Gaussian mixture model (GMM) and demonstrated successful results for real datasets. Bruefach et al. (2022) 13 developed an NMF‐based pipeline, and later specifically investigated the impact of hyperparameter choices on segmentation performance. 14 NMF has become popular in the field of 4D‐STEM segmentation and has been widely investigated and implemented in other works. 8 , 15 , 16 , 17 Above works constitute important advances in nanoparticle characterisation, but they are limited by their implicit reliance on the statistical models that underly clustering and NMF algorithms.

This work proposes a simplex‐based model (SBM) that more faithfully represents the nature of nanoparticle 4D‐STEM data, especially when grains overlap. Our SBM algorithm operates on a data feature matrix produced by standard 4D‐STEM data preprocessing tools. Let K denote the number of distinct grains in the nanoparticle, our goal is twofold: (i) recover the pure DP for each of the K distinct grains from the intensity data X (described in Section 2), enabling crystal structure identification, and (ii) determine which grain is present at each scan location i=1,2,…,n, and the degree of membership of the grains (e.g., grain 1 and grain 2 overlap with 30% grain 1 and 70% grain 2), since multiple grains frequently overlap in nanoparticles. Together, this information can be used to construct a 3D representation of the entire nanoparticle that shows the geometry and location of each grain, where they overlap, where they are pure, etc., as well as the pure DP of each grain, even when the grain always overlaps with other grains.

The simplex representation of a nanoparticle embedded in our SBM is crucial for accomplishing this. In Section 2 we define this simplex structure and illustrate its representation of 4D‐STEM data. With this simplex structure as the basis, in Section 3 we present an algorithm for identifying the DPs of the K grains and their memberships at each scan location. This is particularly challenging when some grains are not pure at any scan location (i.e., when a grain overlaps with other grains at every location where it is present). To handle this, we develop a two‐stage algorithm that first estimates a compacted simplex structure and then expands the simplex so that its K vertices represent the DPs of the K pure grains, as opposed to DPs of overlapping grains (see Section 2 for how the simplex vertices relate to the DPs). Section 4 presents numerical results demonstrating that our approach identifies the actual structure of the nanoparticle more accurately than existing methods. Section 5 concludes the paper.

2. THE SIMPLEX STRUCTURE OF NANOPARTICLE 4D‐STEM DATA

In this section, we first describe X, and then show how 4D‐STEM data can be compactly represented using a simplex structure. The assumed preprocessing 8 , 12 to obtain X involves three main standard steps: (i) identify n scan positions within the nanoparticle and spatially average the DPs locally around each scan position to reduce DP image noise and make the BDs more visible; (ii) detect the BDs in each DP via cross‐correlation (CC) to determine the coordinates of each BD centre and the CC intensity at the centre; (iii) aggregate all detected BD centres across the n DPs to form the Bragg Vector Map (BVM) and compute d local BVM maxima, which are taken to be the set of all distinct detected BD centres across the DPs at all n scan positions. The distilled data features from the preprocessing contain two parts: (i) the collection of coordinates of the d distinct BD centres from the BVM; (ii) the data matrix X=[x1,…,xn]∈Rd×n, where each column vector xi=[x1,i,…,xd,i]T in X is a d‐length vector associated with the ith scan position, and xj,i denotes the CC intensity in the DP for the ith real space scan position at the jth BD centre.

To define a simplex, suppose we have K vectors b0,1,…,b0,K (each in Rd) that represent the featurised DPs for the K distinct crystals in the nanoparticle. That is, b0,k=[b0,1,k,…,b0,d,k]T is the d‐length vector of intensities at the d BD locations in the BVM, for the pure DP of the kth grain. The K−1 dimensional simplex determined by {b0,k}k=1K is defined as the set as

C={c1b0,1+⋯+cKb0,K|∑k=1Kck=1,ck≥0,k=1,…,K}. (1)

In the context of 4D‐STEM data, we assume at each scan position i, the intensity vector xi at each of the d identified BD locations is a convex linear combination (coefficients that are non‐negative and sum to one) of the BD intensity vectors {b0,k}k=1K of the K pure crystal DPs, plus additive noise εi∈Rd. Hence, aside from noise, each xi lies in the simplex C defined in Equation (1), which we can represent compactly as

xi=c0,1,ib0,1+⋯+c0,K,ib0,K+εi=∑k=1Kc0,k,ib0,k+εi, (2)

where the membership coefficients {c0,k,i}k=1K satisfy the nonnegativity constraint (c0,k,i≥0 for k=1,…,K) and the sum‐to‐one constraint (∑k=1Kc0,k,i=1).

Figure 1 visualises the simplex structures for two simulated two‐grain nanoparticles, one with a steep transition (no overlap, Figure 1a) between the two grains and the bottom one with a gradual transition (grains overlapping in the middle region, Figure 1b). The two simulated grains are cubic mp‐1425 and cubic mp‐31057 from the Materials Project database, 18 and their DPs with zone axis [001] are displayed in Figure 1 as DP1 and DP2. For the nanoparticle in Figure 1a, all scan positions on the left of the boundary (labelled region ‘1') share DP1, while those on the right (labelled region ‘2') share DP2. We define a pure region as a contiguous spatial domain where all scan positions correspond to a single crystal grain and therefore have the same DP, and a pure pixel as a pixel within a pure region. Thus, if scan position i is within a pure region for grain k, c0,k,i=1, and c0,j,i=0 for j≠k. In Rd space, the simplex is a line segment connecting two vertices b0,1 and b0,2 that correspond to DP1 and DP2. Under the noiseless condition, data points for pure pixels would lie exactly at the vertices. In the presence of noise, data points cluster around b0,1 and b0,2 as in Figure 1a. For the nanoparticle in Figure 1b that is composed of the same two grains but with a gradual transition over which the two grains overlap (the area between two red dashed vertical lines), data points are distributed among the simplex differently. In addition to the clusters around b0,1 and b0,2 corresponding to the pure regions 1 and 2 in Figure 1b, scan positions in the transition region correspond to points along the line segment connecting b0,1 and b0,2. For example, the green dot in the nanoparticle image represents a 50/50 balanced mix of the two grains with its DP being the overlap of DP1 and DP2; therefore, in the Rd simplex representation, the green dot is located near the centre of the line segment.

FIGURE 1.

FIGURE 1

Simplex representation of two‐grain nanoparticles with configurations depicted in the left panels. (A) Steep transition: the nanoparticle (left) contains two pure regions separated by a sharp boundary; each pure region is associated with a distinct DP (middle); in Rd space (right), data points (blue dots) cluster near the two vertices b0,1 and b0,2. (B) Gradual transition: a transition zone (the area between two red dashed lines) produces data points distributed along the simplex edge connecting the vertices. Red and blue dots in the DPs indicate BDs belonging to grains 1 and 2, respectively, and the dot size is proportional to the CC intensities of those BDs. Each blue dot in the simplex structure plot on the right represents the d‐length vector xi at scan position i in the nanoparticle. The arrows indicate the correspondence between scan positions, DPs, and the Rd intensity vectors. The axes for nanoparticle images represent pixel coordinates, while the axes for simulated DPs denote the coordinates of BDs.

Figure 2 illustrates the simplex for a three‐grain nanoparticle comprised of the same two grains in Figure 1, plus a third grain that is monoclinic mp‐765632. The associated DP with zone axis [001] is displayed in Figure 2 as DP3. The simplex in this case is a two‐dimensional triangle in Rd. The vertices b0,1, b0,2, and b0,3 represent the pure patterns DP1, DP2, and DP3, respectively. The location of a data point within this simplex reflects the underlying mixture of crystal grains at that scan position: Those associated with pure pixels cluster around vertices, those representing mixtures of two grains lie along the edge connecting the corresponding two vertices, and those for scan positions containing a mixture of all three grains (the region labelled ‘1+2+3') reside within the interior of the simplex. Because the nanoparticle in Figure 2 features a comprehensive set of mixtures, including pure regions for each grain, transition zones between pairs of grains, and three‐grain overlaps, the resulting simplex structure is fully populated with points distributed around the vertices, along the edges, and throughout the interior.

FIGURE 2.

FIGURE 2

Nanoparticle configuration (left column), example DPs (middle column), and the simplex structure (right column) for the three‐grain nanoparticle. The Rd coordinate system is identical to that in Figure 1 but is omitted here and hereafter for visual clarity.

Examples in Figures 1 and 2 are ‘ideal’ because the 4D‐STEM dataset contains pure regions for all K constituent grains. A more challenging and frequently encountered scenario occurs when one or more crystals lack a pure region within the dataset. For example, in the two‐grain nanoparticle in Figure 3a, grain 2 does not have a pure region, with its maximum membership coefficient reaching only around 0.5 at the far right of the nanoparticle. As results in Section 4 show, the absence of pure pixels makes it difficult for NMF to accurately recover the vertex b0,2. Similarly, for the three‐grain nanoparticle in Figure 3b, grain 1 is present across the entire nanoparticle so that neither grain 2 nor grain 3 has a pure region. The absence of pure‐grain regions is reflected in the simplex structures shown in the right panels: There are no data points around b0,2 in Figure 3a simplex or around b0,2 and b0,3 in Figure 3b simplex. As results in Section 4 show, because NMF does not fully incorporate the simplex structure, it tends to produce mixtures of {b0,k}k=1K as the estimated DPs for the grains, which makes it more challenging to identify the crystal structures of the grains. In contrast, SBM can robustly recover the true DPs even in the absence of pure regions, as demonstrated by simulations in Section 4.

FIGURE 3.

FIGURE 3

Nanoparticle configurations (left column) and simplex structures (right column) for nanoparticles in which some grains do not have any pure region.

3. SBM NANOPARTICLE CHARACTERISATION ALGORITHM

In this section, we first formulate a two‐stage optimisation that we use to fit the SBM to the data X to estimate the simplex vertices that represent the DPs {b0,1…,b0,K} of each grain, as well as the degree of membership of each grain at each scan position. Then, in Sections 3.1 and 3.2, we describe the algorithms that we developed to solve the Stage 1 and Stage 2 optimisations, respectively. Section 3.3 discusses how to select the hyperparameter λ in the Stage 1 optimisation and how to adaptively choose the step size in the optimisation.

Based on Equation (2), the SBM in matrix form can be written as

X=B0C0+ε (3a)
s.t.B0∈R≥0d×K, (3b)
C0∈R≥0K×n,C0T1K=1n, (3c)

where B0=[b0,1,…,b0,K] is the matrix of simplex vertices, C0=c0,1,1⋯c0,1,n⋮⋱⋮c0,K,1⋯c0,K,n is the membership matrix whose columns represent the memberships at each scan position i=1,…,n, R≥0d×K denotes the set of d×K matrices with all entries being nonnegative, 1K∈RK denotes the K‐length column vector of ones, and ε∈Rd×n represents the noise matrix. The goal is to estimate B0 and C0 given X. While K is typically unknown, in Appendix B we describe how to estimate K by performing principal component analysis (PCA) on X.

The SBM in Equation (3) is the same as the linear mixture model (LMM) extensively studied in the field of hyperspectral unmixing. 19 In Stage 1 of our algorithm, we use a modified version of LMM algorithms to produce an initial estimate (denoted by B^) of B0. For the situation depicted in Figure 3, in which some grains have no pure regions, B^ from LMM algorithms is a shrunken version of B0, since LMM algorithms find the smallest‐volume simplex that approximately contains the data. For the same three‐grain example in Figure 3, Figure 4 depicts this difference between B^ and B0. The vertices of this shrunken simplex (i.e., the columns of B^) do not represent DPs for the pure grains present in the nanoparticle. Consequently, we follow Stage 1 with a Stage 2 algorithm that recovers an estimate B0^ of B0 from B^, and the columns of B0^ can then be correctly interpreted as the DPs for the pure grains.

FIGURE 4.

FIGURE 4

For the same three‐grain example in Figure 3, illustration of how the Stage 1 estimate B^ from LMM‐like algorithms is a shrunken version of B0 when some grains have no pure regions, since B^ is the minimum‐volume simplex that contains the data X. In Stage 2, we recover B0^ from B^, after which the columns of B0^ can be interpreted as the DPs for the pure grains.

More specifically, in Stage 1, we solve the following constrained optimisation problem with variables B, C:

minimiseB,C||X−BC||F2+λTr(IK−1K1KTK)BTBIK−1K1KTK (4a)
s.t.B∈R≥0d×K, (4b)
C∈R≥0K×n,CT1K=1n, (4c)

where ||·||F2 denotes the square of Frobenius norm, Tr(·) denotes the trace operator, IK denotes the K×K identity matrix, and λ is a hyperparameter that penalises a surrogate for the simplex volume (the second term in the objective function) and balances this with the data fitting error. The membership matrix C in Stage 1 is associated with B and not B0. This is a modified version of LMM algorithms, since LMM algorithms generally use logdet(BTB) as a surrogate for the simplex volume. This modification is motivated by two considerations: (i) the logarithm can yield negative values and has a global minimum of −∞ when B is singular; (ii) as a surrogate for simplex volume, the trace term that we use in Equation (4a) scales with d and K similarly to the reconstruction error, ||X−BC||F2, which enables a simple heuristic for selecting the hyperparameter λ that we found to work well across different problem sizes (i.e., different d and K), as well as different noise levels (see Section 3.3).

Given B^ from Stage 1, to estimate B0 in Stage 2, we make use of the fact that B0 will typically be sparser (have more elements that are zero) than B, since the columns of B represent linear combinations of the columns in B0, and the columns of B0 represent the DPs for pure grains (which will have numerous zero entries if many of the BD locations for the pure grains differ). To estimate B0, we adapt the varimax rotation criterion from factor analysis, 20 which was designed to transform factor loading matrices into sparser matrices in the factor rotation setting. Specifically, our Stage 2 optimisation problem with decision variables B0, P is

maximiseB0,PVarimax(B0) (5a)
s.t.B0∈R≥0d×K, (5b)
P∈R≥0K×K,PT1K=1K, (5c)
B0P=B^, (5d)

with

Varimax(B0)=1d∑k=1K∑j=1db∼j,k4−(∑j=1db∼j,k2)2d, (6a)
b∼j,k=b0,j,khj,hj2=∑k=1Kb0,j,k2. (6b)

Note that the matrix P (each column of which has nonnegative elements that sum to 1) in Equation (5d) represents the extent to which B^ is shrunk, relative to B0. The varimax objective in Equation (6a) sums the variance of squared normalised entries in each column of B0. Maximising this objective encourages solutions where the rows of B0 have nonzero elements in as few columns as possible, which is the sparsity consideration that allows B0 to be recovered, as demonstrated in our later numerical experiments. The constraint Equation (5d) ensures that each vertex in B^ is contained within the simplex defined by B0, and represents an invertible transformation between B0 and B^.

Finally, we estimate the membership matrix C0 in Equation (3) by regressing X onto the column space of B0^, as described at the end of Section 3.2.

3.1. Stage 1: Optimisation algorithm

Because the objective function in Equation (4a), which we denote here by f1(B,C):=||X−BC||F2+λTr(IK−1K1KTK)BTB(IK−1K1KTK), is not jointly convex in both B and C, we solve the Stage 1 optimisation by alternatively updating B and C with adaptively chosen step sizes and projection onto the feasible constraint space as in Algorithm 1 below. In Algorithm 1, αB and αC denote the gradient descent step size for updating B and C, respectively; ∇B and ∇C denote the gradient of f1(B,C) w.r.t. B and C; ΠB and ΠC denote operators that project the updated estimates of B and C onto the constraint space defined by Equations (4b) and (4c). For the initial guesses B^, C^, we use the corresponding quantities from NMF, and we compute λ as described in Section 3.3. In each epoch, we first update B and C by taking a step in the gradient descent direction with step sizes selected adaptively via Algorithm 3 and the gradients computed via

∇Bf1=−2(X−BC)CT+2λBIK−1K1KTKIK−1K1KTK, (7a)
∇Cf1=−2(X−BC)BT. (7b)

We then project the updated B^ and C^ to their feasible constraint spaces via

ΠB(B^)=max(B^,0), (8a)
ΠC(C^)=argminC∈R≥0K×n,CT1K=1n||C−C^||F2, (8b)

where Equation (8b) can be efficiently solved. 21 Algorithm 1 terminates upon the convergence of the objective function, f1.

ALGORITHM 1. Stage 1 algorithm.

Require: B^, C^ from NMF, and compute λ as in Equation (13).
Require: Choose αB=0.01, αC=1, ρ=0.5, errorold=f1(B^,C^), ε=10−6, and Epochmax=2000.
for e in {1,2,…,Epochmax} do
Obtain αC by Algorithm 3;
C^←ΠCC^−αC∇Cf1;
Obtain αB by Algorithm 3;
B^←ΠBB^−αB∇Bf1;
error←f1(B^,C^);
if
|errorold−error||errorold|<ε
then
Break
end if
errorold←error;
end for
Return B^.

ALGORITHM 3. Adaptive step size algorithm.

Require: step size from last epoch αold, current variable z, and update direction g.
αold←2αold
while
αold≥10−6
do
αnew←ραold
if
f(z+αnewg)>f(z+αoldg)
then
Break
end if
αold←αnew
end while
Return
αold

3.2. Stage 2: Optimisation algorithm

Because the varimax objective, which we denote here by f2(B0):=Varimax(B0) is nonconvex, we apply the gradient ascent method as in the Algorithm 2 below. In Algorithm 2, the gradient of f2 w.r.t. the row‐s, column‐t element of B0 is calculated as

∇b0,s,tf2=4b∼s,tdhsb∼s,t2−∑j=1Kb∼s,j4−4b∼s,td2hs∑i=1db∼i,t2−∑j=1K(∑i=1db∼i,j2)b∼s,j2, (9)

and the d×K matrix gradient is

∇B0f2=4d(B0∼⊘H)⊙E−(E⊙E)1K1KT−4d2(B0∼⊘H)⊙1d1dTE−((1d1dTE)⊙E)1K1KT,E=B0∼⊙B0∼,H=[h1,…,hd]T1KT, (10)

where ⊙ denotes element‐wise multiplication, and ⊘ denotes element‐wise division. The matrix H is a normalisation matrix with hj(j=1,…,d) computed by Equation (6b), and B0∼ is the normalised matrix with each entry computed by Equation (6b). The operators ΠB0 and ΠP project the updated matrices B0^, P^ onto the feasible constraint spaces defined by Equations (5b) and (5c), respectively, similarly to Equations (8a) and (8b), via

ΠB0(B0^)=max(B0^,0), (11a)
ΠP(P^)=argminP∈R≥0K×K,PT1K=1K||P−P^||F2. (11b)

ALGORITHM 2. Stage 2 algorithm.

Require: Initial guesses, B0^=B^, P^=IK.
Require: errorold=f2(B0^), ε=10−6, δ=10−4, Epochmax=200.
for e in {1,2,…,Epochmax} do
Calculate ∇B0f2, obtain α by Algorithm 3;
B0^←ΠB0B0^+α∇B0f2;
while
||B^−B0^P^||F2≥δ
do
P^←ΠP((B0^TB0^)−1B0^TB^);
B0^←ΠB0B^(P^)−1;
end while
error←f2(B0^);
if
|errorold−error||errorold|<ε
then
Break
end if
errorold←error;
end for
Return B0^.

Algorithm 2 solves for an optimal transformation P such that B0^:=B^P−1 maximises the varimax objective. During each epoch, we first update B0^ by taking a step in the projected (onto the nonnegativity constraint space) gradient ascent with an adaptive step size. Then, we perform a local optimisation to iteratively refine both B0^ and P^, projecting them back onto the constraint space defined by Equation (5d) that relates them. Algorithm 2 terminates when the varimax objective stabilises between successive epochs.

Given B0^, we estimate the membership matrix C0 via

C0^=argminC0∈R≥0K×n,C0T1K=1n||C0−(B0^TB0^)−1B0^TX||F2, (12)

which first regresses X onto the column space of B0^, then projects each column of the resulting matrix, (B0^TB0^)−1B0^TX, onto the K−1 dimensional probability simplex 21 via the minimisation over C0.

3.3. Selection of λ and adaptive step size heuristic

In Equation (4a), the hyperparameter λ balances the data fitting error against the simplex volume penalty. If λ is too large, the algorithm over‐penalises the simplex volume term, causing the simplex whose vertices are the columns of B^ to be too small to encompass the data points in X. Conversely, if λ is too small, the simplex may be too large.

To select λ we use the rule

λ=θ||X−B^C^||F2Tr(IK−1K1KTK)B^TB^(IK−1K1KTK), (13)

where θ is a hyperparameter that can be selected more intuitively than λ (as discussed below), B^ and C^ are the Algorithm 1 initial guesses for B and C from NMF. The right‐hand‐side of Equation (13) represents the ratio of the first (data fitting error) term and the second (volume regularisation) term for the initial guesses in the Algorithm 1 objective function, multiplied by θ. Consequently, selecting θ=10−3 (which we use for all numerical simulations in Section 4) results in the second term λTr(IK−1K1KTK)B^TB^(IK−1K1KTK) being θ=10−3 times the first term ||X−B^C^||F2, at least for the initial guesses.

The Stage 1 and Stage 2 algorithms both require an adaptive step size α, for which we use the approach in the Algorithm 3 below. To simplify the notation, let f(z) (i.e., either f1(·) or −f2(·)) denote the objective function to be minimised and z denote the set of decision variables. The gradient descent direction is defined as g:=−∇zf, and each iteration of the optimisation algorithm takes a step αg in the gradient direction with step size α determined from Algorithm 3.

In each epoch of the Stage 1 and Stage 2 optimisation algorithms, we initialise the step size αold for the current epoch by doubling the selected step size from the previous epoch. Then at each iteration of Algorithm 3, we reduce the step size by a specified factor ρ (we use ρ=0.5 for all simulations in Section 4) via αnew=ραold. The iterations continue until the function f(z+αnewg) at the reduced step size is larger (worse) than the function f(z+αoldg) at the current step size.

4. NUMERICAL RESULTS

To demonstrate the performance of SBM, we simulated datasets that contain two and three grains by directly simulating the data matrix X. For each example, we first consider the case that X is noiseless and then the case that X contains noise. The DPs (BD locations and intensities) for the two‐grain example are shown in the ground truth (leftmost) column of Figure 5, and their memberships at each scan position are shown in the ground truth column of Figure 6. Note that the ground truth DPs determine B0 and the ground truth memberships determine C0, with the data in the noiseless case being X=B0C0. For the noisy case, we introduced multiplicative intensity noise to X by replacing xj,i←αj,ixj,i with the noise αj,i normally independently distributed with mean 1.0 and standard deviation 0.2, which represents a significant level of intensity fluctuation. In Appendix D we provide analogous simulation results in which the full 4D‐STEM data are simulated, by first simulating DPs at each scan position and then forming X via the data preprocessing pipeline described in the introduction.

FIGURE 5.

FIGURE 5

Ground truth DPs (left column) and estimated DPs from the three methods for the two‐grain noiseless data example.

FIGURE 6.

FIGURE 6

Ground truth and estimated membership heatmaps (A, B) and line plots (C) of the three methods for the noiseless two‐grain example with DPs shown in Figure 5.

For each dataset, we compare the performances of SBM, NMF and GMM 12 across two key aspects: (i) accuracy of the estimated DPs of the pure grains, which are taken to be the columns of the estimated B0^; (ii) accuracy of the membership maps, with the relative memberships of the grains at each scan position taken to be the corresponding column of C0^. Regarding (i), when plotting the estimated DPs (e.g., as in Figure 5), for easier visualisation and comparison to the ground truth DP, we scale the intensities of all BDs in an estimated DP proportionally so that the BD with highest intensity has the same intensity as the corresponding ground truth BD. The rationale is that the relative intensities of the BDs in each DP are more important than the absolute intensities, in terms of identifying the crystal structure of the grain. Regarding (ii), we visualise the memberships two ways: via a heatmap showing how the memberships vary across the entire nanoparticle (e.g., as in Figures 6a and b) and via a line plot of how the memberships vary along a horizontal line segment traversing the nanoparticle from left‐to‐right at the vertical centre of the nanoparticle (e.g., as in Figure 6c). Memberships are constrained to the interval [0,1] with a membership of 1 indicating a pure grain pixel. The membership maps of NMF and SBM typically contain some level of speckled noise, so for clearer visualisation we applied a median pass filter to spatially smooth the maps before plotting, as described in Appendix C. Implementation details for NMF and GMM are provided in Appendix A. The computation time for the SBM algorithm is reported in Appendix E.

4.1. Two‐grain nanoparticle example, noiseless X

We consider the same two‐grain nanoparticle depicted in Figure 3a. The region to the left of the red dashed line consists of pure crystal grain 1, while the right is an overlap of grains 1 and 2. Notably, grain 2 lacks a pure region and has maximum membership of only around 0.5 (at the right edge of the nanoparticle), which makes it challenging to estimate its pure DP. More detailed ground truth membership maps for both grains are provided in the ground truth column of Figure 6.

The ground truth DPs for the two grains are shown in Figure 5, as well as the estimated DPs for the three methods. To more easily distinguish which BDs are from grain 1 versus grain 2 in the estimated DPs, we have colour coded the BDs according to their ground truth grains. This is only for easier comparison of the results, since this information would not be available in practice. All three methods are able to estimate the DP for grain 1 reasonably well. However, for the DP of grain 2, both NMF and GMM estimate it to be a mixture, while SBM provides a much more accurate estimate that represents the pure DP for grain 2.

SBM achieves nearly perfect recovery of the ground truth membership, as evident in both the heatmaps (Figure 6a and b) and membership line plots (Figure 6c). While NMF performs reasonably well, it significantly overestimates the membership of grain 2. Based on the membership line plot in Figure 6c, NMF estimates grain 2 membership exceeding 0.8 at the rightmost end of the path. GMM is less effective than the other two methods, as it concludes the transition from grain 1 to grain 2 is abrupt with almost no overlapping region. This behaviour is not unexpected, since GMM is designed to assign data points to discrete clusters rather than accurately infer fractional memberships. Nevertheless, GMM successfully differentiates the pure region of crystal 1 from the overlapped region. The more accurately estimated membership maps and DPs produced by SBM imply that it would allow a more accurate 3D reconstruction of the entire nanoparticle.

4.2. Two‐grain nanoparticle example, noisy X

Analogous results for the noisy version of X are shown in Figure 7 (estimated DPs) and Figure 8 (estimated memberships). Again, all three methods accurately recover DP1 due to the presence of its pure region, but they estimate DP2 less accurately. The DP2 estimate from NMF appears as a balanced mixture of the ground truth DP1 and DP2, whereas the GMM estimate of DP2 is closer to the ground truth DP1 than DP2. The estimated membership maps are shown in Figure 8. As for the noiseless case, SBM again estimates the membership maps much more accurately than NMF or GMM.

FIGURE 7.

FIGURE 7

Ground truth DPs (left column) and estimated DPs from the three methods for the two‐grain noisy data example.

FIGURE 8.

FIGURE 8

Ground truth and estimated membership heatmaps (A, B) and line plots (C) of the three methods for the noisy two‐grain example with DPs shown in Figure 7.

4.3. Three‐grain nanoparticle example, noiseless X

We consider the same three‐grain nanoparticle depicted in Figure 3b: the leftmost region consists of pure grain 1, the middle region contains a mixture of grain 1 and grain 2, and the remaining area is a complex mixture of all three grains. The ground truth membership maps shown in Figure 10 underscore the challenge: neither grain 2 nor grain 3 possesses a pure region. In particular, the maximum membership is approximately 0.7 for grain 2 and only around 0.5 for grain 3.

FIGURE 10.

FIGURE 10

Ground truth and estimated membership heatmaps (A, B, C) and line plots (D) of the three methods for the noiseless three‐grain example with DPs shown in Figure 9.

Even in this noiseless case, NMF and GMM struggle to recover the ground truth DPs as shown in Figure 9. NMF estimates DP2 to be a mixture of ground truth DP1 and DP2, and its DP3 estimate is a composite of all three DPs. GMM estimates DP2 as a three‐pattern mixture and DP3 as a combination of DP1 and DP2. On the other hand, SBM estimates DP2 and DP3 nearly perfectly, with the estimated DP3 containing only very small intensities for BDs of grains 1 and 2.

FIGURE 9.

FIGURE 9

Ground truth DPs (left column) and estimated DPs from the three methods for the three‐grain noiseless data example.

SBM also estimates the membership maps nearly perfectly, including detecting the small membership of grain 1 in the rightmost region of the nanoparticle, as shown in Figure 10. In contrast, NMF inflates the membership of grain 2 in the middle region and the membership of grain 3 in the right region in which all three grains overlap. GMM fails to identify any overlapping regions and concludes that all transition between the three grains are abrupt, which is consistent with its estimated DPs in Figure 9 all being mixtures of the ground truth DPs.

4.4. Three‐grain nanoparticle example, noisy X

When noise is added, the estimated DPs from all three methods are less accurate, although the SBM estimates remain substantially more accurate than for the other two methods (Figure 11). Similarly, Figure 12 shows that the estimated membership maps are much more accurate for SBM than for NMF and GMM.

FIGURE 11.

FIGURE 11

Ground truth DPs (left column) and estimated DPs from the three methods for the three‐grain noisy data example.

FIGURE 12.

FIGURE 12

Ground truth and estimated membership heatmaps (A, B, C) and line plots (D) of the three methods for the noisy three‐grain example with DPs shown in Figure 11.

5. CONCLUSIONS

This paper introduces a simplex‐based model (SBM) to represent nanoparticle 4D‐STEM data and presents a SBM‐based algorithm for accurately estimating the pure‐grain DPs and spatial membership maps. Numerical results for simulated nanoparticles with various configurations and noise levels demonstrate that the approach can successfully estimate the structure of the nanoparticle even in challenging scenarios when some grains lack a pure region. The success of SBM stems from two key factors: (i) the simplex constraint ensures that estimated DPs remain physically plausible convex combinations, and (ii) the varimax‐based sparsity promotion in Stage 2 drives the estimated DPs toward pure‐grain patterns even when no pure pixels exist in the data.

One limitation of the approach is that the method depends on the extracted feature matrix X, which is inherently influenced by the BD detection accuracy. In practice, peak detection errors, overlapping disks, and intensity distortions can propagate into X. For example, if there is substantial overlap in the BDs for the pure grains present in the nanoparticle, the grains will be difficult to separate, but it is unlikely that any method will be able to separate the grains in this case. As a proof of concept, we provide simulations considering noise when simulating X and detection errors when simulating the 4D‐STEM dataset. We intend to conduct further investigations over experimental datasets to validate the method under the more complex perturbations as discussed above. Another limitation lies in the assumption that the DPs are convex combinations of pure patterns, implying that BD intensities behave approximately linearly. This assumption is reasonable for overlapping grains in thin samples, but might be compromised by dynamical diffraction, strain, or thickness variations. While our simulations demonstrate that the method is robust to significant random noise, it may not be directly applicable if these physical factors affect X in a more systematic manner.

The estimation results produced by the SBM algorithm provide a nearly complete set of information for creating a 3D reconstruction of the entire nanoparticle. This information consists of (i) the 2D spatial locations and geometry/shape of each grain; (ii) a membership map that represents the relative presence of each grain at each scan position in the nanoparticle; and (iii) a pure grain DP for each grain. Producing pure grain DPs with the SBM algorithm, rather than estimated DPs that are mixtures of the pure DPs (as often observed with NMF and GMM in our numerical examples), greatly simplifies identification of the crystal structure of each grain. This can be achieved either through human inspection of the DPs and/or via an automated downstream classification algorithm, such as a neural network classifier. 22

The primary missing piece of information for creating a 3D reconstruction is the vertical (perpendicular to the 2D scan plane) ordering of the grains at scan positions where multiple grains overlap, since the SBM algorithm only provides the relative memberships of the grains at each position and not their ordering. One potential solution is to combine the SBM results with depth sectioning that utilises aberration‐corrected STEM to analyse the depth sensitivity at nanoscale, 23 which is a promising avenue of future work.

AUTHOR CONTRIBUTIONS

Wei Liu: Conceptualisation (equal); Formal analysis (equal); Investigation (equal); Methodology (equal); Software (equal); Validation (equal); Visualisation (equal); Writing – original draft (equal). Roberto dos Reis: Resources (supporting); Validation (equal); Writing – review & editing (equal). Chad A. Mirkin: Funding acquisition (equal); Project administration (equal); Resources (equal); Supervision (equal); Writing – review & editing (equal). Vinayak P. Dravid: Funding acquisition (equal); Project administration (equal); Resources (equal); Supervision (equal); Writing – review & editing (equal). Wei Chen: Funding acquisition (equal); Project administration (equal); Resources (equal); Supervision (equal); Writing – review & editing (equal). Daniel W. Apley: Conceptualisation (equal); Funding acquisition (equal); Methodology (equal); Project administration (equal); Resources (equal); Supervision (equal); Writing – review & editing (equal).

CONFLICT OF INTEREST STATEMENT

Chad A. Mirkin has financial interests in Mattiq, Inc. which could potentially benefit from the outcomes of this research. Northwestern University has financial interests relative to intellectual property related to this research. As a result of these interests, Northwestern University could ultimately potentially benefit financially from the outcomes of this research.

ACKNOWLEDGEMENTS

This project was supported by the Center for Hierarchical Materials Design (CHiMaD) under the National Institute of Standards and Technology (NIST) 70NANB19H005, the US Army DEVCOM ARL Army Research Office (ARO) Energy Sciences Competency (Electrochemistry) Program awards W911NF‐23‐1‐0285 and W911NF‐25‐2‐0018 and the US Department of Energy award DE‐SC0025283. This material was also supported by Mattiq, Inc. The experimental data for this work made use of the EPIC facility of the NUANCE Center of Northwestern University, which received support from the Soft and Hybrid Nanotechnology Experimental (SHyNE) Resource (NSF ECCS‐2025633); the MRSEC program (NSF DMR‐2308691) at the Materials Research Center; the International Institute for Nanotechnology (IIN); the Keck Foundation; and the State of Illinois, through the IIN. The views and conclusions contained in this document are those of the authors and should not be interpreted as representing the official policies, either expressed or implied, of the US Army, the Department of Energy, or the US Government.

APPENDIX A. SOME IMPLEMENTATION DETAILS FOR NMF AND GMM

NMF 24 is a popular technique that factors a data matrix into low‐rank latent factor matrices with nonnegativity constraints. NMF model structure is

X=WH+ε,s.t.W⪰0,H⪰0, (A1)

where W=(w1,…,wK)∈Rd×K is the feature matrix, H=(h1,…,hn)∈RK×n is the coefficient matrix, ε∈Rd×n is the error matrix, K is the rank of W and suggests the number of distinct grains in the context of 4D‐STEM data. W and H are analogous to B0 and C0, respectively, in our SBM Equation (3a). Two key distinctions between SBM and NMF are that NMF estimates W and H given K by minimising only the reconstruction error ||X−WH||F2, and the elements of each column of H are not constrained to sum to one (hence it does not represent a simplex structure). In NMF, the estimated DPs are taken to be the columns of W^. Regarding the NMF membership maps, because the elements of the columns of H^ are not constrained to sum to one, we use a postprocessing step that normalises each column of H^ so that it sums to one and represents membership. Specifically, we take the memberships to be the elements of H^⊘(1K1KTH^).

GMM models the marginal distribution of xi as

p(xi)=∑k=1KαkNxi∣μk,Σk, (A2)

where αk represents the prior probability that a randomly chosen observation belongs to kth segment with ∑k=1Kαk=1. {αk,μk,Σk}k=1K are parameters of the GMM that are estimated when the GMM is fitted to the data. Let πi=[πi,1,…,πi,K]T denote the posterior probability vector, where πi,k is the posterior probability that xi belongs to the kth segment. GMM computes {πi}i=1n based on the estimates of {αk,μk,Σk}k=1K. 12

We also follow the approach 12 and take the input to the GMM to be X∼=(Xreal,βXT), where Xreal is the real space coordinate matrix for scan positions, β=10−4. The estimated DP for the kth grain is reconstructed from μ^k by excluding its real space coordinates. The membership maps are plotted using {π^i}i=1n, which inherently satisfies the sum‐to‐one constraint since π^i represents a posterior probability vector.

APPENDIX B. PCA SCREE PLOTS

Figure B1 shows the PCA scree plots (which plot the PCA eigenvalues in descending order) for the four nanoparticles in Section 4. We recommend selecting K to coincide with the most prominent elbow in the scree plot, which is the standard technique for selecting the number of dominant components in PCA. 25 Specifically, if K grains are present in the nanoparticle, the simplex on which the data approximately lie (aside from noise) is K−1 dimensional, so the number of dominant eigenvalues is K−1, and elbow (just to the right of the last dominant eigenvalue) represents K. The most prominent elbows in the scree plots in Figure B1 are indicated by vertical lines. For the four examples in Figure B1, the estimated K values coincide with the true values, although the elbow is somewhat more ambiguous in Figure B1b.

FIGURE B1.

FIGURE B1

Scree plots to select K for the four examples in Section 4: (A) noiseless two‐grain nanoparticle dataset with K=2; (B) noisy two‐grain nanoparticle dataset with K=2; (C) noiseless three‐grain nanoparticle dataset with K=3; (D) noisy three‐grain nanoparticle dataset with K=3.

APPENDIX C. MEDIAN PASS FILTER TO SMOOTH THE MEMBERSHIP MAPS

For noisy datasets, the resulting membership maps typically contain speckled noise. Consequently, before plotting the heatmaps, we postprocess the maps using the median pass filter as illustrated in Figure C1a: for each scan position (indicated by the red dot), we take its membership to be the median of membership values for neighbouring scan positions within a 5×5 pixel window (the red square) centred around that scan position. As Figure C1b–e shows, the median pass filter substantially reduces noise and improves visualisation.

FIGURE C1.

FIGURE C1

Visualisation of a median pass filter (A) and comparison between membership maps before and after the smoothing for NMF (B before, C after) and SBM (D before, E after) for the example in Figure 8.

APPENDIX D. NUMERICAL RESULTS FOR SIMULATED 4D‐STEM DATASETS

In Section 4, we compared the methods in examples in which we simulated X directly. In this appendix, we provide analogous numerical comparison results but with the 4D‐STEM DPs at each scan position directly simulated. In the simulated DP, we create BDs by placing an exponential kernel of the form Aj,ie−(distance2/18)4 at the BD centre, restricted to a radius of distance≤4 pixels, and Aj,i represents the intensity of the jth BD in the simulated DP at the ith scan position. Each Aj,i is determined by the intensity of the jth BD in the pure grain DP and the grain membership at the ith scan position.

Figures D1, D2, D3, D4, D5, D6, D7, D8 present counterparts to Figures 5, 6, 7, 8, 9, 10, 11, 12 when X is distilled from the simulated 4D‐STEM DPs. Consequently, the distilled data X embodies errors from the cross‐correlation BD detection algorithm. As in Section 4, we consider two versions of each example: The ‘noiseless’ version only includes the noise from the BD detection errors. The ‘noisy’ version includes additional random noise by multiplying each BD intensity Aj,i by a normally distributed random variable with mean 1.0 and standard deviation 0.2. A different noise variable is generated for each BD. The estimated DPs and membership maps for these examples are shown in Figures D1, D2, D3, D4, D5, D6, D7, D8, which are interpreted the same as Figures 5, 6, 7, 8, 9, 10, 11, 12 in Section 4. In the DP estimation results shown in Figures D1, D2, D3, D4, D5, D6, D7, D8, we can no longer colour code the BDs based on which pure grain they are associated with, since an individual BD in the BVM is sometimes associated with multiple grains due to the BD detection errors.

FIGURE D1.

FIGURE D1

Ground truth DPs (left column) and estimated DPs from the three methods for the two‐grain noiseless data example.

FIGURE D2.

FIGURE D2

Ground truth and estimated membership heatmaps (A, B) and line plots (C) of the three methods for the noiseless two‐grain example with DPs shown in Figure D1.

FIGURE D3.

FIGURE D3

Ground truth DPs (left column) and estimated DPs from the three methods for the two‐grain noisy data example.

FIGURE D4.

FIGURE D4

Ground truth and estimated membership heatmaps (A, B) and line plots (C) of the three methods for the noisy two‐grain example with DPs shown in Figure D3.

FIGURE D5.

FIGURE D5

Ground truth DPs (left column) and estimated DPs from the three methods for the three‐grain noiseless data example.

FIGURE D6.

FIGURE D6

Ground truth and estimated membership heatmaps (A, B, C) and line plots (D) of the three methods for the noiseless three‐grain example with DPs shown in Figure D5.

FIGURE D7.

FIGURE D7

Ground truth DPs (left column) and estimated DPs from the three methods for the three‐grain noisy data example.

FIGURE D8.

FIGURE D8

Ground truth and estimated membership heatmaps (A, B, C) and line plots (D) of the three methods for the noisy three‐grain example with DPs shown in Figure D7.

The accuracy of all methods degrades to some extent with the additional BD detection error present. However, the results are qualitatively similar to the results in Figures 5, 6, 7, 8, 9, 10, 11, 12, in that SBM provides more accurate estimation of the pure grain DPs and the membership maps in all examples. Moreover, even though the estimated DPs are somewhat less accurate than in Figures 5, 6, 7, 8, 9, 10, 11, 12, the estimated membership maps produced by SBM are still nearly perfect.

APPENDIX E. COMPUTATION TIME FOR THE SBM ALGORITHM

Table E1 presents the computation time for the SBM algorithm across all numerical examples. Note that Stage 1 dominates the computation time, primarily due to the alternative updates of B and C.

TABLE E1.

Computation time for the SBM algorithm (unit: seconds).

condition Simulate X Simulate 4D‐STEM dataset
Noiseless Noisy Noiseless Noisy
Two‐grain 126.4 5.9 4.3 17.8
Three‐grain 217.3 12.3 56.1 10.0

Inline graphic The computation time measures the interval from the input X into the SBM algorithm to the outputs; it excludes the data preprocessing stage for 4D‐STEM datasets.

DATA AVAILABILITY STATEMENT

The data of three example nanoparticles and code is available at https://github.com/EurusWei/SimplexBasedModelForGrainIdentification

REFERENCES

  • 1. Wahl, C. B. , Mirkin, C. A. , & Dravid, V. P. (2023). Towards autonomous electron microscopy for high‐throughput materials discovery. Microscopy and Microanalysis, 29(Supp 1), 1913–1914. [Google Scholar]
  • 2. Chen, P.‐C. , Liu, M. , Du, J. S. , Meckes, B. , Wang, S. , Lin, H. , Dravid, V. P. , Wolverton, C. , & Mirkin, C. A. (2019). Interface and heterostructure design in polyelemental nanoparticles. Science, 363(6430), 959–964. [DOI] [PubMed] [Google Scholar]
  • 3. Kulaksizoglu, A. , Wahl, C. B. , Xu, D. D. , Guo, A. X. , Liu, Y. , McCormick, C. R. , dos Reis, R. , Dravid, V. P. , & Mirkin, C. A. (2026). Discovering complex metal chalcogenide nanostructures through nanoreactor‐mediated synthesis. Journal of the American Chemical Society, 148(1), 1692–1702. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 4. McCabe, R. J. , Beyerlein, I. J. , Carpenter, J. S. , & Mara, N. A. (2014). The critical role of grain orientation and applied stress in nanoscale twinning. Nature Communications, 5(1), 3806. [DOI] [PubMed] [Google Scholar]
  • 5. Ophus, C. (2019). Four‐dimensional scanning transmission electron microscopy (4D‐STEM): From scanning nanodiffraction to ptychography and beyond. Microscopy and Microanalysis, 25(3), 563–582. [DOI] [PubMed] [Google Scholar]
  • 6. Shao, Y.‐T. , Zuo, J.‐M. , & Muller, D. A. (2023). Principles and applications of 4D‐STEM diffraction imaging for characterizing complex crystalline materials. Microscopy and Microanalysis, 29(Supp 1), 2013. [Google Scholar]
  • 7. Thronsen, E. , Bergh, T. , Thorsen, T. , Christiansen, E. , Frafjord, J. , Crout, P. , van Helvoort, A. , Midgley, P. , & Holmestad, R. (2024). Scanning precession electron diffraction data analysis approaches for phase mapping of precipitates in aluminium alloys. Ultramicroscopy, 255, 113861. [DOI] [PubMed] [Google Scholar]
  • 8. Savitzky, B. H. , Savitzky, B. H. , Zeltmann, S. E. , Hughes, L. A. , Brown, H. G. , Zhao, S. , Pelz, P. M. , Pekin, T. C. , Barnard, E. S , Donohue, J. , DaCosta, L. R. , Kennedy, E. , Xie, Y. , Janish, M. T. , Schneider, M. M. , Herring, P. , Gopal, C. , Anapolsky, A. , Dhall, R. , … Ophus, C. (2021). py4dstem: A software package for four‐dimensional scanning transmission electron microscopy data analysis. Microscopy and Microanalysis, 27(4), 712–743. [DOI] [PubMed] [Google Scholar]
  • 9. Shi, C. , Cao, M. C. , Rehn, S. M. , Bae, S.‐H. , Kim, J. , Jones, M. R. , Muller, D. A. , & Han, Y. (2022). Uncovering material deformations via machine learning combined with four‐dimensional scanning transmission electron microscopy. npj Computational Materials, 8, 114. [Google Scholar]
  • 10. Shi, C. , Mao, N. , Yang, Y. , Kong, J. , & Han, Y. (2023). Semi‐automated hierarchical clustering model for 4D‐STEM datasets. Microscopy and Microanalysis, 29(Supp 1), 709–710. [Google Scholar]
  • 11. Francis, C. , & Voyles, P. M. (2024). Clustering characteristic diffraction vectors in 4‐d stem data sets from overlapping structures in nanocrystalline and amorphous materials. Ultramicroscopy, 267, 114040. [DOI] [PubMed] [Google Scholar]
  • 12. Liu, W. , Zhang, S. , Wahl, C. B. , Wu, J. , Reis, R. d. , Mirkin, C. A. , Dravid, V. P. , Chen, W. , & Apley, D. W. (2025). End‐to‐end automated segmentation framework for four‐dimensional scanning transmission electron microscopy data. Microscopy and Microanalysis, 31. [DOI] [PubMed]
  • 13. Bruefach, A. , Ophus, C. , & Scott, M. C. (2022). Analysis of interpretable data representations for 4D‐STEM using unsupervised learning. Microscopy and Microanalysis, 28(6), 1998–2008. [DOI] [PubMed] [Google Scholar]
  • 14. Bruefach, A. , Ophus, C. , & Scott, M. C. (2023). Robust design of semi‐automated clustering models for 4d‐stem datasets. APL Machine Learning, 1(1), 016106. [Google Scholar]
  • 15. Uesugi, F. , Koshiya, S. , Kikkawa, J. , Nagai, T. , Mitsuishi, K. , & Kimoto, K. (2021). Non‐negative matrix factorization for mining big data obtained using four‐dimensional scanning transmission electron microscopy. Ultramicroscopy, 221, 113168. [DOI] [PubMed] [Google Scholar]
  • 16. Kimoto, K. , Kikkawa, J. , Harano, K. , Cretu O., Shibazaki, Y. , & Uesugi, F. (2024). Unsupervised machine learning combined with 4d scanning transmission electron microscopy for bimodal nanostructural analysis. Scientific Reports, 14, 2901. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 17. Allen, F. I. , Pekin, T. C. , Persaud, A. , Rozeveld, S. J. , Meyers, G. F , Ciston, J. , Ophus, C. , & Minor, A. M. (2021). Fast grain mapping with sub‐nanometer resolution using 4D‐STEM with grain classification by principal component analysis and non‐negative matrix factorization. Microscopy and Microanalysis, 27(4), 794–803. [DOI] [PubMed] [Google Scholar]
  • 18. Jain, A. , Ong, S. P. , Hautier, G. , Chen, W. , Richards, W. D. , Dacek, S. , Cholia, S. , Gunter, D. , Skinner, D. , Ceder, G. , & Persson, K. A. (2013). Commentary: The materials project: A materials genome approach to accelerating materials innovation. APL Materials, 1(1). [Google Scholar]
  • 19. Bioucas‐Dias, J. M. , Plaza, A. , Dobigeon, N. , Parente, M. , Du, Q. , Gader, P. , & Chanussot, J. (2012). Hyperspectral unmixing overview: Geometrical, statistical, and sparse regression‐based approaches. IEEE Journal of Selected Topics in Applied Earth Observations and Remote Sensing, 5(2), 354–379. [Google Scholar]
  • 20. Kaiser, H. F. (1958). The varimax criterion for analytic rotation in factor analysis. Psychometrika, 23(3), 187–200. [Google Scholar]
  • 21. Duchi, J. , Shalev‐Shwartz, S. , Singer, Y. , & Chandra, T. (2008). Efficient projections onto the l1‐ball for learning in high dimensions. In Proceedings of the 25th International Conference on Machine Learning , ICML '08 (pp. 272–279). Association for Computing Machinery. [Google Scholar]
  • 22. Chen, J. , Zhang, H. , Wahl, C. B. , Liu, W. , Mirkin, C. A. , Dravid, V. P. , Apley, D. W. , & Chen, W. (2023). Automated crystal system identification from electron diffraction patterns using multiview opinion fusion machine learning. Proceedings of the National Academy of Sciences, 120(46), e2309240120. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 23. Borisevich, A. Y. , Lupini, A. R. , & Pennycook, S. J. (2006). Depth sectioning with the aberration‐corrected scanning transmission electron microscope. Proceedings of the National Academy of Sciences, 103(9), 3044–3048. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 24. Fu, X. , Huang, K. , Sidiropoulos, N. D. , & Ma, W.‐K. (2019). Nonnegative matrix factorization for signal and data analytics: Identifiability, algorithms, and applications. IEEE Signal Processing Magazine, 36(2), 59–80. [Google Scholar]
  • 25. Hastie, T. , Tibshirani, R. , & Friedman, J. (2009). The elements of statistical learning. Springer New York, New York. [Google Scholar]

Associated Data

This section collects any data citations, data availability statements, or supplementary materials included in this article.

Data Availability Statement

The data of three example nanoparticles and code is available at https://github.com/EurusWei/SimplexBasedModelForGrainIdentification


Articles from Journal of Microscopy are provided here courtesy of Wiley

RESOURCES