AI Diffusion and RL for Inverse Materials Design — CASRAI

University of Cambridge logo

Rows of high-performance supercomputer server racks with status indicator lights in a scientific computing data centerPhoto: GSFC / NASA Image and Video Library, Public domain (cropped). Source · Licence

In a peer-reviewed paper published on November 26, 2026, in Nature Machine Intelligence, computational materials scientists at École Polytechnique Fédérale de Lausanne (EPFL) introduced MatInvent, an online reinforcement-learning framework that optimizes generative diffusion models to discover thermodynamically stable crystal structures with targeted physical properties. The approach removes the need for large pre-labelled simulation datasets in conditional generation, providing universities and materials laboratories with a data-efficient pipeline that curtails supercomputing costs.

Equivariant Diffusion Guided by Reinforcement Learning

Inverse materials discovery requires identifying crystalline lattices with target band gaps, magnetic densities, or thermal characteristics while maintaining thermodynamic stability across the periodic table. While generative diffusion models have shown promise in proposing inorganic crystals, conventional conditional generation relies on classifier-free guidance trained on tens of thousands of density functional theory (DFT) labelled structures. For specialized functional properties where high-fidelity simulation data are limited, compiling these extensive pre-labelled datasets presents a prohibitive bottleneck.

The EPFL author team—Junwu Chen, Jeff Guo, Edvin Fako, and Philippe Schwaller from the Laboratory of Artificial Chemical Intelligence (LIAC) and NCCR Catalysis—reframed the iterative reverse denoising process as a Markov decision process. In MatInvent, a 3D equivariant crystal diffusion model acts as the reinforcement-learning agent, generating atomic coordinates, chemical species, and unit-cell lattice vectors across more than 80 elements. Generated configurations undergo immediate geometry relaxation using universal machine learning interatomic potentials (MLIPs) to calculate energy above the convex hull (E_hull). Structures that meet thermodynamic criteria (E_hull < 0.1 eV per atom) and are stable, unique, and novel (SUN) proceed to property evaluation and reward assignment.

To fine-tune the diffusion model, MatInvent applies policy gradient optimization regularized by a reward-weighted Kullback–Leibler (KL) divergence term relative to the un-fine-tuned prior. This KL regularizer prevents reward hacking and catastrophic forgetting of structural priors. The architecture incorporates an experience replay buffer to store past high-reward crystals and a diversity filter that penalizes recurrent compositions, encouraging the agent to explore uncharted chemical space.

Single-Property Optimization and Baseline Benchmarks

The researchers benchmarked MatInvent across single-objective inverse design tasks spanning electronic, magnetic, mechanical, and thermal metrics. These included targeting a 3.0 eV band gap for wide-band-gap optoelectronics, magnetic density above 0.2 Å⁻³ for permanent magnets, specific heat capacity above 1.5 J g⁻¹ K⁻¹, minimal co-incident area (MCIA) below 80 Ų on Si(100) substrates for epitaxial synthesis, bulk modulus of 300 GPa, total dielectric constant exceeding 80, and synthesizability score above 0.9.

Across all single-property benchmarks, MatInvent converged to target values within 60 iterations and approximately 1,000 property evaluations. When compared against the state-of-the-art MatterGen conditional generation baseline on an identical pretrained model, MatInvent demonstrated marked efficiency gains. Under a budget of 250 DFT property evaluations, MatInvent identified 43 SUN crystal structures with a band gap of 3.0 ± 0.1 eV, compared to 11 structures for MatterGen. For magnetic density targets above 0.2 Å⁻³, MatInvent identified 27 valid SUN structures versus 23 for MatterGen, while achieving roughly twice the thermodynamic stability ratio of conditional generation.

Multi-Objective Pareto Optimization and Benchmark Results

Real-world materials deployment demands balancing competing physical and economic objectives. The EPFL team evaluated MatInvent on two multi-objective design problems: discovering permanent magnets with low supply-chain risk, and identifying high-κ dielectrics balancing high dielectric constants with wide band gaps.

For the permanent magnet task, the algorithm maximized magnetic density (>0.2 Å⁻³) while minimizing critical mineral risk, defined as a Herfindahl–Hirschman index (HHI) score below 1,500. By assigning the minimum scaled value of both objectives as the reward, MatInvent converged in 120 iterations using 1,920 DFT calculations. Within a 200-call DFT budget, MatInvent discovered 14 SUN structures satisfying both constraints, outperforming MatterGen (11 structures). Crucially, 78.6 percent of these candidates (11 of 14) scored above 0.5 on machine-learning synthesizability metrics.

