Manuscript Offprint
arXiv:2610.17117Gluing Local Contexts into Global Meaning: A Sheaf-Theoretic Decomposition of Transformer Representations
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 answers the question on a frozen model with no training. The kernel 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.5× more than ablating coordinates of matched per-coordinate variability, across nine models from 124M to 13B parameters. Stacking layers into a grid creates 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 , exact one-sided permutation ). 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/.
1 Introduction
Transformer representations entangle what a sentence means with how it is phrased. The hidden state for “The Eiffel Tower is in Paris” differs from “Paris is home to the Eiffel Tower” despite identical semantic content. Existing tools decompose one activation into features [7, 12], test the linear decodability of attributes already chosen [4], or relate two activation spaces to each other [40, 52]. None of them tests cross-context consistency, meaning whether a feature encodes the same information when the phrasing changes and the meaning does not. The gap shows up in steering, where methods improve some models and fail or degrade others [14], and even within one model steerability varies widely across inputs [57]; no existing tool predicts which regime a model is in. We treat the problem as local-to-global agreement. Each paraphrase pair is a local witness that two activations should agree, and together the witnesses should determine one global answer.
In the cellular sheaf we build on the paraphrase graph, hidden states sit on the nodes, edges connect paraphrase pairs, and a learned restriction map ( ) projects each pair into a shared k-dimensional comparison space. The coboundary measures pairwise disagreement, and the sheaf Laplacian has a kernel of globally consistent sections together with a spectral complement of high-disagreement directions. We call the spectral complement the “ directions” (Remark 3.3 explains the name). Section 3 defines the construction, and Section 5 tests it on nine models.
40th Conference on Neural Information Processing Systems (NeurIPS 2026).

