LATHE: LAnguage-driven Toolkit for Hypothesis-based crystal Editing
This paper introduces LATHE, a language-driven toolkit that enables fine-grained, differentiable editing of crystal structures based on seven geometric and symmetry constraints, facilitating a closed-loop multi-agent system that successfully translates natural-language hypotheses into targeted materials design.
Original paper licensed under CC BY 4.0 (http://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer
Materials science is the art and science of understanding how the arrangement of atoms determines the behavior of the world around us. From the hardness of a diamond to the ability of a solar cell to capture light, these properties emerge from the precise geometry of crystal structures, which are repeating patterns of atoms held together by chemical bonds. For decades, scientists have struggled to design new materials with specific traits, such as a particular color or electrical conductivity, because the number of possible atomic arrangements is so vast that testing them one by one is impossible. Traditional methods often rely on brute-force computer simulations that are slow and expensive, while newer artificial intelligence tools have shown promise but often lack the precision to make small, controlled adjustments to an existing structure. The challenge has been to find a way to take a known crystal and tweak its shape—stretching a bond here, tilting an angle there—with the same certainty a sculptor has when refining a statue, all while ensuring the material remains physically stable.
A team of researchers at the Georgia Institute of Technology has developed a new system called LATHE that bridges this gap between human intuition and atomic precision. The system acts as a geometric toolkit that allows scientists to describe their desired changes in plain English, such as "lengthen this bond" or "increase this angle," and then automatically translates those words into the mathematical instructions needed to reshape the crystal. Unlike previous methods that try to generate entirely new structures from scratch or rely on large language models that often misunderstand spatial relationships, LATHE treats the crystal structure as a flexible object that can be edited directly. It focuses on seven fundamental geometric properties: the distance between atoms, the angles where bonds meet, the twist of atomic chains, the local neighborhood of each atom, the overall size and shape of the repeating unit, and the symmetry of the pattern. By turning these physical concepts into adjustable targets, the system can push a crystal toward a specific shape using a process similar to how a ball rolls down a hill to find the lowest point, but in this case, the "hill" is a landscape of geometric constraints.
The researchers built this toolkit to work alongside a large language model, which serves as the interface for human users. When a scientist types a request, the language model acts as a translator, breaking down the natural language instruction into a precise set of rules that the LATHE engine can execute. For example, if a user asks to increase the distance between two specific atoms, the system identifies those atoms, calculates the current distance, and then uses a mathematical optimization process to move the atoms until the new distance is reached. Crucially, the system does not just chase the geometric target; it also keeps an eye on the energy of the structure to ensure the atoms do not end up in an impossible or unstable configuration. This is achieved by using a machine learning model trained on known materials to act as a safety check, gently guiding the atoms away from configurations that would cause the crystal to fall apart. The result is a system that can faithfully carry out complex, multi-step instructions, such as changing the coordination number of an atom or adjusting the symmetry of the entire crystal, with a success rate of over 87 percent, even when the instructions are vague or ambiguous.
To prove the system works, the researchers tested it on a wide variety of tasks, ranging from simple adjustments like changing a single bond length to complex challenges like altering the symmetry of a crystal to a higher level. In tests involving bond lengths, angles, and other geometric features, the system achieved near-perfect success rates, meaning it almost always reached the exact target specified by the user. When they added the energy safety check, the system continued to succeed in meeting the geometric targets while also ensuring the final structure was physically realistic and stable. The researchers then took this capability a step further by embedding it in a closed-loop system where two artificial intelligence agents work together. One agent acts as a hypothesis generator, proposing ideas for how to change a material to achieve a desired property, such as a specific band gap for a solar cell. The second agent, equipped with the LATHE toolkit, translates those ideas into actual structural changes and runs the optimization. In a test case involving a material called Cu2CdGeS4, the team set a goal to triple the material's band gap, a measure of how well it can conduct electricity. Starting from a value of 0.309 electron volts, the system successfully navigated through a series of structural modifications, including tilting bond angles and changing the number of neighbors around specific atoms, to reach a target of 1.0 electron volts within a tolerance of 0.1. This was achieved in just thirteen to nineteen cycles of hypothesis and testing, demonstrating that the system can solve non-trivial design problems without human intervention.
The significance of this work lies in its ability to make the process of materials discovery more interpretable and controllable. In many previous approaches, artificial intelligence models acted as black boxes, producing results without explaining how they got there or why a specific change was made. With LATHE, every step of the process is tied to a clear, human-readable hypothesis. If the system changes a bond length, it is because a specific agent proposed that change to achieve a specific goal. This transparency allows scientists to trust the results and understand the reasoning behind them. The system also avoids the common pitfalls of other methods, such as the inability to make fine-grained edits or the tendency to generate structures that look correct but are physically impossible. By grounding the optimization in physical laws and using a differentiable approach that allows for smooth, continuous adjustments, the researchers have created a tool that can be applied to a broad class of functional material design tasks. The success of the multi-agent system in reaching a target band gap suggests that this approach could be scaled up to tackle more complex challenges in the future, potentially accelerating the discovery of new materials for energy, electronics, and other critical technologies. The work demonstrates that by combining the reasoning power of language models with the precision of geometric optimization, it is possible to create a new paradigm for computational materials discovery that is both powerful and understandable.
Drowning in papers in your field?
Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.