MODEL REPRESENTATION SPACE

The inner landscape of language.

Put the same word in two sentences. Switch models to see how context changes its vector, layer by layer.

Explore the language lab
Vector filamentsBankingRiverbank
/
Drag to rotate
Model
Qwen2.5 · 7B
Token
bank
Dimensions
3,584
Cosine similarity
—

CONTEXTUAL REPRESENTATIONS

Language lab

Choose a model, word and layer to compare the word’s vectors in two contexts.

Target word

ENGLISH INPUT

Cosine between contexts

—
Input embeddingLayer 28

Context trajectories

Each point marks a sampled layer. Select a point or move the slider to see where the two contexts diverge.

Layer similarity matrix

Select a row and a column to compare two full vectors. Use the arrow keys to move between cells.

The diagonal compares states at the same layer. Colors show cosine similarity in the original space on a fixed scale.

How much distance survives projection?

Full space
Selected plane

Inspect the hidden-state coordinates

Each column is a dimension. The rows show contexts A and B. Violet marks negative values and orange marks positive values. Deeper colors indicate larger magnitudes.

A
B

CROSS-MODAL STUDY

Where images meet words

Choose a photograph and see how closely it matches three descriptions in CLIP’s shared space.

Choose an image

CLIP ViT-B/32

Image–text cosine similarity

Match the images and captions

Choose an image, then a caption to swap two pairings. Which three connections give the highest total?

Sum of three cosines

RESEARCH LIBRARY

Research notes

When the two uses of bank move apart, which features have changed? How could we test whether those features affect the next word?

Inside Anthropic’s interpretability research

How do we get from a bright coordinate to a computational path that affects an output? The first three studies look for features. The last two trace how features interact.

Anthropic et al. · 2022

Toy Models of Superposition

Can two dimensions hold five features? Elhage and colleagues vary how often input features appear and track the directions a toy network uses to represent them. When a coordinate lights up in our heatmap, their experiment suggests a question: how many dimensions share the work of representing a word sense?

Anthropic · 2023

Towards Monosemanticity: Decomposing Language Models With Dictionary Learning

Bricken and colleagues train a sparse autoencoder to reconstruct a single-layer Transformer’s MLP activations from a few active features at a time. They show the passages that activate each feature most strongly, so readers can check whether one interpretation fits across contexts.

Anthropic · 2024

Scaling Monosemanticity: Extracting Interpretable Features from Claude 3 Sonnet

A feature in Claude 3 Sonnet responds to photographs of the Golden Gate Bridge and to its name in several languages. The researchers turn up that feature’s activation and observe how the generated text changes. This adds an intervention to the kind of comparison in our image–text experiment.

Anthropic et al. · 2025

Circuit Tracing: Revealing Computational Graphs in Language Models

Ameisen and colleagues approximate part of a model’s computation with cross-layer transcoders. For one prompt, start at an output token and follow the graph backward to see which features contributed to it. The approximation limits how much of the computation the graph can capture.

Anthropic et al. · 2025

On the Biology of a Large Language Model

When Claude 3.5 Haiku writes a poem, features associated with possible rhymes can appear before the end of a line. The researchers intervene on those features and check which word the model writes. This is a concrete way to test what a change in activation does.

Recent Research

These studies from 2025 and 2026 ask how a question changes an image representation, when an answer becomes detectable in a hidden state, and how to test an explanation for a feature.

EMNLP · 2026

Linguistic Context Recodes Visual Representations in Vision-Language Models

Does asking a different question change the representation of the same image? Song, Lepori and Pavlick identify a direction associated with the object a question refers to. Intervening on that direction affects predictions. In deeper layers, task-relevant attributes of the object also become more prominent.

ACL Findings · 2026

Large Reasoning Models Are (Not Yet) Multilingual Latent Reasoners

Liu and colleagues cut reasoning traces short on math problems in 11 languages and prompt the model for an answer. With partial traces, models more often give correct answers on easier problems and in well-resourced languages. A separate logit-lens analysis tracks the correct answer’s rank across layers and finds similar trends across languages.

ACL · 2026

Unlocking the Black Box of Latent Reasoning: An Interpretability-Guided Approach to Intervention

Some models encode intermediate reasoning steps as continuous vectors. Using structural, causal and geometric probes, the authors find that early vectors are especially important for later computation. They intervene during decoding and measure how the interventions affect final-answer accuracy.

EMNLP Findings · 2026

Understanding Moral Reasoning Trajectories in Large Language Models: Toward Probing-Based Explainability

Fan Huang, Haewoon Kwak and Jisun An study how the mix of five ethical frameworks changes as models reason through moral dilemmas. Their linear probes predict a distribution over the frameworks at each step. The best-performing probe layers differ between Qwen2.5-72B and Llama-3.3-70B, as do the effects of intervening on activations during generation.

AI Explain · 2026

