Reinforcement learning steers a crystal AI to target properties
In short
- A reinforcement-learning workflow called MatInvent steers a pretrained crystal-generating diffusion model towards a target property. For most single-target tasks the average property converges within 60 iterations, about 1,000 property evaluations, the authors report.
- The comparison point is conditional generation, which the paper says typically needs more than 10,000 labelled examples.
- For two conflicting-goal tasks, it proposed magnets with low supply-chain risk and high-κ dielectrics. All of this is computational: the paper does not report any of the materials being made.
- The work is from the Laboratory of Artificial Chemical Intelligence at EPFL (Switzerland) and colleagues, published in Nature Machine Intelligence on 26 November 2026 under CC BY 4.0.
~1,000 property evaluations for most single-target tasks; 60 reinforcement-learning iterations to converge; >10,000 labelled examples conditional generation typically needs; 43 vs 11 band-gap hits within 250 DFT calculations
The problem: asking for a material by its property
Inverse design means specifying the property you want and getting back a material that has it, instead of testing materials one by one. Diffusion models, the same family of generative models used for images, can now produce new, theoretically stable crystal structures across the periodic table. The question is how to point them at a goal.
The usual route, conditional generation, retrains the model on labelled data, meaning crystals paired with a calculated property. The authors say this typically takes more than 10,000 labelled examples and is hard to adapt to a new target. When the property comes from a quantum-mechanical calculation (density functional theory, DFT), every label is expensive.
How does MatInvent steer a crystal-design AI?
This section's plain-English framing is ours; the steps are from the paper.
MatInvent starts from an existing pretrained diffusion model (the paper mainly uses Microsoft's MatterGen, trained on unlabelled crystal structures) and fine-tunes it with reinforcement learning, which learns from a reward score instead of labelled examples. Each round:
- The model generates a batch of crystal structures.
- Machine-learning interatomic potentials relax each structure, and only those that are stable (energy above hull under 0.1 eV per atom), unique and novel are kept. The paper calls these "SUN" structures.
- A sample of the survivors has the target property computed, by DFT, a machine-learning predictor or an empirical formula, and gets a reward.
- The top-ranked structures are used to update the model. A penalty term keeps it close to the pretrained model, so it does not lose what it learned about chemistry.
Two extras help. Experience replay keeps past high-reward crystals and reuses them. A diversity filter lowers the reward for structures or compositions already seen, pushing the model to explore. In the paper's ablation on a density target of 18.0 g cm⁻³, the replay curve reaches the target region in fewer loops than without it, and the diversity filter slows the loss of composition diversity (Fig. 1c, 1d).
Single targets: about 1,000 evaluations
The authors tested eight single-property tasks: band gap of 3.0 eV, magnetic density above 0.2 Å⁻³, specific heat capacity above 1.5 J g⁻¹ K⁻¹, close lattice match to a silicon (100) surface, bulk modulus of 300 GPa, dielectric constant above 80, a synthesizability score above 0.9, and a supply-risk (HHI) score below 1,250. The paper says that "for most tasks" the average property of the generated materials converged on the target within 60 iterations and about 1,000 evaluations. Six more tasks are in the Supplementary Information, which we did not read.
Most fine-tuned models also produced a higher share of SUN structures (over 45%) than the pretrained model (38.7%).
Against conditional generation
On two tasks the authors compared MatInvent directly with MatterGen's conditional generation, starting from the same pretrained model.
The paper reports that MatInvent needed 1,600 DFT calculations for 100 iterations on the single-property tasks, and had about twice the SUN ratio of conditional generation. On the magnet task with two constraints it needed 1,920 DFT calculations for 120 iterations and about three times the SUN ratio. The magnetic-density result is described as comparable; the band-gap result is where it clearly pulls ahead.
Conflicting goals: magnets and dielectrics
Magnets. Strong permanent magnets usually rely on rare-earth elements. The task asked for magnetic density above 0.2 Å⁻³ and an HHI score below 1,500, which the paper takes to mean low supply-chain risk. The reward was the smaller of the two scaled values, so the model could not win by maximising only the easy objective. Of the 14 structures that met both requirements, 11 (78.6%) had a machine-learning-predicted synthesizability score above 0.5, which the authors read as potential experimental feasibility.
High-κ dielectrics. These insulators need a high dielectric constant and a wide band gap, which tend to trade off. The target was a band gap above 3.0 eV, a dielectric constant above 30 and a figure of merit (their product) above 210, the value for hafnium oxide. Because DFT was too costly here, machine-learning predictors supplied the reward. The model then generated 2,048 structures, ranked them by predicted figure of merit, and 200 were checked with DFT. Over 95% had a band gap above 3.0 eV, but only about 20% had a dielectric constant above 30, which the authors attribute to weak predictor accuracy. Within a budget of 200 DFT evaluations it found 17 structures meeting all three criteria; four had a figure of merit above 400.
Every result is simulated. The "materials" are crystal structures with calculated or predicted properties; the paper does not report synthesising any of them, and the dielectric task relied on machine-learning predictions that the authors say were imperfect.
Terms in plain English
These explanations are ours.
- Diffusion model: a generator that starts from noise and removes it step by step; here it produces atom types, positions and the crystal lattice.
- Reinforcement learning: training from a reward score for what the model produces, not from a labelled answer key.
- SUN structure: stable, unique and novel, the paper's filter for a usable generated crystal.
- HHI score: a market-concentration index; the paper treats a score below 1,500 as low supply-chain risk.
- High-κ dielectric: an insulator with a high dielectric constant, used in chips and memory.
Where things stand
The authors list limits: the reward depends on external evaluators (DFT or machine-learning models) that add noise, the authors note that real-world design often involves more than five objectives, which they leave for future work, and synthesis constraints are not yet part of the reward. They suggest uncertainty-aware predictors, other crystal families such as perovskites and metal–organic frameworks, and links to automated laboratories for closed-loop discovery.
Sources
- Accelerating inverse materials design using generative diffusion models with reinforcement learning, Nature Machine Intelligence, 26 November 2026
Sources
Related stories
- Flexion's FUSE trains new robot skills in simulation in days
- Ai2 releases DR Tulu 2, a 4B open research agent trained offline
- A learning robot builds twisted graphene that can superconduct
- Google releases GenFocal, an AI that sharpens coarse climate runs
- DeepL launches Aure v2, a speech-to-speech translation model
- Hugging Face says four small AI agents learned to team up
More from Debug Duck
- NVIDIA says register reuse speeds 4-bit attention up to 1.64x
- nginx2root: five nginx bugs, one in every release since 2015 and exploitable with HTTP/2 alone, chained with a Linux kernel flaw to get root; Cloudflare says its proxy blocks the worst
- Ruby fixes a one-byte heap overflow in string case conversion
- Six-dimensional storage reaches 99.45% raw accuracy, authors say
- November 2026 TOP500: ten fastest supercomputers unchanged and only 27 systems new, the fewest in the list's history, TOP500 says