MATH · IN · MODELS

Protein-LM shape spaces expand then compress at low absolute dimension

measured in 1 paper

Beshkov & Malthe-Sorenssen treat each protein's per-residue PLM representation as a curve, map it to a square-root-velocity shape space to quotient out rotation and translation, and measure Frechet radius and tangent-PCA effective dimension layer-by-layer across ESM2 (35M/150M/650M/3B) and Ankh on 1,377 SCOPe proteins [beshkov-malthe-sorenssen-2026-towards-understanding-the-shape-of-representations-in-protein-language-models] Frechet radius decreases with depth and is far smaller for PLM shape space than for real 3D protein structure, largely independent of model size [beshkov-malthe-sorenssen-2026-towards-understanding-the-shape-of-representations-in-protein-language-models] Tangent-PCA effective dimension shows an expansion-then-compression trajectory across layers, more pronounced for larger models, at far lower absolute dimension than PCA on flattened pointwise activations [beshkov-malthe-sorenssen-2026-towards-understanding-the-shape-of-representations-in-protein-language-models] A graph-filtration comparison finds 3D structure is most faithfully encoded at short (2-residue) and moderate (8-residue) context, peaking just before the final layer in every model [beshkov-malthe-sorenssen-2026-towards-understanding-the-shape-of-representations-in-protein-language-models]

Context

Fréchet radius and tangent-PCA effective dimension of a square-root-velocity (SRV) shape space built from whole-protein PLM representation curves, expansion-then-compression effective-dimension trajectory across depth, at far lower absolute dimension than pointwise activation PCA, graph-filtration comparison of PLM-representation k-NN graphs against real 3D-structure k-NN graphs, identifying the context length and layer of most faithful structural encoding

Papers

Towards Understanding the Shape of Representations in Protein Language Models — Beshkov, Kosio, Malthe-Sørenssen, Anders2026 · arXiv:2509.24895