~/aixsci
weekly updates

learn/model families

Transformer

A transformer is a type of neural network that reads a whole sequence at once and learns which parts of it should influence which others, rather than stepping through in order.

What it is

Many kinds of scientific data come as sequences: the chain of chemical units in a protein, the atoms listed in a crystal, the words in a paper. A transformer is a way of building a learned model, a program whose internal settings are tuned by showing it examples, for data of this shape. Its central trick is called attention. For every item in the sequence, the model works out a weight for every other item, saying how much that other item matters here. It then mixes the items together according to those weights. Stacking many such layers lets distant parts of the sequence inform each other directly.

Because attention compares all items with all others in one go, a transformer does not have to pass information along the chain step by step, and the comparisons can be computed in parallel on the hardware used for this work. The same machinery also works on things that are not really sequences. An image can be cut into small patches and treated as a bag of items; a molecule or a crystal can be treated as a set of atoms with their positions supplied as extra input. This is why one architecture turns up in fields that otherwise share nothing.

Why scientists use it

Scientists reach for transformers when the meaning of one part of the data depends on far-off parts. In a protein, two units at opposite ends of the chain may sit side by side once it folds. In a crystal, whether a pore will hold a gas depends on the arrangement of atoms around it, not on their order in a file. Older designs handled such long-range links poorly, either forgetting them or only seeing a fixed neighbourhood. Attention lets the model learn which links matter instead of being told in advance.

The architecture also suits a two-stage way of working that scientists find useful. A transformer can first be trained on a large pile of unlabelled data, learning general regularities, and then adjusted on the much smaller labelled set that a particular study can afford to produce. In that sense it stands in for an expert's sense of what to look at: a learned substitute for the hand-written rules and features that researchers would otherwise have to invent for each new problem.

In the record

Limits

A transformer learns patterns in the data it was shown; it does not learn the physics or chemistry behind them, and it will give a confident answer on inputs unlike anything in its training. The attention weights are often read as showing what the model relied on, but they are not a reliable explanation. Comparing every item with every other is costly as sequences grow, so long inputs must be shortened or approximated. And the architecture itself solves nothing without large, well-made training data, which in many sciences is the harder problem.

Written by AIxSci: the background from general knowledge, the examples from checked records.

By field

Named models

Every article

60articles
40structural-biology
8materials-chemistry
5astronomy
7climate-weather

aix-00308

Tuning noise to data density to generate antibody and peptide sequences

candidate generationclassificationstructure determinationproperty prediction

structural-biology · ai-result

aix-00302

A test suite for judging how well AI reads crystal symmetry from X-ray patterns

classification

materials-chemistry · ai-result · arXiv · 2026

aix-00283

Deep learning forecast of El Niño suggests Indian and Atlantic oceans extend warning time

forecastingsimulation surrogate

climate-weather · ai-result · Science Advances · 2026

aix-00292

Neural network forecasts daily sea surface temperature up to 90 days ahead

forecasting

climate-weather · ai-result · PLoS ONE · 2026

aix-00295

Diffusion model trained on past weather produces 15-day global ensemble forecasts

forecasting

climate-weather · ai-result · Nature · 2024

aix-00296

Neural networks trained on 39 years of weather data produce week-ahead global forecasts

forecasting

climate-weather · ai-result · Nature · 2023

aix-00298

Generative AI model forecasts UK rainfall 90 minutes ahead from radar images

forecasting

climate-weather · ai-result · Nature · 2021

aix-00299

Neural network forecasts weather straight from raw satellite and station observations

forecastingstructure determination

climate-weather · ai-result · Nature · 2025

aix-00280

Neural network splits forest carbon measurements into uptake and release

property prediction

climate-weather · ai-result · Global Change Biology · 2026

aix-00279

Machine learning predicts where dopant atoms sit in hexaferrite crystals before refinement

classificationproperty prediction

materials-chemistry · ai-result · Advanced Science · 2026

aix-00277

Software reads AlphaFold predictions to infer how protein complexes assemble

structure determination

structural-biology · ai-result · Frontiers in Bioinformatics · 2026

