Skip to main content
QUICK REVIEW

[Paper Review] What is a meaningful representation of protein sequences?

Nicki Skafte Detlefsen, Søren Hauberg|arXiv (Cornell University)|Nov 28, 2020
RNA and protein synthesis mechanismsBiochemistry, Genetics and Molecular Biology6 references4 citations
TL;DR

This paper investigates what constitutes a meaningful representation of protein sequences, proposing that representation geometry critically influences interpretability and biological insight. By modeling latent space geometry—particularly through entropy-aware geodesic distances—it improves transfer learning performance and reveals biologically relevant patterns otherwise obscured by standard methods, demonstrating that geometric awareness enhances both model utility and scientific interpretability in protein sequence analysis.

ABSTRACT

How we choose to represent our data has a fundamental impact on our ability to subsequently extract information from them. Machine learning promises to automatically determine efficient representations from large unstructured datasets, such as those arising in biology. However, empirical evidence suggests that seemingly minor changes to these machine learning models yield drastically different data representations that result in different biological interpretations of data. This begs the question of what even constitutes the most meaningful representation. Here, we approach this question for representations of protein sequences, which have received considerable attention in the recent literature. We explore two key contexts in which representations naturally arise: transfer learning and interpretable learning. In the first context, we demonstrate that several contemporary practices yield suboptimal performance, and in the latter we demonstrate that taking representation geometry into account significantly improves interpretability and lets the models reveal biological information that is otherwise obscured.

Motivation & Objective

  • To address the fundamental question of what makes a protein sequence representation 'meaningful' in biological contexts.
  • To evaluate current transfer learning practices for protein representations and identify suboptimal design choices.
  • To improve interpretability of learned representations by explicitly modeling the geometry of the latent space.
  • To develop a method for robust geodesic distance computation in protein sequence representation space using entropy-aware latent manifolds.
  • To demonstrate that geometrically informed representations reveal biologically relevant structures, such as phylogenetic relationships and functional motifs, more reliably than standard approaches.

Proposed method

  • The authors use a variational autoencoder (VAE) framework to learn protein sequence representations, with a novel entropy network to model the uncertainty and geometry of the latent space.
  • They define a geodesic energy functional based on expected squared distance between one-hot encoded sequences, using the formula $ \mathbb{E}[\Delta^2] = 2\left(1 - \sum_{d=1}^{C} a_d b_d\right) $ to compute expected distances in sequence space.
  • To compute geodesics, they discretize the latent space into a 2D grid, construct a graph with entropy-weighted edge weights, and apply Dijkstra’s algorithm for robust initialization.
  • They refine the geodesic curves using cubic spline fitting and 10 gradient steps to minimize the energy functional (Equation 4), improving accuracy.
  • For phylogenetic analysis, they select latent embeddings closest to cluster centers and use FastTree2 and codeml for tree inference and ancestral sequence reconstruction.
  • They validate results using publicly available datasets from Pfam and the TAPe (TAPE) repository, with code and preprocessed data openly shared.

Experimental results

Research questions

  • RQ1How do common design choices in transfer learning affect the quality and biological interpretability of protein sequence representations?
  • RQ2To what extent does modeling the geometry of the latent space improve the interpretability of protein sequence embeddings?
  • RQ3Can entropy-aware geodesic distances in the latent space reveal biologically meaningful relationships, such as phylogenetic structure or functional similarity?
  • RQ4How do standard representation learning methods obscure biologically relevant patterns, and in what ways can this be corrected?
  • RQ5What role does representation geometry play in enabling robust inference of ancestral sequences and functional motifs?

Key findings

  • Several common practices in transfer learning for protein sequences—such as standard VAE training and representation averaging—yield suboptimal performance and obscure biological patterns.
  • The proposed entropy network significantly improves the quality of geodesic paths in the latent space, enabling more accurate and biologically meaningful distance estimation between protein sequences.
  • By modeling representation geometry, the method successfully recovers phylogenetic relationships and ancestral sequences, demonstrating robustness and interpretability beyond standard baselines.
  • The geodesic paths computed using the entropy-aware method reveal clear evolutionary trends and functional groupings in the β-lactamase family, which are invisible in standard representations.
  • The study shows that representation geometry is not a secondary concern but a central factor in determining whether learned representations yield scientifically actionable insights.
  • The authors demonstrate that even small changes in model architecture or training protocol can drastically alter biological interpretations, underscoring the need for geometric awareness in representation learning.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.