The search for new materials with the required properties - strong magnets, good conductors or heat-resistant coatings - usually requires an enormous enumeration of combinations of atoms and large computational resources. Artificial intelligence (AI) can speed up this process, but there is often not enough data to train a model to generate structures with specific characteristics.
A group led by Philippe Schwaller from the EPFL Laboratory of Artificial Chemical Intelligence (Switzerland) presented an open AI tool, MatInvent. It helps models searching for materials learn to create crystals with desired properties without large sets of additional data. The work was published in the journal Nature Machine Intelligence.
MatInvent combines two technologies. The first is diffusion models: they learn to create data starting from random noise and gradually turning it into a meaningful result (this is how image generators such as DALL-E 3 or Midjourney work). In MatInvent, such a model proposes crystal structures - the regular repeating arrangement of atoms in solids, including their species, positions and lattice. The second is reinforcement learning: the program acts by trial and error, receiving a reward for successful variants and a penalty for unsuccessful ones, and gradually learns to make increasingly advantageous decisions.
The scheme works as follows: the diffusion model proposes structures, they are checked for stability and novelty, and promising candidates are evaluated against target properties using simulations or predictive models. The better a structure matches the task, the higher the reward, and the AI takes this feedback into account in the next round. In addition, MatInvent remembers successful structures from past iterations and avoids repeatedly proposing similar materials in order to explore the space of variants more broadly.
The researchers tested the system on tasks involving electronic, magnetic, mechanical and thermal properties. In most cases with a single property, the model approached the goal in about 60 training cycles and 1000 property evaluations. When compared with MatterGen - another materials generator from Microsoft - MatInvent, with the same budget of 250 property calculations, found 43 stable, unique and new crystal structures with a band gap of about 3 electronvolts (important for LEDs and power electronics), versus 11 for MatterGen. In a test on magnetic density, MatInvent identified 27 promising structures, and MatterGen 23.
The team then moved on to more complex combinations of properties. In the search for permanent magnets without rare-earth elements, MatInvent found 14 promising structures in 200 property calculations, and MatterGen 11. In another task - finding insulating materials for electronics that respond strongly to an electric field but resist current - MatInvent identified 17 computationally stable and new crystal structures meeting three criteria in 200 calculations.
The authors emphasize: the results show that reinforcement learning makes AI materials search more effective, especially when there is little property data or competing requirements need to be balanced. MatInvent can help select promising candidates with fewer calculations before laboratory testing. However, the proposed structures still require experimental verification.