directions
(top eigenspace of )
Figure 1: Sheaf decomposition of a paraphrase pair. Hidden states , pass through into the edge stalk , where the coboundary measures their disagreement, . The bottom and top eigenspaces of the sheaf Laplacian split the edge stalk into (blue, content stable across phrasing) and the directions (red, context-dependent variation).
A single-layer matching graph has no cycles, so algebraic and the construction reduces to projected within-pair covariance (Proposition 3.1). Stacking the same activations across layers creates cycles. The grid has one node per (sentence, layer) pair, with horizontal edges between paraphrases in the same layer and vertical edges between adjacent layers along each sentence. It carries algebraic 1-cycles ( , the first Betti number, counts the independent cycles in the graph), one per elementary square, and each square asks whether the layer-l-to-layer-l+1 transformation commutes with paraphrase equivalence. The model-derived Hodge harmonic mass (the fraction of a model-derived edge cochain's energy in the harmonic subspace, the part supported on cycles that is neither a gradient nor a curl) at varies by nearly three orders of magnitude across six architectures ( to 0.08; Table 1) against a 0.25 topological reference, and §5.4 tests it as a diagnostic of steering fragility. Richer paraphrase graphs also improve : constraining all paraphrases of a fact jointly beats pair-only by +6.5 pp on all eight architectures, and an edge-count-matched control attributes the gain to the joint constraint, with the cycle itself retrieval-neutral (§5.2). The coboundary of a cellular sheaf on a paraphrase graph yields , whose kernel is the content subspace (§5.2), whose spectral complement concentrates functional influence (§5.3), and whose harmonic mass on the depth-induced cycles is tested as a diagnostic of steering fragility (§5.4).
Our contributions are:
• Content from the kernel. Sheaf at 20 dimensions beats LEACE’s preserved subspace at full hidden dimension on held-out CounterFact retrieval across eight architectures (mean +17.1 pp; 85.3% vs. 43.1% on GPT-2). Random or identity restriction maps keep most of the gain, and constraining all of a fact’s paraphrases jointly adds +6.5 pp (§5.2).
• Influence from the spectral complement. Ablating the most paraphrase-variable coordinates, a coordinate-wise proxy for the top eigenspace of , changes model outputs 5.6 to more than ablating coordinates of matched per-coordinate variability on nine architectures from 124M to 13B parameters. Projecting out the sheaf eigenbasis shifts next-token distributions more than random subspaces and collapses fact recall to 0–5%, while matched random ablation leaves recall at baseline on the 7B models (§5.3, Appendices B.6 and B.7).
• Fragility from harmonic mass. Multi-layer grids carry algebraic 1-cycles and a model-derived harmonic mass spanning that ranks six architectures by steering fragility ( , ). On Llama-2-7B, contrastive sheaf steering preserves 31.0% of facts against 4.2% for random steering (§5.4).
for edge . When everywhere, local data is globally consistent: it glues into a global section. The sheaf Laplacian generalizes the graph Laplacian [31]; Figure 1 sketches the pipeline from node stalks through to the split. Because , [31], the space of globally consistent sections. The first cohomology captures obstructions to gluing. On a graph , so : edge assignments that are not the coboundary of any node assignment.
We read as content that is consistent across semantically equivalent contexts and the spectral complement of as context-dependent variation: syntax, phrasing, surface form [18, 7]. This reading comes from the definition of the kernel. A direction on which every paraphrase pair of a fact agrees keeps its value when the phrasing varies and the meaning holds, so it tracks the fact's content, and the kernel is the span of such directions. Cycles indicate where steering may fail. A cycle around which the model-derived cochain fails to sum to zero (a nonzero harmonic component) is a place where the model's layer-to-layer maps stop commuting with paraphrase equivalence. A fact then travels along inconsistent representational paths, and a direction read off one path can diverge along the others. On a matching graph (one edge per paraphrase pair) the graph is acyclic, so , is surjective onto whenever has full column rank , and algebraic . For transformers we put hidden states on the nodes, paraphrase pairs on the edges, and a restriction map that projects from the full activation space to a -dimensional edge space. The spectral decomposition lives in edge space, and its eigenvectors pull back to the activation space via . The choice of (PCA, canonical correlation analysis (CCA), or a contrastive Fisher discriminant) is the only knob, and it changes the decomposition.
LEACE (least-squares concept erasure) [5] fits a concept eraser, well suited to removing the paraphrase / non-paraphrase distinction; the complementary target for content stability is the subspace of minimal within-pair variation. Sparse autoencoders [7, 12] factor a single activation into features, and centered kernel alignment (CKA) and SVCCA [40, 52] score the similarity of two whole spaces; cross-context consistency asks each space to be split into a part that is invariant across phrasing and a part that varies with it. With that split, an intervention can move the variable directions and leave content intact. The coboundary produces the split directly, and §5 uses the resulting subspaces for its interventions.
3 Local Construction on Matching Graphs
Sheaf. The interpretability sheaf over a context graph assigns node stalks , in which the hidden states of one context form a 0-cochain, edge stalks () as a shared comparison space, and linear restriction maps . The matching graph (, , no higher simplices) is the simplest case. We learn via three concrete choices: joint PCA (top components of paired activations), CCA (solving for the top eigenvectors), or contrastive Fisher. The contrastive Fisher map solves for and , where is the activation difference of pair , and takes the largest generalized eigenvectors as columns of (sign opposite to LDA, orienting toward maximal within-pair variance relative to total). then has maximal spread, the spectral complement is more selectively concentrated, and picks up residual content within the highly variable basis.
Coboundary, Laplacian, decomposition. Orienting each edge as , with at , the coboundary measures pair disagreement, and the consistency energy vanishes on . The empirical sheaf Laplacian in edge space is
This matrix equals with and the Laplacian of the matching graph. It is the second-moment matrix of the edge values of , not the operator , and we keep the symbol for it. For a readout , is the Laplacian quadratic form of the observed data seen through [30, 21], and minimising it is a locality preserving projection on the paraphrase graph [32]. Its kernel is the set of readouts under which the data is a global section: is constant along every edge, equivalently for all . We define as the span of the bottom eigenvectors of (the low-energy approximation to ) and directions as the span of the top . The hidden-space pullback is , and the projector is ( has orthonormal columns for the joint-PCA map, so is an orthogonal projector; the CCA and contrastive maps of §5.4 have unit-norm columns that are not orthogonalised). The eigenproblem is ( ) whatever the hidden dimension, so the spectral step costs the same from 124M to 13B models.
Steering. Given a style direction , we form (a) ( -removed) or (b) the projection of onto the top dimensions weighted by . All steering vectors are norm-matched to . Baselines: random, full style (contrastive activation addition, CAA [53]), mean-of-differences, variance top-k, Fisher LDA.
The matching-graph limitation. The construction so far gives local consistency: measures within-pair disagreement and contains its kernel. The graph itself, however, has no cycles, and is surjective (P has full column rank), so the cohomology vanishes above degree zero.
Proposition 3.1 (Reduction to projected within-pair covariance). With and , on a matching graph with one shared by every node and identity transports on edges: (i) ; (ii) the Fisher baseline is the generalized eigenproblem ; (iii) for a unit eigenvector . Proof: Appendix A.5.
Remark 3.2 (Per-node restriction maps). With per-node maps and a Procrustes transport (the orthogonal map that best aligns stalk to stalk ), the coboundary is , and is in general not , nor for any built from hidden-state second moments alone, because the cross-terms carry different maps on the two sides.
Remark 3.3 (Terminology: directions). Matching graphs are acyclic, so algebraic . We call the top eigenspace of the directions as a mnemonic for high disagreement; it is not a cohomology class. On a matching graph every 1-cochain, included, is a coboundary, so the name refers to where carries the most energy. Algebraic appears only on the cycle-bearing topologies of §4.
Proposition 3.1 needs a single P shared across nodes with identity transports. It holds on any graph, and we apply it on the matching graph. Within that regime, the restriction-map ablation (Table 11) places the content in the kernel of the within-pair difference covariance whatever P is, since random or identity maps recover most of the retrieval; empirically the Fisher baseline of part (ii) degrades fact preservation (15.4% vs. 29.8%). Outside it, multi-layer grids ( ) carry a model-derived harmonic mass ( ), and per-node with Procrustes transports break the reduction (Remark 3.2, Appendix B.12).
4 Multi-Layer Matching Grids and Algebraic
A single-layer matching graph trivializes algebraic because it has no cycles and is surjective. Filling paraphrase cliques does not fix this: each filled clique is simply connected, so vanishes (its does not). The most direct source of cycles is network depth.
4.1 Multi-layer matching grids
Let the vertex set be . Horizontal edges connect paraphrase pairs at each layer, and vertical edges connect each sentence at adjacent layers. The resulting graph (a 1-dimensional complex) is a grid: for pairs and layers it has , , and no 2-faces. Direct computation gives algebraic 1-cycles. Each elementary cycle is a square (sentence , paraphrase ) at layers and : the cycle asks whether the layer- transformation commutes with paraphrase equivalence. When it does, sums to zero around the square, so restricted to that cycle is exact and has no component on the harmonic 1-cochain dual to it; when it does not, has a nonzero harmonic component along that cycle.
Definition of the model-derived edge cochain . Each layer has its own joint-PCA restriction map ( ), shared across sentences, and is the mean-pooled hidden state of sentence at
Table 1: Multi-layer matching grid, from depth alone. Hodge harmonic mass of model-derived edge cochains varies by nearly three orders of magnitude. Every row shares the same graph ( at ), so the variation comes from the model's layer transitions. 30 MRPC pairs with joint-PCA per layer at shared . The last column is steering fragility: CounterFact fact preservation (%) under random steering (§5.4, Appendix A.3).
| Architecture | L = 2 | L = 4 | L = 8 | L = 16 | Pres. (%) |
|---|---|---|---|---|---|
| Mistral-7B | 0.0001 | 0.0001 | 0.0004 | 0.0008 | 39.4 |
| Qwen-2.5-7B | 0.0001 | 0.018 | 0.016 | 0.096 | 34.3 |
| Llama-3-8B | 0.001 | 0.002 | 0.003 | 0.004 | 36.0 |
| Phi-2 | 0.033 | 0.126 | 0.109 | 0.067 | 27.5 |
| GPT-2 (124M) | 0.036 | 0.107 | 0.083 | - | 9.1 |
| Llama-2-7B | 0.079 | 0.071 | 0.047 | 0.028 | 4.2 |

Figure 2: Per-architecture ratio of the output change from ablating the coordinates to that from ablating control coordinates of matched per-coordinate variability (Table 3). Hatched bars use protocol (one layer, 64 coordinates, effect on logits) and solid bars protocol (three depths, 20 coordinates, effect on the final hidden state). Every architecture exceeds the dashed unit baseline, by to .
layer . A horizontal edge between paraphrases at layer carries . A vertical edge for sentence from layer to carries , where is the mean projected activation at layer and is the orthogonal Procrustes map between the centred projected activations of all sentences at the two layers. With (centring is immaterial) would be the coboundary of a node potential and its harmonic mass would be zero; the fitted transport is what makes the mass model-dependent. Stacking gives , and the Hodge harmonic mass is with the Hodge 1-Laplacian, which reduces to the edge Laplacian on the grid since it has no 2-cells. With all edge stalks identified with one , this is the Hodge decomposition of the constant sheaf applied to coordinate-wise [31, 54]. Since is the coboundary of the potentials under the transport , its harmonic part comes only from acting on within-pair differences, and the mass is computed in the joint-PCA frames . The Hodge decomposition is orthogonal [43]. Sensitivity to and to alternative restriction maps is reported in Appendix A.2 (the span and the split between robust and fragile architectures are preserved at ).
The Betti number scales linearly in from zero, so depth is a single knob that controls the cycle structure, and the model-derived harmonic mass spans at (Table 1). A random Gaussian cochain has expected harmonic fraction exactly at ; that value is the random-probe reference. The model's places near-zero weight (about ) on the harmonic subspace for Mistral-7B and Qwen-2.5-7B and substantial weight for Llama-2-7B. Scaling k from 8 to 128 and triangulating each square preserve the split between the three low-mass and three high-mass architectures (Appendix A.2). Section 5.4 tests whether the mass predicts steering fragility.
Why the 2-simplices stay unfilled. The grid has no 2-cells, so its cohomology vanishes above degree 1 and, with constant coefficients, ( with stalks). Filling each square with two 2-simplices sharing a diagonal makes the square cycle the boundary of (with vertex-order orientations); direct computation on that 2-complex gives for every and tested, so the harmonic mass is identically zero. What survives is the coexact fraction of (the curl of around each filled triangle), which preserves the split between architectures (Appendix A.2). The holonomy of a cycle is the composite of the orthogonal transports along its edges, and the obstruction satisfies , so it is at most , and a Haar-random orthogonal matrix gives (RMS value ); raw holonomy magnitudes therefore need the null calibration of Appendix B.12.
4.2 Relation hypergraphs
A second construction yields cycles from relation structure rather than depth. Let contain facts with paraphrases each, partitioned into relations. For each fact we add a ring on its paraphrase nodes, and for each relation a ring through the first paraphrase of each of its facts, leaving 2-simplices unfilled. With , , this gives 300 nodes, edges and no faces, with and (Euler ). The 66 classes decompose as 60 within-fact paraphrase rings (one per fact) plus 6 relation-level cycles (one per relation). The matching graph on the same nodes has , and filling fact cliques into 2-simplices also gives , so the relation hypergraph isolates non-trivial topology from the same activations.
Heterogeneous restriction maps and holonomy. Per-node with Procrustes transports break Proposition 3.1 (Remark 3.2). Cycle holonomy obstructions on the relation hypergraph are 2.5–3.1, below the Haar RMS value , and no architecture deviates significantly from a shuffled-paraphrase null (one-sided , Appendix B.12). A node-space operationalization of did not transfer to retrieval or steering (Appendix B.13). Both cycle-bearing constructions, depth-induced grid and relation-induced hypergraph, lift the framework off the matching-graph floor.
5 Experiments
5.1 Setup and Datasets
We evaluate on nine transformer models spanning architecture families (GPT-2 [51], Llama [59, 26], Mistral [38], Qwen [65], phi [42], Gemma [24], OLMo [49]) and scales (124M to 13B parameters). Functional validation ablates coordinates on 1000 sentences (four models; 666 MRPC and 334 PAWS) or 100 MRPC sentences (five models). Restriction maps (PCA, CCA, contrastive Fisher) are learned from 200 pairs of the Microsoft Research Paraphrase Corpus (MRPC) [16]. Steering uses the CounterFact benchmark [47] (n = 1000 per model), and fact retrieval uses ROME CounterFact: 500 facts split 70/30 for the held-out comparison (§5.2), with a 60-fact, 5-paraphrase subset for the topology constructions. We extract mean-pooled hidden states at layer , set edge dimension (capturing paired variance), take the bottom and top 20 eigenvectors as and directions, and norm-match all steering vectors to . Bootstrap CIs use 1000 resamples, McNemar's test [46] handles paired comparisons, and Cohen's [11] reports effect sizes.
5.2 Content from the Kernel: Beats LEACE, and Joint Paraphrase Constraints Improve It
Paraphrase-invariance does not by itself imply fact discriminability: an invariant subspace could merge Paris–France with Berlin–Germany. Hard same-relation retrieval tests exactly this residual, against baselines that are themselves low-dimensional or invariance-targeted. We compare sheaf (20D) to LEACE’s preserved subspace on ROME CounterFact, splitting 500 facts 70/30 into train and held-out test ( ). LEACE is fit with paraphrase-vs-non-paraphrase as the erased binary concept; its eraser is an oblique rank- projection, and we call im the LEACE-preserved
Table 2: Held-out CounterFact retrieval (top-1 accuracy, hard same-relation distractors, dims, 70/30 train/test split, facts). Sheaf basis and LEACE eraser are fit on training facts only, and evaluation is on held-out facts not seen during fitting. Across eight architectures sheaf at 20 dimensions beats LEACE preserved at full hidden dimension, with gaps ranging from +1.5pp (OLMo-2) to +42.2pp (GPT-2).
| Model | Full | (20D) | LEACE-full | LEACE-20D | PCA-20 | Rand-20 | Δ |
|---|---|---|---|---|---|---|---|
| GPT-2 | 43.1 | 85.3 | 43.1 | 28.9 | 24.6 | 39.1 | +42.2 |
| Mistral-7B | 77.7 | 87.1 | 77.7 | 36.8 | 34.5 | 59.2 | +9.4 |
| OLMo-2-7B | 81.3 | 82.8 | 81.3 | 40.9 | 35.7 | 62.3 | +1.5 |
| Phi-2 | 69.1 | 87.1 | 69.1 | 38.8 | 37.2 | 55.1 | +18.0 |
| Qwen-2.5-7B | 49.4 | 64.1 | 49.4 | 36.8 | 37.5 | 43.7 | +14.7 |
| Gemma-2-9B | 54.4 | 77.9 | 54.4 | 32.3 | 27.5 | 43.5 | +23.5 |
| Llama-2-7B | 68.2 | 80.4 | 68.2 | 25.7 | 22.3 | 50.7 | +12.2 |
| Llama-3-8B | 72.7 | 88.0 | 72.7 | 28.2 | 24.4 | 55.9 | +15.3 |
subspace, at full hidden dimension, while sheaf is 20-dimensional and built without binary labels. Easy retrieval is top-1 across all held-out centroids, and hard retrieval restricts to same-relation distractors. Classical subspace and metric-learning baselines under the identical protocol appear in Appendix B.5: beats every label-free alternative and trails the fact-labelled LDA and NCA on five of eight models.
On hard same-relation retrieval (Table 2), sheaf at 20 dims beats LEACE-preserved at full hidden dim on all eight architectures (mean gap +17.1pp). The +42.2pp GPT-2 gap matches the smallest model, since smaller residual streams concentrate paraphrase content into lower-dimensional shared subspaces. On 7–9B models, at 20 dims still exceeds LEACE at 4096 dims by 1.5–23.5pp.
Dimension-controlled LEACE. LEACE for a binary concept removes a single direction (its null space has rank 1, so the eraser has rank ) [5], so the dim-controlled 20D baseline (LEACE-20D, Table 2) is the top-20 PCs of the LEACE-preserved activations. Sheaf beats LEACE-20D by 27–60 pp on every architecture (mean +48.0 pp). LEACE-20D itself lands within 6 pp of PCA-20, confirming the algebraic prediction that a rank-1 erasure leaves the top-PC ranking essentially unchanged. At matched dimensionality the gap is therefore attributable to the decomposition.
The kernel selection drives the result; the projection is interchangeable. Table 11 ablates on the same activations under three regimes: PCA- (current), random orthonormal (5 seeds), and identity (bottom-20 eigenvectors of in full -dim native space). Mean across eight architectures: PCA- 81.6%, random- 74.2%, identity- 77.5% vs. PCA-20-without-kernel 30.5% and Random-20 51.2%. With identity this is the bottom eigenspace of itself, so the content lives in the kernel of the within-pair difference covariance whatever is; PCA reduces the eigenproblem from to at a cost of at most 7.4 pp. Non-learned restriction maps likewise match learned ones on heterophilic-graph benchmarks [34]; closed-form learned restriction maps [15] are complementary.
Joint paraphrase constraints improve . The result above uses a pair-only graph, in which each fact contributes a chain of paraphrase pairs. Replacing it with a ring over all of a fact's paraphrases ( instead of 0), with activations and unchanged, asks for invariance across every paraphrase of a fact jointly. Across eight architectures ring- beats pair- by +3.2 to +9.5 pp (mean +6.5 pp, Table 10); a clique matches the ring within 0.1 pp. An edge-count-matched control attributes the gain to the joint constraint: an acyclic path over six paraphrases, with the ring's five edges and , recovers it (+7.7 pp over pairs), and the ring exceeds that path by +0.5 pp, significant on none of the eight architectures (Appendix B.3). The cycle-closing difference is the sum of the path differences, so it adds no constraint on exact global sections: is set by which paraphrases are connected, and cycles enter through the harmonic subspace of §4.1.
5.3 Influence from the Spectral Complement: Carries Concentrated Causal Influence
We ablate the directions through a coordinate-wise proxy and compare against control coordinates. At layer we rank the residual-stream coordinates by their mean absolute within-pair difference over MRPC paraphrase pairs; this is the diagonal analogue of , and so a coordinate-
Table 3: Functional validation: output change from ablating the coordinates over that from ablating control coordinates of matched per-coordinate variability. 1000 sentences (666 MRPC, 334 PAWS), 64 coordinates, one layer , effect on final-position logits. 100 sentences, 20 coordinates, three layers , effect on the mean-pooled final hidden state, best of the three depths shown. CIs are bootstrap 95%. Cohen's uses the pooled standard deviation of the two effect distributions.
| Model | Ratio | Layer | 95% CI | Cohen's d |
|---|---|---|---|---|
| GPT-2 (124M) | 18.2× | L6 | [17.2, 19.3] | 2.34 |
| Phi-2 | 14.48× | L8 | [14.0, 15.0] | 13.98 |
| Mistral-7B | 19.71× | L8 | [19.1, 20.3] | 18.45 |
| Qwen-2.5-7B | 5.76× | L7 | [5.38, 6.12] | 6.63 |
| OLMo-2-7B | 9.17× | L16 | [8.85, 9.49] | 12.93 |
| Gemma-2-9B | 9.24× | L21 | [8.94, 9.54] | 22.02 |
| Llama-2-7B | 18.2× | L16 | [17.3, 19.1] | 4.44 |
| Llama-3-8B | 5.62× | L16 | [5.52, 5.71] | 9.08 |
| Llama-2-13B | 26.5× | L20 | [26.1, 26.8] | 14.3 |
axis proxy for the top eigenspace of under the identity restriction map (Table 11 shows that map recovers most of the result). The top coordinates form , the bottom form , and the control is the coordinates, excluding both sets, whose individual variability is closest to the mean variability of the coordinates. We zero the chosen coordinates in the layer- output, run the rest of the forward pass, and measure the change in the model output: the final-position logits in the 1000-sentence runs (, one layer at ) and the mean-pooled final hidden state in the 100-sentence runs (, layers , , ). The ratio is mean effect under ablation over mean effect under control ablation, with a bootstrap CI. The control is matched coordinate by coordinate, and its total variability is only 0.13 to 0.53 of the set's. The ratio therefore compares coordinates of matched variability, and part of it reflects the larger total variability the set removes [45, 64]. We use “causal” in the activation-patching sense [62, 23, 8]. A projection ablation of the sheaf eigenbasis itself shifts the next-token distribution more than random subspaces of equal dimension on all nine models (median over layers, Appendix B.6). It also changes the generated text: fact recall collapses under ablation and stays at baseline under matched random ablation, and is the least dormant subspace we measure, which argues against the dormant-pathway reading of the subspace-patching illusion [45] (Appendix B.7).
The coordinates exert greater influence than the control coordinates across all nine models, and every CI excludes 1 (Table 3, Figure 2). GPT-2 (124M) and Mistral-7B reach near-identical ratios ( and ) despite the size gap. Measured at three depths on all nine models (protocol ), the ratio peaks at for seven and at for OLMo-2-7B and Gemma-2-9B (Appendix B.9).
5.4 Fragility from Harmonic Mass: Sheaf Steering as an Architecture Diagnostic
Harmonic mass is computed from MRPC layer-transition differences and steering fragility from CounterFact fact preservation under random perturbation, so the two come from disjoint measurements of the same model. Fragility is the fraction of CounterFact facts preserved under a random direction norm-matched to 0.3 times the hidden-state norm at layer (Appendix A.3). The three lowest-mass architectures are the three most robust and the three highest are the three most fragile: Spearman , exact one-sided permutation over the 720 rankings. The one rank inversion, Qwen-2.5-7B against Llama-3-8B, is within sampling error (34.3% vs. 36.0%). Table 1 lists both quantities per model.
The rest of this subsection compares steering methods within a model. CounterFact evaluates whether steering preserves facts while changing style. We compute style direction as the difference in mean activations between target and original completions at layer , then add norm-matched perturbations. Style change is measured as the fraction of outputs differing from baseline, and fact preservation is the fraction containing the target entity (greedy decoding, 50 tokens). At , style saturates at for all methods on all models, so fact preservation is the key differentiator.
Table 4: Steering on CounterFact (, per model). Fact preservation (%) with 95% bootstrap CIs. McNemar is paired against the best method in each block (bold). Style saturates at 100% for all methods on all models.
| Model | Method | Fact% | 95% CI | McNemar |
|---|---|---|---|---|
| Llama-2-7B | Contrastive sheaf ( dims) | 31.0 | [28.2, 33.9] | - |
| PIXEL [66] | 21.1 | [18.6, 23.9] | ||
| Full style (CAA) | 13.7 | [11.7, 15.9] | ||
| -removed (sheaf) | 13.7 | [11.6, 15.9] | ||
| dims (sheaf PCA) | 12.1 | [10.0, 14.1] | ||
| Random | 4.2 | [3.0, 5.4] | ||
| Llama-3-8B | PIXEL [66] | 38.8 | [35.2, 42.4] | - |
| Random | 36.0 | [33.0, 38.8] | 0.10 | |
| Full style (CAA) | 27.2 | [24.5, 29.9] | ||
| dims (sheaf PCA) | 26.1 | [23.4, 28.7] | ||
| -removed (sheaf) | 26.1 | [23.3, 28.8] | ||
| Mistral-7B | CCA sheaf ( dims) | 41.6 | [38.6, 44.4] | - |
| Random | 39.4 | [36.3, 42.4] | 0.19 | |
| PIXEL [66] | 34.8 | [31.1, 38.3] | ||
| Variance (top-k) | 33.0 | [30.0, 35.8] | ||
| Full style (CAA) | 31.7 | [28.8, 34.6] | ||
| dims (sheaf PCA) | 29.8 | [26.9, 32.6] | ||
| Llama-2-13B | dims (sheaf PCA) | 32.7 | [29.8, 35.6] | - |
| Random | 32.1 | [29.3, 35.0] | 0.74 | |
| Variance (top-k) | 31.3 | [28.5, 34.1] | 0.82 | |
| Full style (CAA) | 29.6 | [26.8, 32.3] | 0.07 |
Table 4 shows an architecture-dependent pattern. On fragile Llama-2-7B, random steering collapses generation (4.2%), while directed methods preserve facts at 12–31%, led by the architecture-matched contrastive sheaf at 31.0% (McNemar vs. random). On robust Mistral-7B the architecture-matched CCA sheaf numerically leads (41.6% vs. random 39.4%, McNemar , a statistical tie), and on Llama-3-8B random and PIXEL lead (36.0–38.8%); random competes at high on robust architectures, which is consistent with the concentrated influence of the coordinates (§5.3) disrupting more at large magnitudes. Llama-2-13B occupies an intermediate regime where all methods cluster tightly (29.6–32.7%, McNemar ). Consistent with that reading, sheaf directions beat random at smaller magnitudes (below).
Operating regime. is presented as a stress test. Sweeping (Appendix B.2), -removed sheaf steering with the architecture-matched map beats random on both swept architectures (Mistral-7B and Llama-3-8B) at (mean +1.0–2.0 pp, with -removed reaching 43% vs. random 41% on Mistral-7B at ), and random becomes competitive from . Use on robust architectures and on fragile ones.
Head-to-head with PIXEL. PIXEL [66], which extracts steering directions from two views of the prompt and calibrates the magnitude per position, reproduces the architecture-dependent pattern (Table 4): 21.1% on Llama-2-7B (vs. 4.2% random) but 34.8% on Mistral-7B where random reaches 39.4%. PIXEL beats CAA on Llama-2-7B (), and contrastive sheaf leads both at 31.0%. The fragility pattern holds for both direction recipes, and our simplifications of PIXEL appear in Appendix B.11.
6 Related Work
This paper extends a non-archival workshop version [25] that contained only the single-layer construction with three pilot experiments; the multi-layer grids, relation hypergraphs (), harmonic-mass fragility diagnostic, held-out LEACE protocol, restriction-map ablation, PIXEL comparison, baseline suite, and self-supervised learning (SSL) connection are new.
Sheaves in machine learning. Hansen and Ghrist [31] developed the spectral theory of the sheaf Laplacian, which specializes to the connection Laplacian of Singer and Wu [56] on -bundles, and Hansen and Gebhart [29] introduced sheaf neural networks, since applied to heterophilic graphs [6, 2, 34], predictive coding [55], and restriction-map learning [15]. Duta et al. [17] build sheaf hypergraph networks, and Mule et al. [48] unify directed/undirected hypergraph Laplacians. In the closest concurrent work on transformers, Krasnovsky [41] proposes a sheaf-inconsistency score for circuit coherence and Javidnia [37] builds context-chart atlases with Fisher metrics and holonomy. We differ in stalks (paraphrase-graph nodes carrying hidden states under PCA/CCA/contrastive restrictions) and in target (post-hoc decomposition for retrieval and steering).
Subspace interpretability. Sparse autoencoders [7, 12, 58, 20], probes [4], causal abstraction [22], CKA/SVCCA [40, 52], and distributed alignment search (DAS) and LEACE [23, 5] target individual features or whole-space comparison. The log det Cov regulariser of §7 shares its geometry with the decorrelation terms of VICReg [3] and Barlow Twins [67]. Invariance objectives (contrastive: SimCLR [9], InfoNCE [61]; non-contrastive: BYOL [27], Barlow Twins [67]; DCCA [1]) are training-time analogues that achieve paired-view agreement during training, while we read invariance off a frozen model via .
Steering and linear representations. Activation addition [60], representation engineering [69], and their variants [66, 63, 39] inject directions and are compared in a unified evaluation by Im and Li [35], while Da Silva et al. [14] document model-dependent steering reliability across 36 models and Tan et al. [57] document input-level unreliability, which §5.4 relates to harmonic mass. The linear-representation hypothesis [50, 28, 33] is qualified by Engels et al. [19] and Makelov et al. [45]; our coordinate ablations use per-coordinate variability-matched controls, which address that concern only in part (§5.3). We compare empirically to PIXEL (§5.4, Appendix B.11); Angular Steering [63] and MSRS [35] are application-side and orthogonal.
7 Discussion
Proposition 3.1 reduces to projected covariance for a single shared P with identity transports, here on the matching graph. Within that regime the restriction-map ablation locates content in the kernel of the within-pair difference covariance (Table 11), and joint multi-paraphrase constraints add +6.5 pp (Appendix B.3). Beyond it, multi-layer grids carry a model-derived harmonic mass whose ranking tracks steering fragility (§5.4). The mass needs only 30 MRPC pairs and one forward pass per sentence, so it can screen a model before a steering sweep. Graphs that join activations of different dimension (text and image encoders, or models of different width) need per-node maps of different widths, which we leave to future work.
Self-supervised connection. A sheaf-regularized objective pairs VICReg's invariance term (tr is the within-pair MSE up to scale) with a log-determinant spread term that, like VICReg's variance and covariance terms [3] and Barlow Twins' redundancy reduction [67], penalizes dimensional collapse, though not in VICReg's hinge-plus-off-diagonal form; such regularizers are used alongside non-contrastive objectives such as BYOL and SimSiam [27, 10]. Across seven architectures the regulariser holds encoder rank at 57–60/64 where naive MSE collapses to 14–42/64 (per-architecture breakdown in Appendix B.14).
Limitations. P is architecture- and partially domain-dependent (Appendix B.1); operating regime is ; node-space does not transfer and cycle holonomy does not differ significantly from a shuffled null (Appendices B.13, B.12); the fragility diagnostic is a rank correlation over six architectures ( ), and more architectures are needed before it serves as a predictor. The construction needs only a grouping of contexts asserted to be equivalent, and a cross-lingual probe (Appendix B.8) shows it transfers to translation pairs; logical equivalence and dialogue continuation fit the same template but are untested.
8 Conclusion
We framed cross-context consistency as a sheaf condition: paraphrase pairs are local witnesses of agreement, the kernel of the sheaf Laplacian glues them into a content subspace, and its spectral complement holds the phrasing-dependent variation, all read off a frozen model without training. The kernel beats the preserved subspace of LEACE on held-out retrieval, the spectral complement concentrates causal influence, and the cycles the same operator exposes across layers give a harmonic mass whose ranking tracks steering fragility across six architectures ( ).
Acknowledgments
This material is based upon work supported by the National Science Foundation Graduate Research Fellowship under Grant No. 2437833.
References
[1] Galen Andrew, Raman Arora, Jeff Bilmes, and Karen Livescu. Deep canonical correlation analysis. In Proceedings of the 30th International Conference on Machine Learning, volume 28 of Proceedings of Machine Learning Research, pages 1247–1255, 2013.
[2] Federico Barbero, Cristian Bodnar, Haitz Sáez de Ocáriz Borde, Michael Bronstein, Petar Veličković, and Pietro Liò. Sheaf neural networks with connection laplacians, 2022. URL https://arxiv.org/abs/2206.08702.
[3] Adrien Bardes, Jean Ponce, and Yann LeCun. VICReg: Variance-invariance-covariance regularization for self-supervised learning. In International Conference on Learning Representations (ICLR), 2022.
[4] Yonatan Belinkov. Probing classifiers: Promises, shortcomings, and advances. Computational Linguistics, 48(1):207–219, 2022.
[5] Nora Belrose, David Schneider-Joseph, Shauli Ravfogel, Ryan Cotterell, Edward Raff, and Stella Biderman. LEACE: Perfect linear concept erasure in closed form. In Advances in Neural Information Processing Systems, volume 36, 2023.
[6] Cristian Bodnar, Francesco Di Giovanni, Benjamin Paul Chamberlain, Pietro Liò, and Michael M Bronstein. Neural sheaf diffusion: A topological perspective on heterophily and oversmoothing in GNNs. In Advances in Neural Information Processing Systems, volume 35, pages 18527–18541, 2022.
[7] Trenton Bricken, Adly Templeton, Joshua Batson, Brian Chen, Adam Jermyn, Tom Conerly, Nick Turner, Cem Anil, Carson Denison, Amanda Askell, et al. Towards monosemanticity: Decomposing language models with dictionary learning. Transformer Circuits Thread, 2023.
[8] Lawrence Chan, Adrià Garriga-Alonso, Nicholas Goldowsky-Dill, Ryan Greenblatt, Jenny Nitishinskaya, Ansh Radhakrishnan, Buck Shlegeris, and Nate Thomas. Causal scrubbing: A method for rigorously testing interpretability hypotheses. Alignment Forum / Redwood Research technical report, 2022. URL https://www.alignmentforum.org/posts/JvZhhzycHu2Yd57RN/causal-scrubbing-a-method-for-rigorously-testing.
[9] Ting Chen, Simon Kornblith, Mohammad Norouzi, and Geoffrey Hinton. A simple framework for contrastive learning of visual representations. In Proceedings of the 37th International Conference on Machine Learning, volume 119 of Proceedings of Machine Learning Research, pages 1597–1607, 2020.
[10] Xinlei Chen and Kaiming He. Exploring simple siamese representation learning. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), pages 15750–15758, 2021.
[11] Jacob Cohen. Statistical Power Analysis for the Behavioral Sciences. Lawrence Erlbaum Associates, 2nd edition, 1988.
[12] Hoagy Cunningham, Aidan Ewart, Logan Riggs, Robert Huben, and Lee Sharkey. Sparse autoencoders find highly interpretable features in language models. In International Conference on Learning Representations, 2024.
[13] Justin Curry. Sheaves, cosheaves and applications. arXiv preprint arXiv:1303.3255, 2014.
[14] Patrick Queiroz Da Silva, Hari Sethuraman, Dheeraj Rajagopal, Hannaneh Hajishirzi, and Sachin Kumar. Steering off course: Reliability challenges in steering language models. In Proceedings of the 63rd Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pages 19856–19882, Vienna, Austria, 2025.
[15] Leonardo Di Nino, Sergio Barbarossa, and Paolo Di Lorenzo. Learning sheaf laplacian optimizing restriction maps. In 2024 58th Asilomar Conference on Signals, Systems, and Computers. IEEE, 2024. arXiv:2501.19207.
[16] William B Dolan and Chris Brockett. Automatically constructing a corpus of sentential paraphrases. In Proceedings of the Third International Workshop on Paraphrasing, 2005.
[17] Iulia Duta, Giulia Cassarà, Fabrizio Silvestri, and Pietro Lió. Sheaf hypergraph networks. In Advances in Neural Information Processing Systems, 2023. URL https://arxiv.org/abs/2309.17116.
[18] Nelson Elhage, Tristan Hume, Catherine Olsson, Nicholas Schiefer, Tom Henighan, Shauna Kravec, Zac Hatfield-Dodds, Robert Lasenby, Dawn Drain, Carol Chen, et al. Toy models of superposition. arXiv preprint arXiv:2209.10652, 2022.
[19] Joshua Engels, Eric J Michaud, Isaac Liao, Wes Gurnee, and Max Tegmark. Not all language model features are one-dimensionally linear. In International Conference on Learning Representations, 2025.
[20] Leo Gao, Tom Dupré la Tour, Henk Tillman, Gabriel Goh, Rajan Troll, Alec Radford, Ilya Sutskever, Jan Leike, and Jeffrey Wu. Scaling and evaluating sparse autoencoders. In International Conference on Learning Representations, 2025.
[21] Thomas Gebhart, Jakob Hansen, and Paul Schrater. Knowledge sheaves: A sheaf-theoretic framework for knowledge graph embedding. In Proceedings of the 26th International Conference on Artificial Intelligence and Statistics (AISTATS), volume 206 of PMLR, pages 9094–9116, 2023.
[22] Atticus Geiger, Hanson Lu, Thomas Icard, and Christopher Potts. Causal abstractions of neural networks. Advances in Neural Information Processing Systems, 34:9574–9586, 2021.
[23] Atticus Geiger, Zhengxuan Wu, Christopher Potts, Thomas Icard, and Noah Goodman. Finding alignments between interpretable causal variables and distributed neural representations. In Proceedings of the Third Conference on Causal Learning and Reasoning, volume 236 of Proceedings of Machine Learning Research, pages 160–187. PMLR, 2024.
[24] Gemma Team. Gemma 2: Improving open language models at a practical size. arXiv preprint arXiv:2408.00118, 2024.
[25] Bryce Grant and Peng Wang. Gluing local contexts into global meaning: A sheaf-theoretic decomposition of transformer representations. In ICLR 2026 Workshop on Unifying Concept Representation Learning, 2026. URL https://openreview.net/forum?id=eub5YrhExo. Non-archival.
[26] Aaron Grattafiori, Abhimanyu Dubey, Abhinav Jauhri, Abhinav Pandey, Abhishek Kadian, Ahmad Al-Dahle, Aiesha Letman, Akhil Mathur, Alan Schelten, Amy Yang, et al. The llama 3 herd of models. arXiv preprint arXiv:2407.21783, 2024.
[27] Jean-Bastien Grill, Florian Strub, Florent Altché, Corentin Tallec, Pierre H. Richemond, Elena Buchatskaya, Carl Doersch, Bernardo Avila Pires, Zhaohan Daniel Guo, Mohammad Gheshlaghi Azar, et al. Bootstrap your own latent: A new approach to self-supervised learning. In Advances in Neural Information Processing Systems (NeurIPS), 2020.
[28] Wes Gurnee and Max Tegmark. Language models represent space and time. In International Conference on Learning Representations, 2024.
[29] Jakob Hansen and Thomas Gebhart. Sheaf neural networks. In NeurIPS 2020 Workshop on Topological Data Analysis and Beyond, 2020.
[30] Jakob Hansen and Robert Ghrist. Learning sheaf Laplacians from smooth signals. In IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP), pages 5446–5450, 2019. doi: 10.1109/ICASSP.2019.8683709.
[31] Jakob Hansen and Robert Ghrist. Toward a spectral theory of cellular sheaves. Journal of Applied and Computational Topology, 3(4):315–358, 2019.
[32] Xiaofei He and Partha Niyogi. Locality preserving projections. In Advances in Neural Information Processing Systems, volume 16, 2003.
[33] Evan Hernandez, Arnab Sen Sharma, Tal Haklay, Kevin Meng, Martin Wattenberg, Jacob Andreas, Yonatan Belinkov, and David Bau. Linearity of relation decoding in transformer language models. In International Conference on Learning Representations, 2024. arXiv:2308.09124.
[34] Ferran Hernandez Caralt, Guillermo Bernárdez Gil, Iulia Duta, Pietro Liò, and Eduard Alarcón Cot. Joint diffusion processes as an inductive bias in sheaf neural networks. In Proceedings of the Geometry-grounded Representation Learning and Generative Modeling Workshop (GRaM), volume 251 of Proceedings of Machine Learning Research, pages 249–263, 2024.
[35] Shawn Im and Yixuan Li. A unified understanding and evaluation of steering methods. arXiv preprint arXiv:2502.02716, 2025.
[36] Shankar Iyer, Nikhil Dandekar, and Kornel Csernai. Quora question pairs. https://www.kaggle.com/c/quora-question-pairs, 2017.
[37] Hossein Javidnia. A gauge theory of superposition: Toward a sheaf-theoretic atlas of neural representations. arXiv preprint arXiv:2603.00824, 2026.
[38] Albert Q Jiang, Alexandre Sablayrolles, Arthur Mensch, Chris Bamford, Devendra Singh Chaplot, Diego de las Casas, Florian Bressand, Gianna Lengyel, Guillaume Lample, Lucile Saulnier, et al. Mistral 7B. arXiv preprint arXiv:2310.06825, 2023.
[39] Xinyan Jiang, Lin Zhang, Jiayi Zhang, Qingsong Yang, Guimin Hu, Di Wang, and Lijie Hu. Adaptive multi-subspace representation steering for attribute alignment in large language models. arXiv preprint arXiv:2508.10599, 2025.
[40] Simon Kornblith, Mohammad Norouzi, Honglak Lee, and Geoffrey Hinton. Similarity of neural network representations revisited. In International Conference on Machine Learning, pages 3519–3529. PMLR, 2019.
[41] Anatoly A. Krasnovsky. Measuring uncertainty in transformer circuits with effective information consistency. Automatic Documentation and Mathematical Linguistics, 59(Suppl 5):S423–S429, 2025.
[42] Yuanzhi Li, Sébastien Bubeck, Ronen Eldan, Allie Del Giorno, Suriya Gunasekar, and Yin Tat Lee. Textbooks are all you need II: phi-1.5 technical report. arXiv preprint arXiv:2309.05463, 2023.
[43] Lek-Heng Lim. Hodge laplacians on graphs. SIAM Review, 62(3):685–715, 2020. doi:10.1137/18M1223101.
[44] Stephanie Lin, Jacob Hilton, and Owain Evans. Truthfulqa: Measuring how models mimic human falsehoods. In Proceedings of the 60th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pages 3214–3252, Dublin, Ireland, 2022. Association for Computational Linguistics.
[45] Aleksandar Makelov, Georg Lange, Atticus Geiger, and Neel Nanda. Is this the subspace you are looking for? an interpretability illusion for subspace activation patching. In International Conference on Learning Representations, 2024.
[46] Quinn McNemar. Note on the sampling error of the difference between correlated proportions or percentages. Psychometrika, 12(2):153–157, 1947.
[47] Kevin Meng, David Bau, Alex Andonian, and Yonatan Belinkov. Locating and editing factual associations in GPT. In Advances in Neural Information Processing Systems, volume 35, pages 17359–17372, 2022.
[48] Emanuele Mule, Stefano Fiorini, Antonio Purificato, Federico Siciliano, Stefano Coniglio, and Fabrizio Silvestri. Directional sheaf hypergraph networks: Unifying learning on directed and undirected hypergraphs. In International Conference on Learning Representations (ICLR), 2026. URL https://arxiv.org/abs/2510.04727.
[49] OLMo Team. 2 OLMo 2 furious. arXiv preprint arXiv:2501.00656, 2025. COLM 2025.
[50] Kiho Park, Yo Joong Choe, and Victor Veitch. The linear representation hypothesis and the geometry of large language models. In International Conference on Machine Learning. PMLR, 2024.
[51] Alec Radford, Jeffrey Wu, Rewon Child, David Luan, Dario Amodei, and Ilya Sutskever. Language models are unsupervised multitask learners. OpenAI blog, 1(8):9, 2019.
[52] Maithra Raghu, Justin Gilmer, Jason Yosinski, and Jascha Sohl-Dickstein. SVCCA: Singular vector canonical correlation analysis for deep learning dynamics and interpretability. In Advances in Neural Information Processing Systems, volume 30, 2017.
[53] Nina Rimsky, Nick Gabrieli, Julian Schulz, Meg Tong, Evan Hubinger, and Alexander Turner. Steering Llama 2 via contrastive activation addition. In Proceedings of the 62nd Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pages 15504–15522. Association for Computational Linguistics, 2024. doi: 10.18653/v1/2024.acl-long.828.
[54] Michael T. Schaub, Yu Zhu, Jean-Baptiste Seby, T. Mitchell Roddenberry, and Santiago Segarra. Signal processing on higher-order networks: Livin’ on the edge... and beyond. Signal Processing, 187:108149, 2021.
[55] Jeffrey Seely. Sheaf cohomology of linear predictive coding networks. In NeurIPS 2025 Workshop on Symmetry and Geometry in Neural Representations, 2025. arXiv:2511.11092.
[56] Amit Singer and Hau-tieng Wu. Vector diffusion maps and the connection laplacian. Communications on Pure and Applied Mathematics, 65(8):1067–1144, 2012. doi: 10.1002/cpa.21395.
[57] Daniel Tan, David Chanin, Aengus Lynch, Brooks Paige, Dimitrios Kanoulas, Adrià Garriga-Alonso, and Robert Kirk. Analysing the generalisation and reliability of steering vectors. In Advances in Neural Information Processing Systems, volume 37, 2024.
[58] Adly Templeton, Tom Conerly, Jonathan Marcus, Jack Lindsey, Trenton Bricken, Brian Chen, Adam Pearce, Craig Citro, Emmanuel Ameisen, Andy Jones, et al. Scaling monosemanticity: Extracting interpretable features from claude 3 sonnet. Transformer Circuits Thread, 2024.
[59] Hugo Touvron, Louis Martin, Kevin Stone, Peter Albert, Amjad Almahairi, Yasmine Babaei, Nikolay Bashlykov, Soumya Batra, Prajjwal Bhargava, Shruti Bhosale, et al. Llama 2: Open foundation and fine-tuned chat models. arXiv preprint arXiv:2307.09288, 2023.
[60] Alexander Matt Turner, Lisa Thiergart, Gavin Leech, David Udell, Juan J. Vazquez, Ulisse Mini, and Monte MacDiarmid. Steering language models with activation engineering. arXiv preprint arXiv:2308.10248, 2023.
[61] Aaron van den Oord, Yazhe Li, and Oriol Vinyals. Representation learning with contrastive predictive coding. arXiv preprint arXiv:1807.03748, 2018.
[62] Jesse Vig, Sebastian Gehrmann, Yonatan Belinkov, Sharon Qian, Daniel Nevo, Yaron Singer, and Stuart Shieber. Investigating gender bias in language models using causal mediation analysis. In Advances in Neural Information Processing Systems, volume 33, 2020. URL https://arxiv.org/abs/2004.12265.
[63] Hieu M. Vu and Tan M. Nguyen. Angular steering: Behavior control via rotation in activation space. In Advances in Neural Information Processing Systems, 2025. arXiv:2510.26243.
[64] Zhengxuan Wu, Atticus Geiger, Jing Huang, Aryaman Arora, Thomas Icard, Christopher Potts, and Noah D. Goodman. A reply to makelov et al. (2023)'s "interpretability illusion" arguments. arXiv preprint arXiv:2401.12631, 2024.
[65] An Yang, Baosong Yang, Binyuan Hui, Bo Zheng, Bowen Yu, Chang Zhou, Chengpeng Li, Chengyuan Li, Dayiheng Liu, Fei Huang, et al. Qwen2 technical report. arXiv preprint arXiv:2407.10671, 2024.
[66] Manjiang Yu, Hongji Li, Priyanka Singh, Xue Li, Di Wang, and Lijie Hu. PIXEL: Adaptive steering via position-wise injection with eXact estimated levels under subspace calibration. arXiv preprint arXiv:2510.10205, 2025.
[67] Jure Zbontar, Li Jing, Ishan Misra, Yann LeCun, and Stéphane Deny. Barlow twins: Self-supervised learning via redundancy reduction. In Proceedings of the 38th International Conference on Machine Learning, volume 139 of Proceedings of Machine Learning Research, pages 12310–12320, 2021.
[68] Yuan Zhang, Jason Baldridge, and Luheng He. PAWS: Paraphrase adversaries from word scrambling. In Proceedings of the 2019 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, pages 1298–1308, 2019.
[69] Andy Zou, Long Phan, Sarah Chen, James Campbell, Phillip Guo, Richard Ren, Alexander Pan, Xuwang Yin, Mantas Mazeika, Ann-Kathrin Dombrowski, Shashwat Goel, Nathaniel Li, Michael J. Byun, Zifan Wang, Alex Mallen, Steven Basart, Sanmi Koyejo, Dawn Song, Matt Fredrikson, J. Zico Kolter, and Dan Hendrycks. Representation engineering: A top-down approach to AI transparency. arXiv preprint arXiv:2310.01405, 2023.
Appendix Contents
A Theoretical Foundations ..... 15
A.1 Algebraic on Richer Topologies ..... 15
A.2 Simplicial Complex Variants and Scale-Up ..... 16
A.3 Harmonic Mass vs Steering Fragility ..... 18
A.4 Geometric Picture: Where Lives ..... 18
A.5 Proof of the Reduction and Spectral Validation ..... 18
B Additional Experiments ..... 19
B.1 Cross-Dataset Generalization ..... 19
B.2 Steering Magnitude Sweep ..... 19
B.3 Cycle-Aware (Multi-Paraphrase Rings) ..... 19
B.4 Restriction Map Sensitivity ..... 20
B.5 Retrieval Baseline Comparison ..... 21
B.6 Sheaf Eigenbasis Ablation ..... 22
B.7 Dormancy and the Subspace-Patching Illusion ..... 22
B.8 Cross-Lingual Invariance Probe ..... 23
B.9 Per-Architecture Layer Profiles ..... 23
B.10 McNemar Tests with BH Correction ..... 23
B.11 PIXEL Head-to-Head on CounterFact ..... 24
B.12 Holonomy Null Calibration ..... 24
B.13 Node-Space Operationalizations ..... 25
B.14 SSL Collapse Prevention (Per-Architecture) ..... 25
B.15 MLST on STS-B (Full Table) ..... 25
C Reproducibility ..... 26
C.1 Hyperparameter Sensitivity ..... 26
C.2 Experimental Details ..... 27
C.3 Practitioner Guidance ..... 28
C.4 NeurIPS Paper Checklist ..... 28
A Theoretical Foundations
A.1 Algebraic on Richer Topologies
On the matching graph used in the main paper, algebraically because the graph is acyclic and is surjective. To produce a topology with , we construct three complexes from the same 300 activation vectors (60 facts, 5 paraphrases each):
-
Matching graph (paper baseline): 300 nodes, 120 edges (one per paraphrase pair), 0 faces. Algebraic .
-
Fact clique (filled): 300 nodes, 600 edges (all pairs), 600 filled triangles. Each clique is simply connected, so (though ).
-
Relation hypergraph (unfilled cycles): 300 nodes, 360 edges (a five-node ring per fact, 300 edges, plus a ring per relation through the first paraphrase of each of its ten facts, 60 edges), 0 filled faces. Creates non-contractible cycles, yielding .
The relation rings join facts that share a relation (e.g., all country-capital facts). This complex carries cycles that no 2-simplex fills. Cohomology dimensions here are computed with trivial coefficients on the underlying simplicial complex; with learned Procrustes transports the sheaf cohomology of the induced learned-Q sheaf can differ, and the cycle holonomies in Appendix B.12 are a separate probe of that twist.
Hodge harmonic fraction. On random unit edge cochains (uniform random direction per edge), we compute two fractions of cochain energy: the part in , the orthogonal complement of , and the harmonic part in . The two coincide on face-free complexes ( ). For a random cochain the expected harmonic fraction is exactly .
The relation hypergraph has expected harmonic fraction exactly , independent of architecture; the measured 18.4% is within probe noise. The filled cliques put 60% of
Table 5: Genuine cohomology and Hodge harmonic fraction across architectures and topologies.
| Topology | (algebraic) | frac. | Harmonic frac. | ||
|---|---|---|---|---|---|
| Matching (acyclic) | 180 | ||||
| Clique (filled) | 60 | ||||
| Relation hypergraph |
the energy outside , but all of it is coexact (every cycle is a sum of triangle boundaries), so their harmonic fraction is zero.
Six-model LEACE table (whole 60-fact set).
Table 6: LEACE vs sheaf on 60-fact retrieval (20 dimensions, top-1 against all 60 facts). LEACE is fitted on paraphrase versus non-paraphrase fact prompts, and sheaf uses the joint-PCA restriction map.
| Model | Full | (20D) | LEACE preserved | LEACE erased | PCA-20 | Random-20 |
|---|---|---|---|---|---|---|
| GPT-2 | 85.3% | 95.7% | 85.0% | |||
| Phi-2 | 97.3% | 93.0% | 97.3% | |||
| Qwen-2.5-7B | 73.3% | 82.0% | 75.0% | |||
| OLMo-2-7B | 100% | 97.0% | 100% | |||
| Mistral-7B | 100% | 80.7% | 100% | |||
| Gemma-2-9B | 99.3% | 83.7% | 99.3% |
On the same 300 vectors, Table 6 compares sheaf with LEACE. Sheaf outperforms LEACE preserved by up to 10.7pp on GPT-2 and Qwen-2.5-7B and outperforms full-space on those models despite using 20 of 768–3584 dimensions. LEACE makes the smallest least-squares edit that makes a binary concept (paraphrase vs non-paraphrase) linearly unpredictable; the sheaf identifies directions of minimal within-pair variation. LEACE-erased correctly destroys information (1–3%), validating the comparison.
A.2 Simplicial Complex Variants and Scale-Up
The body uses 1-skeletons and edge dimension . We test whether its numbers depend on either choice: we fill the multi-layer grid into a 2-complex, fill the paraphrase cliques of the relation hypergraph, and rerun Table 1 at and .
Triangulated multi-layer grid. Section 4.1 explains why filling each square with two 2-simplices sends and the harmonic mass to zero; this appendix reports the numbers on that 2-complex.
A diagonal edge from to carries , the vertical-edge formula across the pair. The architecture-dependent quantity that survives is the coexact fraction: the energy of the orthogonal projection of onto , which is determined by the curl . This is the model-implied 2-cochain on the filled triangles, equivalently the curl (circulation) of around each filled triangle, i.e. the mismatch between the diagonal-then-horizontal and vertical-then-diagonal path sums.
The coexact fraction in Table 7 reproduces the split of Table 1 at every : the three robust architectures stay below and the three fragile ones lie between and . The same content that the 1-skeleton's harmonic mass picked up has migrated, in the 2-complex, into the coexact direction: the layer transitions still fail to commute with paraphrase equivalence on the same architectures, but now that failure decomposes into the part the 2-skeleton can absorb (coexact) rather than into a topological harmonic class.
Triangulated relation hypergraph. Filling each fact's paraphrase 5-clique with all triangles makes each fact simply connected, so the 60 within-fact 1-cycles become 1-boundaries. Across the whole complex this gives (one component per relation), (the relation cycles, which are the only cycles that span more than one fact), and (each 2-skeleton has , and there are 60 facts). Random unit edge cochains have a measured Hodge harmonic
Table 7: Triangulated multi-layer grid (each square filled with two triangles sharing a diagonal). Edge dim , 30 MRPC paraphrase pairs. for every architecture and every , so has no harmonic component (Hodge harmonic mass collapses to machine precision). Reported quantities: model-derived norm squared, coexact fraction (energy explained by the 2-skeleton), and face-cochain norm squared . Mistral-7B and Llama-3-8B place under on the 2-skeleton and Qwen-2.5-7B under , while GPT-2, Phi-2 and Llama-2-7B place .
| Architecture | ||||||
|---|---|---|---|---|---|---|
| coexact | coexact | coexact | ||||
| Mistral-7B | 0.0000 | 0.0002 | 0.0006 | |||
| Llama-3-8B | 0.0005 | 0.0026 | 0.0075 | |||
| Qwen-2.5-7B | 0.0003 | 0.0255 | 0.0247 | |||
| GPT-2 (124M) | 0.0544 | 0.1219 | 0.1014 | |||
| Phi-2 | 0.0572 | 0.1895 | 0.1970 | |||
| Llama-2-7B | 0.0759 | 0.0815 | 0.0623 | |||
mass of on this 2-complex (expected ), down from on the 1-skeleton ring (Table 5); the Hodge mass is determined by the topology and the stalk dimension and is identical across architectures by construction.
The 6 surviving harmonic 1-forms are exactly the relation cycles. The new harmonic 2-forms do not pull back to interpretable structure on the residual stream: the model-implied 2-cochain is zero to machine precision under shared-PCA restriction maps (every transport is identity, every cochain is exact via the node potential ), so the 2-complex carries no degree-2 cohomological obstruction beyond what the 1-skeleton already encodes. With per-node restriction maps and learned Procrustes transports the situation can change; we leave the heterogeneous-restriction probe to future work.
Edge-dimension scale-up. The body Table 1 uses . To check whether the variation across architectures, their ordering by Hodge mass, and the body numbers hold at higher , we rerun the same multi-layer grid construction at () and at (, since is capped by ).
Table 8: Multi-layer matching grid Hodge harmonic mass across edge dimensions. The body Table 1 reports . Increasing keeps the three robust architectures below the three fragile ones at every and widens the span to more than three orders of magnitude. The row uses paraphrase pairs to make the requested admissible (otherwise is capped at ).
| Architecture | ||||||
|---|---|---|---|---|---|---|
| Mistral-7B | 0.00003 | 0.0002 | 0.0005 | 0.00002 | 0.0002 | 0.0005 |
| Llama-3-8B | 0.0005 | 0.0022 | 0.0061 | 0.0004 | 0.0017 | 0.0049 |
| Qwen-2.5-7B | 0.0003 | 0.0234 | 0.0248 | 0.0003 | 0.0191 | 0.0215 |
| GPT-2 (124M) | 0.050 | 0.112 | 0.101 | 0.041 | 0.081 | 0.084 |
| Phi-2 | 0.054 | 0.180 | 0.197 | 0.053 | 0.156 | 0.180 |
| Llama-2-7B | 0.067 | 0.077 | 0.065 | 0.083 | 0.093 | 0.078 |
At every and every the three robust architectures (Mistral-7B, Llama-3-8B, Qwen-2.5-7B) stay below the three fragile ones (GPT-2, Phi-2, Llama-2-7B), and Mistral-7B is the lowest (tied with Qwen-2.5-7B at , ). The span widens to more than three orders of magnitude ( to ). Within the fragile three the order shifts with and : Llama-2-7B is highest at , and Phi-2 is highest at . The body's values ( on Mistral-7B and Qwen-2.5-7B, on Llama-3-8B, on Llama-2-7B) hold at every edge dimension.
A.3 Harmonic Mass vs Steering Fragility (Per-Model)
Table 1 lists the two quantities behind the test in §5.4: multi-layer Hodge harmonic mass (L = 2) and steering fragility. Fragility is fact preservation on CounterFact under a random direction norm-matched to 0.3 times the hidden-state norm at layer (lower means more fragile), n = 1000 prompts per model (200 for Phi-2), scored with the same criterion as Table 4. The two quantities come from disjoint measurements (MRPC layer transitions vs. CounterFact steering). The rank correlation is (exact one-sided permutation p = 0.014 over 720 rankings), and the sole rank inversion, Qwen-2.5-7B vs. Llama-3-8B, is within sampling error (34.3% vs. 36.0% at n = 1000).
A.4 Geometric Picture: Where Lives