The LLM Belief Atlas: Visualizing How Language-Model Stances Depend on Elicitation

A model can rate its agreement, give a free-text answer, or assign probabilities to a set of options. Fan Huang’s atlas lets readers switch among the three readouts to see how framing, option order and scoring affect the apparent stance. The atlas measures output behavior, offering a companion to the hidden-state views here.

Google DeepMind · 2025

Gemma Scope 2

How can another lab repeat a feature study on open weights? DeepMind released sparse autoencoders and transcoders for the Gemma 3 family. The autoencoders extract features from activations. The collection includes cross-layer transcoders for tracing a feature’s effects in later layers.

ICML · 2026

Weight-sparse transformers have interpretable circuits

Gao and colleagues start training with dense weights and gradually reduce the number of entries each weight matrix can keep. After training, they prune the models further for individual tasks, identifying circuits that reproduce specific behaviors with few connections.

ICML · 2025

SAEBench: A Comprehensive Benchmark for Sparse Autoencoders in Language Model Interpretability

Karvonen and colleagues evaluate sparse autoencoders on eight metrics. An autoencoder that reconstructs activations well can score differently on disentangling features. The interactive benchmark lets readers compare how the rankings change with the metric.

How can we test an internal explanation?

What can we learn by decoding information from a hidden state, replacing one activation, or looking for a neuron that responds across different inputs?

EMNLP · 2019

Designing and Interpreting Probes with Control Tasks

Hewitt and Liang assign random labels to word types and test how many arbitrary associations a probe can memorize. Comparing that control with the real labeling task helps distinguish information already present in a representation from what the probe can learn on its own.

ICLR · 2023

Interpretability in the Wild: a Circuit for Indirect Object Identification in GPT-2 small

When a sentence mentions two people, how does GPT-2 small identify the one receiving an object? Wang and colleagues use causal interventions to identify 26 attention heads and test how much of the original behavior they reproduce. The study follows a concrete sentence task down to a circuit.

ICLR · 2024

Towards Best Practices of Activation Patching in Language Models: Metrics and Methods

Zhang and Nanda compare input perturbations and scoring methods for activation patching. After restoring an activation to its reference value, measuring recovery with output probability or with a logit difference can change which components appear most important.

Distill · 2021

Multimodal Neurons in Artificial Neural Networks

Goh and colleagues find neurons in CLIP’s image encoder that respond to photographs, drawings and words printed in images. Our CLIP experiment compares the final vectors for a whole image and a sentence. This study follows the signal inside the image encoder.

Sources for the experiments

The measurement behind the language lab, the sampled models, and the source of the image–text scores.

EMNLP · 2019

How Contextual are Contextualized Word Representations? Comparing the Geometry of BERT, ELMo, and GPT-2 Embeddings

Ethayarajh compares the directions of word representations across contexts and layers. That work motivates our layer-by-layer cosine plot. Each word in this lab illustrates a single pair of sentences.

MODEL · 2024

Qwen2.5 Technical Report

The 7B and 14B Instruct models read the same prefixes. For each target token we record its embedding and the residual vectors after six sampled decoder blocks.

MODEL

Qwen3.5-9B

The text decoder interleaves Gated DeltaNet with full attention. We trace the target token through these blocks using the same English prefixes.

MODEL

BGE-small-en-v1.5

This retrieval encoder reads the full sentence in both directions. We take the target token’s 384-dimensional hidden state at seven depths.

MODEL · 2019

DistilBERT, a distilled version of BERT: smaller, faster, cheaper and lighter

Sanh and colleagues use knowledge distillation to train a bidirectional encoder. We use the English base model to read the target word’s input embedding and the outputs of all six Transformer blocks.

MODEL · 2019

RoBERTa: A Robustly Optimized BERT Pretraining Approach

RoBERTa-large is a bidirectional language model with 24 encoder blocks. For the same six English sentences, we sample the target token’s 1,024-dimensional vector at the input and after six encoder blocks.

ICML · 2021

Learning Transferable Visual Models From Natural Language Supervision

Radford and colleagues project images and text into a shared space. Our image–text experiment takes three images and three prompts from the official notebook and preserves their original pairwise scores.

FIELD NOTES

Reading the vector field

Start with the same token

Each example contains two English sentences. The target token occupies the same position in both. We read its hidden state at the input and at each sampled layer.

Filaments and measurements

Orange follows context A and violet follows context B. Each vector is divided into 12 consecutive groups of dimensions. Their normalized summaries shape the twists and folds, and the cosine between vectors affects how far the filaments separate. The surface and viewpoint are design choices. The lab displays projections, cosines and original coordinates.

Reading cosine similarity

Divide the dot product of two vectors by the product of their lengths. The result ranges from −1 to 1, with values closer to 1 indicating more similar directions. Each card compares two sentences within one model. The slider selects the same sampling step across cards, and each card shows its actual layer number. Establishing how the model uses a word sense requires further evidence.