Skip to content
#protein folding Open access

Tree-aware conditional language modeling recovers mutational patterns of viral evolution

Aug 2026 · bioRxiv · 0 citations
Biology

TL;DR

EvoPLM-Tree, a tree-aware conditional autoregressive language model that predicts descendant protein sequences from ancestral sequences together with phylogenetically derived evolutionary features, provides a framework for modeling protein evolution along phylogenetic lineages and prioritizing plausible future mutations from genomic surveillance data.

Abstract

The evolutionary accessibility of a protein mutation depends on the sequence background in which it arises and its lineage history, yet most protein language models estimate sequence plausibility without explicitly considering the ordered sequence changes through which descendants arise. We developed evoPLM-Tree, a tree-aware conditional autoregressive language model that predicts descendant protein sequences from ancestral sequences together with phylogenetically derived evolutionary features. We demonstrated our approach using SARS-CoV-2 spike protein, pairing sequences from early Omicron lineages according to their positions on a mutation-annotated phylogeny, and evaluating model performance on sequence pairs from later lineages. Prompt-masking experiments showed that incorporating phylogenetic context substantially increased reliance on the supplied input information compared with a sequence-only model. Generated descendant sequences accurately reproduced the positional distribution of mutations observed during viral evolution, with strong correlations between predicted and observed mutation-frequency profiles for both the receptor-binding domain (Spearman’s ρ = 0.823) and the full spike protein (ρ = 0.736). Although prediction accuracy for individual substitutions decreased with increasing evolutionary distance, the model consistently captured aggregate mutational patterns across the spike protein. Model-assigned mutation probabilities were also enriched among substitutions experimentally tolerated in deep mutational scanning assays of Omicron BA.2 receptor-binding domain expression (1.19-fold enrichment) and ACE2 binding (1.04-fold enrichment), despite the model being trained solely on observed ancestor–descendant sequence pairs and associated phylogenetic context features. These results demonstrate that explicitly providing protein language models with phylogenetic context during sequence generation can recover lineage-specific mutational patterns and yields probabilistic predictions consistent with experimentally measured functional constraints. evoPLM-Tree provides a framework for modeling protein evolution along phylogenetic lineages and prioritizing plausible future mutations from genomic surveillance data. Author summary Viruses evolve by accumulating mutations along branching lineages, so the changes a virus is likely to acquire next depend on its current sequence. Computational models that predict protein sequences usually ignore this history: they judge whether a sequence looks plausible in general, not whether it is a plausible descendant of a particular ancestor. We asked whether giving a language model explicit information about evolutionary history would help it reproduce how a viral protein actually changes. Using the SARS-CoV-2 spike protein, for which millions of real sequences have been arranged into a detailed evolutionary tree, we trained a model on pairs of ancestor and descendant sequences together with simple measurements taken from the tree, such as how many mutational steps separate the two. Our resulting model, evoPLM-Tree, benefitted substantially more on the information it was given than a model trained on sequences alone, reproduced where mutations occur across spike, and assigned higher probability to substitutions that laboratory experiments show the protein tolerates. As surveillance data are captured for other pathogens, the same approach could help anticipate mutations in newly emerging viruses.

Read PDF

Similar papers

Open access Jul 2026

Protein language models learn underlying mutation biases alongside fitness landscapes

A parameter sweep is implemented to explicitly couple empirical nucleotide mutational supply from PLM-assessed amino acid substitution pseudo-probabilities across evolutionary forecasting tasks and finds that base PLMs implicitly learn generic nucleotide-level mutational constraints, an effect strongly amplified by vir...

O. MacLean, Kieran D. Lamb, Spyros Lytras et al. · 0 citations
Review Open access Jul 2026

From sites to structure to serology: a roadmap for structure-aware molecular evolution of antigenically evolving viruses

A practical framework linking sites, structure, and serology for viruses in which antigenic evolution is a major component of immune escape and lineage turnover is outlined and how integrating genomic surveillance data, phylogenetics, structural analysis, and predictive modeling could support more prospective variant a...

Sanni Översti, Spyros Lytras, Shusuke Kawakubo et al. · 0 citations
Open access Aug 2026

Alignment-free prediction of cross-reactivity in influenza A (H3N2) anticipates antigenic drift

FluEmbed accurately quantified the antigenic impact of viral evolution from RNA sequences, achieving strong predictive performance against hemagglutination inhibition (HI) assay titers and enabling rapid, alignment-free antigenic prediction directly from sequence data, could complement traditional HI assays in real-tim...

A. Forna, Lambodhar Damodaran, C. Gunning et al. · 2 citations
Open access Jul 2026

Beyond Invariable Sites: Using Evolutionary Stasis to Map Multilayered Constraints on the Evolution of Viral and Mammalian Genomes

A rate-based stasis threshold is defined to identify evolutionary stasis anchors (ESAs)—sites where the upper bound on the evolutionary rate is statistically constrained relative to the background rate of the gene due to extreme purifying selection.

Sergei L. Kosakovsky Pond, Hannah Verdonk, Steven Weaver et al. · 0 citations
Open access Jul 2026

Flu Mutation Explorer: an Interactive Platform for Mapping Host Adaptation Mutations in Influenza A Viruses

The Flu Mutation Explorer is presented, an interactive web application that combines large-scale influenza phylogenies with a manually curated database of reported mammalian adaptation mutations, to enable the exploration and interpretation of IAV genetic variation.

Laura Mojsiejczuk, Derek W. Wright, R. Gifford et al. · 0 citations
Open access Jul 2026

Mutational bias shapes protein evolution across RNA viruses

A nearly neutral framework that translates nucleotide mutational spectra into expected amino acid substitution patterns and equilibrium amino acid compositions indicates that departures from the nearly neutral baseline provide a quantitative proxy for purifying and positive selection.

B. Efimenko, Alexander Voronka, Victoriya Skripskaya et al. · 1 citation

Related blog posts

Google DeepMind Blog Sep 30, 2026

Introducing SynthID Bio

Proof of concept for watermarking AI-generated proteins while preserving biological function.

MIT News · Artificial Intelligence Aug 27, 2026

Looking beyond natural sequences

A new machine-learning framework aims to improve the success rate of computational protein design while moving away from results that reproduce sequences found in nature.

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.