In the second task, MatInvent tackled high-κ dielectrics, which require wide band gaps (E_g > 3.0 eV), high dielectric constants (ε_total > 30), and a figure of merit (FoM = E_g × ε_total) exceeding 210 to curb gate leakage in microelectronics. MatInvent expanded the Pareto front across 220 iterations. DFT validation on 200 candidates revealed that over 95 percent satisfied the band-gap requirement, 17 structures met all three criteria simultaneously, and four candidates exceeded an FoM of 400, well above the experimental t-HfO₂ benchmark (FoM ~ 210).

Target Objective
Method
DFT Budget
Qualified SUN Crystals
Performance Characteristic
Validation Framework

Band Gap = 3.0 ± 0.1 eV
MatInvent (EPFL)
250 DFT calls
43 structures
Narrow distribution peak at target
First-Principles VASP DFT

Band Gap = 3.0 ± 0.1 eV
MatterGen Conditional
Pre-labelled adaptors
11 structures
Wider spread around target value
First-Principles VASP DFT

Magnetic Density > 0.2 Å⁻³
MatInvent (EPFL)
250 DFT calls
27 structures
>45% overall SUN ratio
First-Principles VASP DFT

Magnetic Density > 0.2 Å⁻³
MatterGen Conditional
Pre-labelled adaptors
23 structures
~26% SUN ratio
First-Principles VASP DFT

Magnetics + Low HHI (<1,500)
MatInvent Multi-Objective
200 DFT calls
14 structures
78.6% synthesizability > 0.5
DFT + PyMatGen Supply Metric

High-κ Dielectrics (FoM > 210)
MatInvent Pareto Front
200 DFT calls
17 structures
4 structures achieved FoM > 400
ML Screening + DFT Validation

Alignment with National Materials Programs

The study aligns with international initiatives working to accelerate the materials discovery pipeline. In the United States, the multi-agency Materials Genome Initiative coordinated by NIST emphasizes integrating digital infrastructure, simulation tools, and machine learning to cut discovery timelines. Similarly, computational programs administered by the Basic Energy Sciences division within the U.S. Department of Energy focus on predictive modeling for advanced energy and quantum materials.

By reducing required DFT property calculations from more than 10,000 labelled examples to under 2,000 online evaluations, MatInvent offers an accessible pathway for university research clusters. Rather than executing unguided high-throughput simulations that expend compute hours on unstable configurations, laboratories can deploy rapid MLIP relaxations to filter unstable structures before initiating rigorous first-principles evaluations.

Funding Sources and Open-Science Standards

The research was funded through NCCR Catalysis Phase II, a National Centre of Competence in Research supported by the Swiss National Science Foundation under grant 225147, with doctoral support from the Natural Sciences and Engineering Research Council of Canada (NSERC PGSD-521528389) and open-access funding from EPFL Lausanne. The authors deposited the open-source code on Zenodo and GitHub, releasing model weights and data on Hugging Face.

Providing accessible code and model checkpoints fulfills FAIR4RS principles for scientific software. Archiving relaxed crystal geometries supports open data mandates. When institutions maintain a shared computational environment for materials informatics, documenting training priors and reward formulations enables a reproducible AI experiment across research teams.

Implications for University Labs and Research Offices

The findings carry practical implications for academic departments and research administration offices. First, compute resource allocation can pivot from maintaining massive static training databases to supporting agile reinforcement-learning cycles. This allows departmental clusters to direct GPU resources toward diffusion sampling and CPU nodes toward targeted DFT verification.

Second, the ability to incorporate supply-chain constraints directly into reward functions enables research groups to pursue critical mineral substitution programmatically. Sponsored research projects subject to federal sustainability rules can systematically screen out scarce rare-earth elements without manually constraining generative chemical space.

Third, computational hit rates must translate into physical verification. While machine-learning synthesizability classifiers help prioritize plausible candidates, experimental validation remains essential. University laboratories moving toward automated synthesis will increasingly connect generative algorithms to robotic precursor handling and automated X-ray diffraction facilities to test predicted crystals.

Experimental Verification and Future Work

Following the framework publication, the EPFL team is collaborating with experimental laboratories to synthesize candidate compositions, prioritizing low-risk permanent magnets and high-κ gate dielectrics. Solid-state synthesis trials and furnace annealing will test the phase purity and measured physical constants of proposed lattices.

Future algorithmic work aims to integrate catalytic reaction barriers, surface stability, and finite-temperature effects into reward evaluations. As universal interatomic potentials broaden in chemical fidelity, reinforcement-learning workflows like MatInvent will serve as standard tools in computational materials discovery.

Sources