AMGenC: Generating Charge Balanced Amorphous Materials
Yan Lin, Jilin Hu, N M Anoop Krishnan, Morten M Smedskjaer
Abstract. Amorphous (disordered) materials require simulation cells with at least hundreds to thousands of atoms to accurately capture their diverse local atomic environments, compared to crystalline materials that can be described by unit cells containing a few to hundreds of atoms. To advance the design of amorphous materials with desired properties and facilitate the exploration of their vast design space, generative inverse design has emerged as a promising approach. It aims to directly output materials with properties closely aligned with the desired ones using probabilistic generative models conditioned on desired properties, which can be more resource efficient than the traditional trial-and-error approach. However, due to the inherent stochasticity of probabilistic generative models, when element assignments are unconstrained, a large portion of generated materials may be charge unbalanced, and existing methods either fix the composition in advance or discard charge unbalanced samples after generation. In this work, we propose AMGenC, a new generative inverse design method for amorphous materials that can guarantee the generation of formally charge balanced samples, with minimal additional computational overhead and without sacrificing inverse design accuracy. AMGenC achieves this through an element noise that gives the generation process a starting point centered around charge balance, and the combination of a per-step soft projection and a final discrete projection for steering the elements toward exact charge balance throughout the generation. We perform extensive experiments on two amorphous materials datasets. Experimental results provide evidence that AMGenC achieves its design goal.
Are you an author? Claim this paper to see who's reading it, with views and other statistics, and to write about it here.
Claim this paperedit · history
NeurIPS 2026
Accept (poster) · 3 reviews · OpenReview
Updated 25 Nov 2026, 03:43 UTC.
- Decision
- Accept (poster)
Read decision
Meta-review
[borderline]
All the reviewers acknowledge the importance of the problem considered in this paper --- ensuring charge balance in the generated glass structures, the major concerns are on experiments:
- Please address the reviewers' concerns raised individually.
Final justification
After the rebuttal, one reviewer continues advocating for acceptance and the other two reviewers' concerns are addressed for acceptance.
The authors should especially make sure to accommodate the clarification on the focus and application of charge-balance amorphous material generation in the final version of the paper.
Read meta-review
Meta-review
[borderline]
All the reviewers acknowledge the importance of the problem considered in this paper --- ensuring charge balance in the generated glass structures, the major concerns are on experiments:
- Please address the reviewers' concerns raised individually.
Final justification
After the rebuttal, one reviewer continues advocating for acceptance and the other two reviewers' concerns are addressed for acceptance.
The authors should especially make sure to accommodate the clarification on the focus and application of charge-balance amorphous material generation in the final version of the paper.
- Rating
- 3/6
- Confidence
- 3/5
- Quality
- 2/4
- Clarity
- 3/4
- Significance
- 2/4
- Originality
- 3/4
- Contribution type
- use_inspired
- Ethical concerns
- NO or VERY MINOR ethics concerns only
Read review
Summary
The paper proposes methods for obtaining charge balance in generative models for materials, and applies it to amorphous materials. The paper provides experiments that show the effectiveness of the method.
Strengths and weaknesses
Strengths
I think the paper overall is rather well written and easy to follow.
Given the aim of the paper, its experiments seem overall seem to be well designed and the results indicate that the proposed method works; it outperforms other methods, and the ablation study shows that it is indeed the techniques developed in this paper that provides those gains (and not, e.g., just switching to flow matching)
Weaknesses
First off, I am a bit hesitant on the motivation and of the paper and by extension, the usefulness of the method. Focus is on charge neutrality, but 1) the way it is calculated here (assigning a number to each element and summing the elements in the material) is not a property that is physically required for a material (e.g., the MP20 dataset contain only roughly 90 % charge neutral materials according to this way of computing), and 2) the data used seem to be of charge neutral compositions (is this also guaranteed when generating the data?), but the method does not guarantee that composition (which is what provides the charge neutrality in the data generating process for the datasets chosen) is maintained. I therefore think the aim and motivation is somewhat weak: charge neutrality (as computed in the paper) is not a general requirement for materials, and in the paper, it is rather a consequence of compositions, which would be the more interesting property to guarantee (see also questions below). The reviewer guidelines explicitly mention that, for use-inspired work (which I believe this is), the use-case should be real and useful, and as described above, I think the paper falls short here.
Minor weakness: the final discrete projection seems to have the biggest impact, but it is only used in combinations with the other methods, making it somewhat difficult to exactly say the different methods’ impact.
Finally, the paper seems to be of limited technical novelty: the paper provides three techniques for obtaining charge neutrality, where according to their own ablations one of them (final projection) clearly is the dominating technique.
Questions
What happens with composition? Is it maintained together with charge neutrality, or can the correction of charge neutrality introduce weird compositions?
How important are the designed noise and the per-step projections? I.e., what happens if you use only the final projection (which seems to be the biggest contributor) and skip the designed noise and/or the projection?
Minor question: have you verified that the training data indeed has 100 % charge neutrality?
Limitations
The paper has addressed some limitations, but I think that guaranteeing charge neutrality a is a limitation, as this is not something that is in general guaranteed anyway.
Final justification
My main concern was the motivation and use-case of the paper. The authors have given clarifications, but as they seem rather substantial, I think the paper needs another round of reviews. I therefore think this paper is a borderline reject.
Formatting concerns
None
4 comments
I thank the authors for their comments. I still have some questions that I think were left unanswered.
As I wrote in my review, my interpretation was that the neutral charges are rather a consequence from the data stoichiometries. Is this true or not? And speaking of stoichiometries, have you verified that the generated materials have the correct stochiometreies? In the table provided, you have written down marginal fractions of the respective elements, but 1) given the discrepancies between training and generation, I take it this is a conditional model and that in that case it doesn't say much and 2) given that you have already said that less than 1 atom is changed in a unit cell of hundreds, I wouldn't expect the the right most columns to differ much anyway. I would rather have liked to seen the success-rate in generating the correct stoichiometry in the case of SiO2, and generating a stoichiometry among those in the training set in the other case.
I should also note that it has been brought to my attention that this paper was submitted as a "general" contribution-type, while I had interpreted it as a user-inspired work and also referred to the reviewer guidelines in relation to the motivation. I will remove that part (as the paper is submitted as "general") and the authors can ignore that last part. Nevertheless, my concern regarding the motivation still stays (even if a work is considered "general") as discussed in the above paragraph, that charge neutrality is rather a consequence of stochiometry, and since you are not solving that, I am concerned regarding the significance of the work.
I am looking forward to your answer
Thank you for pressing us on this distinction. Yes, the training samples have zero formal charge because of how their compositions were constructed. During generation, every element assignment is predicted, so unconstrained generation can produce element counts that violate this relation. AMGenC enforces the relation on each generated sample.
For amorphous silica, formal charge balance and the complete stoichiometric formula are equivalent. After removing ghost atoms, a sample contains only Si and O, and
AMGenC's 100 percent formal balance rate is therefore also a 100 percent exact SiO2 stoichiometry rate.
MEG has a variable multicomponent composition with no single target formula. Its samples combine SiO2, P2O5, Al2O3, Li2O, BeO, K2O, CaO, TiO2, BaO, and ZnO. For any generated cation counts, this oxide basis requires
Under the fixed BMP charge model,
Thus, charge balance is equivalent to the exact oxygen stoichiometry implied by the generated cation mixture in the usual oxide molar representation. All AMGenC MEG outputs satisfy this relation, giving a 100 percent stoichiometric validity rate for this cation to oxygen constraint. The constraint leaves the cation ratios free, so the compositions in the 9,027 training samples cover only a finite subset of the broader stoichiometrically valid MEG composition space. Property conditioning can therefore select new mixtures outside of training samples.
We also report the requested training composition match rates below. After removing ghost atoms, we reduce each composition to its simplest integer formula by dividing all element counts by their greatest common divisor. A generated sample matches a training composition when this formula is identical to that of at least one training sample.
| Generation setting | Stoichiometric criterion | Stoichiometric validity rate | Exact training composition match |
|---|---|---|---|
| a-SiO2 given | 100% | 100% | |
| a-SiO2 given RSD | 100% | 100% | |
| MEG given and | 100% | 0.00% | |
| MEG given | 100% | 0.15% |
For a-SiO2, the 100 percent stoichiometric validity rate means that every generated sample has the exact SiO2 formula.
For MEG, there is no single target formula because the glass composition varies over mixtures of ten constituent oxides. The 100 percent stoichiometric validity rate means that every generated sample contains exactly the oxygen required to charge compensate its generated cation mixture. The low training composition match rates show that AMGenC usually generates new cation ratios instead of repeating one of the 9,027 training compositions. This is expected under property conditioning, especially for , which lies outside the training distribution shown in Figure 4 in the paper.
We hope this clarifies the distinction between stoichiometric validity and matching a training composition.
We will make this materials interpretation explicit in the revision. We will add the dataset specific stoichiometric criteria, the oxide balance equation, the sample level stoichiometric validity rates, and the training composition match rates to the revised paper.
Dear Reviewer bD8c,
As the discussion period closes very shortly (technically within a few minutes), we wanted to follow up on our response above. The other two reviewers have now confirmed that our additional results and analysis addressed their concerns and enhanced the mechanistic understanding of the proposed method. One maintained their score of 5, Accept, while the other raised their score from 3, Borderline Reject, to 4, Borderline Accept. This leaves your current assessment as the only one below the acceptance threshold.
We understand that there may not be time for further experiments. We would nevertheless greatly appreciate it if you could confirm whether our response has addressed your concern about charge neutrality and stoichiometry. If any concern remains, we will do our best to clarify it before the deadline.
Thank you again for your time and consideration.
- Rating
- 4/6
- Confidence
- 4/5
- Quality
- 3/4
- Clarity
- 3/4
- Significance
- 2/4
- Originality
- 2/4
- Contribution type
- general
- Ethical concerns
- NO or VERY MINOR ethics concerns only
Read review
Summary
This work develops AMGenC, a conditional flow matching model for inverse design of amorphous glassy materials that guarantees formal charge balance of generated structures. Atomic positions and element embeddings are evolved by EGNN conditioned on the target property, with fixed lattice and density controlled through ghost atoms. Charge balance is enforced by OT coupled element noise, per-step soft Gauss-Newton projection that nudges the clean element extrapolation toward zero total charge using a softmax relaxation, and a final discrete projection that performs minimum logit cost element swaps to reach zero charge. AMGenC is evaluated on two glass datasets (a-SiO2 and MEG) against crystalline and amorpphous generative models, reporting inverse design error, charge balance rate, and time to sample.
Strengths and weaknesses
Strengths
- The target problem is sound and well motivated: formal charge balance would be very hard to achieve for amorphous structures with O(100-1000) atoms with post-hoc filtering. AMGenC achieves exact zero net charge with small additional inference time.
- The final discrete projection is clean and the inverse design accuracy is not degraded, and per-step projection sometimes helps MAE in the ablation studies.
- The paper describes the introduced method in sufficient detail and is honest about the structural accuracy toward actual applications (e.g. synthesis) being out of scope.
Weaknesses
- The charge balance here is a single linear integer constraint under fixed integer oxidation states, not electronic neutrality or bond valence satisfaction corresponding to local chemical validity. In this sense, a configuration can be "charge balanced" yet chemically absurd. While the paper claims to generate physically valid charge-balanced materials, physical validity might be a bit of a stretch here.
- Also, the zero charge constraint is seemingly delivered almost entirely by the final discrete projection step. Ablation studies in Table 4 show element noise + per step projection only reaches ~16% while the DP alone brings it to 100%.
- The chemical cost of the repair is not measured. Operation in eq 10 relabels atoms with no local chemical context, so swapping a species into a coordination shell tuned for the original element chosen by the learned generator can degrade local chemistry.
- While the authors claim that there exists no technique for enforcing non-differentiable constraints on the generative models, at least Universal Guidance (cited as [1]) and non-differentiable rule-guided diffusion ([15]) deal with the relevant problem. Also, Crystal-GFN applies hard physicochemical constraints during sampling, while I agree that single pass neutrality guarantee has not been much explored yet.
- "OT coupled element noise" in Sec 4.2 is not an OT coupling but is the standard conditional coupling (i.e. condOT path) with no transport plan or cost computed inside the batch.
- The per-step projection (eqs. 7-9) is a heuristic and not a true Newton step. Compared to PCFM, AMGenC adds softmax/simplex relaxation step (appears in Dirichlet/Fisher flow matching) and classical bounded integer DP, which is a bit incremental, and the theoretical novelty is limited.
- The comparison is largely pre-determined because none of the baselines enforce charge balance, so charge balance and time-to-valid gaps (Tables 2 & 3) are guaranteed before any experiment is run. Also, Graphite is originally conditioned on XANES spectra, not scalar target properties, so using it for scalar property inverse design requires an unstated adaptation.
Questions
I will increase my score if authors could validate the claims in the paper relevant to the following concerns:
- Could authors compare with just Base + DP setting to show that OT-coupled noise and per-step soft projection contribute gains beyond what the final DP alone recovers, on inverse-design accuracy and structural fidelity?
- Could the metrics relevant to local coordination (such as RDFs, coordination number, angle distributions) reported before and after the DP step?
- For each baseline, please provide the adaptation protocol used to produce the metrics, including what was retrained, and if so, the hyperparameters used.
Limitations
yes
Final justification
Overall, the rebuttal resolves most of my technical and empirical concerns and significantly improves the mechanistic justification of the method. I therefore increase my score, while retaining some reservations regarding originality.
Formatting concerns
n/a
4 comments
Rebuttal
Thank you for the detailed technical review and for stating the evidence that could change your assessment.
W1. Scope of formal charge balance
We agree that the scope should be stated precisely. AMGenC guarantees exact global balance under the stated formal charge model, which is a necessary chemical constraint for the evaluated oxide glasses. We will use the precise term formal charge balance and position electronic neutrality, bond valence, stability, and synthesis feasibility as complementary downstream assessments.
Appendix G compares partial RDFs and coordination numbers with the training data. The paired analysis below isolates the aggregate structural effect of DP.
W2 & Q1. Contribution beyond the final discrete projection
The final discrete projection provides the exact guarantee. To isolate the earlier components, we applied the same DP to Base, Base plus data centered element noise, and full AMGenC. The following table reports the MEG configuration conditioned on and .
| Metric | Base plus DP | Base plus noise plus DP | Full AMGenC |
|---|---|---|---|
| Charge balanced samples | 100.0% | 100.0% | 100.0% |
| MAPE | 23.9% | 22.5% | 20.1% |
| MAPE | 11.7% | 11.0% | 9.8% |
| Mean assignments changed by DP | 14.73 | 9.21 | 0.81 |
| DP wall clock time per 1,000 samples (seconds) | 464.9 | 332.4 | 67.7 |
| Mean partial RDF JSD | 0.01578 | 0.01527 | 0.01418 |
| Mean first shell coordination MAE | 0.04899 | 0.04769 | 0.04482 |
Here, for both metrics.
All three variants reach exact balance, so their differences isolate the value of the preceding components beyond DP. Data centered noise reduces the repair from 14.73 to 9.21 assignments and improves both property and structural errors, while the soft projection reduces the repair further to 0.81 assignments. Relative to Base plus DP, full AMGenC changes 94.5 percent fewer assignments, runs DP 85.4 percent faster, lowers RDF JSD by 10.1 percent, and lowers coordination MAE by 8.5 percent. It lowers Young's modulus and lithium concentration MAPE by 3.8 and 1.9 percentage points. The final DP supplies exactness, while the data centered path and soft projection preserve inverse design accuracy and structural fidelity by reducing the required repair.
W3 & Q2. Chemical cost of the final projection
To measure chemical cost beyond logit score, we compare the same samples immediately before and after DP against the training distributions. DP fixes positions, so the paired metrics directly measure the effect of its element relabeling. The following table reports MEG generation conditioned on and .
| Generation versus training data metric | Before DP | After DP |
|---|---|---|
| Mean assignments changed by DP | N/A | 0.81 |
| Maximum assignments changed by DP | N/A | 4 |
| Mean partial RDF JSD | 0.01415 | 0.01418 |
| Mean partial RDF Wright factor | 0.19952 | 0.19989 |
| Mean first shell coordination MAE | 0.04471 | 0.04482 |
| Mean OXO angle JSD | 0.01829 | 0.01832 |
Here, . Our yMTD W1 & Q1 response provides the metric setup and corresponding results for amorphous silica.
The before and after values differ by only 0.00003 to 0.00037, or at most 0.25 percent of their values before DP. Together with only 0.81 relabelings on average, these paired measurements directly show that DP preserves the aggregate RDF, coordination, and angle distributions while enforcing exact balance.
W4. Prior work on constraints
We agree that the original wording is too broad. Universal Guidance and rule guided diffusion support guidance from external objectives, including objectives that are difficult or impossible to differentiate directly. They improve constraint satisfaction without an exact guarantee for the final discrete output. Crystal GFN can impose hard constraints by restricting the action space of a sequential crystal generator. This is a genuine hard constraint approach with a different generation process.
We will cite Crystal GFN and revise the claim. The specific contribution of AMGenC is an exact global integer constraint for jointly generated atom types in a flow model. It combines a differentiable relaxation during the flow with an exact minimum cost discrete correction at the end. Our yMTD Q3 response discusses complementary composition first constraint methods.
W5. Element noise terminology
We agree that the name is imprecise. Training uses a data centered conditional coupling, and inference samples from its element frequency weighted marginal. It does not compute a batch transport plan or transport cost. We will rename it data centered conditional element noise and revise the description while keeping the method unchanged.
W6. Projection terminology and novelty
We agree that the current name overstates the connection to a standard Gauss Newton step. The update is a minimum norm correction for a linearized relaxed constraint, but it uses the exact discrete residual with the Jacobian of a soft relaxation. We will call it a soft linearized projection and describe the hard residual and soft Jacobian combination explicitly.
We will state the novelty at the level of constraint aware integration with a data centered element path for joint position and element flow. The soft linearized correction reduces the residual throughout generation, while the minimum cost discrete correction provides an exact final guarantee for cells with hundreds of atom assignments. This design addresses a setting the components do not solve separately, and the new Base plus DP ablation tests the value of the integration directly.
W7 & Q3. Baseline comparison and adaptation
Tables 2 and 3 quantify the practical benefit of imposing the exact constraint as system size and element diversity increase. Table 2 shows that the best baseline balance rate drops from 6.8 percent for amorphous silica cells with 80 to 250 atoms to 2.0 percent for MEG cells with about 800 atoms. Table 3 translates this scaling effect into computation cost. The best baseline needs about 39 to 49 hours to produce 1,000 balanced MEG samples, while AMGenC needs about 47 minutes. The inverse design and structural comparisons provide independent evidence that AMGenC preserves accuracy and structural fidelity while enforcing the exact constraint.
All baselines were retrained on the same amorphous data and target configurations with Adam, a learning rate of 0.001, 200 epochs, and batch size 8. All methods used 100 sampling steps, and each experiment was repeated five times. We provide the adaptation protocol below, and the revised appendix will provide method specific architecture and conditioning settings.
- CDVAE. Its original workflow first chooses the composition, cell, and atom count, then generates the atom positions and elements. We retained this workflow, retrained it on amorphous structures, and changed its optimization of one property toward an extreme to matching all requested property values.
- CrystalFlow. Its original workflow generates the cell, atom positions, and elements together while conditioning on numerical properties. We retained this workflow and retrained it on amorphous structures using all target scalar properties as conditioning.
- MatterGen. Its original workflow first learns material generation from unlabeled structures, then adapts to labeled property targets. We followed this workflow with unlabeled and labeled amorphous samples and retained its joint generation of the cell, atom positions, and elements.
- Graphite. Its original workflow generates an amorphous structure using XANES prediction error to guide sampling. We retrained it for multiple elements and changed the prediction target from per atom XANES to the target scalar properties.
- AMDEN. Its original task and workflow already match our setting, so we retrained it for each dataset and property set. It generates positions and elements together inside a fixed cell and uses removable empty sites to vary atom count and density.
Awaiting feedback on rebuttal from Reviewer VhfU
Dear Reviewer VhfU,
Thank you for the comments on the manuscript and expressing willingness to increase the score of the manuscript if your comments are addressed. Since we are in the last two days of author-reviewer discussions, we would appreciate your comments on the rebuttal. We have performed several additional analysis and experiments to address the concerns raised in the comments. Specifically, we have:
- performed ablations to clarify the contributions of OT-coupled noise and per-step soft projection (W2 and Q1),
- evaluated on additional metrics you suggested, and beyond, to quantify the changes due to final projection (W3 and Q2),
- provided detailed adaptation protocol for each baseline, which will be added to the Appendix (W7 and Q3).
With these changes, we hope we have addressed all the concerns you raised. If there are any further comments, we will be happy to engage. Looking forward to your response.
Thank you,
Authors
Response to Authors
I appreciate the authors for providing the detailed rebuttal. The new Base+DP ablation and the before/after DP structural analysis address several of my empirical concerns and clarify the role of the intermediate components beyond the final projection. Although I still view the methodological novelty as somewhat incremental, the rebuttal addresses most of my technical concerns and significantly enhances the mechanistic understanding of the proposed method. I will therefore increase my score accordingly.
Thank you for your thoughtful reassessment. We are glad that the new ablation and structural analyses addressed your technical concerns and clarified the roles of the intermediate components. We will incorporate these results and explanations into the revised paper.
- Rating
- 5/6
- Confidence
- 5/5
- Quality
- 3/4
- Clarity
- 4/4
- Significance
- 3/4
- Originality
- 3/4
- Contribution type
- general
- Ethical concerns
- NO or VERY MINOR ethics concerns only
Read review
Summary
This paper proposes AMGenC, a flow-matching-based generative inverse design method for amorphous materials with an explicit charge-balance constraint. The method combines element noise, per-step soft Gauss-Newton projection, and a final discrete projection to ensure generated samples satisfy formal charge neutrality. Experiments on amorphous silica and multi-element glass datasets show that the method achieves 100% charge-balanced generation while maintaining accuracy for materials inverse design.
Strengths and weaknesses
Strengths:
- The paper targets a concrete and important failure mode in generative materials design: unconstrained element generation often produces charge-unbalanced structures, including large amorphous systems.
- The proposed solution is practical. The final discrete projection gives an exact guarantee, while the soft projection reduces the residual enough that the correction remains minimally disruptive.
- The experiments are convincing overall.
Weakness:
- The paper could better clarify how much the final discrete projection changes local chemistry or coordination environments, beyond reporting inverse-design metrics.
- The method depends on assigned formal charges. The authors should discuss cases where oxidation states are ambiguous, mixed-valence, or not well described by integer formal charges.
Questions
- How many atom types are typically changed by the final discrete projection? Reporting the average and maximum number of swaps would help quantify how much correction is typically needed for a vanilla generative model.
- As mentioned in the "weakness" part, the authors should discuss on how should the method be applied when formal charges are ambiguous or composition-dependent, for example in mixed-valence glasses with transition metals.
- The "related work section" should more clearly discuss prior efforts on enforcing or encouraging charge-balanced compositions in materials generation. For example, in crystal generation, several recent works generate valid chemical formulas or intermediate compositions before structure generation, including https://arxiv.org/abs/2310.00475, https://arxiv.org/abs/2409.06762, https://arxiv.org/abs/2507.19799. I'm pretty sure the same strategy will work for amorphous systems as well, but I would appreciate the authors' comment on how much additional gain they will gain from their (maybe more flexible) framework.
Limitations
yes
Final justification
The authors have adequately addressed my comments, as well as other reviewers' concerns. I would like to remain my scoring for the paper and its acceptance.
Formatting concerns
N/A
3 comments
Rebuttal
Thank you for the positive assessment and for identifying specific ways to clarify the scope and evaluation. We agree that formal charge balance is one global chemical constraint and that the effect of the final discrete projection should be measured directly.
W1 & Q1. Changes made by the final discrete projection
The projection keeps every atomic position fixed and changes only element assignments. It finds the charge balanced assignment with minimum total logit cost, which favors labels that the generator already scored highly. We measured the number and fraction of changed assignments as follows.
| Configuration | Mean assignments changed by DP | Maximum assignments changed by DP | Mean atom fraction changed by DP |
|---|---|---|---|
| Amorphous silica given | 0.63 | 2 | 0.098% |
| Amorphous silica given RSD | 0.59 | 2 | 0.092% |
| MEG given and | 0.81 | 4 | 0.061% |
| MEG given | 0.77 | 3 | 0.058% |
Across the four configurations, DP changes only 0.59 to 0.81 assignments per sample on average and at most two to four assignments in any sample. This corresponds to 0.058 percent to 0.098 percent of the generated sites. For the requested comparison with a vanilla generator, Base plus DP changes 14.73 assignments on average on MEG, while full AMGenC changes 0.81, a 94.5 percent reduction.
We also compared structural distributions immediately before and after the projection. Each structural value compares the generated distribution at that stage with the training data distribution.
For amorphous silica, we report generation conditioned on RSD.
| Generation versus training data metric | Before DP | After DP |
|---|---|---|
| Mean JSD across , , and | 0.01192 | 0.01193 |
| Mean Wright factor across , , and | 0.22106 | 0.22118 |
| First shell coordination number MAE for | 0.03759 | 0.03762 |
| Mean JSD across and distributions | 0.00838 | 0.00839 |
For MEG, we report generation conditioned on and .
| Generation versus training data metric | Before DP | After DP |
|---|---|---|
| Mean JSD across the defined partial RDFs | 0.01415 | 0.01418 |
| Mean Wright factor across the defined partial RDFs | 0.19952 | 0.19989 |
| Mean first shell coordination number MAE across the defined | 0.04471 | 0.04482 |
| Mean JSD across the defined distributions | 0.01829 | 0.01832 |
For the MEG metrics, . All structural comparisons use 200 RDF bins over 0 to 6 angstrom and 180 angle bins over 0 to 180 degrees. The first shell cutoff is the first local minimum after the main reference RDF peak and also defines the angle neighbors. Coordination MAE averages the absolute error from zero distance through this cutoff. JSD uses base two, and all stages reuse the same training data frames and cutoffs.
For amorphous silica, every before and after value differs by at most 0.00012, or 0.12 percent of its value before DP. For MEG, every value differs by at most 0.00037, or 0.25 percent. Using the same samples and positions makes this a direct paired test of DP. The maximum relative change of 0.25 percent demonstrates that DP preserves the measured RDF, coordination, and angle distributions while enforcing exact balance. These measurements complement the RDF and coordination results already reported against the training data in Appendix G and Figures 5 through 7.
W2 & Q2. Formal charges and mixed valence systems
Our guarantee is defined relative to a supplied charge model. For the oxide glass datasets, the charge model is unambiguous because the samples were constructed from neutral oxide units and use the oxidation states associated with the BMP potential. Formal charge balance precisely captures neutral composition under the supplied charge model, while electronic charge density and bond valence provide complementary assessments.
Applying AMGenC beyond these fixed charge oxide datasets may require extensions to the charge model and projection. Fixed rational charges can be multiplied by a common denominator and passed to the same discrete projection. The partial charges in the BMP potential are proportional to the formal charges used here, so they define the same neutral compositions. Known mixed valence states could be represented as separate classes such as Fe2+ and Fe3+ when the allowed states are specified in advance. Composition dependent charges can be supported by extending the soft projection with a differentiable charge predictor and defining the final constrained solver for the predicted charge model. The exact guarantee can be retained when this model exposes a discrete set of allowed oxidation states or another exactly testable discrete charge representation. We will clarify the fixed charge scope and these direct extensions.
Q3. Composition first generation
We agree and will discuss Generative Design of Inorganic Compounds Using Deep Diffusion Language Models, Generative Hierarchical Materials Search, and CrysVCD. These methods first generate or select a composition and then generate a crystal structure conditioned on that composition. This is an effective approach when composition can be fixed before structure generation.
AMGenC addresses the complementary setting where element assignments and positions evolve jointly in one property conditioned flow, so composition remains variable during structure generation. The MEG experiment illustrates this setting by conditioning on Young's modulus and a 15 percent lithium molar concentration. AMGenC reaches 100 percent formal charge balance, a Young's modulus MAPE of 20.1 percent, and a lithium concentration MAPE of 9.8 percent for cells of about 800 atoms. DP changes only 0.81 assignments, or 0.061 percent of generated sites, on average, while lithium concentration MAPE changes from 9.9 percent before DP to 9.8 percent after DP. These results show that the exact correction preserves the composition target at the measured level.
A composition first amorphous pipeline would use a separate constrained composition generator and then pass a fixed composition to the structure generator. The architectural distinction of AMGenC is joint property driven adaptation of composition and structure under the exact constraint. The current results quantify the gain in this joint setting: exact balance while preserving the composition target with only 0.81 relabelings on average. We will update the related work to present these approaches as complementary and define AMGenC's joint generation contribution precisely.
Thank you for addressing my comments. I believe my concerns have been adequately addressed.
Thank you again for your thoughtful comments. We are glad that our response addressed your concerns. Your feedback has helped strengthen the paper, and we will incorporate the additional experiments and discussions into future revisions.
Comments on the paper
4 comments
Overview response
Thank you to the reviewers and area chair for recognizing the importance of enforcing charge balance in generated glass structures and for identifying the experiments and clarifications needed to assess our contribution. This overview summarizes our responses to each reviewer, with a focus on the added evidence for the value of each component, the chemical and composition cost of the final correction, and the practical benefit at amorphous material scale.
Scope and use case
AMGenC guarantees exact global formal charge balance under a supplied charge model. For the evaluated ionic oxide glasses, formal balance is an explicit global construction rule and a necessary first validation before complementary assessments of local bonding, stability, electronic charge density, and synthesis feasibility. Every one of the 6,000 amorphous silica samples and 9,027 MEG samples has zero total formal charge under the model used in the paper. The amorphous silica samples have fixed SiO2 stoichiometry, while the MEG samples were assembled from neutral oxide units and use the fixed species charges associated with the BMP potential. We will state this scope precisely and replace broader claims about physical validity with formal charge balance under the stated charge model.
One concrete use case is property conditioned screening of lithium containing oxide glasses with cells of about 800 atoms. For MEG generation targeting Young's modulus and a 15 percent lithium concentration, AMGenC lets the target properties influence composition and structure jointly while restricting the composition to the formally balanced subset. It reaches 100 percent formal balance, a Young's modulus MAPE of 20.1 percent, and a lithium concentration MAPE of 9.8 percent. A composition first pipeline can instead enforce a complete recipe before structure generation, and we view that design as complementary. AMGenC addresses the setting where atom positions and element assignments evolve jointly in one property conditioned flow and composition remains variable during generation.
Value of the complete generation design
The final discrete projection provides the exact guarantee. The data centered conditional element noise and soft linearized projection reduce the residual before this correction, which preserves inverse design accuracy and structural fidelity by reducing the required repair. To isolate their value beyond the final projection, we added Base plus DP and Base plus noise plus DP variants on MEG generation conditioned on Young's modulus and lithium concentration.
| Metric | Base | Base plus DP | Base plus noise plus DP | Noise plus soft projection | Full AMGenC |
|---|---|---|---|---|---|
| MAPE | 21.6% | 23.9% | 22.5% | 20.2% | 20.1% |
| MAPE | 10.7% | 11.7% | 11.0% | 9.9% | 9.8% |
| Charge balanced samples | 1.4% | 100.0% | 100.0% | 16.2% | 100.0% |
| Mean assignments changed by DP | N/A | 14.73 | 9.21 | N/A | 0.81 |
| DP wall clock time per 1,000 samples in seconds | N/A | 464.9 | 332.4 | N/A | 67.7 |
| Mean partial RDF JSD | 0.01475 | 0.01578 | 0.01527 | 0.01415 | 0.01418 |
| Mean first shell coordination MAE | 0.04594 | 0.04899 | 0.04769 | 0.04471 | 0.04482 |
The variants containing DP all reach exact balance, so they isolate how the preceding components affect the repair. Applying DP directly to Base worsens the property and structural metrics, while data centered noise reduces the repair burden and improves these metrics. The noise plus soft projection variant further improves the metrics before the exact correction, and full AMGenC reaches exact balance with almost no change to them. Relative to Base plus DP, full AMGenC changes 94.5 percent fewer assignments, runs DP 85.4 percent faster, lowers RDF JSD by 10.1 percent, and lowers coordination MAE by 8.5 percent. The exact solver supplies the guarantee, while the complete integration makes its correction small enough to preserve generation quality.
Overview response (part 2)
Measured cost of the final projection
We compared the same generated samples immediately before and after DP, which directly isolates the effect of element relabeling.
| Configuration | Mean assignments changed | Maximum assignments changed | Mean atom fraction changed |
|---|---|---|---|
| Amorphous silica given | 0.63 | 2 | 0.098% |
| Amorphous silica given RSD | 0.59 | 2 | 0.092% |
| MEG given and | 0.81 | 4 | 0.061% |
| MEG given | 0.77 | 3 | 0.058% |
| Dataset | Structural metrics compared | Maximum absolute change | Maximum relative change |
|---|---|---|---|
| Amorphous silica | Partial RDF JSD, Wright factor, first shell coordination MAE, and angle JSD | 0.00012 | 0.12% |
| MEG | Partial RDF JSD, Wright factor, first shell coordination MAE, and angle JSD | 0.00037 | 0.25% |
| MEG metric | Before DP | After DP | Absolute DP change |
|---|---|---|---|
| Lithium atomic percentage | 14.44% | 14.45% | 0.01 percentage points |
| Young's modulus MAPE | 20.2% | 20.1% | 0.1 percentage points |
| Lithium concentration MAPE | 9.9% | 9.8% | 0.1 percentage points |
DP changes less than one assignment per sample on average and preserves the measured RDF, coordination, angle, composition, and target property results. The lithium concentration had already shifted from the training mean of 1.98 percent toward the 15 percent target before DP. The conditioned generator therefore drives the composition, while the minimum logit cost correction has a negligible aggregate effect.
Practical benefit and comparison protocol
| Configuration | Scale | Best baseline balance rate | AMGenC balance rate | Best baseline time for 1,000 balanced samples | AMGenC time |
|---|---|---|---|---|---|
| Amorphous silica given | 80 to 250 atoms, 2 element types | 5.5% | 100.0% | 6.95 hours | 23.68 minutes |
| Amorphous silica given RSD | 80 to 250 atoms, 2 element types | 6.8% | 100.0% | 5.82 hours | 24.08 minutes |
| MEG given and | About 800 atoms, 11 element types | 1.6% | 100.0% | 48.77 hours | 47.44 minutes |
| MEG given | About 800 atoms, 11 element types | 2.0% | 100.0% | 38.85 hours | 47.13 minutes |
The benefit of enforcing the constraint grows with the number of atoms and element types. MEG baselines discard more than 98 percent of generated samples, while AMGenC adds less than 1 percent to generation time for projection and requires no repeated generation. The inverse design and structural results independently show that this efficiency gain preserves target accuracy and measured structural fidelity.
All baselines were retrained on the same amorphous datasets and property targets with Adam, a learning rate of 0.001, 200 epochs, and batch size 8. All methods used 100 sampling steps, and every experiment was repeated five times. We also provide the method specific adaptation protocol in the detailed response and will add the architecture and conditioning settings to the appendix.
Overview response (part 3)
Clarified contribution and limitations
We will rename OT coupled element noise to data centered conditional element noise because the method uses a conditional coupling during training and its element frequency weighted marginal during inference without computing a batch transport plan. We will rename the Gauss Newton projection to soft linearized projection because it combines the exact discrete residual with the Jacobian of a soft relaxation to make a minimum norm correction. The contribution is the complete constraint aware integration for jointly generated atom types in a flow model. The data centered element path and soft correction reduce the residual throughout generation, and the minimum cost discrete correction supplies the exact final guarantee for hundreds of atom assignments.
We will also revise the related work claim. Universal Guidance and rule guided diffusion can improve satisfaction of objectives that are difficult to differentiate, while they do not guarantee an exact constraint on the final discrete output. Crystal GFN can impose hard constraints by restricting the action space of a sequential generator. Composition first methods can generate or select a balanced composition before structure generation. These methods are complementary to the joint property conditioned setting addressed by AMGenC.
The guarantee remains relative to its supplied charge model. Fixed rational charges can be multiplied by a common denominator and passed to the same discrete projection. Known mixed valence states can be represented as separate classes when the allowed states are specified in advance. Composition dependent charges would require a differentiable charge predictor for the soft projection and an exactly testable discrete representation for the final solver. We will make these extension requirements and the present fixed charge scope explicit.
The new ablation, paired structural measurements, composition analysis, and data verification address the reviewers' shared concerns with direct evidence. They show that AMGenC enforces an exact, clearly scoped constraint at amorphous material scale while the preceding components reduce the final repair enough to preserve inverse design accuracy, structure distributions, and target conditioned composition.
Check authors' rebuttal
Dear reviewers,
As we are moving to the author-reviewer discussion phase, please check the authors' rebuttal to your previous reviews and respond to the rebuttal.
Best Regards, Your AC
From OpenReview, CC BY 4.0. Authors as signed there; shown unedited.
Loading the discussion…
Rebuttal
Thank you for raising the scope of the charge definition and the relation between charge balance and composition. We agree that the paper should state more precisely why the constraint is appropriate for these oxide glass datasets and what the projection changes.
W1. Motivation and scope of the constraint
We agree that the scope of the fixed oxidation state test should be stated precisely. The MP20 figure reinforces the need to define the charge model for the target material family. Our scope is ionic oxide glasses under the charge model used to construct the data. Every amorphous silica sample has fixed SiO2 stoichiometry. The MEG compositions are assembled from neutral oxide units and use the BMP fixed species charge model. Formal balance is therefore an explicit global construction rule in these datasets and provides a necessary first validation before local bonding, stability, and synthesis assessments. We will replace general statements about material validity with formal charge balance under the stated charge model.
The concrete use case is property conditioned screening of lithium containing oxide glass candidates with about 800 atoms. For the MEG experiment targeting Young's modulus and a 15 percent lithium concentration, the best baseline produces 1.6 percent balanced samples, while AMGenC produces 100 percent. AMGenC allows the property condition to influence both composition and structure while restricting the composition to the formally balanced subset. A composition first pipeline could instead enforce a complete recipe before structure generation, and we view that design as complementary.
W1 & Q1. Composition changes
The final projection can change composition because it relabels a small set of atoms to satisfy the global constraint. It uses the minimum logit cost relabeling, which preserves the generator's preferred assignments while reaching exact balance. We added direct measurements of the composition change on MEG generation conditioned on E and CLi.
We also compare composition using the atomic percentage of each element. The table reports the sample mean and sample standard deviation.
Across all elements, DP changes the mean atomic percentage by at most 0.01 percentage points and the standard deviation by at most 0.02 percentage points. The target conditioned shift from the overall training distribution is already present before DP. Lithium rises from a training mean of 1.98 percent to 14.44 percent before DP, close to the 15 percent target, and DP changes it only to 14.45 percent. Thus the conditioned generator drives the composition change, while DP has a negligible aggregate effect on the element proportions. These statistics directly show that DP preserves the property conditioned element proportions, with every mean atomic percentage shifting by at most 0.01 percentage points.
Table 4 provides a complementary property level check for the same samples.
Young's modulus MAPE changes from 20.2 percent to 20.1 percent, while lithium concentration MAPE changes from 9.9 percent to 9.8 percent. Together with the composition statistics, these paired results show that the exact correction preserves the requested lithium concentration at the measured level. Our yMTD W1 & Q1 and VhfU W3 & Q2 responses report the corresponding aggregate structural measurements before and after DP.
W2, W3 & Q2. Role of the components
We agree that the final projection provides the exact guarantee. The earlier components reduce its repair burden and improve inverse design accuracy before the repair. In Table 4, the data centered noise and soft projection reduce absolute mean charge from 34.62 to 0.57 and improve Young's modulus MAPE from 21.6 percent to 20.2 percent. We added the missing Base plus discrete projection variant and a Base plus noise plus discrete projection variant without the soft projection. The final discrete projection uses a classical dynamic programming algorithm. The use inspired contribution is the complete generation design in which the data centered noise and soft projection reduce the residual before an exact minimum cost repair. Together, the two variants test how the data centered noise and soft projection affect accuracy, local structure, and repair cost beyond applying the final algorithm alone. The following table reports the MEG configuration conditioned on E and CLi.
Here, X∈{Si,P,Al,Li,Be,K,Ca,Ti,Ba,Zn}. Our VhfU W2 & Q1 response provides the same component ablation and analysis. We use the structural metric setup specified in our yMTD W1 & Q1 response.
Applying DP directly to Base reaches 100 percent balance but requires 14.73 relabelings and raises Young's modulus and lithium concentration MAPE from the unprojected Base values of 21.6 and 10.7 percent to 23.9 and 11.7 percent. Data centered noise reduces the repair to 9.21 assignments and improves both errors. Adding the soft projection reduces the repair further to 0.81 assignments and reaches MAPEs of 20.1 and 9.8 percent. Relative to Base plus DP, full AMGenC uses 94.5 percent fewer relabelings and 85.4 percent less DP time, while lowering RDF JSD by 10.1 percent and coordination MAE by 8.5 percent. The final projection supplies exactness, while the earlier components reduce the repair enough to preserve inverse design and structural quality. We will state the novelty at the level of this complete constraint aware integration, which the ablation directly supports.
Q3. Charge balance of the training data
Yes. Using the same formal charge assignments as the model, all 6,000 amorphous silica dataset samples and all 9,027 MEG dataset samples have total formal charge zero. The amorphous silica samples have fixed SiO2 stoichiometry. The MEG compositions were assembled from neutral units of SiO2, P2O5, Al2O3, Li2O, BeO, K2O, CaO, TiO2, BaO, and ZnO. We will state this verification explicitly in Appendix D.