Figure 3: Schematic of the multi-layer matching sheaf, a frame from an animation. Each slab is one layer l, and struts join the same sentence at adjacent layers through the Procrustes transport . A path up one strut, across layer , and down another strut closes an inter-layer square. These squares give the grid its independent cycles and carry the harmonic mass. The slab shapes are illustrative and carry no topology of their own.
A.5 Proof of the Reduction and Spectral Validation
Proof of Proposition 3.1. On the matching graph with a single shared and identity transports, each edge cochain is with . Hence
which is (i). For unit , , which is (iii). The Fisher baseline replaces the standard eigenproblem with the generalized one , which is (ii). For Remark 3.2: with per-node maps the edge cochain is , and contains the cross-terms , which do not factor through a single .
Numerical sanity check. In exact arithmetic the assembled Laplacian on has dim ker = dim - rank( ). We check that the eigenvalue-threshold estimate matches the rank-based one on GPT-2 with 50 MRPC pairs (edge dimension , the cap min(64, , ) used by the script):
• Spectral dimension (eigenvalues ): 49
• Algebraic dimension (dim on the assembled coboundary matrix): 50
• Coboundary test: for all features tested
The two estimates agree up to one near-threshold eigenvalue ( , just above the cutoff).
B Additional Experiments
B.1 Cross-Dataset Generalization
We test out-of-domain transfer for retrieval on held-out CounterFact (Table 9): fit the joint-PCA on MRPC, PAWS, or QQP paraphrase pairs () instead of CounterFact training facts, then apply it to identical CounterFact test centroids and queries. Across eight architectures, in-domain averages , out-of-domain averages , PCA-20 (no kernel) , and Random-20 . Cross-domain retains kernel-selection benefit over no-kernel baselines (+5 to +30 pp) but loses pp relative to in-domain. The within-pair structure that captures is therefore partially domain-specific: news paraphrases (MRPC), adversarial near-duplicates (PAWS), and question paraphrases (QQP) all transfer non-trivially, but a fact-distinguishing retrieval task benefits from fact-domain . This is a limitation, and we recommend in-domain when the downstream retrieval domain is fixed.
Table 9: Cross-dataset restriction-map transfer (held-out CounterFact, hard same-relation retrieval, ). is fit with from the source on the left and evaluated on the same CounterFact test set. Out-of-domain retains +5 to +30 pp over no-kernel baselines but loses pp relative to in-domain .
| Model | CF (in-domain) | MRPC | PAWS | QQP | PCA-20 | Random-20 |
|---|---|---|---|---|---|---|
| GPT-2 | 85.3 | 55.1 | 63.9 | 59.1 | 24.6 | 39.1 |
| Phi-2 | 87.1 | 57.3 | 61.6 | 57.6 | 37.2 | 55.1 |
| Mistral-7B | 87.1 | 57.8 | 65.9 | 61.2 | 34.5 | 59.2 |
| OLMo-2-7B | 82.8 | 64.1 | 60.5 | 57.6 | 35.7 | 62.3 |
| Qwen-2.5-7B | 64.1 | 47.0 | 53.3 | 56.7 | 37.5 | 43.7 |
| Gemma-2-9B | 77.9 | 48.3 | 47.9 | 51.0 | 27.5 | 43.5 |
| Llama-2-7B | 80.4 | 60.5 | 60.0 | 53.5 | 22.3 | 50.7 |
| Llama-3-8B | 88.0 | 56.9 | 65.5 | 60.5 | 24.4 | 55.9 |
| Mean | 81.6 | 55.9 | 59.8 | 57.1 | 30.5 | 51.2 |
B.2 Steering Magnitude Sweep
We sweep on Mistral-7B and Llama-3-8B. At moderate magnitudes (), sheaf-derived methods outperform random steering on both models (+1.0–2.0pp). At high magnitudes (), concentrated influence causes over-perturbation on robust models, and random becomes competitive. This tradeoff drives the practical recommendations in Appendix C.3.
B.3 Cycle-Aware : Multi-Paraphrase Rings
The body retrieval pipeline uses a pair-only graph (each fact contributes a chain of paraphrase edges; the resulting forest has ). We test whether constraining all paraphrases of a fact jointly gives better for retrieval, and whether any gain comes from the cycle itself.
Construction. For each fact with paraphrases (capped at 5), we build a multi-paraphrase ring: a closed cycle on the paraphrases. With facts, the ring complex has edges and cycles ( cycles). The kernel of on this ring requires invariance across all paraphrases of each fact, not just pairwise. Pair-only and ring share the same node activations and the same joint-PCA ; only the edge set (and therefore the cycle structure) differs.
Both constructions win on every architecture, mean +6.5 pp over pair-only, and ring and clique differ by 0.1 pp on average, so edge density adds nothing beyond the ring.
Edge-count-matched control. To separate the joint constraint from the cycle, we compare the five-node ring (5 edges, ) with an acyclic path over six paraphrases of the same fact (5 edges, ), on the pool of facts with at least six paraphrases, with paired bootstrap CIs over held-out facts. The path improves over pairs by +7.7 pp on average across the eight architectures, and the ring
Table 10: Cycle-aware for hard-CounterFact retrieval. Both multi-paraphrase rings () and full paraphrase cliques () beat the pair-only acyclic forest () on all eight architectures, mean +6.5 pp. Ring and clique perform within 0.1 pp of each other.
| Model | pair () | ring () | clique () | ||
|---|---|---|---|---|---|
| GPT-2 | 87.4 | 90.7 | 89.2 | +3.4 | +1.8 |
| Phi-2 | 83.1 | 89.6 | 90.5 | +6.5 | +7.4 |
| Mistral-7B | 86.7 | 89.8 | 91.4 | +3.2 | +4.7 |
| OLMo-2-7B | 84.4 | 91.4 | 91.4 | +7.0 | +7.0 |
| Qwen-2.5-7B | 62.3 | 71.8 | 70.7 | +9.5 | +8.4 |
| Gemma-2-9B | 75.2 | 84.0 | 84.7 | +8.8 | +9.5 |
| Llama-2-7B | 80.8 | 88.9 | 89.6 | +8.1 | +8.8 |
| Llama-3-8B | 86.5 | 92.3 | 90.7 | +5.9 | +4.3 |
| Mean | 80.8 | 87.3 | 87.3 | +6.5 | +6.5 |
exceeds the path by +0.5 pp on average, with the 95% CI including zero on all eight. The gain is therefore carried by constraining all of a fact’s paraphrases jointly; the cycle-closing difference is the sum of the path differences and adds no constraint on exact global sections.
B.4 Restriction Map Sensitivity
We evaluate three restriction maps: PCA (parameter-free), CCA (correlation-maximizing), and contrastive (Fisher discriminant). The optimal map is architecture-dependent: CCA gives +2.2pp on Mistral-7B (, ), while contrastive gives 31.0% vs 4.2% on Llama-2-7B ( improvement, ). Figure 4 compares three of the four CounterFact-evaluated architectures (Llama-2-13B’s smaller method grid appears only in Table 4) across Random, CAA, PIXEL, sheaf , and the architecture-matched best sheaf method; the architecture-dependent pattern (sheaf wins outright on fragile, and is statistically tied with random on robust) is visible across rows.
Restriction-map ablation: PCA vs random vs identity. Table 11 reports the full restriction-map ablation summarised in §5.2. We compute on the same activations under three regimes: PCA-P (current method, joint-PCA top-128 PCs), random orthonormal (5 seeds), and identity (no projection; bottom-20 eigenvectors of in the full -dim residual stream). Hard-CounterFact retrieval, top-1 accuracy with same-relation distractors, facts.
Table 11: Restriction-map ablation (8 architectures, hard-CounterFact retrieval). from ker recovers content directions whether is joint-PCA, a random orthonormal projection, or absent.
| Model | PCA-P | random-P | identity-P | PCA-20 (no kernel) | Random-20 |
|---|---|---|---|---|---|
| GPT-2 | 85.3 | 79.0 | 24.6 | 39.1 | |
| Phi-2 | 87.1 | 78.8 | 37.2 | 55.1 | |
| Mistral-7B | 87.1 | 83.3 | 34.5 | 59.2 | |
| OLMo-2-7B | 82.8 | 79.7 | 35.7 | 62.3 | |
| Qwen-2.5-7B | 64.1 | 62.3 | 37.5 | 43.7 | |
| Gemma-2-9B | 77.9 | 76.5 | 27.5 | 43.5 | |
| Llama-2-7B | 80.4 | 80.1 | 22.3 | 50.7 | |
| Llama-3-8B | 88.0 | 79.9 | 24.4 | 55.9 | |
| Mean | 81.6 | 74.2 | 77.5 | 30.5 | 51.2 |
Identity-P (no data-dependent projection) lands within 4.1 pp of PCA-P on average, and beats PCA-without-kernel by +47 pp. Random-P averaged over 5 seeds lands within 8 pp of PCA-P. The kernel selection recovers the content, and the joint-PCA shrinks the eigenproblem from to . On its own, does not select content directions.
B.5 Retrieval Baseline Comparison
We compare sheaf to classical subspace and representation-learning baselines on the same task (Table 12): LDA, CCA, PLS, top-20 PCA, and metric learning (NCA), under the same held-out hard-CounterFact protocol as Table 2 (same activations, 70/30 fact split, 20-dimensional budget, top-1 scorer). This is an independent re-run: the sheaf and Full columns differ from Table 2 by under 1 pp (seed and sampling), so every method here is scored on one consistent run. Whitened PCA (W-PCA) scales each of the top-20 principal directions by on centred activations. Its column comes from a separate run under the same protocol, and whitening lifts PCA-20 by up to 17 pp but stays 27 to 48 pp below sheaf . LDA and NCA use fact-identity labels; sheaf , CCA, PLS, PCA-20, and W-PCA are label-free. Sheaf beats every label-free alternative by +9 to +36 pp on all eight architectures and, on average, lands within pp of the label-requiring discriminative ceiling (per-architecture gap up to 8 pp on Qwen), winning outright on Phi-2, Gemma-2, and Llama-3. Supervised sentence encoders (SimCSE 97.5%, a sentence-transformer 99.1%) import large-scale paraphrase supervision, so we list them only for reference. Unlike LDA and NCA, the sheaf operator also yields the influence subspace, the steering decomposition, and the harmonic-mass fragility diagnostic from the same construction.
Table 12: Retrieval baseline comparison (held-out hard-CounterFact, top-1 %, , same protocol as Table 2). Label-free: sheaf , CCA, PLS, PCA-20 (top-20 principal components without kernel selection, as in Table 2), W-PCA (the same 20 components whitened, each scaled by on centred activations). Label-requiring: LDA, NCA. Sheaf bold where it beats both LDA and NCA.
| Model | Sheaf | LDA | NCA | CCA | PLS | PCA-20 | W-PCA | Full |
|---|---|---|---|---|---|---|---|---|
| GPT-2 | 84.9 | 87.4 | 88.3 | 47.9 | 49.0 | 24.4 | 39.5 | 43.1 |
| Phi-2 | 87.6 | 84.9 | 83.3 | 58.9 | 64.1 | 37.9 | 42.7 | 69.1 |
| Mistral-7B | 86.9 | 90.1 | 88.3 | 60.7 | 63.7 | 34.3 | 45.1 | 77.4 |
| OLMo-2-7B | 82.6 | 88.5 | 86.9 | 62.8 | 67.5 | 36.6 | 37.2 | 81.3 |
| Qwen-2.5-7B | 64.8 | 72.5 | 72.9 | 50.8 | 56.0 | 36.6 | 38.1 | 50.3 |
| Gemma-2-9B | 77.4 | 76.1 | 76.3 | 51.2 | 50.1 | 27.3 | 37.2 | 54.4 |
| Llama-2-7B | 80.6 | 83.5 | 84.4 | 49.7 | 49.9 | 21.9 | 39.3 | 68.2 |
| Llama-3-8B | 87.8 | 86.5 | 86.0 | 53.3 | 55.5 | 24.4 | 39.3 | 72.7 |
| Mean | 81.6 | 83.7 | 83.3 | 54.4 | 57.0 | 30.4 | 39.8 | 64.6 |

