~/aixsci
weekly updates

fields/structural-biology/model families

Transformers in structural biology and protein science

How transformers, a kind of neural network that weighs every part of a sequence against every other part, are used to study proteins: their shapes, their stability and the sites along their chains.

How it is used

Structural biology and protein science ask what shape a protein takes and what that shape lets it do. A protein is a chain of amino acids, and the chain folds into a compact three-dimensional form. Transformers treat that chain as a sequence, like words in a sentence, and learn which positions matter to which. Trained on very large collections of known protein sequences, they produce a numerical summary, called an embedding, for each position in a chain. Some systems go further and predict the folded coordinates directly. In the examples here, predicted structures were used to decide which loose ends of a protein to trim before an experiment, and to supply measures of how buried each residue is.

The same models are also used without any further training. In one example a protein language model was run on each sequence as it came, and its internal attention patterns, the weights saying which positions it was looking at, were read out alongside per-residue embeddings. In another, embeddings from three such frozen models were combined with simple chemical properties to judge whether a given site on a chain carries a sugar group. The pattern across these examples is that the model is used as a source of features, and conventional statistics or smaller learners make the final call.

Why researchers use it

Measuring a protein structure in the laboratory is slow and does not work for every protein. Sequences, by contrast, are abundant: databases hold vast numbers of them with no structure attached. Transformers are attractive here because they learn from sequences alone, and because the way they relate distant positions in a chain mirrors something real, since residues far apart along the chain often sit next to each other once folded. A model trained this way carries general information about what protein chains look like, and that information can be borrowed for a narrow question with only a modest amount of labelled data.

In the examples, the model stands in for work that would otherwise be done by hand or by experiment. Predicted structures replaced measured ones when deciding where to cut a sequence, and provided contact counts and secondary-structure labels for later analysis. Frozen embeddings replaced hand-designed descriptions of a site's chemical neighbourhood. Attention patterns were used in place of an expert's judgement about which stretches of a chain belong together.

In the record

Limits

These models learn from the sequences people have already collected, so families that are poorly represented are predicted less reliably, and a confident-looking answer carries no guarantee. A predicted structure is a single static picture, which suits a rigid protein better than a floppy one, and it says nothing about the other shapes a chain visits. Embeddings and attention weights are hard to interpret: the numbers work without explaining why. Labelled measurements remain scarce, so a model tuned on them can learn the quirks of one dataset rather than the underlying chemistry.

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

Related

Every article

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-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-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-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 stability 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-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-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-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-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