PLaID++: A Preference Aligned Language Model for Targeted Inorganic Materials Design
Abstract
Lay Summary
Recently, a machine learning technique called Reinforcement Learning has been adopted in LLM training because it can teach a model to generate more correct answers by rewarding right solutions and penalizing wrong ones. However, in many scientific problems, the goal is not to generate a single correct answer, but rather many solutions that satisfy a set of constraints. This challenge is particularly relevant in materials discovery, where the goal is not to find a singular "correct" material, but rather many candidate materials with desired physical properties that can be tested in the lab. Our paper finds that naively applying reinforcement learning to this problem does not work: the model memorizes the specific crystals it is told are good, rather than the underlying physical principles of why those crystals were good. To fix this, we introduce a new format for representing crystals as text that incorporates symmetry—similar to how a small wedge of a snowflake can be unfolded to describe its entire pattern. Our second result is that training a single model across many crystallographic objectives outperforms training separate specialized model for each task. Our model PLaID++ outperforms many other models that use more mathematically complex and materials-specific methods. These results indicate that with smart design of how crystals are formatted and what types of crystals are rewarded, general-purpose language models with feedback from other AI models can be used to discover brand-new crystals with interesting properties.