aix-00273

Deep learning model flags bacterial proteins likely to drive infection

classificationstructure determination

structural-biology · ai-result · Bioinformatics · 2026

aix-00221

Neural network measures rotation periods for Kepler's main-sequence stars

property prediction

astronomy · ai-result · arXiv · 2026

aix-00210

Language models suggest ingredients and firing temperatures for inorganic materials recipes

candidate generationproperty prediction

materials-chemistry · ai-result · ACS Applied Materials & Interfaces · 2025

aix-00206

Neural network designs five hard metallic glasses, all confirmed by experiment

property predictioncandidate generationsimulation surrogate

materials-chemistry · ai-result · Nature Communications · 2026

aix-00195

Researchers read an AlphaFold model of honey bee vitellogenin's tail end

structure determination

structural-biology · ai-result · Frontiers in Molecular Biosciences · 2022

aix-00158

Structure predictions place an uncharacterised human protein in the BRICHOS family

structure determinationproperty prediction

structural-biology · ai-result · Bioinformatics Advances · 2022

aix-00156

Protein language model and two classifiers predict where ATP binds on proteins

classification

structural-biology · ai-result · International Journal of Molecular Sciences · 2026

aix-00155

Neural network predicts crystal density of candidate explosives from molecular structure

property prediction

materials-chemistry · ai-result · Journal of Cheminformatics · 2023

aix-00154

AlphaFold models used to map membrane-crossing segments in human proteins

structure determinationproperty prediction

structural-biology · ai-result · Database · 2023

aix-00151

Classifier sorts true from false AlphaFold predictions of human protein pairs

structure determinationclassification

structural-biology · ai-result · Molecular Cell · 2025

aix-00149

AlphaFold2 used to predict the shapes of hepatitis E virus copying proteins

structure determination

structural-biology · ai-result · Viruses · 2022

aix-00162

Software splits coiled-coil proteins into short windows for AlphaFold to model

structure determinationclassification

structural-biology · ai-result · Bioinformatics Advances · 2024

aix-00164

Five structure-prediction models tested on 509 protein–peptide pairs under altered inputs

structure determination

structural-biology · ai-result · Protein Science · 2025

aix-00169

AlphaFold's confidence scores used to predict which disordered protein segments bind LC8

classificationstructure determinationproperty prediction

structural-biology · ai-result · Frontiers in Molecular Biosciences · 2025

aix-00171

Neural network fills gaps in protein maps from raw diffraction data

structure determination

structural-biology · ai-result · Acta Crystallographica Section D Structural Biology · 2025

aix-00145

Repeating-coil proteins designed from random sequences using AlphaFold2 in an evolution loop

candidate generationstructure determinationclassification

structural-biology · ai-result · Communications Chemistry · 2025

aix-00143

Software models of two cancer proteins used to rank mutations by likely effect

structure determinationclassification

structural-biology · ai-result · Cancer Genetics · 2025

aix-00140

Model labels which protein residues are active sites and what job they do

classification

structural-biology · ai-result · Briefings in Bioinformatics · 2025

aix-00138

AI-labelled protein pairs used to test how well function predictors handle unknown proteins

classification

structural-biology · ai-result · Bioinformatics · 2025

aix-00136

Diffusion model generates synthetic images of the Sun sorted by flare strength

candidate generationclassification

astronomy · ai-result · arXiv · 2024

aix-00174

Simulations probe shape-shifting of opium poppy's reticuline-flipping enzyme using a predicted structure

structure determination

structural-biology · ai-result · Biomolecules · 2023

aix-00180

Teaching protein language models to rank mutants from a few dozen lab measurements

property predictionexperimental design

structural-biology · ai-result · Nature Communications · 2024

aix-00181

Protein language model embeddings used to predict succinylation sites in proteins

classification

structural-biology · ai-result · Scientific Reports · 2022

aix-00185

Protein language model trained to spot lactylated lysines in rice proteins

classification

structural-biology · ai-result · Briefings in Bioinformatics · 2025

aix-00186

