Accelerating inverse materials design using generative diffusion models with reinforcement learning

Junwu Chen, Jeff Guo, Edvin Fako, Philippe SchwallerarXiv 2025 · DOI

Abstract

Diffusion models promise to accelerate material design by directly generating novel structures with desired properties, but existing approaches typically require expensive and substantial labeled data ($>10,000$) and lack adaptability. Here we present MatInvent, a general and efficient reinforcement learning workflow that optimizes diffusion models for goal-directed crystal generation. For single-objective designs, MatInvent rapidly converges to target values within 60 iterations ($\sim$ 1,000 property evaluations) across electronic, magnetic, mechanical, thermal, and physicochemical properties. Furthermore, MatInvent achieves robust optimization in design tasks with multiple conflicting properties, successfully proposing low-supply-chain-risk magnets and high-$\kappa$ dielectrics. Compared to state-of-the-art methods, MatInvent exhibits superior generation performance under specified property constraints while dramatically reducing the demand for property computation by up to 378-fold. Compatible with diverse diffusion model architectures and property constraints, MatInvent could offer broad applicability in materials discovery.

Introduction

Discovering new functional materials—like better batteries, superconductors, or permanent magnets—is traditionally a slow process of trial-and-error or brute-force computational screening. Recently, generative diffusion models have shown incredible promise in proposing novel 3D crystal structures from scratch. However, the challenge lies in "inverse design": generating crystals with specific, target properties. Current methods rely on conditional generation, which requires massive datasets of labeled examples—often necessitating tens of thousands of expensive Density Functional Theory (DFT) calculations. This computational bottleneck limits the adaptability of diffusion models, especially for multi-objective design tasks.

The MatInvent Workflow

MatInvent addresses these challenges by framing the diffusion model's denoising process as a multi-step Markov Decision Process, optimized via Reinforcement Learning (RL). Instead of learning a massive conditional probability distribution, the model acts as an RL agent rewarded for generating crystals that meet target criteria.

The MatInvent workflow integrates RL with diffusion models, utilizing reward-weighted KL regularization, experience replay, and diversity filters to optimize crystal generation.

Key components of the workflow include:

  • Reward-Weighted KL Regularization: Anchors the fine-tuned model to the pre-trained base, ensuring generated structures remain physically plausible.
  • Experience Replay & Diversity Filters: Improves sample efficiency and prevents the model from collapsing into a narrow chemical space by penalizing duplicate compositions.
  • Smart Pre-filtering: Uses fast Machine Learning Interatomic Potentials (MLIPs) to relax geometries and filter for Stable, Unique, and Novel (SUN) structures before performing expensive property evaluations.

Key Results and Data Efficiency

MatInvent demonstrates remarkable data efficiency and rapid convergence across a wide range of material properties. For single-objective tasks, such as targeting specific band gaps or heat capacities, the workflow typically converges within 60 iterations, requiring only about 1,000 property evaluations.

MatInvent achieves rapid convergence to target values across diverse properties (electronic, magnetic, mechanical, etc.) with minimal property evaluation budgets.

A standout result is the generation of high-density magnets (> 0.2 Å⁻³). While standard conditional generation required 605,000 DFT-labeled data points, MatInvent achieved superior results using only 1,600 calculations—a 378-fold reduction in cost. Furthermore, MatInvent successfully navigated multi-objective optimization for conflicting properties, such as designing high-κ dielectrics and low-supply-chain-risk permanent magnets.

Conclusion and Future Outlook

MatInvent provides a model-agnostic framework that significantly lowers the barrier to inverse materials design. By shifting from data-intensive conditional fine-tuning to efficient RL-based optimization, it enables the discovery of complex materials with a fraction of the computational cost. Future work may involve integrating uncertainty-aware property predictors and real-world synthesis constraints to further bridge the gap between generative design and laboratory realization.

Summary updated

BibTeX
@misc{chen2025accelerating,
  author = {Junwu Chen and Jeff Guo and Edvin Fako and Philippe Schwaller},
  title = {{Accelerating inverse materials design using generative diffusion models with reinforcement learning}},
  year = {2025},
  eprint = {2511.03112},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2511.03112},
  howpublished = {arXiv},
}
Figure