Bag of Dims: Training-Free Mechanistic Interpretability via Dimension-Level Sign Patterns
Summary
Proposes the Bag of Dims framework showing that the standard basis of transformer hidden states provides a training-free, architecture-general feature representation where dimensions encode semantic content via sign patterns; validated across language, vision, and audio models, achieving high accuracy with no learned rotations.
View Cached Full Text
Cached at: 06/18/26, 03:58 PM
Paper page - Bag of Dims: Training-Free Mechanistic Interpretability via Dimension-Level Sign Patterns
Source: https://huggingface.co/papers/2606.12629
Abstract
The standard basis of transformer hidden states serves as a training-free, architecture-general feature representation where individual dimensions encode semantic content through signs and confidence through magnitudes, functioning as independent binary registers without requiring learned rotations or optimization.
We show thestandard basisoftransformer hidden statesalready provides a training-free, architecture-generalfeature basis. Individual dimensions encodesemantic contentvia their signs (+/-1) and confidence via theirmagnitudes, acting as independentbinary registers; a feature is a subset of dimensions with a consistent sign pattern, read by counting sign agreements with no learned rotation. We validate thisBag of Dims frameworkacross seven models spanning language (Qwen 3.5-4B, Gemma 3-4B, Mistral 7B, Qwen3-32B), vision (DINOv2, ViT-Base), and audio (AST). Signs alone carry predictive content: unit-magnitudesign patternspreserve 60-93% top-5next-token accuracythrough the LM head, and decoder-freeHamming scoringreaches 80-90% top-4096. From a single-token cache(oneforward passper token, no context, no labels), we detect 175 categories at AUC 0.97-0.99 by sign agreement; a trained probe adds only +0.018 AUC and converges to axis-aligned weights. These features are causally operative: they survive the K/Vattention projections, trace to theFFN neuron coalitionsthat write them (random-weight controls never reproduce this), and flipping a feature’s signs during the liveforward passsuppresses its concept across four language models,magnitude-matched and concept-specific. Dimensions stay independent throughout (pairwise mutual informationbelow 0.006 bits). The structure is not specific to language: the same per-dimension signs appear inself-supervised vision(DINOv2, 9/12 ImageNet superclasses),supervised vision(ViT-Base, 11/12), and audio (AST, 50/50 ESC-50 categories), so it reflects transformer training in general, not the language-modeling objective. Thestandard basisalready suffices for feature reading at oneforward pass, no optimization, no GPU-days. The open problem shifts from finding the right rotation to cataloging what each dimension encodes.
View arXiv pageView PDFAdd to collection
Get this paper in your agent:
hf papers read 2606\.12629
Don’t have the latest CLI?curl \-LsSf https://hf\.co/cli/install\.sh \| bash
Models citing this paper0
No model linking this paper
Cite arxiv.org/abs/2606.12629 in a model README.md to link it from this page.
Datasets citing this paper0
No dataset linking this paper
Cite arxiv.org/abs/2606.12629 in a dataset README.md to link it from this page.
Spaces citing this paper0
No Space linking this paper
Cite arxiv.org/abs/2606.12629 in a Space README.md to link it from this page.
Collections including this paper0
No Collection including this paper
Add this paper to acollectionto link it from this page.
Similar Articles
Individual Parameters in Weight-Sparse Transformers Appear Interpretable
This paper introduces an automated LLM pipeline to generate and verify human-readable descriptions of when individual weights in transformers matter, finding that 12-31% of weights in weight-sparse transformers are interpretable globally, outperforming dense transformers.
Geometric Signatures of Reasoning: A Spectral Perspective on Task Hardness
This paper studies the geometric properties of chain-of-thought trajectories in the hidden state space of transformers, introducing effective dimension and kinematic features to predict task hardness and solution correctness from early tokens.
From Direction to Magnitude: How Multimodal Instruction-Tuning Reorganizes the Geometric Encoding of Identity-Specifying Prompts in Transformer Hidden States
This paper investigates how multimodal instruction-tuning reorganizes the geometric encoding of identity-specifying prompts in transformer hidden states, finding a shift from direction-based to magnitude-based encoding after instruction tuning.
Representation as a Bottleneck for Mechanistic Interpretability: The Manifestation Unit Protocol
This paper introduces Manifestation Units, a typed tuple protocol for organizing per-component statistics from mechanistic interpretability analyses into structured, queryable fields. The protocol is demonstrated across vision (β-VAE, CNN) and language (GPT-2) models, showing improved retrieval and causal sufficiency.
An expressivity analysis of hierarchical modelling in deep transformers via bounded-depth grammars
This paper provides a theoretical analysis of deep transformers' ability to model hierarchical structures using bounded-depth context-free grammars, constructing explicit positional-attention transformers that encode grammatical states in linearly separable subspaces.