# Fast Organic Crystal Structure Prediction with Unit Cell Flow Matching

*Alston Lo, Luka Mucko, Austin Cheng, Andy Cai, Alastair J Price, Wojciech Matusik, Alan Aspuru-Guzik*

[NeurIPS page](https://neurips.cc/virtual/2026/poster/153596) · [Open on the map](../papers.html#p153596)

Category: [AI for Molecules, Materials & Genomics](../pcat/8.md) › [Molecular Generative Modeling](../pgroup/229.md) · Type: new method · Keywords: organic crystal structure prediction, flow matching, pair-bias attention, unit cell generation, materials discovery

## Summary
Clari is a large-scale flow matching model that predicts organic crystal structures in seconds by using pure pair-bias attention and explicit hydrogens, achieving faster and more accurate predictions than prior methods.

## Explained to a 5-year-old
Scientists want to know how tiny crystals are built. They usually have to try many possibilities, which takes a long time. A new computer program can draw these crystals quickly by looking at the atoms. It works without needing perfect information about the molecule. This helps find useful materials faster.

## Explained to a 5-year-old, longer
Scientists study tiny crystals to make new medicines and materials. Figuring out how atoms fit together is hard because there are many ways they could be arranged. Old methods try every possible arrangement, which can take years on a computer. Newer computer programs can guess crystal shapes, but they are still slow and need a lot of computer power. This paper creates a faster program that can draw crystal structures in just a few seconds. It looks only at the types of atoms and how they are connected, not at complicated molecular details. The program can even handle tricky molecules like fullerenes and metal clusters. It uses a special way of paying attention to pairs of atoms to avoid mistakes. After drawing many crystals, it ranks them by how stable they are without needing extra steps. This makes it possible to test many molecules quickly, which helps find new materials. The researchers also created a new set of challenging molecules for others to test their ideas. Overall, the new method speeds up crystal prediction, making it easier to discover useful solids.

## For a technical reader
The paper presents a flow-matching based generator that directly outputs unit cells from atom types and bonds, eliminating the need for triangle layers and external sanitization steps. By using pair-bias attention and explicit hydrogen modeling, the model can rank candidate crystals by energy at inference time, enabling fast selection without post-processing. An ablative study validates the impact of auxiliary losses, timestep scheduling, noise priors, and self-conditioning. Experiments on a standard test set show a 5-8× speedup and a higher solve rate compared to the prior state-of-the-art method. The authors also release a new, more diverse test split to benchmark future work.

## Problem
Predicting organic crystal structures accurately is computationally expensive because traditional methods require exhaustive search over many possibilities, leading to runtimes of CPU-years per molecule. Generative models have reduced cost but often rely on expensive representations that still limit speed.

## Method
The approach uses a large-scale flow matching model that generates unit cells directly from atom types and bonds, replaces triangle layers with pure pair-bias attention, and models explicit hydrogens to enable inference-time energy ranking. It also explores auxiliary losses, timestep distributions, noise priors, and self-conditioning to improve performance.

## Results
The approach generates 1000 crystals on OXtal's test set, selects the best 30 by energy, surpasses OXtal's solve rate, and achieves a 5-8× speedup compared to prior generative methods.

## Contributions
The paper introduces a flow-matching framework that produces redundancy-free unit cells with pure pair-bias attention, supports inference-time scaling via direct energy ranking, and expands applicability to challenging chemistries such as fullerenes and metal complexes. It also provides an ablative study of design choices and a new diverse test split for future benchmarking.

## Practical relevance
The method makes large-scale virtual screening of organic solids practical by delivering crystal predictions in seconds, enabling rapid materials discovery.

## Research questions this paper is counted under

- [How can we generate high-quality, chemically valid 3D molecular structures efficiently and reliably?](../q/53.md)

This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. [Suggest a correction](../feedback/?on=p/153596)
