Gluing Local Contexts into Global Meaning: A Sheaf-Theoretic Decomposition of Transformer Representations
Bryce Grant, Peng Wang
Case Western Reserve University
Published October 12, 2026 · on the feed October 27, 2026 · ▲ 5 · arXiv 2610.17117
The 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 L_F answers the question on a frozen model with no training. The kernel H^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\,pp, and constraining all paraphrases of a fact jointly adds a further +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.6 to 26.5times more than ablating coordinates of matched per-coordinate variability, across nine models from 124M to 13B parameters. Stacking layers into a grid creates 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, exact one-sided permutation p = 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/
The Brief
2:25A short podcast summary of the paper. Written and voiced by AI.
Transcript
Gluing Local Contexts into Global Meaning. A Sheaf-Theoretic Decomposition of Transformer Representations. By Bryce Grant and one other, from Case Western Reserve University. Published on the twelfth of October. Its code repository is worked out: about forty source files, with a readme and a licence.
Here is a question existing interpretability tools do not test. Does a representation keep the same content when only the phrasing changes? Two sentences can say the same thing in different words, and a model that has really captured the content should hold something in common across them. The tools at hand do not check for that directly.
The authors treat each paraphrase pair as a local witness: a small piece of evidence that two activations ought to agree. Those local agreements are then glued together. They build a cellular sheaf over the paraphrase graph, and the sheaf's Laplacian answers the question on a frozen model, with no training at all. The kernel of that Laplacian is read as a content subspace, the part of the representation that stays put across paraphrase. Its spectral complement is the part that moves.
Three things are drawn from that one structure. First, the content subspace itself. Second, the influence directions, which come from the complement. Third, a fragility measure. Stacking layers into a grid creates algebraic one-cycles, and from them comes a model-derived quantity the authors call harmonic mass. The same paraphrase graph yields all three.
On the content side, the kernel at twenty dimensions beats the preserved subspace of the concept eraser LEACE on held-out CounterFact fact retrieval. That holds across eight architectures, by a mean of seventeen point one percentage points. Constraining all paraphrases of a fact jointly adds a further six point five points.
On the influence side, ablating the most paraphrase-variable coordinates, a coordinate-wise proxy for the complement, changes model outputs between five point six and twenty-six point five times more than ablating coordinates of matched variability. That spans nine models, from one hundred and twenty-four million parameters up to thirteen billion. And on fragility, harmonic mass varies by nearly three orders of magnitude across six architectures, ranking them as their steering fragility does, with a Spearman correlation of zero point nine zero and an exact one-sided permutation p-value of zero point zero one four.
One graph of paraphrases, one sheaf built over it, and three readings come out: what stays fixed, what carries causal weight, and how fragile a model is to steering. None of it requires training anything on top of the model being studied.
More with an account
Listen to every day’s papers
Daily playlists, deep dives, quests for the papers, and quizzes on their key terms.
Join free