Retaining intermediate element identities enables longer training to improve crystal discovery

Yucheng Jin, Chengqian Zhang, Han WangarXiv 2026

TL;DR

Training generative diffusion models longer usually makes them better, except when discovering new crystals—where longer training boosts physical stability at the fatal expense of structural novelty, causing discovery rates to crash. The authors solve this without changing the training objective by simply "locking in" which chemical elements sit where partway through the generation process, while letting the geometry finish relaxing. Paired with a chemically smart representation of the periodic table, this trick turns "overtrained" models into record-breaking crystal discovery engines.

What Problem Does This Paper Address?

Imagine asking an AI to dream up new inorganic materials for batteries or magnets. A useful candidate must thread a tight needle: it needs to be energetically plausible (Metastable), non-duplicate (Unique), and genuinely unknown to science (Novel)—collectively measured by the MSUN fraction.

Diffusion models generate crystals by starting with random noise and simultaneously denoising three things: the bounding box (lattice), atomic 3D coordinates, and element identities (e.g., Iron vs. Oxygen). In language or image models, training longer generally improves output quality. In crystal diffusion, however, longer training creates a frustrating trade-off: models get great at making stable crystals by memorizing known training structures, causing novelty—and overall MSUN discovery—to peak early and then plummet. Prior fixes required awkward loss-reweighting or expensive reinforcement-learning post-training. Can we unlock the benefits of longer training just by changing how we sample from a standard model?

Methods

The authors introduce two complementary ideas—one at the representation level (fixed before training) and one at inference time (requiring zero extra training or compute overhead):

  1. Chemical Similarity-based Spherical Encoding (CSSE): Standard one-hot encodings treat all elements as equidistant strangers—Chlorine is just as far from Bromine as it is from Gold. CSSE extracts element embeddings from pretrained atomistic models (like structure predictors or interatomic potentials), computes their pairwise cosine similarities, and compresses them onto an 8-dimensional unit sphere. Chemically swappable elements (like halogens) live at small angles from one another.
  2. Intermediate Identity-Locking Sampling (IILS): Standard "Full" sampling denoises element types, coordinates, and the lattice all the way from pure noise ($t=1$) to completion ($t=0$). IILS follows the exact same trajectory until an intermediate time (typically $t_s = 0.2$), projects the fuzzy, continuous element states onto their nearest discrete CSSE element identities, and locks them in. For the remaining 20% of the trajectory, only the atomic coordinates and lattice continue to denoise around those fixed elements.
Comparison of Full sampling vs. Intermediate Identity-Locking Sampling (IILS), where element identities are projected and locked at an intermediate step while geometry finishes denoising.

Datasets

  • Training: Models (DiffCSP and Crystalite architectures) were trained on MP20 (inorganic crystals with $\le 20$ atoms per unit cell from the Materials Project) and the larger AlexMP20 dataset (from MatterGen).
  • Evaluation: Generated crystals were structurally relaxed using MatterSim-1M and benchmarked using LeMat-GenBench, checking novelty against the massive LeMat-Bulk reference database. No new datasets were introduced, ensuring apples-to-apples leaderboard comparisons.

Key Insights and Ideas

  • Validation loss is a mirage for discovery: As models train up to 100,000 epochs, standard validation loss curves upward (classic overfitting) and Full-sampling discovery crashes. Yet under IILS, discovery keeps climbing steadily. Later checkpoints haven't "forgotten" how to innovate—they just resolve element types too conservatively at the very end of denoising.
Training trajectories showing IILS MSUN fraction climbing steadily up to 100,000 epochs even as Full sampling degrades and validation loss rises, because IILS preserves structural novelty while gaining stability.
  • Noisy intermediate states hold chemically smart alternatives: Because CSSE groups similar elements together on a sphere, an undecided atom at $t_s = 0.2$ hovers in a neighborhood of chemically compatible substitutes (e.g., Br, F, or I near a site destined to become Cl). Locking it early captures novel, valence-compatible combinations before the model snaps back to a memorized training compound. With equidistant one-hot vectors, locking early picks incompatible elements and tanks stability.
  • It's not just random ion-swapping: Taking finished Full-sampled crystals and randomly swapping ~50% of the atoms using empirical substitution rules yields dismal discovery rates (1.1%–9.1% MSUN). The diffusion model's context-aware intermediate states are doing the heavy lifting.
  • One timing fits almost all: Fixing elements at $t_s = 0.2$ proved optimal or near-optimal across different architectures, datasets, and training lengths, sparing practitioners from tedious hyperparameter tuning.

Key Results

  • Shattering MP20 benchmarks: Applying CSSE + IILS with longer training on DiffCSP achieves 53.0% MSUN on MP20—a massive leap over Full sampling on the same checkpoints (11.3%) and the best previously reported benchmark model, Creator-MV-DiT (37.1%).
  • Cross-architecture & dataset gains: At standard training budgets, IILS boosts MSUN over Full sampling by +17.5 percentage points on DiffCSP (MP20), +19.6 points on Crystalite (MP20), and +32.7 points on DiffCSP (AlexMP20, reaching 68.9% MSUN).
  • Targeted property design: Using classifier-free guidance verified by DFT calculations, IILS improves the joint rate of hitting both MSUN criteria and target properties for band gap (2.0% $\to$ 3.0%) and magnetic density (16.0% $\to$ 34.0%).

Limitations and Future Work

  • Task-dependent property trade-offs: In property-guided generation for bulk modulus (250 GPa target), IILS improved MSUN (39% $\to$ 46%) but lowered exact property matching (50% $\to$ 32%), dropping the joint success rate from 22% to 17% compared to CSSE Full sampling. Locking elements early can occasionally fight tight mechanical property constraints.
  • Rigid, global locking: Currently, IILS locks every atomic site at the exact same fixed timestamp ($t_s = 0.2$). The authors suggest future adaptive projection rules that look at local geometry, oxidation states, or target properties to decide when and where to lock individual atoms dynamically.

Summary updated

BibTeX
@misc{jin2026retaining,
  author = {Yucheng Jin and Chengqian Zhang and Han Wang},
  title = {{Retaining intermediate element identities enables longer training to improve crystal discovery}},
  year = {2026},
  eprint = {2611.39316},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.39316},
}
Figure