Manuscript Offprint

arXiv:2609.39773

Riemannian Flow Models with Reinforcement Learning for Molecular Crystal Structure Prediction

Thomas Egg, Harry Winston Sullivan, Maya M. Martirossyan, Philipp Höllmer, Cheng Zeng, Adrian Roitberg, Mingjie Liu, Richard Hennig, Sapna Sarupria, Ellad B. Tadmor, Stefano Martiniani

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

ABSTRACT

Crystal structure governs material properties, making crystal structure prediction (CSP) a fundamental problem in materials science. Generative models are a promising approach for solving this problem, but the prevalence of polymorphism, coupled with large unit cells and complex packing geometry, makes the molecular CSP task challenging for existing models. To address this, we introduce Coarse-Grained Open Materials Generation (CG-OMatG), an equivariant Riemannian flow-based generative model. CG-OMatG predicts molecular crystal structures via a coarse-grained, hierarchical representation. CG-OMatG treats molecules as rigid bodies—performing both inter- and intra-molecular message passing to construct a geometric representation for molecular packings—and learns to reconstruct molecule centroid positions, orientations, and lattice parameters, conditioned on chemical species and conformer geometry. We train the model on subsets of the Open Molecular Crystals (OMC25) and Cambridge Structural Database (CSD) datasets. Further, we fine-tune the model via policy gradient reinforcement learning to steer the model towards generating low-energy candidate structures. We validate the generated structures on the CSP blind test benchmark, assessing agreement with experimentally determined crystals using COMPACK packing-similarity analysis. CG-OMatG exhibits strong performance for generative molecular crystal structure prediction, paving the way for accelerated polymorph screening and organic solid-state materials discovery.

1 Introduction

An outstanding challenge in materials science is that of molecular (organic) crystal structure prediction (CSP), where one seeks to determine the energetically favorable structures into which organic molecules crystallize [1]. Unlike in atomic crystals, the weak non-bonded interactions holding molecules together in a crystal packing give rise to a proliferation of many stable energy minima, whose corresponding crystal structures can lie very close in absolute free energy [2] while remaining separated by large kinetic barriers. Molecular crystals, therefore, display a propensity for polymorphism, whereby multiple metastable crystal structures can co-exist for a given molecule, making CSP significantly more challenging than for inorganic materials. Different crystal polymorphs of the same compound can exhibit markedly different physical properties, only some of which may be suitable for a given application [3–

∗^{*}These authors contributed equally.

Figure

Figure 1: Comparison of generated and ground-truth crystal packings for three OMC25-MCF targets. COMPACK alignments are shown with RDKit molecular diagrams and computed RMSD NMatches_{N_{Matches}}. CSD refcodes, left to right: NIYDOO, PEMWOT, JURRET. No relaxation was performed.

6]. Correctly identifying the ground-state structure is thus critical: phase transformations away from a metastable polymorph carry nonzero probability and can compromise performance or, in pharmaceutical applications, alter drug bioavailability with direct consequences for patient safety [7]. Beyond pharmaceuticals, molecular crystals find broad application across agrochemistry, food science, and electronics, making reliable polymorph prediction a problem of broad practical importance.

Given the cost and difficulty of experimental crystal structure determination, substantial effort has gone into the development of computational tools for predicting these phases in silico [8, 9]. Ranking crystal structures by their energetic stability—either using quantum-mechanical calculations via density functional theory (DFT) [10] or approximating these calculations with machine learning interatomic potentials (MLIPs) [11, 12]—can provide insight into the available crystal structures and their relative stabilities. These methods typically involve many rounds of iterative optimization and expensive calculations, limiting their ability to exhaustively explore all low-energy phases.

Recent advances in MLIPs and generative models offer a more scalable path, enabling faster exploration of the energy landscape and, through guidance [13–16] and reinforcement learning [17, 18], the ability to steer generation toward desired properties. Applying these tools to molecular CSP, however, introduces distinct challenges. All-atom generative models lack explicit knowledge of the different length scales and bond types present in organic molecules, and there is no constraint enforcing that intramolecular bonds remain coherent during or at the end of generation. Unit cell sizes compound the problem: organic crystals are typically far larger than the inorganic structures for which most generative models have been designed and trained [19]. Existing approaches must therefore be substantially tailored for molecular crystal structure prediction.

We present a coarse-grained generative model for molecular crystal structure prediction, following a line of work that treats molecules as rigid-body building blocks [20–22]. By separating the strong intramolecular interactions that define molecular shape from the weak intermolecular interactions that drive the crystal packing, this approach directly addresses the multi-scale character of molecular crystals, focusing generation on the placement and orientation of rigid molecules within the unit cell. Galanakis and Tuckerman [23] have shown that molecular centers of mass tend to occupy well-defined packing positions, suggesting that crystal packings can be learned effectively at this coarser scale. Our model learns local-coordinate representations and constrains the generative process to building block positions and orientations, encoding this multi-scale inductive bias by design.

References (100)

Couldn't load all references. Reload the page to try again.