Reinforcement learning steers a crystal AI to target properties

In short

~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:

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.

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

Sources

Related stories

More from Debug Duck

All stories from Debug Duck