MatInvent uses reinforcement learning to fine-tune diffusion models for crystal design
Chen et al. report MatInvent, a reinforcement learning workflow that designs crystals for single or multiple property targets with fewer property calculations than earlier methods.
Chen et al. report in Nature Machine Intelligence, published 26 November 2026, a reinforcement learning workflow called MatInvent. It fine-tunes generative diffusion models to produce 3D crystal structures that meet one or several target properties. The headline claim is that it reaches those targets with far fewer property calculations than earlier methods.
The workflow treats the diffusion model as the reinforcement learning agent. Its denoising process turns random atom types, coordinates and lattice matrices into a crystal, and the authors frame that process as a multistep decision problem. In each iteration the model generates a batch of structures. These are geometry-optimized with universal machine learning interatomic potentials, and their energy above hull is calculated. Only structures that are stable (energy above hull under 0.1 eV per atom), unique and novel are kept. The authors abbreviate these as SUN. A random subset of those is scored against the target property, and the highest-reward samples update the model. A Kullback-Leibler regularization term keeps the fine-tuned model close to the pretrained one. The authors say this prevents reward overfitting while preserving what the model learned in pretraining. Two additions extend the loop. Experience replay stores high-reward crystals and reuses them in later updates. A diversity filter reduces the reward for any structure or composition that has already appeared. The penalty grows linearly with the number of previous occurrences, pushing the model toward unexplored material space.
The ablation studies, run on a target density of 18.0 g cm-3, isolate these components. Geometry optimization and SUN filtering before property evaluation raise both the SUN ratio and composition diversity. Experience replay speeds convergence to the target with fewer property evaluations. The authors single out this benefit for properties that are expensive to evaluate. The diversity filter increases the diversity of chemical compositions, which the authors say keeps the optimization from stalling in local minima.
For single-property design, the authors test eight targets: a band gap of 3.0 eV; magnetic density above 0.2 Å-3; specific heat capacity above 1.5 J g-1 K-1; a minimal co-incident area below 80 Å2 on a Si(100) substrate; a bulk modulus of 300 GPa; a total dielectric constant above 80; a synthesizability score above 0.9; and a Herfindahl-Hirschman index below 1,250 as a supply-chain risk measure. The property values come from density functional theory, from machine learning interatomic potential simulations, or from machine learning predictors. The authors provide the predictors for rapid testing because DFT is expensive. Averaged over runs, the generated materials approach each target over successive iterations. For most tasks they converge within 60 iterations and roughly 1,000 property evaluation calls. The curves average three independent runs for the band gap and magnetic density tasks, and six for the others. The fraction of SUN structures was 38.7 per cent for the pretrained model. Most fine-tuned models exceeded 45 per cent.
The most direct comparison is with MatterGen's conditional generation, which fine-tunes on pre-existing labelled data and then steers generation with classifier-free guidance. For this comparison, the RL runs started from an unconditional MatterGen model pretrained on the Alex-MP-20 dataset. The authors report that MatInvent needed 1,600 DFT calculations for 100 RL iterations, and that its model produced roughly twice the SUN ratio of conditional generation. On the band gap task, the RL model found 43 SUN structures with band gaps of 3.0 ± 0.1 eV within 250 DFT property calculations. Conditional generation found 11. On the magnetic density task, the two approaches found 27 and 23 structures, which the paper describes as similar. The comparison thus favours the RL method clearly on one task and shows comparable results on the other. It covers only two tasks.
The two published versions describe the gains differently. The arXiv preprint, submitted 5 November 2025, says MatInvent reduces the demand for property computation by up to 378-fold and shows superior generation performance. The Nature Machine Intelligence abstract drops the 378-fold figure. It says instead that MatInvent shows comparable or superior performance and markedly reduces property computation. The code is publicly released on GitHub under an MIT license. The authors also provide checkpoints for the pretrained diffusion and property prediction models on Hugging Face, which lets outside groups test the claims against their own property evaluators.
What changed
Chen et al. report MatInvent, a reinforcement learning workflow that fine-tunes diffusion models to design crystals with fewer property calculations than earlier methods.
Type: Research
Why it matters
Companies doing materials discovery with generative AI could cut the expensive property calculations needed to find candidates, if the reported efficiency holds in their own work.
Original source
- nature.comAccelerating inverse materials design using generative diffusion models with reinforcement learning | Nature Machine Intelligence
- github.comGitHub - schwallergroup/matinvent: MatInvent: Accelerating inverse materials design using generative diffusion models with reinforcement learning · GitHub
- arxiv.org[2511.03112] Accelerating inverse materials design using generative diffusion models with reinforcement learning
Where we saw it
Nature Machine Intelligence
AI wrote this summary from the sources listed, and nobody reviewed it individually before publication. Check the original source before you rely on it. How it works