Skip to content
Another Fire
← All Advances

ADVANCES / REPORT 28

Structure-aware model improves materials search

An MIT model combines 3D crystal structure with language descriptions. In research tests it beat text-only baselines and surfaced known promising solid-state battery-electrolyte candidates.

Materials researchPeer reviewed · benchmark tests

A sentence is not a crystal

A battery researcher looking for a solid electrolyte can describe the problem clearly without knowing which crystal to try. The material must let lithium ions move while discouraging electrons from following them. A database of crystal structures speaks a different language. Its entries can give the identities of atoms and where they sit in a repeating unit, but a list of positions will not tell a search engine which entries are worth considering for that job. A table of computed properties can close some of the distance, provided it includes the right properties and the researcher knows how to express the questions in its columns. The difficulty is to keep the precision of the structures while letting a question begin with the work the material has to do.

Yang Jeong Park, Mayank Kumaran, Chia-Wei Hsu, Elsa Olivetti and Ju Li take up that problem in a Nature Communications paper on a model they call CLaC, for Contrastive Language-Crystal. They train a system to put a description and a crystal structure into a common numerical space. A researcher can supply a sentence and retrieve structures whose representations lie near it. The system does not require the sentence itself to specify the arrangement of atoms. Nor does it supply a physical interpretation merely by generating a plausible paragraph. It can return an actual structure from a candidate pool for somebody to examine.

This is one version of inverse design. In the forward direction the question is what properties follow from a given arrangement. In the inverse direction the desired behavior comes first, and the work is to find a structure that might exhibit it. Many structures may fit the same description, and some demands may be incompatible. Here inverse design means ranking candidates, not solving the inverse problem in full. The distinction matters because the model can only return what is available in the pool; it cannot repair a poor pool by deciding to return a structure it never saw.

How to teach one representation about the other

A crystal has to look like the same crystal to a model if you rotate the coordinate system used to describe it. Its atoms also have neighbors across the boundaries of the repeating cell. A representation built only out of words can mention those facts without preserving the actual geometry. CLaC takes the atomic structure through a graph encoder, which represents relations among atoms and is designed to respect geometric invariances. The text passes through a separate language encoder. Neither input is forced to impersonate the other at the point where the model first reads it.

During training, the two encoders learn to give corresponding inputs nearby representations and to separate inputs that do not correspond. A useful comparison is a tray of samples with labels: learning which label goes with which sample involves seeing the alternatives as well as the right answer. But the contrasts the model sees shape what it learns. If most of the wrong labels describe crystals made from different elements, recognizing composition may be enough to reject them. It has less reason to attend to subtle differences of symmetry. If two crystals actually share the property the label describes, treating one as a mismatch can teach the model to separate things that ought to be close for that question.

The harder part is assembling good pairs. A paper may name a material while discussing how it was made, why it behaved unexpectedly, or what happened to a different material used as a comparison. Text extracted around a formula is not necessarily a faithful description of the crystal beside it in the training set. Published attention is uneven too. A handful of compounds may have a great deal written about them, while many structures have nothing comparable. More text does not correct either problem if the correspondence between text and structure stays weak.

The researchers therefore compare training on literature-derived passages with training on descriptions written by a language model from computed properties of the materials. The synthetic descriptions can vary their wording while remaining tied to a particular set of values. This is not a proposal to have a model invent measurements instead of making them. The calculated data supply the material information; the generated language supplies ways to express it. What the encoder can learn depends on both. A rich description built on the wrong property value would still be a bad training example.

What comes back from a search

In tests that asked the system to choose a description from several alternatives for a given structure, the synthetic-text version reached 95.4 percent accuracy on elemental composition. On crystal system, where the question concerns the geometry and symmetry of the repeating arrangement, it reached 34.0 percent and was comparable to the text-only baseline. The same alignment procedure can be good at recovering one kind of information and poor at recovering another. It would be a mistake to take reliable identification of a set of elements as proof that the representation knows all the important ways those elements can be arranged.

The other direction is closer to the researcher’s problem. The team asks for target values of material properties in words, retrieves the thirty closest structures and compares their recorded property values with the target. With literature-derived training text, the rankings were largely indistinguishable from random selection across the tested properties. With property-conditioned training, the ranks tracked targets more usefully. A query about an electronic band gap, for instance, can place different numeric requests at different points in the learned space rather than treating every mention of a gap as the same request. The relevant test is what values the retrieved materials actually have in the reference data, not whether the system can repeat the number from the prompt.

The battery example puts a limit on what this gain means. An electrolyte should conduct ions and resist electronic conduction. The synthetic dataset did not include ionic conductivity, so the investigators left that condition out of their test and searched for a high band gap. The top thirty retrieved materials all contained lithium, with an average gap of 3.23 electron volts. The list included candidates identified in earlier research, including lithium orthosilicate, previously synthesized as a thin film for use as a solid electrolyte. That is evidence that the search could surface relevant known materials even without task-specific training. It does not measure how well the candidates would transport lithium ions. The authors did not test that part of the request through this retrieval exercise.

The value of a shortlist

A screening tool can be useful without being able to pronounce a candidate ready for the lab. One source of structures might be an existing public database; another might be a separate generator that proposes new arrangements. The language query gives the researcher a way to search those pools without building a new supervised model every time the description changes. Once selected, candidates can go through calculations or experiments appropriate to the claim. A similarity score is a reason to spend attention on a structure, not a measurement of the property itself.

That division of labor also locates the next problem. If the query names two properties and the training data teach the model only one, fluent wording cannot supply the missing evidence. If the relevant contrasts distinguish nearly identical symmetries, strong results on composition will not resolve them. Improving the search means deciding which differences the model must learn to notice and creating training pairs that actually expose those differences. CLaC can turn a sentence into a shortlist. The better that shortlist becomes, the more important it is to know which parts of the sentence put each crystal on it.

← Return to Advances