NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Does Reasoning Live Where the Vocabulary Can't See It?

Language models that solve a logic puzzle easily often fail the same puzzle once its familiar names are swapped for unfamiliar words. In the clearest case, GPT-4o drops from about 90% to about 25% accuracy when the entity and category words of Einstein-style puzzles are obfuscated, even though the logic is unchanged (Lexical Recall or Logical Reasoning). Separately, HARP found that a model's hidden state splits into two parts. One is a large "semantic" part that the output layer reads to choose words. The other is a small leftover part, about 5% of dimensions, that the output layer almost ignores. Patching that leftover part from a chain-of-thought run into a plain run made the model reason step by step. This proposal asks whether that word-invisible part is where vocabulary-independent reasoning is stored. If it is, two lexical variants of the same problem should agree there even when they disagree in the semantic part. Swapping it in from the canonical version should repair the obfuscated version. Training the model to keep it consistent across rewordings should make reasoning transfer better to new domains with new vocabularies.

The two-sentence version is this. Lexical obfuscation breaks reasoning, and we test whether the break shows up in the semantic subspace rather than the reasoning subspace. If it does, we use the reasoning subspace as a patching target and as a training signal. The payoff is either a mechanistic account of the "lexical crutch," together with a cheap regularizer that beats plain lexical data augmentation for cross-domain transfer, or a clean negative result showing that the reasoning/semantic split does not track lexical invariance.

Core Claim

Let $W_U \in \mathbb{R}^{|V| \times d}$ be the unembedding matrix, which maps a $d$-dimensional hidden state to scores over the vocabulary $V$. Following HARP, take its singular value decomposition $W_U = U \Sigma V^\top$. Collect the right singular vectors with the smallest singular values into $V_r \in \mathbb{R}^{d \times r}$. The projector $P_R = V_r V_r^\top$ is the "reasoning subspace," and $P_S = I - P_R$ is the "semantic subspace."

