Skip to content

Menu

WorksarXiv

Protein Structure Tokenization via Geometric Byte Pair Encoding

A preview from arXiv. Valency holds this work's metadata and abstract, not its full text.

Abstract

Protein structure is central to biological function, and enabling multimodal protein models requires joint reasoning over sequence, structure, and function. A key barrier is the lack of principled protein structure tokenizers (PSTs): existing approaches fix token size or rely on continuous vector codebooks, limiting interpretability, multi-scale control, and transfer across architectures. We introduce GeoBPE, a geometry-grounded PST that transforms continuous, noisy, multi-scale backbone conformations into discrete ``sentences'' of geometry while enforcing global constraints. Analogous to byte-pair encoding, GeoBPE generates a hierarchical vocabulary of geometric primitives by iteratively (i) clustering Geo-Pair occurrences with k-medoids to yield a resolution-controllable vocabulary; (ii) quantizing each Geo-Pair to its closest medoid prototype; and (iii) reducing drift through differentiable inverse kinematics that optimizes boundary glue angles under an SE(3)\mathrm{SE}(3) end-frame loss. GeoBPE offers compression (>>10x reduction in bits-per-residue at similar distortion rate), data efficiency (>>10x less training data), and generalization (maintains test/train distortion ratio of 1.0−1.11.0-1.1). It is architecture-agnostic: (a) its hierarchical vocabulary provides a strong inductive bias for coarsening residue-level embeddings from large PLMs into motif- and protein-level representations, consistently outperforming leading PSTs across 1212 tasks and 2424 test splits; (b) paired with a transformer, GeoBPE supports unconditional backbone generation via language modeling; and (c) tokens align with CATH functional families and support expert-interpretable case studies, offering functional meaning absent in prior PSTs. Code is available at https://github.com/shiningsunnyday/PT-BPE/.

Paper details

Source

Source
arXiv
First available
Nov 13, 2025
Identifier
arxiv:2511.11758v2

Pick where to look, or just type