Spectroscopy-guided discovery of three-dimensional structures of disordered materials with diffusion models
간접 관련 수소연료전지 · (7) MEA(막전극접합체) (6) PEM(고분자전해질막)(11) 배리어 필름
기본 정보
- 저자
- DOI
- 10.1088/2632-2153/ad8c10
- 저널
- Machine Learning Science and Technology
- 발행년도
- 2024
- 발행기관
- IOP Publishing
- 피인용수
- 11
- 라이선스
- cc-by
- 논문 유형
- –
- 언어
- –
- 원문 페이지
- https://doi.org/10.1088/2632-2153/ad8c10
- 토픽
- Electron and X-Ray Spectroscopy Techniques
- OpenAlex ID
- W4403822421
평가 내용
- 관련도
- 간접 관련
- 사업분야
- 수소연료전지 · (7) MEA(막전극접합체)
- 부 분야
- (6) PEM(고분자전해질막), (11) 배리어 필름
- R&D 측면
- 분석·모델링
- 확신도
- 0.70
- 근거 용어
- diffusion model, disordered materials, inverse design, spectroscopy-guided, atomic structure
- 판단 근거
- 비정질 탄소(amorphous carbon)의 3차원 구조를 분광 데이터로부터 예측하는 생성형 AI 모델 연구로, 소재의 미세 구조를 역설계하는 방법론을 다룹니다.
- R&D 활용 포인트
- 수소연료전지용 이온교환막(PEM)이나 배리어 필름 등 고분자/비정질 소재의 미세 구조와 물성 간의 상관관계를 분석하고, 원하는 물성을 가진 신소재를 설계하는 AI 프레임워크로 응용 가능합니다.
- 평가 입력
- 본문 60,918자 중 30,032자 발췌
초록
본문 60,918자
본문 펼치기
섹션 본문 52문단 · 37,649자
(제목 없음)
1The ability to rapidly develop materials with desired properties has a transformative impact on a broad range of emerging technologies.In this work, we introduce a new framework based on the diffusion model, a recent generative machine learning method to predict 3D structures of disordered materials from a target property.For demonstration, we apply the model to identify the atomic structures of amorphous carbons (a-C) as a representative material system from the target X-ray absorption near edge structure (XANES) spectra-a common experimental technique to probe atomic structures of materials.We show that conditional generation guided by XANES spectra reproduces key features of the target structures.Furthermore, we show that our model can steer the generative process to tailor atomic arrangements for a specific XANES spectrum.Finally, our generative model exhibits a remarkable scale-agnostic property, thereby enabling generation of realistic, large-scale structures through learning from a small-scale dataset (i.e., with small unit cells).Our work represents a significant stride in bridging the gap between materials characterization and atomic structure determination; in addition, it can be leveraged for materials discovery in exploring various material properties as targeted.
Introduction
2An accelerated materials discovery pipeline with desired properties holds a transformative impact on a broad range of emerging technologies, from energy storage and conversion to ion-selective membranes [1][2][3].Traditional approaches for materials discovery involve a time-consuming trial-and-error process that begins with a set of materials from which properties of interest are derived.The understanding gained from this procedure is then used to guide materials development by exploring a new configuration space.Recent advancement in data science approaches provides an alternative and promising means to accelerate materials development [4].For example, high-throughput materials screening and data mining have led to several breakthroughs in materials development for a broad range of technologies in the past two decades [5,6].This approach often relies on simulations techniques, such as first-principles calculations, to rapidly screen a vast space of chemical compositions and structures in order to identify materials with desired properties.
3Materials development through inverse design departs from the traditional methods.Instead of deriving properties from structures, target material properties are specified beforehand and materials satisfying these
Results
4We present our results regarding a-C 3D structure generation with and without XANES spectroscopy conditioning.In the unconditional case, we focus on the fidelity of the generation, and highlight that the generation is scale-agnostic.In the conditional case, the performance of a structure-to-spectroscopy forward model is briefly discussed, and the spectroscopy-guided generation is validate in two scenarios.The extent of the conditioning effect is also briefly analyzed.Overall, we demonstrate realistic, scale-agnostic generation of a-C structures based on spectra inputs/guides.The conditional generative/denoising process of amorphous carbon (a-C) involves a pair of decoupled (i.e., trained separately) score model and forward model.The score model, based on the diffusion model formalism, provides the prior score, while the forward model, trained to predict spectroscopic curves, is used to provide the likelihood score.The prior score serves to denoise initial random motifs towards realistic topologies without bias, and the likelihood score serves to bias the denoising trajectory towards atomic motifs that satisfy a given spectroscopic target/guide.Notably, the forward model is optional, and the generative process is simply unconditional without a forward model.
Unconditional generation
5The fidelity of the structure generation is first examined without considering the conditioning effect.We emphasize that our generation model is scale-agnostic, i.e., the model can learn from small-scale molecular dynamics (MD) trajectories and consequently generate similar configurations at any arbitrary scale.This is enabled by the node-centric (local) predictions of the underlying graph neural network architecture.The denoising process therefore amounts to shifting each atom's coordinate towards realistic topologies based on its local environment without the need to observe global variables.This scale-agnostic feature is particularly useful for generating large domains encompassing diverse topologies, which can be costly to sample via MD simulations.In this regard, the large-scale generated structures can be interpreted as having "stitched" or combined the small but diverse MD-simulated motifs.Such a generation is important for examining material properties where a large supercell with diverse local structures is required for yielding sufficient statistics.Examples include predicting hydrogen diffusion [28], gas selectivity [29], interfacial interactions [30], and graphitization [31] in amorphous systems and disordered interfaces.We intend to investigate scaled generations as part of future effort.
6The scale-agnostic feature is demonstrated in Fig. 2, where the generated a-C configurations have a supercell 2.5 times larger than that of the original training data.As expected, the generated a-C topology highly depends on the density (or the number of atoms per unit volume) at which the structure is generated.Specifically, a-C motif tends to be spor sp 2 -hybridized at low densities, and sp 2 -or sp 3 -hybridized at high densities.In fact, the generation is always (implicitly) conditioned on the density (input cell size and number of particles within) even without a spectral target.For simplicity, the term unconditional used throughout this paper refers to generation without a spectral target.We note that the coordination number (CN) is used to estimate the hybridization.Specifically, we define two atoms as bonded if their distance is less than a cutoff of 1.84 Å, which is determined based on the C-C radial distribution function (RDF) of the structures in the training set.
7The unconditionally generated structures are realistic (Fig. 3), adhering to the training data distributions in terms of the various structural and thermodynamic properties considered in this work: Steinhardt order parameters [32], bond angles, RDFs, Voronoi cell volumes, and per-atom potential energies [33,34].The Steinhardt parameter in particular stands out for its detailed insights into the local symmetry of atomic arrangements, complementing other descriptors like RDF and bond angle distribution.First, as shown in Fig. 3a, the scatter plot of the Steinhardt features (q 4 , q6 ) indicates that the scatter points from the generated a-C structures roughly match the distribution of the training data, but importantly they do not coincide.This indicates that The generation of the a-C structures is scale-agnostic, and the generated topologies highly depend on density (as expected).While the leftmost panel displays a representative training data point with a density of 2.5 g/cm 3 , it is essential to note that the subsequent larger cells on the right are not exclusive products of this single 2.5 g/cm 3 cell.The generation can be at any arbitrary scale because the denoising process amounts to shifting each atom's location towards realistic topology based on its local environment.Consistent with the MD training data, the a-C topologies generated at low density typically have a small coordination number (CN) of 2 and 3, and at high density the CN is typically 3 and 4.
8the generated topologies are similar to, but not exact copies of, the training atom motifs.Second, the bond angle, RDF, and Voronoi cell volume distributions further validate that the generated configurations are realistic, resembling the configurations of the training set (Fig. 3b-d).Finally, Fig. 3e shows that the per-atom potential energy distribution obtained from the carbon Gaussian Approximation Potential (GAP) [34] of the generation largely matches that of the training data.This observation suggests that the generated structures are not only geometrically realistic, but also energetically realistic.Importantly, the training dataset consists of 30 snapshots (of various cell sizes) of MD-simulated a-C, totaling 7,463 carbons.Overall, the a-C generation is realistic, exhibiting quantities highly similar, but not identical, to that of the MD data.It is viable to subject the generation to downstream atomistic simulations thanks to the generated atoms having realistic energies.
Conditional generation
9Since the conditional generation formulation requires a forward prediction model, we trained a forward model to predict XANES spectra of a-C configurations from their atomic structures (Supplemental Fig. 1).Illustrated in Fig. 4, this model is sufficiently accurate on three validation a-C structures that yield distinctively different XANES spectra (at a density of 1.5, 2.5, and 3.5 g/cm 3 , respectively).Both the forward model and the unconditional score model are based on the same GNN architecture, and further details regarding the forward model are described in the Methods section.We point out that in our prior work [35] we trained a forward model based on a multi-layer perceptron (MLP) architecture with Many Body Tensor Representation (MBTR) descriptors as the input, and the current GNN exhibits a marginal yet discernible performance improvement over the MLP-based model.
10We now validate the guided generation result of our conditional diffusion model.As previously stated, even without a given spectroscopy target, the a-C generation outcome depends on the user-specified density, to the extent that sp/sp 2 carbons dominate at low densities, and sp 2 /sp 3 carbons dominate at high densities.In other words, density implicitly imposes a strong conditioning effect on the structural generation.Therefore, to investigate the conditioning effect of the spectroscopy guide alone, we provided two distinctively different spectral inputs while fixing the density (2.0 g/cm 3 ).One of the spectral guides is an averaged spectral curve from all sp carbons, and the other from all sp 3 carbons in the training set.Effectively, these spectral inputs serve to guide the generation towards sp or sp 3 topologies in structures that would otherwise be dominated by sp 2 carbons at 2.0 g/cm 3 .As shown in Fig. 5, the difference in the two spectral inputs/targets certainly impacts the generation outcomes.Namely, generation guided by the sp target expectedly results in a higher portion of two-fold coordination carbons, while the sp 3 target raises the portion of those with a four-fold coordination.We also emphasize that sp 2 carbons (which have a coordination number of three) are still prevalent in both scenarios due to the strong conditioning effect of the density (2.0 g/cm 3 ), at which sp 2 hybridization is the typical topology.
11Further, the sp-guided generation resulted in a stronger signature in the Voronoi cell volume distribution for the sp topology [36], while the sp 3 -guided generation resulted in a stronger signature for the sp 3 topology.Overall, this demonstration suggests that we can effectively steer the generative process towards structures that are better aligned with the provided spectral input.For those interested in the precise matching of coordination number ratios, we repeated this procedure using density 1.5 g/cm 3 , as illustrated in Supplemental Fig. 2.
12It is crucial to point out that by design a XANES target might not be always fully achievable in the context of our conditional generative model.In this regard, it is more appropriate to consider XANES spectra as a guide for our diffusion model, where the generative process is biased towards certain topologies based on a given spectral target.As evident in Fig. 5b, the majority of the generated carbons remain sp 2 despite the "target" for sp and sp 3 motifs.This is not at all an indication of failure for the generative model.In fact, at 2.0 g/cm 3 , the typical topology is indeed sp 2 , which the model observed during training.Therefore the model also imposes the prior knowledge about what should be realistically expected at 2.0 g/cm 3 .Mathematically the generative process involves a balance between two terms: the unconditional term for achieving realistic samples and the guide term for biasing towards a target (further details in Methods).If all the generated carbons have sp or sp 3 topology at 2.0 g/cm 3 , then the resulting structures are very likely unphysical (such structures are also never observed in the MD training dataset).
13As another demonstration of guided generation, we initialized a heavily perturbed diamond structure that would by default be denoised into perfect diamond via the unconditional denoising trajectory.We note that a separate generative model was trained in this case, where the training dataset includes only the perfect diamond structure and an amorphous structure of the same density (3.5 g/cm 3 ).As shown in Fig. 6a-b, by introducing a spectral target for the amorphous structure, the guided generation resulted in amorphous topology instead of the default diamond.Further, the generated amorphous structures are realistic in terms of RDF, bond angle distributions, and Steinhardt parameters (Fig. 6c-d).The choice of demonstrating the contrast between a-C and diamond is to further validate the conditioning effect of spectroscopy-guided generation, particularly for generating materials that may be considered completely different classes, e.g., amorphous vs. crystalline.However, generating crystalline motifs (at arbitrary scales) is likely an entirely different application scope.While our diffusion model can denoise heavily perturbed diamond structure into a virtually noiseless state, we did not thoroughly investigate the feasibility of denoising fully random structures into crystalline materials.We leave such a task for future work.The perturbed diamond structures were initialized by applying Gaussian noise ϵ ∼ N (0, 0.4 2 ) to the atomic coordinates (unit in Å) of diamond structures.Lastly, as a bonus example, we also demonstrate the guided generation for a-C vs. buckyballs (Supplemental Fig. 3).Moreover, through conditional generation, we observed the generation of structures with a diamond-like appearance from heavily noisy diamond input.The guide provided by conditional generation allows for further refinement of this structure, closely aligning it with the diamond structure (Supplemental Fig. 4).Finally, we briefly analyze the extent to which guided generation adheres to a given spectral target.Mathematically the conditional generative process is based on the conditional score function, which is the summation of two terms: the unconditional score points towards realistic samples, and the likelihood score points towards samples that satisfy the given target.The relative weights of the two terms can be adjusted with a tuning parameter ξ, as shown in Equation 13and detailed in Section 4.2.A larger ξ translates to more weight for the likelihood term, or a more strict emphasis for the target to be satisfied, while ξ = 0 signifies unconditional generation.One practical application of tuning the value of ξ is to relax the target constraint such that more diverse samples can be generated.Based on the same experiment for generating a-C vs. diamond, the value of ξ is shown to clearly impact the extent to which the generated structure is amorphous, as illustrated in detailed in Fig. 7.As ξ increases from zero, the generation transitions from the unconditional regime, where diamond is generated by default, to the conditional regime, where a-Cs are generated.Notably, the predicted spectrum from the generated carbons at ξ = 180-250 closely matches the given target spectrum.This analysis is another validating evidence of conditional generation, particularly as a tunable knob for flexible inverse design of materials.The XANES spectrum (which is used as the target), the bond angle distribution, and the RDF from a reference amorphous structure are fixed in all rows.As ξ increases, the generation transitions from the unconditional regime, where diamond is generated by default, to the conditional regime, where a-Cs are generated.
Conclusions
14We propose a conditional generative framework based on a diffusion model to predict 3D atomic structures from spectroscopic data.This framework can be generalized to different targets that fit to a broader field of materials discovery by inverse design.First, we show that the generative model exhibits a remarkable scaleagnostic property, enabling it to learn from small-scale MD trajectories and generate large-scale structures.This versatility is useful for scenarios where accurate prediction of material properties is contingent on the generation of sufficiently large domains with diverse topologies.Second, our conditional generation process, influenced by spectroscopy input, offers control over the composition and structure of generated molecules.Therefore, one can guide the generative process to produce specific atomic arrangements, thereby tailoring materials for desired properties and applications.Lastly, through extensive fidelity assessments, we demonstrated the fidelity of our generative model.Specifically, the prior model accurately replicates key structural features observed in training data, while our posterior model yields structures that closely align with target data, including spectral predictions and structural characteristics.
15Our work represents a significant stride in bridging the gap between materials characterization and atomic structure determination.In particular, by leveraging advanced generative models, our approach offer a promising solution to address to longstanding challenges in reverse engineering atomic structures from complex spectroscopic data.Our methodology holds promise for a multitude of future endeavors.For example, beyond the current scope, it can be applied to multiple targets, including X-ray Photoelectron Spectroscopy, pair distribution function, and others, opening new avenues for predicting atomic structures from multi-modal materials characterizations.Finally, our framework can be leveraged for materials discovery, not only in the realm of spectroscopy but also in exploring various material properties as targeted.Examples include mechanical strengths of materials under extreme conditions, electrocatalytic activity of catalysts for hydrogen production, and permeability of ion-selective membranes, and so on.
Methods
16The methodologies employed in this work are described below, including disordered/amorphous structure generation via unconditional diffusion model, its extension to conditional/guided diffusion model formulation with the use of a forward model, how the models are trained, their GNN architectures, and the spectroscopy simulations performed for gathering data.
Unconditional diffusion model
17We approach the task of amorphous/disordered structure generation with a machine learned generative model, namely the diffusion model [12][13][14].In what may be considered the standard formulation, the diffusion model establishes a mapping between "clean", original data distribution p 0 (x 0 ) and a latent distribution p t (x t ) by iteratively applying (Gaussian) noises to x 0 , over a fictitious time quantity t, towards what is typically a unit Gaussian distribution N (0, I).This forward noising process can be written as p t (x t |x 0 ) = N (α t x 0 , σ 2 t I) and implemented as x t = α t x 0 + σ t ϵ, ϵ ∼ N (0, I), where (α t , σ t ) are noise schedule functions that dictate how noise is applied with respect to t.Typically, the span of t is set to (0, 1), over which α t monotonically decreases from 1 to 0, and σ t monotonically increases from 0 to 1.The latent distribution p t (x t ) therefore becomes a unit isotropic Gaussian at t = 1.The same forward noising process can also be described as Langevin dynamics with the following stochastic differential equation (SDE):
18where f (t) and g(t) are drift and diffusion coefficients related to (α t , σ t ), and w t is the standard Wiener process.
19To generate a realistic data point, one first samples from the unit Gaussian latent distribution x t ∼ N (0, I) at t = 1 and then maps it back to the original data space at t = 0 via the reverse denoising process.While the forward noising operation is trivial, the reverse denoising operation is not and requires a learned model.It is described as the following SDE:
20where ∇ xt log p t (x t ) is the so-called score function and in this work is approximated by the score model s θ (x t , t) with parameters θ.The score function can also be approximated using ϵ θ , which learns to predict the noise ϵ in noisy x t , and is related to s θ by ϵ θ = −σ t s θ .The reverse denoising SDE can then be solved using well known techniques such as the Euler-Maruyama method [37].
21While the above formulation of the diffusion model is generally applicable to many data types, it is modified in this work to account for atomic structures in periodic cell boundaries.Note that an atomic structure may be generally represented as a tuple of the atomic coordinates and atom types (r, z), along with unit cell dimensions A = (a 1 , a 2 , a 3 ) ∈ (R 3 , R 3 , R 3 ) if the structure is periodic.However, the amorphous carbon systems studied in this work are single-element only (carbon) and therefore z is omitted, leaving x = r.Since r lies in a unit cell with periodic boundaries, it is sensible to apply the "variance-exploding" scheme for the noise schedule, where α t is fixed to 1 and σ t monotonically increases from 0 to some maximum value k.This means that the drift coefficient becomes zero f (t) = 0.The updated forward noising SDE is then
22and its corresponding reverse denoising SDE is
23Importantly, due to the periodic boundaries, the noisy, perturbed structure becomes asymptotically a uniformly random structure.Therefore, to sample a realistic structure, one instead initializes a set of uniformly random coordinates r inside a periodic unit cell-rather than Gaussian-distributed r-and then applies the reverse denoising SDE.The structure generation algorithm is listed in Algorithm 1.In this work we define the noise schedule as (α t , σ t ) = (1, kt), where the span of t is still set to (0, 1).Notably, the structure generation algorithm is scale-agnostic, allowing for users to specify the unit cell dimensions A and structure density D, which influence the number of atoms N a for the generation.In practice, D should have a realistic value, similar to the densities of the structures in the training dataset.
Algorithm 1 Unconditional disordered structure generation via Euler-Maruyama method
24Require: Periodic unit cell A = (a 1 , a 2 , a 3 ), density D, learned score model s θ , noise schedule g(t), and timestep size ∆t (which has a negative value).Determine number of atoms N a from A and ρ x ← U(Ω) for N a atoms, where Ω is the domain inside A t ← 0.999
Conditional diffusion model
25The theory of the diffusion model, based on an underlying score function, can be quite naturally extended for conditional generation.First, the score function introduced in the previous section is written as ∇ xt log p t (x t ) and is regarded as the unconditional, unguided, or prior score function, i.e., without conditioning bias or guide during the generation/denoising process.Then, consider a conditioning or posterior score function ∇ xt log p t (x t |y) that is conditioned on some target or guide property y.Importantly, this posterior score can be decomposed via Bayes' rule into
26It is now apparent that conditional generation enabled by the diffusion model can be very flexible, since computing the posterior score amounts to simple addition of the decoupled prior score ∇ xt log p t (x t )-approximated by s θ -and the likelihood score ∇ xt log p t (y|x t ).Further, computing the likelihood score entails taking the gradient of (the log of) a probabilistic forward prediction model p t (y|x t ).For different conditional quantities y such as spectral signatures, Steinhardt parameters, band gap, and so on, different forward models can be combined with the prior model in a plug-and-play fashion.In the case of a deterministic forward model y = F (x), converting it into the probabilistic counterpart can be straightforward by adding Gaussian noises of variance σ2 to the forward prediction: y = F (x) + ϵ, ϵ ∼ N (0, σ2 I).The resulting likelihood score is then
27which can be interpreted as pointing to lower values of the L2 loss between the forward prediction F (x t ) and a given target y.In terms of implementation, the conditional generation process is virtually identical to Algorithm 1 except for the input score model, which is replaced by ∇ xt log p t (x t |y).However, there is still a caveat with the conditional generation formulation: evaluating the forward prediction F (x t ) involves noisy input x t but the forward model may be ill-defined with respect to noisy, highly perturbed x t , which at t = 1 is complete noise without any meaningful signal.For some forward models, this does not pose as an issue, such as the case of atomic descriptors/fingerprints, e.g., Steinhardt [38], ACSF [39], SOAP [40], MBTR [41] order parameters, where the structure-to-descriptor forward mapping still has a valid output when x t is highly noisy or even completely random.The forward model developed in this work, however, is a graph network model trained to predict spectroscopic curves off of atomic motifs in disordered or amorphous carbons, which still exhibit certain topological order and are far from completely random.Our forward model output is therefore ill-defined and likely holds no meaningful gradient information with noisy input.To address this, Chung et al. [42] proposed to inverse the relationship x t = α t x 0 + σ t ϵ and estimate the "clean" version of data x0 from noisy x t as
28followed by forward model prediction, resulting in the following likelihood score:
29where the stepsize ρ is another implementation practice by Chung et al. [42], and is defined as a normalized quantity ρ = ξ/∥y − F (x 0 (x t ))∥, with ξ being a tuning parameter.In this work, we have found the conditional generation with the spectroscopy forward model to be viable only with this "estimation trick".
Forward model
30As previously stated, the forward model used in this work for the purpose of conditional or guided generation of disordered carbons is a spectroscopy prediction model.Specifically, it is a GNN that outputs per-atom spectroscopic curves based on local atomic motifs.In this representation, the atomic structure is represented as a graph, wherein nodes encapsulate information pertaining to atomic species and atomic positional coordinates, while edges encode atomic bonding information in the form of vectorized interatomic distances.The GNN is subjected to training on a dataset containing atomistic structures along with their corresponding XANES spectra.
Model training
31The score model s θ (x t , t) is a GNN trained with dataset D s = {(x 0 , A) (i) } that consists of MD snapshots containing atomic coordinates x 0 and unit cell dimensions A, with atom type information z omitted due to the dataset being single-element.The score is learned via the denoising score matching loss
32x t = α t x 0 + σ t ϵ, ϵ ∼ N (0, I),
33where A is implicitly accounted for by the atomic graph representation.
34The forward model is also a GNN, trained with dataset D F = {(x 0 , A, y) (i) } that additionally has per-atom spectroscopic curves y.The spectroscopic prediction is learned via a simple mean-squared-error (MSE) loss between the predicted output ŷ and y: L MSE = MSE(ŷ, y).
35For both the score model and the forward model, exponential moving average (EMA) was used to faciliate training.Rectified Adam (RAdam) was used as the gradient descent optimizer without learning rate or weight decay.For every sampled minibatch of the structure snapshots, the atomic coordinates are randomly rotated in order for the score, (forward) model to learn rotational equivariance (invariance).The training parameters are detailed in Table 1.All other parameters, if unspecified, default to implementations in PyTorch 1.11.0 [43] and PyTorch-Geometric 2.0.4 [44], which were used for the GNN implementations and training.
GNN architecture
36Both the score model and the forward model share the same GNN architecture design, which consists of three components: an Encoder, a Processor (for graph message-passing), and a Decoder.The input atomic graph to these operations is denoted as (V, E), where V is a set node features {h i } for nodeatom i, and E is a set of edge/bond features {e ij } from node i to node j.The set of edges E is determined by a cutoff distance r c , within which a pair of nodes form an edge connection.
37In the Encoder stage, the node features are computed as a combined embedding of the atom type z and the fictitious time t:
38where M H and M T are multilayer perceptrons (MLPs) that embed the one-hot representation of z and the Gaussian Fourtier features [45] (GaussianRFF) of t, respectively.Note that in this work, z is simply a dummy variable because the atom type information in the amorpohus carbon dataset is omitted, but the Encoder is defined as above so that it can be adjusted to account for different atom types.The edge feature e ij is the concatenation of the edge vectors r ij = r j − r i and the corresponding edge lengths rij , followed by an MLP M E :
39where ⊕ designates concatenation of features.M H , M E , and M T consist of two dense linear layers, with SiLU activation function after the first layer and layer normalization after the second.We used the Processor from MeshGraphNets [46] for implementing graph convolutions.We refer to the original paper for further details of MeshGraphNets.There is a main difference between our implementation and the original work: the original work considers two sets of edges (mesh-space edges and world-space edges), whereas there is only one in our work.
40The Decoder is a simple MLP M O that maps the node features into prediction output:
41For the score model, the output is the approximated score function, and for the forward model, the output is the spectroscopic signature.M O has the same architecture as that of M H , M E , and M T , except that there is no layer normalization at the end.Model parameters are listed in Table 1.
Restart sampling
42Since the generative model in this work is not constrained by physics rule, there is always a chance for the model to generate unphysical topologies that are extremely unlikely or virtually impossible.Such "bad" samples occur since there are always errors associated with any fitted score model.In this work one main instance of unphysical a-C topology is carbons with a coordination number of only one (CN1), which can exist in our generation results using the usual SDE sampler.To address this, we have found the restart sampling method [47] to be effective in avoiding CN1 carbon generation (Fig. 8).In brief, the restart sampling method entails multiple cycles of reapplying forward noising and reverse denoising operations between two points in the denoising time schedule.In this work, the two points are t = 0, 0.3.Note that we apply SDE denoising, but the original restart sampling technique is based on ODE (ordinary differential equation) denoising.
X-ray absorption spectral simulations
43We extracted a dataset consisting of 58 atomic configurations of a-C at different densities from molecular dynamics (MD) simulations with the Gaussian approximation potential (GAP), which has been shown to provide a good description of structural properties of a-C at the room temperature [34].Each configuration consists of 216 atoms in a simple-cubic lattice with varying densities of 1.5, 2.0, 2.5, 3.0, and 3.5 g/cm 3 to sample a wide range of local carbon structures.Collectively, this dataset encompassed a total of 12,528 local carbon sites.We then calculated K-edge spectra of these atomic sites using Density Functional Theory (DFT) with the core-hole approximation (XCH) method [48].All computational procedures were carried out utilizing the QuantumESPRESSO package [49].To efficiently sample the Brillouin zone, we employed the Shirley reduced basis method [50].The Perdew-Burke-Ernzerhof (PBE) formulation of the generalized-gradient approximation (GGA) was adopted [51].We represented electronic wavefunctions and charge density using a plane-wave basis set with kinetic energy cutoffs of 30 Ry and 240 Ry, respectively.All our calculations utilized ultrasoft pseudopotentials [52].For the excited atom, we employed a modified pseudopotential with one electron removed from the 1s core orbital.Within the XCH approximation, we approximated the first core-excited state through constrained-occupancy DFT, which involved incorporating both the core-hole pseudopotential and the excited electron positioned at the conduction band minimum.Transition probabilities at each energy level were computed using Fermi's Golden Rule and then convoluted with a uniform Gaussian broadening of 0.2 eV.To align the calculated spectrum with experimental data [53], we matched the first major peak of the graphite spectrum and applied the same constant shift to align the spectra of all carbon sites within a-C systems.It is necessary to note that other methods can also be used to compute XANES spectra, such as those based on time-dependent DFT or more computationally intensive Bethe-Salpeter calculations, which explicitly consider the interaction between the electron and core-hole [54][55][56].
Figure 1 :
44Figure1: The conditional generative/denoising process of amorphous carbon (a-C) involves a pair of decoupled (i.e., trained separately) score model and forward model.The score model, based on the diffusion model formalism, provides the prior score, while the forward model, trained to predict spectroscopic curves, is used to provide the likelihood score.The prior score serves to denoise initial random motifs towards realistic topologies without bias, and the likelihood score serves to bias the denoising trajectory towards atomic motifs that satisfy a given spectroscopic target/guide.Notably, the forward model is optional, and the generative process is simply unconditional without a forward model.
Figure 2 :
45Figure 2:The generation of the a-C structures is scale-agnostic, and the generated topologies highly depend on density (as expected).While the leftmost panel displays a representative training data point with a density of 2.5 g/cm 3 , it is essential to note that the subsequent larger cells on the right are not exclusive products of this single 2.5 g/cm 3 cell.The generation can be at any arbitrary scale because the denoising process amounts to shifting each atom's location towards realistic topology based on its local environment.Consistent with the MD training data, the a-C topologies generated at low density typically have a small coordination number (CN) of 2 and 3, and at high density the CN is typically 3 and 4.
Figure 3 :
46Figure 3: The generated prior amorphous topologies are realistic based on comparisons of (a) Steinhardt parameters [32], (b) bond angle distribution, (c) radial distribution, (d) Voronoi cell volume distribution, and (e) per-atom GAP potential energy distribution [33, 34] against the training data.The generated structures consist of 29 cubic cells (14 3 Å) of a-C, totaling 7,256 atoms.
Figure 4 :Figure 5 :
47Figure 4: The forward XANES spectroscopy regression model is sufficiently accurate on unseen validation a-C configurations.Note that the forward model predicts per-atom spectral curves, which are then averaged to give rise to global spectra that are compared to DFT calculations.The comparison is shown for a validation set of three structures at densities (a) 1.5, (b) 2.0, and (c) 2.5 g/cm³.
Figure 6 :
48Figure 6: Demonstration of spectroscopy-guided generation where a heavily perturbed diamond structure can result in either perfect denoised diamond topology by default (unconditionally), or amorphous topology with the use of a spectral guide.(a) Visualization of the difference in the generation outcome with and without the spectral guide.(b) Comparison between the given target spectrum and the spectrum predicted from the generated amorphous structure, along with a diamond spectrum for reference.The generated amorphous structures are geometrically realistic compared to an MD-simulated reference structure ("amorph.ref.") in terms of (c) RDF, (d) bond angle distribution, and (e) Steinhardt parameters.
Figure 7 :
49Figure 7: Based on the experiment for generating a-C vs. diamond, the tuning parameter ξ can significantly impact the extent to which the generated structure is amorphous.Each row corresponds to a different value of ξ.The XANES spectrum (which is used as the target), the bond angle distribution, and the RDF from a reference amorphous structure are fixed in all rows.As ξ increases, the generation transitions from the unconditional regime, where diamond is generated by default, to the conditional regime, where a-Cs are generated.
Figure 8 :
50Figure 8: Unphyiscal CN1 (coordination number of 1) carbons can be effectively reduced by K cycles of restart sampling.An example of CN1 carbon is shown in (a).Roughly 6-10 cycles of restart sampling can effectively minimiize occurances of CN1 carbons (b).
51Algorithm 2 lists the pseudocode for training the score model.Training dataset D s , noise schedule (α t , σ t ), initial model parameters θ, another set of model parameters θ ′ for EMA, EMA decay rate β, gradient descent optimizer Optim, and learning rate η.repeat Sample (x 0 , A) ∼ D Sample t ∼ U(0.001, 0.999) Sample ϵ ∼ N (0, I) x t ← α t x 0 + σ t ϵ, ϵ ∼ N (0, I) L DSM ← E x0,ϵ,t ∥s θ (x t , t)σ t + ϵ∥ 2
Table 1 :
52Training and model parameters.
참고문헌 62건
- Estimation of Non-Normalized Statistical Models by Score Matching Journal of Machine Learning Research · The MIT Press · 2005
- The truncated Euler–Maruyama method for stochastic differential equations Journal of Computational and Applied Mathematics · Elsevier BV · 2015 10.1016/j.cam.2015.06.002
- X-Ray Absorption Spectra of Water from First Principles Calculations Physical Review Letters · American Physical Society · 2006 10.1103/physrevlett.96.215502
- Atom-centered symmetry functions for constructing high-dimensional neural network potentials The Journal of Chemical Physics · American Institute of Physics · 2011 10.1063/1.3553717
- Molecular Dynamics Simulations of Gas Selectivity in Amorphous Porous Molecular Solids Journal of the American Chemical Society · American Chemical Society · 2013 10.1021/ja407374k
- Generalized Gradient Approximation Made Simple Physical Review Letters · American Physical Society · 1996 10.1103/physrevlett.77.3865
- Bloch-state-based interpolation: An efficient generalization of the Shirley approach to interpolating electronic structure Physical Review B · American Physical Society · 2009 10.1103/physrevb.80.235126
- Progress in the theory and interpretation of XANES Coordination Chemistry Reviews · Elsevier BV · 2004 10.1016/j.ccr.2004.02.014
- <i>Ab Initio</i>Inclusion of Electron-Hole Attraction: Application to X-Ray Absorption and Resonant Inelastic X-Ray Scattering Physical Review Letters · American Physical Society · 1998 10.1103/physrevlett.80.794
- A Connection Between Score Matching and Denoising Autoencoders Neural Computation · The MIT Press · 2011 10.1162/neco_a_00142
- On representing chemical environments Physical Review B · American Physical Society · 2013 10.1103/physrevb.87.184115
- Linear-Response and Real-Time Time-Dependent Density Functional Theory Studies of Core-Level Near-Edge X-Ray Absorption Journal of Chemical Theory and Computation · American Chemical Society · 2012 10.1021/ct3005613
- Materials for electrochemical capacitors Nature Materials · Nature Portfolio · 2008 10.1038/nmat2297
- Li-ion battery materials: present and future Materials Today · Elsevier BV · 2014 10.1016/j.mattod.2014.10.040
- Soft self-consistent pseudopotentials in a generalized eigenvalue formalism Physical review. B, Condensed matter · American Physical Society · 1990 10.1103/physrevb.41.7892
- Bond-orientational order in liquids and glasses Physical review. B, Condensed matter · American Physical Society · 1983 10.1103/physrevb.28.784
- Theoretical optical and x-ray spectra of liquid and solid H<mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" display="inline"><mml:msub><mml:mrow /><mml:mn>2</mml:mn></mml:msub></mml:math>O Physical Review B · American Physical Society · 2012 10.1103/physrevb.85.045101
- QUANTUM ESPRESSO: a modular and open-source software project for quantum simulations of materials Journal of Physics Condensed Matter · IOP Publishing · 2009 10.1088/0953-8984/21/39/395502
- Deep Unsupervised Learning using Nonequilibrium Thermodynamics arXiv (Cornell University) · Cornell University · 2015 10.48550/arxiv.1503.03585
- The Use of X-Ray K-Absorption Edges in the Study of Catalytically Active Solids Advances in catalysis · Elsevier BV · 1960 10.1016/s0360-0564(08)60602-1
- Fundamentals of XAFS Reviews in Mineralogy and Geochemistry · Mineralogical Society of America · 2014 10.2138/rmg.2014.78.2
- Machine learning based interatomic potential for amorphous carbon Physical review. B./Physical review. B · American Physical Society · 2017 10.1103/physrevb.95.094203
- Modelling heterogeneous interfaces for solar water splitting Nature Materials · Nature Portfolio · 2017 10.1038/nmat4803
- ReaxFF Molecular Dynamics Simulation for the Graphitization of Amorphous Carbon: A Parametric Study Journal of Chemical Theory and Computation · American Chemical Society · 2018 10.1021/acs.jctc.7b01296
- Classification of local chemical environments from x-ray absorption spectra using supervised machine learning Physical Review Materials · American Physical Society · 2019 10.1103/physrevmaterials.3.033604
- Unified Representation of Molecules and Crystals for Machine Learning arXiv (Cornell University) · Cornell University · 2017 10.48550/arxiv.1704.06439
- Structural and elastic properties of amorphous carbon from simulated quenching at low rates Modelling and Simulation in Materials Science and Engineering · IOP Publishing · 2019 10.1088/1361-651x/ab45da
- Wasserstein Auto-Encoders arXiv (Cornell University) · Cornell University · 2018
- Deep-learning approach to the structure of amorphous silicon Physical review. B./Physical review. B · American Physical Society · 2019 10.1103/physrevb.100.094107
- Inverse Design of Solid-State Materials via a Continuous Representation Matter · Elsevier BV · 2019 10.1016/j.matt.2019.08.017
- Inverse design of porous materials using artificial neural networks Science Advances · American Association for the Advancement of Science · 2020 10.1126/sciadv.aax9324
- Estimation of Non-Normalized Statistical Models by Score Matching Journal of Machine Learning Research · The MIT Press · 2005 10.5555/1046920.1088696
- Beyond Idealized Models of Nanoscale Metal Hydrides for Hydrogen Storage Industrial & Engineering Chemistry Research · American Chemical Society · 2020 10.1021/acs.iecr.9b06617
- Machine-enabled inverse design of inorganic solid materials: promises and challenges Chemical Science · Royal Society of Chemistry · 2020 10.1039/d0sc00594k
- Denoising Diffusion Probabilistic Models arXiv (Cornell University) · Cornell University · 2020 10.48550/arxiv.2006.11239
- Fourier Features Let Networks Learn High Frequency Functions in Low Dimensional Domains arXiv (Cornell University) · Cornell University · 2020 10.48550/arxiv.2006.10739
- Constrained crystals deep convolutional generative adversarial network for the inverse design of crystal structures npj Computational Materials · Nature Portfolio · 2021 10.1038/s41524-021-00526-4
- Generating Multiscale Amorphous Molecular Structures Using Deep Learning: A Study in 2D The Journal of Physical Chemistry Letters · American Chemical Society · 2020 10.1021/acs.jpclett.0c02535
- Score-Based Generative Modeling through Stochastic Differential Equations arXiv (Cornell University) · Cornell University · 2020 10.48550/arxiv.2011.13456
- Trends in Carbon, Oxygen, and Nitrogen Core in the X-ray Absorption Spectroscopy of Carbon Nanomaterials: A Guide for the Perplexed The Journal of Physical Chemistry C · American Chemical Society · 2020 10.1021/acs.jpcc.0c08597
- Inverse design of nanoporous crystalline reticular materials with deep generative models Nature Machine Intelligence · Nature Portfolio · 2021 10.1038/s42256-020-00271-1
- Inverse design of two-dimensional materials with invertible neural networks npj Computational Materials · Nature Portfolio · 2021 10.1038/s41524-021-00670-x
- Crystal Diffusion Variational Autoencoder for Periodic Material Generation arXiv (Cornell University) · Cornell University · 2021 10.48550/arxiv.2110.06197
- Understanding X-ray absorption spectra by means of descriptors and machine learning algorithms npj Computational Materials · Nature Portfolio · 2021 10.1038/s41524-021-00664-9
- GeoDiff: a Geometric Diffusion Model for Molecular Conformation Generation arXiv (Cornell University) · Cornell University · 2022 10.48550/arxiv.2203.02923
- Molecular Dynamics Modeling of Interfacial Interactions between Flattened Carbon Nanotubes and Amorphous Carbon: Implications for Ultra-Lightweight Composites ACS Applied Nano Materials · American Chemical Society · 2022 10.1021/acsanm.2c01280
- Equivariant Diffusion for Molecule Generation in 3D arXiv (Cornell University) · Cornell University · 2022 10.48550/arxiv.2203.17003
- Torsional Diffusion for Molecular Conformer Generation arXiv (Cornell University) · Cornell University · 2022 10.48550/arxiv.2206.01729
- Deep Reinforcement Learning for Molecular Inverse Problem of Nuclear Magnetic Resonance Spectra to Molecular Structure The Journal of Physical Chemistry Letters · American Chemical Society · 2022 10.1021/acs.jpclett.2c00624
- Learning Mesh-Based Simulation with Graph Networks arXiv (Cornell University) · Cornell University · 2020 10.48550/arxiv.2010.03409
- Fast Graph Representation Learning with PyTorch Geometric arXiv (Cornell University) · Cornell University · 2019 10.48550/arxiv.1903.02428
- PyTorch: An Imperative Style, High-Performance Deep Learning Library arXiv (Cornell University) · Cornell University · 2019 10.48550/arxiv.1912.01703
- Diffusion Posterior Sampling for General Noisy Inverse Problems arXiv (Cornell University) · Cornell University · 2022 10.48550/arxiv.2209.14687
- DiGress: Discrete Denoising diffusion for graph generation arXiv (Cornell University) · Cornell University · 2022 10.48550/arxiv.2209.14734
- Atomic structure generation from reconstructing structural fingerprints Machine Learning Science and Technology · IOP Publishing · 2022 10.1088/2632-2153/aca1f7
- Hydrogen in disordered titania: connecting local chemistry, structure, and stoichiometry through accelerated exploration Journal of Materials Chemistry A · Royal Society of Chemistry · 2023 10.1039/d2ta07075h
- Fluids and Electrolytes under Confinement in Single-Digit Nanopores Chemical Reviews · American Chemical Society · 2023 10.1021/acs.chemrev.2c00155
- Towards Predicting Equilibrium Distributions for Molecular Systems with Deep Learning arXiv (Cornell University) · Cornell University · 2023 10.48550/arxiv.2306.05445
- Restart Sampling for Improving Generative Processes arXiv (Cornell University) · Cornell University · 2023 10.48550/arxiv.2306.14878
- Harnessing Neural Networks for Elucidating X-ray Absorption Structure–Spectrum Relationships in Amorphous Carbon The Journal of Physical Chemistry C · American Chemical Society · 2023 10.1021/acs.jpcc.3c02029
- Guided diffusion for inverse molecular design Nature Computational Science · Nature Portfolio · 2023 10.1038/s43588-023-00532-0
- Integrating Machine Learning Potential and X-ray Absorption Spectroscopy for Predicting the Chemical Speciation of Disordered Carbon Nitrides Chemistry of Materials · American Chemical Society · 2024 10.1021/acs.chemmater.3c02957