Data-Driven Approach to Encoding and Decoding 3-D Crystal Structures
Jordan Hoffmann, Louis Maestrati, Yoshihide Sawada, Jian Tang, Jean Michel Sellier, Yoshua Bengio
TL;DR
This work introduces a data-driven framework to encode and decode 3-D crystal structures by representing atoms as a smooth density field over a voxel grid and jointly training a VAE and a 3-D segmentation network. It employs two representations—single rotated unit cells and repeating lattices—to enable end-to-end learning of 3-D atomic positions and species, with capabilities for sampling, interpolation, and conditional control of density magnitudes. The study demonstrates high accuracy in unit-cell reconstructions, meaningful but more challenging results for repeating lattices, and promising latent-space manipulations, while outlining future directions toward physically stable generation and SE(3)-aware architectures. Overall, the approach provides a scalable, differentiable pathway to explore and design crystalline materials through 3-D density representations and probabilistic latent spaces, with potential impact on materials discovery and environmental applications.
Abstract
Generative models have achieved impressive results in many domains including image and text generation. In the natural sciences, generative models have led to rapid progress in automated drug discovery. Many of the current methods focus on either 1-D or 2-D representations of typically small, drug-like molecules. However, many molecules require 3-D descriptors and exceed the chemical complexity of commonly used dataset. We present a method to encode and decode the position of atoms in 3-D molecules from a dataset of nearly 50,000 stable crystal unit cells that vary from containing 1 to over 100 atoms. We construct a smooth and continuous 3-D density representation of each crystal based on the positions of different atoms. Two different neural networks were trained on a dataset of over 120,000 three-dimensional samples of single and repeating crystal structures, made by rotating the single unit cells. The first, an Encoder-Decoder pair, constructs a compressed latent space representation of each molecule and then decodes this description into an accurate reconstruction of the input. The second network segments the resulting output into atoms and assigns each atom an atomic number. By generating compressed, continuous latent spaces representations of molecules we are able to decode random samples, interpolate between two molecules, and alter known molecules.
