Shodh AIResearch
Research paper

Rotation dependence in an antibody structure tokenizer and sequence-anchored canonicalization

Abstract

Learned structure tokenizers turn protein coordinates into per-residue tokens for downstream models, and they are usually assumed to inherit the rotation invariance of their distance-based encoders. In a preregistered study of a frozen antibody Fv tokenizer, we show that this assumption can fail through preprocessing alone. The tokenizer’s 160-dimensional learned features were bit-identical under translation but changed almost completely under rotation (median cosine 0.177 across 976 held-out structures). Exact Shapley attribution traced 99.98% of the change to Fourier features of coordinates expressed in a per-pose bounding box. Aligning each antibody to a sequence-anchored joint VH/VL framework frame before the unchanged encoder made stored tokens bit-identical under every rigid motion while preserving decoding accuracy and sensitivity to CDR-H3 changes. A germline- and geometrybased guard rejected all 976 chain-label swaps and none of 6,976 valid antibodies. On 6,000 sequence-cluster-disjoint antibodies in random poses, the fix restored CDR-H3 structural retrieval (mean average precision 0.165 to 0.531) and VH–VL orientation prediction (Spearman ρ 0.421 to 0.781), although simple invariant descriptors remained stronger for strict loop retrieval.

The LaTeX package contains a PDF-derived transcription.

Rotation stability under the evaluated preprocessing variants. Refer to the manuscript for methods and limitations.