Figure 4: Steering on CounterFact at ( per model) for the three architectures with a PIXEL run. The hatched bar on Llama-3-8B repeats the PCA value, since that model has no CCA or contrastive run. On fragile Llama-2-7B, random steering collapses to and the contrastive sheaf leads at . On robust Mistral-7B, the CCA sheaf and random tie ( vs. ). On Llama-3-8B, PIXEL and random lead. Same data as Table 4 and Appendix B.11.
B.6 Sheaf Eigenbasis Ablation
This ablation uses the eigenbasis of directly. At every other layer, is the top 20 eigenvectors of with the joint-PCA restriction map (), fit on mean-pooled block outputs of 200 MRPC paraphrase pairs, and is the bottom 20. On 100 held-out MRPC sentences, the block output is projected onto the orthogonal complement of the subspace at every position, the rest of the forward pass runs, and the effect is the KL divergence of the next-token distribution at the final position. The control is 20 Haar-random 20-dimensional subspaces, which are not matched to in activation energy; Table 3 is the variability-matched comparison. Table 13 reports, per model, the ratio of mean KL ( over random) as the median and range over layers, the smallest fraction of prompts over layers for which exceeds all 20 random draws, and the median ratio.
Table 13: Sheaf eigenbasis ablation: ratio of mean next-token KL from projecting out (top 20 eigenvectors of ) to that from 20 random 20-dimensional subspaces at every other layer. Median and range are over layers. The prompts column is the smallest fraction over layers of held-out prompts on which exceeds all 20 draws.
| Model | Layers | /random, median | Range | Prompts | /random, median |
|---|---|---|---|---|---|
| GPT-2 (124M) | 6 | 17.8× | 13.7–53.5 | 99% | 0.19 |
| Phi-2 | 16 | 84.1× | 18.4–122 | 97% | 0.56 |
| Mistral-7B | 16 | 398× | 70.0–3075 | 100% | 0.54 |
| Qwen-2.5-7B | 14 | 127× | 78.7–293 | 99% | 0.45 |
| OLMo-2-7B | 16 | 182× | 112–1048 | 100% | 2.21 |
| Gemma-2-9B | 21 | 240× | 75.8–1211 | 100% | 0.74 |
| Llama-2-7B | 16 | 287× | 102–2283 | 100% | 0.32 |
| Llama-3-8B | 16 | 176× | 75.7–409 | 100% | 0.29 |
| Llama-2-13B | 20 | 327× | 191–645 | 100% | 0.47 |
B.7 Dormancy and the Subspace-Patching Illusion
Makelov et al. [45] describe an illusion for interchange patching, with , where variation along a causally disconnected direction activates a dormant one. Section 5.3 instead zero-ablates the subspace, projecting activations onto its orthogonal complement. Two checks rule out a dormant-pathway reading. A dormant direction is one that is not differentially active on-distribution, so we measure the on-distribution projection spread of , , and five variance-matched random subspaces of the same dimension, norm, and eigenspectrum, then ablate each and read fact recall off the greedy 50-token continuation of the bare CounterFact prompt, which does not contain the answer ( for GPT-2 and 150 for the 7B models). directions are the least dormant subspace we measure, and ablating them collapses recall while the matched random ablation leaves it at baseline (Table 14); GPT-2 recalls only of these facts unaided, so its row is the weakest. The generated text itself changes, so the effect is behavioural and does not rest on the tail of the KL distribution. On GPT-2 the intervention KL ratio is ; on the 7B models it saturates numerically (median raw KL 7.1 vs. 0.003 nats on Mistral-7B), so the recall collapse is the evidence we rely on there.
Table 14: Dormancy and behavioural ablation. Dormancy ratio is the on-distribution projection spread of divided by the mean spread of variance-matched random subspaces. Recall is the fraction of greedy continuations of the bare prompt that contain the target entity. Layer , , five random draws, seed 42.
| Model | Dormancy ratio (/random) | Recall, no ablation | ablated | Random ablated |
|---|---|---|---|---|
| GPT-2 | 2.5× | 15.0% | 2.0% | 7.5% |
| Mistral-7B | 6.6× | 46.7% | 0.0% | 47.0% |
| Llama-2-7B | 5.6× | 47.3% | 4.7% | 48.7% |
B.8 Cross-Lingual Invariance Probe
Nothing in the construction is paraphrase-specific: it needs a grouping of contexts asserted to be equivalent and their activations. As a transfer check we use English–French translation pairs from OPUS-100 as sheaf edges on Llama-3-8B (layer 21, edge dimension 128, , seed 42), fit on 100 pairs, and evaluate top-1 translation retrieval on 100 disjoint held-out pairs (Table 15). The kernel retains cross-lingual retrieval and matches or exceeds the full 4096-dimensional hidden state in the EN→FR direction, while the complement discards it. The decomposition separates translation-invariant content from language-specific variation as it does for paraphrase; a full cross-lingual study is future work.
Table 15: Held-out cross-lingual retrieval on Llama-3-8B (top-1 %, 100 test pairs, fit on 100 disjoint training pairs).
| Subspace | FR→EN | EN→FR |
|---|---|---|
| kernel (20-dim) | 76 | 78 |
| complement | 6 | 3 |
| Full hidden state (4096-dim) | 82 | 59 |
B.9 Per-Architecture Layer Profiles
The three-depth runs (Table 3, protocol b) measure the -to-control ratio at , and for all nine architectures (Figure 5). The peak depth varies by architecture: for GPT-2, Mistral-7B, Llama-3-8B, Llama-2-7B, Llama-2-13B, Phi-2 and Qwen-2.5-7B, and for OLMo-2-7B and Gemma-2-9B. Three depths per model cannot resolve a layer-wise shape. For GPT-2, Llama-2-7B, Llama-3-8B and Llama-2-13B, the table reports the separate 1000-sentence run at (protocol a).

