cs.LGNov 19, 2026

FamilySpace: From Emergent Chemical Semantics to Controllable Crystal Generation

Authors: Haowei Hua, Irwin King, Wanyu Lin

Organizations: Department of Computing, The Hong Kong Polytechnic University · Department of Computer Science and Engineering, The Chinese University of Hong Kong

Abstract

Latent crystal generative models typically combine a variational autoencoder (VAE) for learning atom-wise representations with a flow model that transports a simple source distribution to the learned latent distribution. However, previous studies have mainly focused on the quality of generated crystals, leaving the structure and generative utility of the atom-wise latent space largely unexplored. In this work, we show that even a vanilla crystal VAE implicitly organizes atom-wise latent representations according to elemental families, with different families occupying largely separated regions of the latent space. We term this phenomenon emergent chemical semantics. This structure suggests that sampling from a family-specific latent region can bias the decoder toward atoms from the corresponding elemental family. Building on this insight, we propose FamilySpace, a framework for controlling the elemental-family composition of generated crystals. FamilySpace assigns each elemental family a distinct source component, forming a family-indexed multi-source distribution, and trains a flow model using source-target pairs matched by family. In inference, a user-specified family template selects the source component for each atom-wise representation, enabling direct control over the family composition of generated crystals. Experiments on MP-20 and MPTS-52 show that FamilySpace achieves competitive crystal-generation performance while matching prescribed elemental-family compositions. Moreover, selected family templates increase the fraction of generated crystals predicted to be stable or metastable, demonstrating that latent-space composition control can support targeted exploration of promising chemical regions without additional optimization techniques such as reinforcement learning. Code is available at https://github.com/hhw11/FamilySpace

Figures & tables

Appendix figures & tables12 assets

Supplementary material from the paper’s appendix.

Appendix

Explore similar work

CardsList
  1. Crys-JEPA: Accelerating Crystal Discovery via Embedding Screening and Generative Refinement

    May 14, 2026Nian Liu, Nikita Kazeev, Stephen Gregory Dale +8Joint-Embedding Predictive ArchitectureGenerative Modeling

  2. DynaCrys: Crystal Generation with Dynamic Space-Group Diffusion

    Aug 7, 2026Zhuotao Jin, Xiaoyun Wang, Nicholas Brawand +5Crystal Structure GenerationDiffusion Models

  3. Composable Crystals: Controllable Materials Discovery via Concept Learning

    May 14, 2026Nian Liu, Yuwei Zeng, Ryoji Kubo +7Vector-Quantized Variational AutoencoderConcept Learning