Language model trained on protein sequences predicts shape and behaviour of disordered proteins

property predictionsimulation surrogate

structural-biology · ai-result · The Journal of Physical Chemistry B · 2024

aix-00188

Machine learning sorts antibody heavy chains by the germ they target

classification

structural-biology · ai-result · PLoS ONE · 2026

aix-00189

Benchmarking AI tools that predict and design peptides for cell-surface receptors

structure determinationcandidate generation

structural-biology · ai-result · PLoS ONE · 2026

aix-00190

A transformer model segments cryo-electron tomograms from three viewing directions at once

segmentationdetection

structural-biology · ai-result · Knowledge-Based Systems · 2025

aix-00129

Neural networks sort supernovae and estimate their distances from brightness alone

classificationproperty predictiondenoising

astronomy · ai-result · arXiv · 2024

aix-00117

Deep learning model predicts polymer heat-softening across 48,208 designed candidates

property prediction

materials-chemistry · ai-result · arXiv · 2026

aix-00115

A shared test set for predicting which enzyme carries out a reaction

classificationstructure determination

structural-biology · ai-result

aix-00112

Protein language model embeddings tested against classical descriptors for spotting resistance genes

classificationstructure determination

structural-biology · ai-result · Frontiers in Microbiology · 2026

aix-00110

Deep learning trained on robotic peptide mapping predicts where antibody proteins degrade

classificationproperty prediction

structural-biology · ai-result · Antibodies · 2024

aix-00100

Astronomers test pre-trained image models for sifting telescope alerts

classificationanomaly detection

astronomy · ai-result · arXiv · 2025

aix-00096

Two protein design models redesigned T cell receptor contact points on solved structures

candidate generationstructure determination

structural-biology · ai-result · PLoS Computational Biology · 2024

aix-00092

Cryo-EM maps and AlphaFold models explain how two bacterial helper proteins activate an enzyme

structure determination

structural-biology · ai-supporting · BMC Biology · 2023

aix-00083

A compact neural network learns to generate shape-shifting protein structures

candidate generationsimulation surrogate

structural-biology · ai-result · Briefings in Bioinformatics · 2023

aix-00081

Language models trained on protein sequences used to predict sugar-attachment sites

classification

structural-biology · ai-result · Bioinformatics Advances · 2024

aix-00072

Attention patterns inside a protein language model used to cut sequences into reusable units

segmentationclassification

structural-biology · ai-result · Advanced Science · 2026

aix-00065

Model predicts how fast an enzyme works on a substrate, with uncertainty attached

property predictionexperimental design

structural-biology · ai-result · Briefings in Bioinformatics · 2025

aix-00061

A search engine for radio galaxy shapes, built on a fine-tuned image-text model

classificationdetection

astronomy · ai-result

aix-00056

Deep learning tool predicts how single mutations weaken protein partnerships

property prediction

structural-biology · ai-result · Nucleic Acids Research · 2024

aix-00052

Benchmark measures how well AlphaFold predicts antibody-antigen complex structures

structure determination

structural-biology · ai-result

aix-00036

Four million simulated X-ray patterns used to test 21 crystal-symmetry classifiers

classification

materials-chemistry · ai-result · arXiv · 2024

aix-00015

Transformer model predicts how gas-storing crystals take up gases, replacing slow simulations

property predictionsimulation surrogate

materials-chemistry · ai-result · Nature Communications · 2024

aix-00007

Neural network predicts protein atom positions from amino acid sequence alone

structure determinationproperty prediction

structural-biology · ai-result · Nature · 2021

aix-00005

Cryo-tomography maps the myosin filament inside relaxed mouse heart muscle

structure determinationdetectiondenoising

structural-biology · ai-result · Nature · 2023

aix-00003

Researchers map the sixteen-part Commander complex using crystals, cryo-EM and AlphaFold2

structure determinationdetection

structural-biology · ai-result · Cell · 2023

aix-00001

Researchers measure folding stability for hundreds of thousands of protein variants

structure determinationcandidate generationproperty predictionclassification

structural-biology · ai-supporting · Nature · 2023