Figure 5: -to-control effect ratio (protocol of Table 3) at three depths per architecture, , and , plotted against normalized depth (layer index over number of layers). Stars mark each architecture's largest measured ratio, and points are offset slightly in depth so overlapping peaks stay visible. Only measured points are shown. The GPT-2 and Llama values here come from protocol and differ from their protocol- rows in Table 3.
B.10 McNemar Tests with Multiple Comparisons Correction
All main comparisons (sheaf vs. random, sheaf vs. Fisher) are evaluated via McNemar's test ( per model) with Benjamini-Hochberg correction for 16 simultaneous tests (). 13 of 16 tests survive correction, with the largest effects on Llama-2-7B (Cohen's , ).
B.11 PIXEL Head-to-Head on CounterFact
PIXEL [66] (Yu et al., 2025) extracts steering directions per layer using two complementary views of the prompt: tail-averaged hidden states (mean over the last prompt tokens) and the end-token hidden state. Differences between paired positive and negative samples are stacked across the two views and the top principal direction (weighted PCA, ) is taken as the unit direction per layer. At inference time, for each (layer, prompt-position) site, a closed-form per-position magnitude is computed:
where is the target z-score (we use the PIXEL default ) and is the original direction norm (here ).
We reimplement PIXEL's direction extraction and per-position magnitude as published, but use a single global direction (extracted once from the casual/formal CAA pairs) rather than per-question directions, since CounterFact has no per-question gating signal analogous to PIXEL's MC2 score on TruthfulQA. We inject only at the last prompt positions during the prompt forward pass. Repetition penalty (1.3), greedy decoding, 100 max-new-tokens, layer ( ), and 4-bit quantization match §5.4; the only difference between PIXEL and our other methods is the direction-extraction recipe and the per-position magnitude calibration.
We run PIXEL at with , which gives the closed form full freedom (results in Table 4). PIXEL exhibits the same architecture-dependent fragility pattern documented for our methods: it strongly improves over CAA on fragile Llama-2-7B but gets approached or beaten by random on robust Mistral-7B. This supports the architecture-diagnostic interpretation: the influence-concentration mechanism ( ) is shared across direction-extraction recipes. PIXEL's dual-view direction extraction is a stronger choice than CAA's mean-of-differences, but the closed-form per-position calibration does not overcome architecture fragility. Contrastive sheaf steering with the architecture-matched restriction map remains the strongest single method on Llama-2-7B (31.0%); CCA sheaf steering is strongest on Mistral-7B (41.6%); no sheaf method beats random on Llama-3-8B at .
What we did not implement: PIXEL's per-question soft-gating uses a labeled MC2 score on TruthfulQA, which CounterFact does not expose; we use a single global direction. PIXEL's continuation-position injection (the “include-pred” option) requires modifying activations during incremental decoding with KV cache, which would constitute a larger surgery than the direction-vs-direction comparison we want here. PIXEL's residual_scale and auto-flip are tuned per benchmark in their paper; we keep both at default (1.0, no flip) and rely on sign-aligned PCA. These simplifications affect only the magnitude side of PIXEL; the direction-extraction recipe (the contribution most relevant to the head-to-head with our direction) follows the original.
B.12 Holonomy Null Calibration
We calibrate the cycle-holonomy obstruction against two nulls and a finite-sample stability check (full data in Table 16). All numbers use edge dim , 11 fundamental cycles, layer for GPT-2 and for the others, and 6 token samples per node.
Shuffled-paraphrase null. For each of 20 seeds, randomly permute which paraphrase belongs to which fact within each relation. Refit per-node PCA and Procrustes transports on the shuffled assignments. Recompute holonomy. Observed obstructions sit 0.10–0.29 above the shuffled null on all four architectures, and none of the differences is significant (one-sided ).
Bootstrap on tokens-per-node. Refit and using token samples per node. On all four architectures the obstruction falls as grows (from 3.1–4.4 at to 2.2–2.8 at ), so part of the observed magnitude is finite-sample noise in the Procrustes fits, which are underdetermined when .
Identity-transport sanity. Setting every gives to machine precision, and on synthetic flat data, where every true holonomy is , the pipeline recovers .
Table 16: Holonomy null calibration on the relation hypergraph. “Observed” = real paraphrase assignments. “Shuffled null” = mean over 20 within-relation paraphrase shuffles. is the one-sided permutation -value for , smaller meaning observed obstruction exceeds null. Bootstrap- obstructions are mean std over 11 cycles at the listed token count.
| Observed | Shuffled | p | N=2 | N=3 | N=4 | N=6 | |
|---|---|---|---|---|---|---|---|
| GPT-2 (124M) | 2.92 | 2.78 | 0.24 | 3.09 | 3.15 | 2.55 | 2.43 |
| Mistral-7B | 2.52 | 2.42 | 0.33 | 3.20 | 3.31 | 2.64 | 2.18 |
| Qwen-2.5-7B | 3.13 | 2.84 | 0.10 | 3.82 | 3.43 | 2.90 | 2.78 |
| Phi-2 | 3.01 | 2.76 | 0.24 | 4.37 | 3.37 | 3.28 | 2.36 |
Cycle holonomy on the relation hypergraph is therefore far from Haar-random but not distinguishable from a shuffled-paraphrase null at this sample size: the transports carry relation structure that survives reassigning paraphrases within a relation, and no architecture shows a fact-specific holonomy signal.
B.13 Node-Space Operationalizations of Relation-Hypergraph
The relation hypergraph (§4.2) yields algebraically and Hodge harmonic mass. Lifting this back into node space did not yield a downstream win.
Harmonic projection as features. Project node activations onto the harmonic subspace pulled back to the node stalks via adjoints. On 60-fact retrieval (§5.2, hard same-relation negatives), the harmonic projection retrieves at , below the random-20 baseline ( on GPT-2). The harmonic component encodes obstruction to gluing rather than fact identity; cycle-stable directions are stable across a relation, not within a fact, so the basis is mismatched to the retrieval target.
This result leaves the algebraic content intact, since the spectrum and Hodge mass in Appendix A.1 establish it independently. It bounds the immediate downstream usefulness of node-space projections of relation-hypergraph for retrieval. Untested directions include cycle-aware steering, supervised features on the harmonic basis, and per-node restriction maps trained for downstream prediction.
B.14 Sheaf-Regularized SSL Collapse Prevention (Per-Architecture)
Per-architecture results referenced in §7. A two-hidden-layer MLP encoder () is trained on 300 MRPC paraphrase pairs for 1500 Adam steps under three loss regimes. Naive MSE and pure collapse the encoder (effective rank 14–42/64 with pair MSE indistinguishable from zero); holds effective rank in a tight 57–60/64 band across all seven architectures.
B.15 MLST on STS-B (Full Table)
Multi-Layer Sheaf Consistency Training compared against frozen baseline, SimCSE, and VICReg on STS-B Spearman/Pearson. Frozen encoders, edge dim ; trainable per-layer projections and transitions ; 2000 Adam steps on MRPC paraphrase pairs (positive labels only). GPT-2 with layers and 10 seeds; Mistral-7B with layers and 5 seeds; same hyperparameters in both. The nosheaf ablation drops the -transitions and the cycle-holonomy term, keeping only per-layer paraphrase consistency with the variance/covariance regulariser. Read-out modes: ; stacked; section = concat together with -transported predictions .
Paired-t tests on per-seed Spearman, GPT-2 (): MLST-nosheaf-concat – VICReg , ; MLST-section – VICReg , ; MLST-section – SimCSE , ; MLST-section – MLST-nosheaf-concat , . Mistral-7B (): MLST-section – VICReg , ; MLST-nosheaf-concat – VICReg , ; MLST-section – SimCSE , . Cross-architecture rank-correlation across the eight trained methods is , . The robust positive finding on both architectures is multi-layer projection + variance/covariance
| Embedding | Loss | Top-1 frac. | Effective rank | Feature var. | Pair MSE |
|---|---|---|---|---|---|
| GPT-2 (768D) | Naive MSE | 0.149 | 16.0/64 | 0.006 | 0.0000 |
| only | 0.151 | 16.6/64 | 0.008 | 0.0000 | |
| 0.109 | 58.5/64 | 4991 | 0.0149 | ||
| Mistral-7B (4096D) | Naive MSE | 0.134 | 34.4/64 | 0.005 | 0.0000 |
| only | 0.121 | 33.1/64 | 0.006 | 0.0000 | |
| 0.094 | 58.0/64 | 8418 | 0.0186 | ||
| Qwen-2.5-7B (3584D) | Naive MSE | 0.107 | 35.9/64 | 0.006 | 0.0000 |
| only | 0.119 | 27.5/64 | 0.005 | 0.0000 | |
| 0.143 | 58.5/64 | 6213 | 0.0202 | ||
| Llama-2-7B (4096D) | Naive MSE | 0.155 | 36.1/64 | 0.006 | 0.0000 |
| only | 0.115 | 42.5/64 | 0.006 | 0.0000 | |
| 0.082 | 59.5/64 | 6512 | 0.0128 | ||
| Llama-3-8B (4096D) | Naive MSE | 0.169 | 22.2/64 | 0.006 | 0.0000 |
| only | 0.115 | 33.6/64 | 0.006 | 0.0000 | |
| 0.109 | 58.0/64 | 6843 | 0.0316 | ||
| OLMo-2-7B (4096D) | Naive MSE | 0.168 | 23.3/64 | 0.006 | 0.0000 |
| only | 0.420 | 14.3/64 | 0.005 | 0.0000 | |
| 0.184 | 57.0/64 | 4127 | 0.0134 | ||
| Gemma-2-9B (3584D) | Naive MSE | 0.185 | 23.4/64 | 0.006 | 0.0000 |
| only | 0.145 | 23.0/64 | 0.006 | 0.0000 | |
| 0.104 | 57.8/64 | 3686 | 0.0133 |
Table 17: Collapse prevention per architecture: top-1 variance fraction, effective rank (of 64), feature variance and paraphrase-pair MSE under naive MSE, the Laplacian energy alone, and the Laplacian energy with a log-determinant covariance term.
| Method | GPT-2 () | Mistral-7B () | ||
|---|---|---|---|---|
| Spearman | Pearson | Spearman | Pearson | |
| Vanilla (no training) | 0.428 | 0.312 | 0.533 | 0.498 |
| SimCSE (final-layer, InfoNCE) | 0.567 | 0.549 | ||
| VICReg (final-layer, inv + var + cov) | 0.602 | 0.635 | ||
| MLST nosheaf (final) | 0.598 | 0.626 | ||
| MLST nosheaf (concat) | 0.650 | 0.630 | ||
| MLST full (final) | 0.597 | 0.616 | ||
| MLST full (concat) | 0.635 | 0.618 | ||
| MLST full (section) | 0.634 | 0.611 | ||
Table 18: Multi-layer sheaf consistency training (MLST) on STS-B with frozen encoders: Spearman and Pearson correlation, mean ± s.d. over seeds. nosheaf drops the transitions and the cycle term.
regularization > single-layer baselines; the specific sheaf transition and cycle apparatus is neutral-to-slightly-negative as a training signal at this scale. The cycle-holonomy term is too easily satisfied by paraphrase-mean alignment and overlaps with the consistency loss; the Q-transitions add no consistent gradient signal beyond what concat already provides. Larger encoders, harder tasks, or richer cycle structure could change this; we leave that to future work.
C Reproducibility
C.1 Hyperparameter Sensitivity
The spectral gap (ratio of maximum to minimum eigenvalues) stays in 91.7–95.6× across edge dimensions (the count selects eigenvectors and does not change the spectrum); the content/context boundary is stable under these choices.
sensitivity for retrieval. We sweep (with edge dimension fixed) on hard CounterFact retrieval (Table 19). The plateau spans on all four tested architectures; is consistently slightly better than ( to pp). The boundary case leaves no eigenvectors above the spectral gap (no kernel selection) and collapses to . The full hidden state without projection lands at . We chose a priori to leave a comfortable margin from the boundary; results are not test-tuned and are stable across the plateau.
Table 19: subspace dimension sweep (hard CounterFact retrieval, edge dim ). Results are stable across . At no kernel is selected and retrieval collapses.
| Model | Full | ||||||
|---|---|---|---|---|---|---|---|
| GPT-2 | |||||||
| Phi-2 | |||||||
| Mistral-7B | |||||||
| Llama-2-7B |
Pooling sensitivity. We compare three pooling choices (mean over all tokens, last non-pad token, first token) by extracting activations under each and rerunning the full pipeline (Table 20). Mean pooling is best across all four architectures ( at ); last-token pooling drops pp; first-token pooling collapses (autoregressive models have very limited content at position 0). Sheaf beats the matched Full hidden state under mean and last-token pooling on every architecture, and under first-token pooling on three of four (on Mistral-7B, against ). Absolute retrieval rates depend on whether the chosen pooling captures content.
Table 20: Pooling sensitivity (hard CounterFact retrieval). Mean pooling is best for all architectures, and sheaf beats the full hidden state under every pooling choice except first-token pooling on Mistral-7B.
| Model | Mean (default) | Last token | First token | |||
|---|---|---|---|---|---|---|
| Full | Full | Full | ||||
| GPT-2 | ||||||
| Phi-2 | ||||||
| Mistral-7B | ||||||
| Llama-2-7B | ||||||
C.2 Experimental Details
Compute: All experiments on NVIDIA A100 or RTX 4090 GPUs with 80GB or 24GB VRAM respectively. 7B+ models use 4-bit quantization (bitsandbytes). Sheaf construction (restriction map + Laplacian) takes minute per model; dominant cost is activation extraction (identical to any activation-based method).
Hyperparameters: Edge dimension (capturing of variance). Mean pooling over sequence positions. Restriction map learned via joint PCA. Top/bottom 20 eigenvectors define . Steering vectors norm-matched to of mean hidden state norm.
Layer selection: retrieval and the sheaf constructions use (layer 8 for GPT-2, layer 21 for 32-layer models), and steering uses (layer 7 for GPT-2, layer 20 for 32-layer models). Targets middle-to-late layers where semantic content is well-formed but output projections have not dominated.
Statistical tests: Bootstrap confidence intervals (1000 resamples). Mann-Whitney U for group comparisons. McNemar for paired binary outcomes. Cohen's (continuous) and Cohen's (proportions) for effect sizes. All -values are two-sided except the Spearman and holonomy permutation tests, which are exact one-sided in the pre-specified direction.
C.3 Practitioner Guidance
Recommended workflow: (1) Build the sheaf with 200+ MRPC paraphrase pairs using PCA restriction maps (parameter-free default). (2) Apply steering at moderate (0.10–0.15) using both dims and -removed, selecting the best on a validation set (n=50). (3) For fragile models (identifiable via a single random-steering probe), use sheaf to avoid generation collapse. For robust models, expect random steering to be competitive at ; prefer moderate magnitudes for sheaf advantage.
C.4 NeurIPS Paper Checklist
1. Claims
Question: Do the main claims made in the abstract and introduction accurately reflect the paper’s contributions and scope?
Answer: [Yes]
Justification: Section 1 enumerates three contributions, with the SSL result reported in §7: (i) beats LEACE on held-out CounterFact, the kernel selection carries the result under random or identity , and joint multi-paraphrase constraints add +6.5 pp (Tables 2, 11, 10); (ii) functional influence (5.6–26.5× over coordinates of matched per-coordinate variability; Table 3); (iii) multi-layer grids carry a harmonic mass that ranks six architectures by steering fragility at (Table 1, Appendix A.3). Each claim is supported by experiments in §5 with effect sizes, p-values, and bootstrap CIs. The negative result on MLST cycle/transition terms is reported in Appendix B.15 (Table 18).
2. Limitations
Question: Does the paper discuss the limitations of the work performed by the authors?
Answer: [Yes]
Justification: Section 7 contains an explicit Limitations paragraph covering: (a) restriction-map selection is architecture-dependent (contrastive Fisher wins on Llama-2-7B, CCA on Mistral-7B); (b) restriction-map selection is partially domain-dependent (cross-corpus P costs ~25 pp, Appendix B.1); (c) sheaf steering wins at but ties random at on robust models; (d) a node-space operationalization of relation-hypergraph did not transfer to retrieval (Appendix B.13); (e) cycle holonomy does not differ significantly from a shuffled-paraphrase null (Appendix B.12); (f) the MLST cycle/transition terms are neutral-to-slightly-negative as a training signal (Appendix B.15); (g) our PIXEL comparison uses a simplified port (single global direction; Appendix B.11); we do not empirically compare to Angular Steering or MSRS (orthogonal frameworks).
3. Theory, Assumptions and Proofs
Question: For each theoretical result, does the paper provide the full set of assumptions and a complete (and correct) proof?
Answer: [Yes]
Justification: The paper has one Proposition (Proposition 3.1: reduction of the sheaf Laplacian to projected within-pair covariance). The assumptions are stated explicitly in the proposition body (shared-projection matching-graph regime, one P for every node, on edges); the failure regime under per-node and Procrustes transports is also stated. The full proof is provided in Appendix A.5. Remark 3.3 clarifies the algebraic-vs-spectral distinction so the cohomological language is unambiguous.
4. Experimental Result Reproducibility
Question: Does the paper fully disclose all the information needed to reproduce the main experimental results of the paper to the extent that it affects the main claims and/or conclusions of the paper?
Answer: [Yes]
Justification: The pipeline is specified in equation form in §3 (joint-PCA restriction map, sheaf Laplacian as projected within-pair covariance, as smallest/largest eigenspaces, mean-difference steering with -removal). All hyperparameters (edge dimension , count , layer ( for steering), steering norm , MLP encoder geometry , training step counts) are documented in §5 and Appendix C.2. Datasets are public (MRPC, PAWS, QQP, STS-B, CounterFact) with standard splits and 70/30 train/test for the LEACE comparison. Quantization (4-bit bitsandbytes for 7B+ models) and layer selection rules are explicit.
5. Open Access to Data and Code
Question: Does the paper provide open access to the data and code, with sufficient instructions to faithfully reproduce the main experimental results, as described in supplemental material?
Answer: [Yes]
Justification: All datasets used are public benchmarks with standard licenses (cited in §5 and below). Code implementing the sheaf decomposition, steering pipeline, multilayer grid, and MLST, with a claim-by-claim reproduction guide, is released at https://github.com/CWRU-AISM/gluing-1c. The construction in §3 together with the hyperparameters in Appendix C.2 is sufficient to reimplement the pipeline from the paper alone, and all numerical results are deterministic given the published hyperparameters and seeds.
6. Experimental Setting/Details
Question: Does the paper specify all the training and test details (e.g., data splits, hyperparameters, how they were chosen, type of optimizer, etc.) necessary to understand the results? Answer: [Yes]
Justification: Section 5 (Setup and Datasets) and Appendix C.2 specify: nine architectures with sizes; layer selection rule ( for steering); edge dimension chosen to capture paired variance; slice ; bootstrap CIs with 1000 resamples; McNemar's test for paired comparisons; restriction maps (PCA / CCA / contrastive Fisher) and how each is fit; 200 MRPC pairs for sheaf construction; CounterFact for steering; 70/30 fact split for LEACE comparison.
7. Experiment Statistical Significance
Question: Does the paper report error bars suitably and correctly defined or other appropriate information about the statistical significance of the experiments?
Answer: [Yes]
Justification: Bootstrap 95% CIs are reported alongside every steering and retrieval point estimate (Tables 3, 4, 2). McNemar's exact test is used for paired binary outcomes; Cohen's d for effect sizes; Mann–Whitney U for unpaired comparisons. Multiple-comparisons control via Benjamini–Hochberg is detailed in Appendix B.10. MLST results are over ten seeds with reported standard deviations and paired t-tests. All p-values are two-sided except the Spearman and holonomy permutation tests, which are exact one-sided in the pre-specified direction.
8. Experiments Compute Resources
Question: For each experiment, does the paper provide sufficient information on the computer resources (type of compute workers, memory, time of execution) needed to reproduce the experiments?
Answer: [Yes]
Justification: Appendix C.2 reports hardware (NVIDIA A100 80GB or RTX 4090 24GB), 4-bit quantization for 7B+ models, and execution time (sheaf construction < 1 minute per model; activation extraction is the dominant cost). Total project compute is approximately 200 GPU-hours. Section 5 indicates the cluster setup; no experiment requires more than a single A100.
9. Code of Ethics
Question: Does the research conducted in the paper conform, in every respect, with the NeurIPS Code of Ethics?
Answer: [Yes]
Justification: The work is interpretability research on publicly released language models using public paraphrase and factual-recall benchmarks. No human subjects, no crowdsourcing, no scraping of private data, no release of new high-risk artifacts. Datasets used (MRPC, PAWS, QQP, STS-B, CounterFact) are standard licensed benchmarks. We have read the NeurIPS Code of Ethics and conform.
10. Broader Impacts
Question: Does the paper discuss both potential positive societal impacts and negative societal impacts of the work performed?
Answer: [Yes]
Justification: The work is interpretability research aimed at improving transparency of large language model representations. Positive impact: a label-free decomposition that exposes which directions in residual streams are content-stable across paraphrasing and which carry surface variation, potentially aiding red-teaming, alignment audits, and the diagnosis of model fragility (the steering analysis in §5.4 is itself a fragility diagnostic). Negative impact: the same machinery could in principle be used to construct targeted style or stance interventions against safety guardrails. We frame steering as a diagnostic tool rather than a deployment mechanism, and we report architecture-dependent failure modes (random steering can outperform sheaf steering at on robust models, which curbs naive misuse).
11. Safeguards
Question: Does the paper describe safeguards that have been put in place for responsible release of data or models that have a high risk for misuse (e.g., pretrained language models, image generators, or scraped datasets)?
Answer: [NA]
Justification: The paper does not release new pretrained models, generative models, or scraped datasets. We analyze existing publicly released language models (GPT-2, Llama-2/3, Mistral, Qwen, phi-2, Gemma, OLMo) using existing public benchmarks. The released artifact is analysis code, not a model checkpoint or dataset.
12. Licenses for existing assets
Question: Are the creators or original owners of assets (e.g., code, data, models), used in the paper, properly credited and are the license and terms of use explicitly mentioned and properly respected?
Answer: [Yes]
Justification: All datasets and models are cited at first use: MRPC [16], PAWS [68], QQP [36], CounterFact [47], TruthfulQA [44]. Models are accessed through their official Hugging Face releases under their respective licenses (Apache-2.0 for Mistral and Qwen; the Llama-2/3 community license; MIT for phi-2; Apache-2.0 for OLMo; Gemma terms of use; MIT for GPT-2). Each is used within the terms permitted for academic research.
13. New Assets
Question: Are new assets introduced in the paper well documented and is the documentation provided alongside the assets?
Answer: [NA]
Justification: The paper introduces no new datasets, no new pretrained models, and no new benchmarks. All releasable artifacts are analysis code; the code repository documents them with a claim-by-claim reproduction guide.
14. Crowdsourcing and Research with Human Subjects
Question: For crowdsourcing experiments and research with human subjects, does the paper include the full text of instructions given to participants and screenshots, if applicable, as well as details about compensation (if any)?
Answer: [NA]
Justification: The paper involves no crowdsourcing and no human subjects. All evaluation is automated against public benchmarks.
15. Institutional Review Board (IRB) Approvals or Equivalent for Research with Human Subjects
Question: Does the paper describe potential risks incurred by study participants, whether such risks were disclosed to the subjects, and whether Institutional Review Board (IRB) approvals (or an equivalent approval/review based on the requirements of your country or institution) were obtained?
Answer: [NA]
Justification: No human subjects are involved; no IRB approval is required.
16. Declaration of LLM Usage
Question: Does the paper describe the usage of LLMs if it is an important, original, or non-standard component of the core methods in this research? Note that if the LLM is used only for writing, editing, or formatting purposes and does not impact the core methodology, scientific rigorousness, or originality of the research, declaration is not required.
Answer: [NA]
Justification: The paper analyzes pretrained LLMs (GPT-2, Llama-2/3, Mistral, Qwen, phi-2, Gemma, OLMo) as objects of study; it does not use LLMs as part of its core methodology to generate science content, design the cohomological framework, derive the proposition, or run the experiments. Any LLM-assisted writing or editing is non-substantive and does not change methodology, rigor, or originality.