Scientists Crack Open AI’s Black Box To Reveal How Materials Absorb Light

Laboratory glassware used as an illustrative materials research image
Image source: Shutterstock / Sergey Khoputov

A study in Advanced Intelligent Discovery has revealed a way to interpret AI models used in materials research, showing how they connect atomic structure with the way materials absorb light. Researchers at the Institute of Science Tokyo developed the method to extract learned features from a trained model, then group materials that share similar structures and optical behavior.

The work addresses a major challenge in materials discovery. AI can often predict how a crystal will behave from its atomic arrangement, yet the internal logic behind those predictions can be difficult to inspect. That limits the value of AI for scientists who need design rules, rather than only a predicted answer.

In this study, the team focused on optical absorption spectra, which describe how strongly a material absorbs light across different wavelengths. These spectra matter for pigments, dyes, solar cells, photodetectors and other light-based technologies. By making the model’s hidden patterns easier to examine, the approach could help researchers trace useful optical behavior back to specific atoms and arrangements.

AI Learns From Atomic Structure

The central discovery is a practical route into the inner layers of an AI model trained for materials science. The researchers used a neural network that had learned to predict optical absorption spectra from atomic structural data. They then examined the features the model had built during training.

Those internal features act like compressed clues. They reflect relationships the model has found between crystal structure and optical response. By extracting them, the team could look beyond a final prediction and ask which kinds of materials the model saw as similar.

The study was led by Assistant Professor Akira Takahashi, Professor Fumiyasu Oba and master’s course student Arata Takamatsu of the Materials and Structures Laboratory at Science Tokyo. The work also involved Professor Yu Kumagai of Tohoku University’s Institute for Materials Research.

“Our proposed classification method allows for an understanding in detail of how AI prediction models make predictions,” Takahashi says. In practical terms, the method uses a trained model as a scientific tool. It turns learned patterns into groups that researchers can inspect.

This matters because crystal properties come from many interacting details. Elemental composition, local coordination, bond geometry and electronic structure all influence how light moves through a material. An AI model can absorb many of these signals during training. The new method helps scientists identify the signals that shaped its predictions.

Why Optical Spectra Are Hard To Decode

Light absorption data are especially demanding because they come as curves, rather than single numbers. A property such as density or band gap may be expressed as one value. A spectrum gives a series of values across wavelengths or energies. That makes it richer and it also makes interpretation harder.

In optical absorption, the shape of the curve can carry important information. The onset of absorption, the rise of the curve and peaks at different energies can all point to how atoms and electrons behave inside a material. A model that predicts the whole spectrum must handle a high-dimensional pattern.

“It has been difficult to interpret what machine learning models have learned about spectral properties,” Takahashi says. That difficulty has slowed the use of AI as a source of design insight. A model may forecast a promising spectrum, but researchers still need to understand why that shape appears.

The team’s approach targets that gap. It studies the model after training, then extracts internal representations that reflect learned structural and spectral relationships. These representations can be compared across many materials. Similar materials can then be grouped together.

For a general reader, the idea is similar to sorting songs by their sound after a music system has learned their patterns. Here, the “songs” are inorganic crystals and the “sound” is how they absorb light. The sorting is based on learned physical and chemical features inside the AI model.

The Model Sorted 2,681 Inorganic Crystals

The researchers used an atomistic line graph neural network, known as ALIGNN, to predict spectra from crystal structures. This architecture represents atomic arrangements as graphs. Atoms and bonds become connected pieces of information that the model can process.

For the demonstration, the model was trained on data from 2,681 inorganic crystals. The materials included metal oxides, chalcogenides and related compounds. The data connected atomic structures with calculated optical absorption spectra.

After training, the team extracted features from the model’s internal layers. These features were then analyzed using hierarchical clustering. That method groups items according to similarity, then builds a branching structure that shows how closely the groups relate.

The result was a classification of materials into distinct groups. Each group shared similarities in spectral shape and in structural features. Those features included elemental composition, atomic coordination, bond lengths and bond angles.

A key point is that the model learned from atomic structure alone. According to the source material, it was not given oxidation states or electronic configurations as input. Even so, the extracted features showed chemically meaningful groupings. That suggests the model had captured useful relationships between structure and property during training.

Hidden Patterns in Bonds and Atoms

Once the materials were grouped, the researchers could examine what the groups had in common. This is where the method becomes especially useful for science. A group with a desirable absorption shape can be studied for recurring atoms, local environments and bonding patterns.

These recurring patterns can point to design rules. If certain elemental species or coordination environments appear often in materials with a particular optical onset, researchers can treat those features as clues. The clues can guide searches for new compounds with similar behavior.

The study’s focus on spectra is important because many advanced materials are judged by more than one number. A solar-cell absorber must interact with light in a useful range. A pigment needs a particular optical response that affects color. A photodetector must respond to selected wavelengths.

By connecting spectral shapes to structural characteristics, interpretable AI can help scientists move from prediction toward explanation. That shift is valuable in laboratories because explanation can support decisions about which materials to synthesize, modify, or test next.

The method also preserves a conservative scientific boundary. It classifies and interprets patterns learned by a computational model. Experimental validation would still be needed before any newly suggested material could be judged for real-world use. The value lies in narrowing the search and making the AI’s reasoning easier to examine.

A Faster Path to Designed Materials

The broader promise is faster, more rational materials design. Trial-and-error discovery can be slow because the number of possible atomic arrangements is enormous. AI helps by screening candidates quickly. Interpretable methods add another layer by showing which features may be driving useful behavior.

The Science Tokyo team says the approach can extend beyond optical absorption. Many material properties change with wavelength, temperature, pressure, or other conditions. Those properties can also appear as high-dimensional data. A method that extracts and clusters learned features could help interpret other spectral or condition-dependent responses.

“We developed a general method to extract such insights,” Takahashi says. The statement points to the wider goal of the work. Researchers want AI systems that can serve as partners in discovery by revealing patterns that humans can inspect.

For optical materials, that could mean better routes to compounds for light-harvesting devices, sensors and color technologies. For other fields, the same logic may help connect atomic structure with thermal, mechanical, or electronic behavior when data are complex.

The study offers a careful step toward AI models that do more than deliver predictions. By opening the model’s learned feature space, researchers can see how groups of materials relate to one another. That view may help turn a black-box prediction into a map for future experiments.

Continue Reading

More from Technology