Protein Language Model

A protein language model treats an amino-acid sequence as a token sequence and learns statistical structure from large protein databases. It is useful for representation learning, variant effect prediction, function prediction, structure-aware transfer, and protein design.

For a protein sequence:

a language model learns either an autoregressive distribution:

or a masked-token objective:

where is the set of masked residue positions.

What It Learns

SignalWhere it comes fromWhat it may support
residue statisticslarge sequence databasesfamily, motif, and conservation features
contextual dependenciesneighboring and distant residuesfunction and variant effect prediction
evolutionary constraintshomologous sequence distributionstructure and contact-related transfer
token embeddingshidden statesresidue, domain, or chain representation

A protein language model does not directly observe experimental binding, activity, or structure unless those are added through supervision, retrieval, templates, or downstream data.

Representation Levels

Token embeddings:

Sequence-level embedding:

Pair or contact features may be derived from attention maps, outer products, or additional heads, but those features require separate validation before being treated as structural evidence.

Common Uses

UseOutputMain risk
residue annotationlabel imbalance and homolog leakage
protein classificationfamily memorization
variant scoring or supervised scoreassay and species shift
structure prediction inputsequence/MSA/template featurestemplate and database leakage
generative designsampled sequencesvalidity is not functional success

Likelihood and Biological Fitness

Sequence likelihood is not the same as biological fitness:

High likelihood can mean that a sequence is common under the training distribution, not that it binds, folds, expresses, or performs the desired function. A paper that uses likelihood as a design score should connect it to downstream evidence.

Evaluation Checks

  • Are train and test proteins separated by Protein family split or sequence identity?
  • Is the model evaluated on sequence likelihood, representation transfer, structure, function, or design?
  • Are database release dates controlled when the benchmark contains recent proteins?
  • Does the model use only sequence, or also Multiple sequence alignment, templates, predicted structures, or labels?
  • Are metrics reported at the residue, sequence, family, or assay-row level?
  • Does the claim rely on likelihood, supervised downstream performance, or experimental validation?