There are constant efforts from scientists to invent new materials with useful properties, such as stronger magnets, better electronics, or substances able to withstand extreme heat. But finding the right combinations of atoms takes enormous amounts of time and computing power.
Artificial intelligence (AI) models can help: trained on existing materials, they can generate new structures, allowing researchers to explore novel possibilities. But this creates a new problem: directing AI models towards specific material properties requires vast amounts of data and expensive calculations to evaluate potential material candidates.
Researchers led by Philippe Schwaller, professor at the
Laboratory of Artificial Chemical Intelligence at EPFL have developed an open-source AI called
MatInvent that can help material-seeking AI models learn how to generate materials with desired properties, without requiring large collections of additional data describing those properties.
“For most of the properties we really care about, there simply isn’t enough data to train a generative model directly,” says Junwu Chen, the study’s first author. “With reinforcement learning, the model doesn’t need a big labelled dataset. It learns from feedback on its own designs, so it gets better each round.”
Diffusion models and reinforcement learning
MatInvent combines two AI strategies: diffusion models and reinforcement learning.
Diffusion models are a type of AI that learn to create data by starting with random noise and gradually refining it into a meaningful images, audio, or video. This technology powers popular tools like OpenAI's DALL-E 3, Midjourney, and Stability AI's Stable Diffusion. In MatInvent, diffusion model is used to propose crystal structures, the regular, repeating arrangements of atoms found in most solid materials, including their atomic species, positions, and lattice.
MatInvent also adds reinforcement learning, which is a way of teaching a computer program how to make good decisions by using trial and error. When it “succeeds”, it gets a reward (e.g. winning points) and when it fails, it gets a penalty (e.g. losing points). Over time, the program learns how to get consistent rewards.
MatInvent uses reinforcement learning to guide a diffusion model in proposing crystal structures, which are then checked for stability and novelty. Promising candidates are evaluated against the desired properties using simulations, predictive models or other calculations. Structures that perform well receive higher rewards, and the AI uses this feedback to improve its next round of designs.
The researchers also gave MatInvent a way to remember successful structures from earlier rounds while discouraging repeated suggestions of similar materials. This helps the model explore a wider range of possibilities and make better use of computational resources.
Designing materials with competing properties
The team tested MatInvent on design tasks targeting electronic, magnetic, mechanical and thermal properties. In most single-property tasks, the model approached its target within about 60 learning cycles and 1,000 property evaluations.
The researchers compared MatInvent with
MatterGen, another AI materials generator developed by Microsoft. With the same budget of 250 property calculations, MatInvent found 43 stable, unique and novel crystal structures with a band gap close to 3 electronvolts, which is relevant for LEDs and power electronics, compared with 11 for MatterGen. MatInvent also performed better in a magnetic-density test, identifying 27 promising structures compared with 23.
The team then tested more demanding combinations of properties. When searching for potential permanent magnets without rare-earth elements, MatInvent identified 14 promising structures within 200 property calculations, compared with 11 for MatterGen.
In another task, MatInvent searched for insulating materials for electronics that respond strongly to electric fields while resisting electrical currents. It identified 17 computationally stable and novel crystal structures meeting three performance criteria within 200 property calculations.
The results show how reinforcement learning can make AI-assisted materials design more efficient, particularly when researchers have limited property data or need to balance competing requirements. MatInvent could help researchers identify promising materials with fewer calculations before laboratory testing. The proposed structures still require experimental validation.
Funding
- Swiss National Science Foundation (NCCR Catalysis)
- Natural Sciences and Engineering Research Council of Canada (NSERC)