cs.CLOct 12, 2026

Gluing Local Contexts into Global Meaning: A Sheaf-Theoretic Decomposition of Transformer Representations

Authors: Bryce Grant, Peng Wang

Organizations: Case Western Reserve University

Abstract

Existing interpretability tools do not test whether a representation keeps the same content when only the phrasing changes. We treat each paraphrase pair as a local witness that two activations should agree and build a cellular sheaf over the paraphrase graph; its Laplacian LFL_\mathcal{F} answers the question on a frozen model with no training. The kernel H0H^0 is a content subspace: at 20 dimensions it beats the preserved subspace of the concept eraser LEACE on held-out CounterFact fact retrieval across eight architectures by a mean +17.1+17.1,pp, and constraining all paraphrases of a fact jointly adds a further +6.5+6.5,pp. The spectral complement concentrates causal influence: ablating the most paraphrase-variable coordinates, a coordinate-wise proxy for it, changes model outputs 5.65.6 to 26.5×26.5\times more than ablating coordinates of matched per-coordinate variability, across nine models from 124M to 13B parameters. Stacking layers into a grid creates b1=N(L−1)b_1 = N(L-1) algebraic 1-cycles, and the resulting model-derived harmonic mass varies by nearly three orders of magnitude across six architectures and ranks them as their steering fragility does (Spearman ρ=0.90ρ= 0.90, exact one-sided permutation p=0.014p = 0.014). The same paraphrase graph yields the content subspace, the influence directions, and the fragility measure. Project page: https://cwru-aism.github.io/gluing-lc-page/

Figures & tables

Appendix figures & tables19 assets

Supplementary material from the paper’s appendix.

Appendix

Explore similar work

CardsList
  1. LAG-XAI: A Lie-Inspired Affine Geometric Framework for Interpretable Paraphrasing in Transformer Latent Spaces

    Apr 7, 2026Olexander Mazurets, Olexander Barmak, Leonid Bedratyuk +1Transformer InterpretabilityRepresentation Geometry in Language Models

  2. You Didn't Have to Say It like That: Subliminal Learning from Faithful Paraphrases

    Mar 10, 2026Isaia Gisler, Zhonghao He, Tianyi QiuSubliminal LearningLLM Training