Packora: Systematic Design for Generative Molecular Crystal Structure Prediction

Nayoung Kim, Kiyoung Seong, and Sungsoo Ahn

KAIST

Code Try Packora Coming soon

Molecular crystal structure prediction (CSP) is important in pharmaceuticals, agrochemicals, and organic electronics, where subtle differences in molecular conformation and packing can strongly affect material properties. We present Packora, a flow-based generative model for molecular CSP that jointly predicts atomic coordinates and the lattice from molecular graphs.

Packora supports multi-component and organometallic crystals and can condition on any subset of molecular conformers, stereochemical labels, and space-group information within a single model. Inspired by the CCDC CSP blind test, we evaluate generation and ranking separately, using generation to isolate generator quality and ranking to measure end-to-end performance under a common relaxation and ranking pipeline. We also systematically study architecture, training, conditioning, inference, and scaling, identifying an effective design based on cacheable pairwise reasoning, training objective and numerical solver choices, conditioning dropout, and balanced scaling of pairwise and single representations. Packora outperforms the baselines on both structure generation and ranking benchmarks, achieving the best matched-budget coverage across all six generation benchmarks, as well as higher experimental-form recovery, lower experimental-form ranks, and faster convergence in ranking.

Eighteen molecular crystal structures strictly recovered by Packora-L
Strictly recovered structures. Each Packora-L prediction is collision-free and matches all 15 molecules of its experimental reference with RMSD15 below 2 Ă…. The examples span varied compositions, packing motifs, and unit-cell geometries.

Candidate generation for molecular crystal structure prediction

Molecular crystal structure prediction has two complementary stages. A generator first proposes candidate packings; a downstream workflow then relaxes the structures and ranks them by energy. Generative models address the first stage by learning from experimentally observed crystals and allocating a finite candidate budget to plausible packings.

Packora takes molecular or ionic component graphs—atom types, bond types, formal charges, and stoichiometry—and predicts Cartesian coordinates together with a periodic unit cell. Hydrogen atoms are represented explicitly, and the resulting structures can be passed directly to downstream relaxation and ranking methods.

  1. Flexible conditional generation. A single model supports molecular graphs alone or any combination of molecular templates, stereochemical labels, and space-group information.
  2. A matched two-track evaluation. Unranked finite-budget coverage is reported separately from performance after a shared relaxation and energy-ranking pipeline.
  3. A controlled design study. Architecture, training, conditioning, inference, and scaling are compared under a fixed protocol to establish an evidence-backed recipe.

Joint coordinate–lattice flow matching

Packora learns a conditional flow over Cartesian atomic coordinates and lattice parameters. The model keeps a condition-only pair representation separate from the noisy crystal state, allowing the pair track to be computed once and reused during iterative generation. The resulting pair representation supplies attention biases to a diffusion-transformer trunk, followed by separate coordinate and lattice heads.

Condition dropout during training allows the same network to operate when local molecular templates, stereochemistry, or crystallographic information are present, partially specified, or absent.

Packora model architecture with condition and time embedders, Pairmixer, transformer trunk, and crystal heads
Final model architecture. Condition-only pair features pass through four Pairmixer blocks and enter the 16-block transformer trunk as pairwise attention bias. Noisy coordinates and lattice parameters are embedded after the cacheable pair track; separate heads predict their endpoints.

Generation and downstream ranking are evaluated separately

In the generation track, an unranked finite candidate set is tested for the experimentally observed packing. No relaxation, energy ranking, replacement generation, or ranker-assisted downselection is used. In the ranking track, independent pools from each generator are processed through the same relaxation, filtering, deduplication, and lattice-energy ranking pipeline.

6 / 6 benchmarksPackora-M or Packora-L obtains the best or tied-best matched-budget generation coverage at both 30 and 1,000 candidates.

73.1% at Top-20Packora-L recovers experimental forms on the FastCSP single-polymorph benchmark, compared with 57.7% for CLARI-H.

58.6% at Top-20Packora-L recovery on the FastCSP multi-polymorph benchmark, compared with 44.8% for CLARI-H.

Bar chart of crystal coverage at an effective generation budget of 30 candidates
Crystal coverage at a budget of 30 candidates. Bars show mean coverage; error bars report one resampling standard deviation. Packora-M or Packora-L is best or tied best across the six reported benchmarks.
Bar chart of exact crystal coverage at a generation budget of 1,000 candidates
Crystal coverage at a budget of 1,000 candidates. Bars report exact coverage over each complete controlled candidate pool; no resampling or error bars are used.
Experimental-form ranking and relaxation results on the FastCSP single-polymorph benchmark
FastCSP single-polymorph benchmark. Best experimental-form rank, recovery by rank cutoff, and relaxation convergence under a shared downstream workflow.
Experimental-form ranking and relaxation results on the FastCSP multi-polymorph benchmark
FastCSP multi-polymorph benchmark. System-wide experimental-form ranking, recovery by rank cutoff, and relaxation convergence.

Controlled choices across the generation pipeline

The design study varies one component at a time. It identifies cacheable pairwise reasoning as the principal architectural improvement, and finds that robust endpoint learning benefits from a Beta-plus-uniform time distribution, random fractional crystal translations, and an L1 objective. The study also examines optional conditioning, numerical sampling, and the balance between single- and pair-track capacity.

Six plots comparing Packora architectures, extensions, cache runtime, and peak memory
Architecture selection, extensions, and caching. Pairmixer provides the dominant architecture gain. Keeping noisy-state features outside the pair track allows its condition-only representation to be cached across generation steps.
Six plots comparing Packora training recipe choices
Training recipe selection. Controlled comparisons cover time sampling, crystal translation and regression objective, coordinate–lattice loss weighting, auxiliary pair supervision, optimizer, and parameter averaging.
Packora model-width scaling trade-off and epoch sweeps
Balanced model-width scaling. Jointly scaling the single- and pair-track widths reaches a more favorable sampling-budget trade-off than increasing either width in isolation.

Cite Packora

If you use Packora in your research, please cite the paper.

@misc{kim2026packorasystematicdesigngenerative,
  title         = {Packora: Systematic Design for Generative Molecular Crystal Structure Prediction},
  author        = {Nayoung Kim and Kiyoung Seong and Sungsoo Ahn},
  year          = {2026},
  eprint        = {2608.26962},
  archivePrefix = {arXiv},
  primaryClass  = {cs.LG},
  url           = {https://arxiv.org/abs/2608.26962}
}