Gluing Local Contexts into Global Meaning: A Sheaf-Theoretic Decomposition of Transformer Representations
Abstract
A cellular sheaf built over paraphrase graphs extracts content subspaces and influence directions from frozen language models, improving fact retrieval and revealing architectural fragility via harmonic analysis.
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/
Community
We put paraphrase pairs on the edges of a graph, hidden states on its nodes, and build a cellular sheaf whose Laplacian measures disagreement between phrasings. Its kernel is a content subspace that beats LEACE on held-out fact retrieval by 17 points at only 20 dimensions. Its top eigenspace carries 6 to 26 times the causal influence of matched coordinates. And when you stack layers into a grid, the harmonic mass on the cycles ranks six architectures by how badly random steering breaks them, Spearman 0.90
This is an automated message from the Librarian Bot. I found the following papers similar to this paper.
The following papers were recommended by the Semantic Scholar API
- Computation Over Geometry: Meaning Identity Is Computed, Not Shipped in the Embeddings (2026)
- Semantic Fibers and Cross-Gram Interference: A Calculus of Safety Drift in Overcomplete Representations (2026)
- Fisher-IRG: Fisher-Induced Local Invariant Representation Geometry across Language and Vision Models (2026)
- Locating and Steering Refusal Beyond Attention (2026)
- Meaning Contracts: Local Semantic Geometry in Large Language Models (2026)
- Values as Style: Disentangling Values from Semantics with One-Way Mixing for Low-Damage LLM Steering (2026)
- Refusal Reads Only a Slice of What the Model Knows: Harm-Keyed Routing and Its Exceptions Across Model Families (2026)
Please give a thumbs up to this comment if you found it helpful!
If you want recommendations for any Paper on Hugging Face checkout this Space
You can directly ask Librarian Bot for paper recommendations by tagging it in a comment: @librarian-bot recommend
Get this paper in your agent:
hf papers read 2610.17117 Don't have the latest CLI?
curl -LsSf https://hf.co/cli/install.sh | bash Models citing this paper 0
No model linking this paper
Datasets citing this paper 0
No dataset linking this paper
Spaces citing this paper 0
No Space linking this paper
Collections including this paper 0
No Collection including this paper