materials-chemistry/ai produced the result/Nature Communications 2025 · v2
Neural network retrained to predict how crystals absorb light, from few examples
Researchers computed higher-level optical spectra for about 6,000 crystals, then retrained an existing graph neural network on them. The network predicted the spectra of unseen materials, standing in for calculations that took 193,639 CPU hours.
spectrum · one line per step, placed by what the step does · bright lines used AI
Machine learning climbs the Jacob’s Ladder of optoelectronic properties
Nature Communications, 2025
doi:10.1038/s41467-025-63355-9 · record aix-00088 v2 · checked 2026-10-08
- AI was for
- Property prediction, Simulation surrogate
- Model family
- Graph neural network, Multilayer perceptron
- Checked by
- Held-out639 tested
- Code
- available
The finding the paper is about came from the AI.
What this research was about
When light falls on a crystal, some colours pass through and others are absorbed. Which is which depends on how the electrons inside are arranged, and physicists describe this with a quantity called the dielectric function: a curve giving the material's response at each light energy. Such curves can be calculated from the laws of quantum mechanics, but only approximately, and there is a hierarchy of approximations. The cheapest treats each electron as if it ignored the others. A better one, the random-phase approximation, lets the electrons feel each other's rearrangement. Climbing that ladder costs far more computer time, which limits how many materials anyone can survey.
The authors took crystal structures from an existing database of theoretically stable materials, keeping small cells made of main-group elements, and computed the costlier spectra for them. They then asked whether a network already trained on the cheaper spectra could be retrained on the costlier ones, and how many expensive examples that retraining needs.
Where AI came in
The AI is a graph attention network called OPTIMATE. Each crystal is turned into a graph: atoms become nodes labelled by element, and the distances between them become the links. The network passes information along those links, pools it into a single summary of the structure, and emits the whole absorption curve as a 2,001-number vector covering 0 to 20 electronvolts. It is a stand-in for the quantum-mechanical calculation itself: one prediction took 14.8 milliseconds on a laptop graphics card, against a median of 7.8 hours per material for the calculation it imitates.
Two routes were compared on the same 639-material test set. Training a fresh network directly on the costly spectra was set against retraining the published cheap-spectra network. Retraining on 300 spectra matched direct training on about 3,000, and every trained model beat simply using the cheap spectrum in place of the costly one. A further network with the same shape but a single-number output predicted how similar the two levels of theory would be for a given material, with a mean absolute error of 0.026, and its internal representations were mapped in two dimensions.
Written by AIxSci from the checked record below, to give context for readers outside the field. It is not part of the record.
The work
Technical · from the record
The authors computed random-phase-approximation (RPA) optical spectra for the materials in an existing independent-particle-approximation (IPA) database with at most 8 atoms per unit cell, about 6000 spectra in total, and used them to test whether a graph attention network (OPTIMATE) trained on cheaper IPA spectra can be retrained to predict RPA spectra. Retraining on 300 RPA spectra gave median similarity-coefficient and mean-squared-error values on the 639-material test set comparable to training a randomly initialised model directly on about 3000 RPA spectra, and all trained models scored better than using the DFT IPA spectrum as a stand-in for the RPA spectrum. Retraining only on materials with up to 4 atoms per primitive unit cell, around 1500 materials, reached median similarity coefficients above 0.85 and median mean squared errors below 0.1, with similar errors across all unit-cell sizes in the test set. A separate network with the same architecture and a scalar output predicted the similarity coefficient between the IPA and RPA spectra with a mean absolute error of 0.026 and a median of 0.018.
How AI was used
Crystal structures taken from the Alexandria database were converted into multigraphs with element identity on nodes and interatomic distances on edges, and fed to the OPTIMATE graph attention network: a per-node multilayer perceptron, three message-passing layers using an improved graph attention operator, softmax vector attention pooling, and a final multilayer perceptron emitting the target optical property as a 2001-element vector sampled in 10 meV steps from 0 to 20 eV. Target spectra, the imaginary part of the trace of the dielectric tensor at 300 meV broadening, were computed ab initio with QUANTUM ESPRESSO for the ground state and YAMBO for the RPA response. Two training strategies were compared on the same reused training, validation and test splits of 4610, 603 and 639 materials: direct learning, where weights were randomly initialised and fitted to RPA spectra, and transfer learning, where all learnable parameters of the published IPA OPTIMATE model were retrained on RPA spectra. Both were run on random training subsets of 100, 300, 1000, 3000 and 4610 materials, and transfer learning was also run on subsets restricted to materials with at most 2, 3, 4, 5 or 6 atoms per primitive unit cell. All models used an L1 loss and the Adam optimizer, with hyperparameters, and for direct learning also the architecture, selected by 5-fold cross-validation on the relevant subset and evaluation on the validation set. A further model with the same architecture but a one-dimensional output was trained to predict the similarity coefficient between the ab initio IPA and RPA spectra, and its latent embeddings after the pooling step were reduced to two dimensions with UMAP using 30 neighbours and a minimum distance of 0.1.
The shape of the work
Structural · the record, drawn
no AI
Assemble crystal structure set
Obtaining raw data, whether by measurement, download or retrieval.
The structures were originally taken from the Alexandria database of theoretically stable materials.where the paper describes this · verbatim
no AI
Compute ab initio RPA and IPA spectra
Numerical or physics simulation, including where a learned surrogate replaces it.
We use QUANTUM ESPRESSO for the ground-state calculations and YAMBO for the calculation of the RPA spectra.where the paper describes this · verbatim
no AI
Encode structures as multigraphs
Encoding data into features, descriptors, embeddings or graphs.
An input crystal structure is first converted into a multigraph with the corresponding element encoded on each nodewhere the paper describes this · verbatim
AI
Direct-learning training on RPA spectra
Fitting model parameters, including fine-tuning an existing model. The AI stood in for simulation.
For DL, one initializes the weights of OPTIMATE randomly and trains directly on the expensive high-level optical spectrawhere the paper describes this · verbatim
AI
Transfer-learning retraining from the IPA model
Fitting model parameters, including fine-tuning an existing model. The AI stood in for simulation.
we retrain all learnable parameters of the base model starting from the IPA weightswhere the paper describes this · verbatim
AI
Predict spectra for held-out materials
Running a trained model over new data to predict, classify or score. The AI stood in for simulation.
separate models were trained on the full respective subset, i.e., without cross-validation, and evaluated on the test setwhere the paper describes this · verbatim
no AI
Score predictions against ab initio spectra
Testing outputs against ground truth.
All models perform better than the possible baseline of just using the IPA spectra.where the paper describes this · verbatim
AI
Predict IPA-RPA similarity and map latent space
Extracting understanding from model behaviour. The AI stood in for expert judgement.
We extract the latent activations for the SC[RPADFT;IPADFT]-prediction network after the pooling step and reduce them to two dimensions using the UMAP algorithmwhere the paper describes this · verbatim
What the record says
Technical · every part carries its own basis
+ in the paper~ our reading− not reported
How to read the quotations. A quotation shows where the paper describes something. It does not quote every value beside it: one passage locates a part of the work, and values without their own quotation are our reading of that passage.
The paper's result is the predictive performance of the trained and transfer-learned networks themselves; the models produce the RPA spectra the study reports on, so AI is the instrument rather than an analysis aid.
we create a database of optical properties calculated in the RPA and train graph attention networks (GATs), specifically OPTIMATE modelswhere the paper describes this · verbatim
a validation set of 603 materials and a test set of 639 materialswhere the paper describes this · verbatim
In total, the ab initio calculations used 193,639 CPU hours on the MaPacc4 high-performance cluster of TU Ilmenau.where the paper describes this · verbatim
What this paper did not report
Technical · absence is published deliberately
- Version of OPTIMATE (IPA model, 300 meV broadening)Which version of the model was used is not stated.
- Version of OPTIMATE RPA model (transfer learning)Which version of the model was used is not stated.
- Version of OPTIMATE RPA model (direct learning)Which version of the model was used is not stated.
- Version of OPTIMATE similarity-coefficient prediction modelWhich version of the model was used is not stated.
About this article
Record aix-00088, version 2, checked by a person on 2026-10-08. The record describes the paper; it does not assess whether the paper's findings are right. The paper is published under CC-BY; quotations are at most 25 words. How we work · Report an error