MiAD: Mirage Atom Diffusion for De Novo Crystal Generation

Andrey Okhotin, Maksim Nakhodnov, Nikita Kazeev, Mikhail Lazarev, Andrey E Ustyuzhanin, Dmitry VetrovAI4Mat @ NeurIPS 2026

TL;DR

Diffusion models for discovering new crystal structures usually have to lock in the exact number of atoms before they even start generating—like trying to sculpt a statue without ever being allowed to add or chip away clay. MiAD (Mirage Atom Diffusion) introduces mirage infusion, a simple trick that lets a model create or delete atoms on the fly by treating "non-existent" atoms as just another atom type. This added flexibility boosts the rate of simultaneously stable, unique, and novel (S.U.N.) crystals by up to 2.5×, reaching 8.2% S.U.N. on the MP-20 dataset and outperforming existing state-of-the-art methods.

What Problem Does This Paper Address?

Discovering new, stable crystalline materials is a massive needle-in-a-haystack problem. Deep generative models—especially diffusion models like DiffCSP and MatterGen—have become powerful tools for this, learning to generate 3D crystal unit cells represented by three components: a lattice matrix ($L$), fractional atomic coordinates ($F$), and atom types ($A$).

However, these joint diffusion models share a rigid limitation: the number of atoms in the unit cell ($N_{\text{atoms}}$) must be sampled upfront from a fixed distribution and cannot change during the denoising process. If the model realizes mid-generation that a crystal would be much more stable with one extra atom—or one fewer—it is stuck. This constraint narrows the space of possible sampling trajectories, hurting both the diversity and physical quality of the generated crystals.

Methods

To let diffusion models change atom counts without redesigning their neural architectures, the authors introduce mirage infusion, which reframes adding or removing atoms as a discrete transition between atom types:

  • Mirage atoms: The authors define an expanded crystal domain where every crystal has a fixed maximum number of atoms, $N_{\text{m}}$. Any "extra" slots are filled with mirage atoms, which are simply assigned a new discrete atom type 0.
  • Infusion (Training): Real crystals from the training set are padded up to $N_{\text{m}}$ atoms by adding mirage atoms at uniformly random fractional coordinates. Crucially, the fractional-coordinate loss is masked for mirage atoms—since they have no ground-truth positions, the model is free to move them around while focusing its coordinate learning on real atoms.
  • Reduction (Inference): Generation starts from noise with $N_{\text{m}}$ atoms. During denoising, mirage atoms can materialize into real elements or real atoms can vanish into type 0. At the very end, a reduction step simply filters out any remaining type 0 atoms.
Training pipeline with mirage infusion and masked coordinate loss
Inference pipeline showing denoising and final reduction of mirage atoms

Because mirage atoms follow the same spatial rules as real atoms, this approach preserves all crystal symmetries. The authors apply it to DiffCSP to create MiAD, and also test its transferability on MatterGen and FlowMM, which share the same $(L, F, A)$ representation.

Datasets

  • MP-20: The primary benchmark for training and evaluation, consisting of crystalline materials with up to 20 atoms per unit cell.
  • MPTS-52 & Alex-MP20: Used in scalability experiments (detailed in the paper's appendices) to test how MiAD handles crystals with higher maximum atom counts and larger, broader training distributions.

Key Insights and Ideas

  • Dynamic error correction: Allowing atoms to materialize or vanish acts like an active error-correction mechanism—the model can prune structurally awkward atoms and fill in missing lattice sites on the fly to escape poor local minima and achieve thermodynamic stability.
  • Design choices make or break it: Initializing mirage atoms at uniformly random coordinates and masking their coordinate loss are essential. A related contemporary method (which initializes mirage atoms at the center of mass without loss masking) fails on de novo crystal generation.
  • Architecture-agnostic within $(L, F, A)$: Mirage infusion is not tied to DiffCSP. It transfers cleanly to both diffusion (MatterGen) and flow-matching (FlowMM) models that use the same crystal representation.

Key Results

Evaluated on 10,000 sampled crystals from MP-20, MiAD sets a new state of the art on the S.U.N. metric (the percentage of generated crystals that are simultaneously Stable, Unique, and Novel):

  • DFT-based S.U.N.: MiAD achieves 8.2% S.U.N. (and 43.6% M.S.U.N. for metastability), compared to 3.3% for the base DiffCSP model (a ~2.5× improvement) and 6.5% for the closest competitor (MP20-only ADiT).
  • MLIP-based S.U.N.: Using machine-learning interatomic potentials, MiAD reaches 5.5% S.U.N. on eq-V2 (vs. 2.5% for DiffCSP) and 12.9% S.U.N. on CHGNet (vs. 8.9% for DiffCSP and SymmBFN).
  • Transferability (CHGNet S.U.N.): Adding mirage infusion boosts DiffCSP from 8.9% → 12.9%, MatterGen from 6.1% → 10.4%, and FlowMM from 7.0% → 10.2%.
Figure 2: Comparison of MiAD (DiffCSP with mirage infusion) and DiffCSP in terms of stabil- ity, uniqueness, novelty, and S.U.N. Stability is estimated via eq-V2.

Limitations and Future Work

  • Computational overhead: Because every crystal is padded to $N_{\text{m}}$ atoms during training and sampling, MiAD incurs higher compute costs and requires more optimization iterations. (In the appendix, the authors introduce a dynamic mirage sampling variant, MiAD-WRNA, that cuts the training-time multiplier from 2.26× down to 1.14×.)
  • Evaluation & safety: The authors note that relying solely on metrics like S.U.N. can favor computationally convenient but experimentally impractical candidates, and that generating novel materials without oversight carries potential environmental or safety risks.
  • Future directions: Extending adapted versions of mirage infusion to other crystal-generation paradigms—such as ADiT, CDVAE, FlowLLM, SymmCD, and SymmBFN—remains an open and promising avenue.

Summary updated

BibTeX
@inproceedings{okhotin2026miad,
  author = {Andrey Okhotin and Maksim Nakhodnov and Nikita Kazeev and Mikhail Lazarev and Andrey E Ustyuzhanin and Dmitry Vetrov},
  title = {{MiAD: Mirage Atom Diffusion for De Novo Crystal Generation}},
  booktitle = {AI4Mat @ NeurIPS},
  year = {2026},
  url = {https://openreview.net/forum?id=uv3WHucuDn},
}
Figure