Crystal-LSBO: Automated Design of De Novo Crystals with Latent Space Bayesian Optimization

Onur Boyar, Yanheng Gu, Yuji Tanaka, Shunsuke Tonogai, Tomoya Itakura, Ichiro Takeuchi · DOI

Abstract

Designing stable, novel crystal structures is a significant challenge due to the high-dimensional and complex nature of crystallographic data. We present Crystal-LSBO, a framework that decomposes crystal representation into modular components—lattice, coordinates, and elements—using specialized Variational Autoencoders (VAEs). By integrating these into a unified "Material Latent Space" and employing Latent Consistent-Aware Bayesian Optimization (LCA-LSBO), our approach achieves a 93% validity rate in structure generation. Experimental results demonstrate that Crystal-LSBO significantly outperforms existing generative models in discovering stable, low-energy materials, identifying candidates with predicted formation energies as low as -6.87 eV/atom.

Introduction

Designing new crystals from scratch (de novo) is a "needle in a haystack" problem. Crystal structures are defined by a complex interplay of lattice geometry, atomic coordinates, and chemical composition. Traditional generative models, such as standard VAEs or GANs, often struggle with this complexity, frequently producing "invalid" structures—configurations that are physically impossible or cannot be represented in standard crystallographic formats.

While Bayesian Optimization (BO) is effective at finding optimal points in a search space, it often fails in the high-dimensional "raw" space of crystal data. Latent Space Bayesian Optimization (LSBO) addresses this by searching in a compressed, lower-dimensional space. However, if that latent space is "unexplorable" (i.e., most points decode to invalid structures), the optimization process stalls. Crystal-LSBO aims to create a latent space that is both compressed and highly valid, allowing for efficient exploration of the chemical frontier.

Methodology

The authors introduce a hierarchical, multi-model approach to structure the latent space, emphasizing modularity to ensure robustness.

The Crystal-LSBO architecture: (A) Input crystals are decomposed into (B) modular Lattice, Coordinate, and Element VAEs, which are then integrated into (C) a unified Material Latent Space for property-guided optimization.

Modular and Combined VAEs

Instead of a single monolithic model, Crystal-LSBO utilizes three specialized VAEs:

  • Lattice-VAE: Handles cell lengths and angles.
  • Coordinate-VAE: Manages the fractional positions of atoms.
  • Element-VAE: Encodes the types of chemical elements present.

These are synthesized by a Combined-VAE into a single "Material Latent Space." To ensure this space is organized according to physical properties, each VAE is co-trained with a property predictor (e.g., for formation energy).

Latent Consistent-Aware LSBO (LCA-LSBO)

To prevent the latent space from shifting during optimization, the framework employs a "Latent Consistency Loss." This ensures that decoding a point and then re-encoding it returns the user to the same location in the latent space, making the optimization process significantly more sample-efficient.

Key Results and Insights

The researchers evaluated the model using ternary crystal data from the Materials Project, focusing on stable materials (energy above hull < 0.08 eV/atom) with up to 40 sites. The primary optimization targets were formation energy and band gap.

Validity and Exploration

A striking insight from this work is that modularity leads to robustness. By simplifying the learning task for each component, Crystal-LSBO achieved a 93% validity rate for generated crystals, a massive improvement over the 49% validity rate of previous state-of-the-art models like FTCP-VAE.

Comparison of latent space validity. Plot A represents a standard approach with high invalidity (red), while Plot B shows the Crystal-LSBO latent space dominated by valid structures (blue).

Discovery of Stable Materials

In tasks focused on finding crystals with the lowest formation energy, Crystal-LCA-LSBO significantly outperformed Random Search, Local Search, and diffusion-based models like CD-VAE. The framework identified crystals with predicted formation energies as low as -6.87 eV/atom, far surpassing the best values in the training database (-4.50 eV/atom). Furthermore, 94.7% of these de novo crystals successfully underwent structural relaxation via M3GNet, confirming their physical plausibility.

Conclusion

Crystal-LSBO demonstrates that a "divide and conquer" approach to latent space representation can overcome the validity hurdles that have long plagued generative crystal design. By representing crystals in the simplest symmetry (Space Group 1), the model maintains the flexibility needed to navigate the chemical space effectively. Future work will look toward multi-objective optimization and the incorporation of more complex physical constraints directly into the latent architecture.

Summary updated

BibTeX
@article{boyar2025crystal,
  author = {Onur Boyar and Yanheng Gu and Yuji Tanaka and Shunsuke Tonogai and Tomoya Itakura and Ichiro Takeuchi},
  title = {{Crystal-LSBO: Automated Design of De Novo Crystals with Latent Space Bayesian Optimization}},
  journal = {Neural Computation},
  year = {2025},
  doi = {10.1162/neco\_a\_01767},
}
Figure