Our claim concerns a puzzle $x$ and a lexical variant $x'$ with identical logical structure but different surface words. At token positions $t$ aligned by construction and at mid-to-late layers, we predict that $\|P_R(h_t(x) - h_t(x'))\|$ is small relative to $\|P_S(h_t(x) - h_t(x'))\|$, after normalizing each by subspace dimension. We further predict that the reasoning component carries the causally relevant structure. Two interpretability papers bear on this. HARP supplies the decomposition and the patching method, but it studied hallucination detection on factual QA and never paired lexical variants. Geometry of Decision Making supplies the layerwise intrinsic-dimension estimators. It found that intrinsic dimension first expands and then sharply compresses before the model commits to an answer, but only on clean English multiple-choice questions.

One alternative is that obfuscation corrupts the reasoning subspace itself. On that view, the model has no word-free reasoning representation and relies on semantic anchors all the way down. That is exactly the "memory crutch" reading of Beyer and Reed, and our experiments are designed to distinguish the two.

Research Program

Phase one: paired variants with aligned positions. We build pairs whose tokens line up position by position, so that hidden states can be compared and patched directly. For Mystery-Zebra-style puzzles we regenerate obfuscated versions, choosing substitute words that tokenize to the same number of tokens as the originals. For GSM-Symbolic templates (GSM-Symbolic) we swap names and numbers under the same length constraint. We also construct No-Op variants, which add an irrelevant clause; there alignment holds only up to the inserted clause, and we patch only positions outside it.

Phase two: measurement. On open-weight models of the families HARP used (Qwen2.5-7B and Llama-3.1-8B), plus OLMo-3-7B, we measure three things layer by layer:

  1. The cross-variant distance in each subspace.
  2. The principal angles between the subspaces spanned by each variant's clue-token states. Principal angles, the angles between two subspaces, were used for sentence similarity by Representing Sentences as Low-Rank Subspaces; we reuse them as a variant-invariance score.
  3. Intrinsic dimension, estimated separately within each subspace with the maximum-likelihood and ratio-based estimators from Joshi et al.

The intrinsic-dimension measurement also addresses the tension flagged between Effective Reasoning Chains Reduce Intrinsic Dimensionality, where lower dimension goes with better generalization, and When RL Suppresses Its Own Vocabulary, where over-compressed exploration hurts transfer. Our prediction is that failures under obfuscation look like premature compression in the semantic subspace onto spurious tokens, while the reasoning-subspace curve stays close to the canonical one. If both curves move together, the prediction is falsified.

Phase three: causal patching. We run the obfuscated puzzle and overwrite $P_R h_t$ at aligned positions and chosen layers with the canonical run's values. We then compare this against overwriting $P_S h_t$, and against overwriting a random subspace of equal dimension. The concern here is answer leakage: the donor run "knows" its answer. To separate leakage from structure, we also patch from a canonical donor whose puzzle has the same clue graph but a different solution. If the recipient's answers then follow the donor's solution through the name mapping, the subspace carries structural content. If recovery happens only when the donor and recipient share a solution, the effect is ordinary leakage.

Phase four: training, run only if phases two and three support the claim. We fine-tune with lexically augmented data on Reasoning Gym logic and algorithmic environments (Reasoning Gym), adding one term. For a pair $(x, x')$ of aligned variants, the loss is

$$\mathcal{L} = \mathcal{L}_{\text{task}}(x) + \mathcal{L}_{\text{task}}(x') + \lambda \sum_{\ell \in \mathcal{S}} \sum_t \big\| P_R\big(h^{\ell}_t(x) - h^{\ell}_t(x')\big) \big\|^2,$$

where $\mathcal{L}_{\text{task}}$ is the standard next-token loss on solution traces, $\mathcal{S}$ is the set of layers selected in phase two, and $\lambda$ weights the consistency term. The semantic subspace is left free, since the two variants should in fact emit different words. We then test transfer to domains with new vocabulary: obfuscated Mystery-Zebra, GSM-Symbolic and GSM-NoOp, and Big-Bench Hard.

Baselines

The naive reference point is the untouched base model on each variant, together with plain supervised fine-tuning on the same Reasoning Gym tasks with canonical wording only. For behavioral context, Beyer and Reed report GPT-4o at about 90% on canonical puzzles and about 25% under full obfuscation. GSM-Symbolic reports a 12% best-to-worst spread across template variants for Gemma2-9b and a 65% drop on GSM-NoOp for Phi-3-mini. We will re-measure our own models, because none of these numbers were taken on them.

The strongest competitor for phase four is lexical data augmentation alone: training on the same canonical and obfuscated pairs with the same task loss but $\lambda = 0$. It sees exactly the same data, and the consistency term is the only difference. It is the natural thing a practitioner would do to fix obfuscation brittleness, and it may well suffice. We found no reported result on Lacuna for augmentation-only training on Mystery-Zebra or GSM-Symbolic. We will run it with identical data, steps, and hyperparameter search budget, sweeping learning rate for both arms. Beating it means a statistically reliable gain, over three seeds, on held-out obfuscation schemes and on out-of-domain benchmarks that were not used in augmentation. Matching it only on in-distribution obfuscation does not count.

The second competitor is the strongest existing out-of-domain reasoning booster in the file. The Executed Program-of-Thought strategy in Prasad et al. reaches 43.40% on their combined out-of-distribution suite, which includes GSM-Symbolic, GSM-IC, and GSM-Hard, for Gemma-3 4B. Reasoning vectors (Reasoning Vectors) report +12.3% on Big-Bench Hard for a 1.5B Qwen model. We will reproduce Executed PoT training on our models and evaluate on the same suite. We will also add a reasoning vector to our base model as a training-free comparison.

Two ablations isolate the key ingredient. The first applies the same consistency penalty to the full hidden state. This tests whether restricting it to the word-invisible subspace matters, or whether it is just generic representation matching; we expect full-state matching to hurt, because it forces the two variants' word predictions together. The second applies the penalty to a random subspace of equal dimension, and separately to the top principal components of the hidden states. This tests whether the unembedding geometry specifically matters. For the patching study, the baselines are full-state patching, semantic-subspace patching, and random-subspace patching at matched norm.

Why not just…?

Why not just augment the training data with renamed puzzles? This is the real threat, and phase four is built around it. Augmentation may close most of the in-distribution gap on its own. Our hypothesis is narrower: an explicit invariance constraint in the reasoning subspace generalizes to new obfuscation schemes and new domains, where augmentation only covers the rewordings it has seen. If augmentation-only matches the regularized model on held-out schemes and on Big-Bench Hard, we will report that. The contribution then reduces to the phase-two and phase-three mechanistic findings, which augmentation cannot provide.

Why not just normalize the prompt by renaming entities back to familiar words? For Mystery-Zebra this would work almost by definition, because it restores the lexical recall that Beyer and Reed show the model leans on. It says nothing about whether the model can reason without that crutch. It also does not extend to domains such as legal jargon or unfamiliar mathematical notation, where no "familiar" canonical name exists. We include it as a behavioral ceiling on obfuscated puzzles, not as a competitor for transfer.

Why not just prompt for longer chains of thought? The file argues against it. Prasad et al. find that chain length correlates only 0.31 with accuracy, against 0.93 for intrinsic dimension. GSM-Symbolic shows that step-by-step reasoning models still convert irrelevant clauses into operations, with a 17.5% drop for o1-preview. We will nonetheless report chain-of-thought and longer-budget prompting on every variant, so that any subspace effect is measured on top of it.

Why not just use HARP's subspace as is and skip the pairing? HARP showed that the reasoning subspace detects hallucinations and that patching it induces chain-of-thought behavior. It never tested whether the subspace is invariant to rewording. Without paired variants, "reasoning subspace" might simply mean "a region the output layer ignores," and the lexical-invariance question would remain open.

Decisive Checks

The project turns on three outcomes. First, in phase two, cross-variant distance must be reliably smaller in the reasoning subspace than in the semantic subspace at mid-to-late layers, and a random subspace of equal dimension must not show the same gap. If it does, the unembedding geometry is irrelevant and we stop.

Second, in phase three, reasoning-subspace patching must recover a substantial share of the canonical-minus-obfuscated accuracy gap, and it must beat semantic-subspace and random patching. Recovery must also survive the solution-mismatched donor control. Success there means that errors track the donor's solution through the name mapping, which is evidence of structural rather than answer content. We will additionally report where along the obfuscated puzzle's inference depth patching helps, to test whether it pushes past the two-step cliff that Beyer and Reed identified.

Third, in phase four, the regularized model must beat augmentation-only on held-out obfuscation schemes and on GSM-Symbolic and GSM-NoOp. It must also stay at least even on canonical accuracy. Throughout, we track the diversity of exploratory reasoning steps, using the primitive classification from Maniparambil et al. This checks that the consistency term does not reproduce the collapse of exploratory steps they observed.

A negative answer on the first check is itself informative. It would mean that the word-invisible part of the hidden state is not where vocabulary-independent reasoning lives, and that the lexical crutch reaches into every part of the representation.