Open Materials Generation with Inference-Time Reinforcement Learning

Philipp Hoellmer, Stefano Martiniani
1/31/2026
9 citations
cs.LGcond-mat.mtrl-sci
rl

Official code: FERMat-ML/OMatG (61 stars, Python, MIT, last commit 2026-01-14).

Abstract

Continuous-time generative models for crystalline materials enable inverse materials design by learning to predict stable crystal structures, but incorporating explicit target properties into the generative process remains challenging. Policy-gradient reinforcement learning (RL) provides a principled mechanism for aligning generative models with downstream objectives but typically requires access to the score, which has prevented its application to flow-based models that learn only velocity fields.

Show full abstract

We introduce Open Materials Generation with Inference-time Reinforcement Learning (OMatG-IRL), a policy-gradient RL framework that operates directly on the learned velocity fields and eliminates the need for the explicit computation of the score. OMatG-IRL leverages stochastic perturbations of the underlying generation dynamics preserving the baseline performance of the pretrained generative model while enabling exploration and policy-gradient estimation at inference time. Using OMatG-IRL, we present the first application of RL to crystal structure prediction (CSP). Our method enables effective reinforcement of an energy-based objective while preserving diversity through composition conditioning, and it achieves performance competitive with score-based RL approaches. Finally, we show that OMatG-IRL can learn time-dependent velocity-annealing schedules, enabling accurate CSP with order-of-magnitude improvements in sampling efficiency and, correspondingly, reduction in generation time. The OMatG-IRL code is included in a new release of the Open Materials Generation (OMatG) framework available at https://github.com/FERMat-ML/OMatG.

View on arXivView PDF

Code Implementations(1)

FERMat-ML/OMatGOfficial100%
MIT

State-of-the-art generative model for crystal structure prediction and de novo generation of inorganic crystals.

618PythonApr 28, 202510 months agoMIT
crystal-structurede-novo-designflow-modelgenerative-aimachine-learning+2 more

Similar Papers

Cite this paper

@article{hoellmer2026open,
  title  = {Open Materials Generation with Inference-Time Reinforcement Learning},
  author = {Philipp Hoellmer and Stefano Martiniani},
  year   = {2026},
  eprint = {2602.00424},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2602.00424v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2602.00424.svg)](https://codeofpaper.com/paper/2602.00424)

Discussion