Learning Mutational Semantics

Brian Hie, Ellen D. Zhong, Bryan Bryson, Bonnie BergerNeurIPS 2020

Introduction

Viruses like influenza and HIV are moving targets. They constantly mutate to "escape" recognition by human antibodies, making universal vaccines notoriously difficult to develop. Predicting these "escape mutations" is a massive challenge: testing every possible mutation in a lab is prohibitively expensive, and existing computational models often rely on complex sequence alignments or specific metadata that isn't always available.

By applying the "distributional hypothesis" from linguistics to biology, researchers have developed a novel way to predict how viruses mutate to evade the immune system. Their unsupervised model, called Constrained Semantic Change Search (CSCS), identifies mutations that are "grammatical" (biologically viable) yet "semantically" different (antigenically distinct), achieving state-of-the-art zero-shot prediction of viral escape in Influenza and HIV.

Methodology: Treating Proteins Like Language

The core idea is to treat protein sequences like a language. Just as a sentence is a sequence of words governed by grammar, a protein is a sequence of amino acids governed by biological rules. The authors frame viral escape as a search problem: how do we find a mutation that significantly changes the "meaning" of a protein (its antigenic profile) while ensuring the protein remains "grammatical" (functional and able to infect cells)?

To solve this, the authors use an unsupervised Bidirectional LSTM (BiLSTM) language model to learn these rules from large corpuses of raw viral sequences. The model provides two critical pieces of information for any given mutation:

  1. Grammaticality ($p$): The probability of a sequence. High probability suggests the mutation is "fit" and biologically viable.
  2. Semantic Change ($\Delta z$): The distance between the original and mutated sequence in the model's internal "latent" representation. A large distance suggests the mutation has significantly changed the protein's "meaning" or function.
Constrained Semantic Change Search (CSCS) uses a language model to find mutations that are both highly probable (grammatical) and structurally distinct (high semantic change).

By ranking mutations that maximize both—high fitness and high semantic change—the model identifies likely candidates for viral escape. Crucially, this approach is unsupervised and zero-shot, meaning it doesn't need to be trained on actual experimental escape data to make predictions.

Datasets and Validation

The researchers validated their approach across three distinct domains:

  • Natural Language: 1.18 million news headlines from the Australian Broadcasting Corporation to test the intuition of "semantic change" in a familiar context.
  • Influenza A: 44,999 unique Hemagglutinin (HA) sequences from the NIAID Influenza Research Database.
  • HIV-1: 60,857 unique Envelope (Env) sequences from the Los Alamos National Laboratory HIV database.

They compared their predictions against "gold standard" experimental datasets of known escape mutations for H1N1 and H3N2 influenza, as well as HIV.

Key Insights and Results

The Distributional Hypothesis in Biology The most striking insight is that the linguistic theory that "words used in similar contexts have similar meanings" holds true for amino acids. The model learns biological "meaning" simply by looking at which residues tend to appear together. When the model's latent space is visualized, it naturally clusters sequences by host species (avian vs. human) and viral subtype, even though the model was never given this metadata. This confirms the model is capturing deep biological structure.

Escape = Fitness + Change A mutation that is fit but doesn't change the protein's "look" won't escape the immune system. Conversely, a mutation that changes the protein too much might "break" it. Escape happens at the intersection of high viability and high change.

Scatter plot showing that known escape mutations (red Xs) cluster in the quadrant of high grammaticality and high semantic change.

Predictive Performance CSCS significantly outperformed existing benchmarks in predicting these escape mutations. It achieved a 0.834 AUC for H1 influenza escape and 0.771 AUC for H3, compared to ~0.70 for traditional methods like MSA-based frequency counts or EVcouplings. Even in the highly complex HIV Env protein, CSCS achieved a 0.692 AUC, outperforming other unsupervised models.

Interestingly, in the natural language task, CSCS successfully proposed mutations that changed the meaning of headlines (e.g., changing "australian dead in bali" to "australian ballet in bali") while maintaining grammatical correctness, verifying the model's core logic.

Limitations and Future Work

While groundbreaking, the current study focuses primarily on single-residue changes (single-word or single-amino-acid mutations). Real-world viral evolution often involves multiple simultaneous mutations or insertions/deletions (indels), which the current search space doesn't handle efficiently. Moving beyond single mutations leads to a combinatorial explosion in the search space, requiring more sophisticated search algorithms in the future. Additionally, the authors note that in natural language, antonyms often appear in similar contexts and might be close in embedding space, which could complicate the strict definition of "semantic change."

Summary updated

BibTeX
@inproceedings{hie2020learning,
  author = {Brian Hie and Ellen D. Zhong and Bryan Bryson and Bonnie Berger},
  title = {{Learning Mutational Semantics}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2020},
  url = {https://openreview.net/forum?id=ojRa7rszlG0},
}
Figure