atlas

Research map / Large language models / Language, safety and interpretability

Correlation and Navigation in the Vocabulary Key Representation Space of Language Models

ICLR 2025 · Large language models › Language, safety and interpretability · approach: Linguistic encoding in LLM representations

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Shows that next-token prediction in LMs suffers from spurious key-space correlations among vocabulary embeddings, and proposes in-context navigation (ICN), which iteratively appends explored answers to the prompt to push the query away from explored keys, improving knowledge probing, open-ended generation, and chain-of-thought self-consistency.

Problem

Next-token prediction is a softmax over dot products between a context-dependent query and fixed, context-agnostic vocabulary keys; similarity between keys can inject spurious correlations that bias middle-ranked tokens and reduce sampling diversity and correctness.

Approach

Cluster vocabulary key embeddings to quantify spurious in-cluster correlation with top-ranked tokens, then use in-context navigation: append already-explored answers to the context and instruct the LM to generate something else, iteratively moving the query away from explored keys to reach correct new first-tokens.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Use ICN instead of vanilla top-token probingLLaMA-3-8B-Instruct · ProbeSet knowledge probingMAP@50: 69.46 -> 79.44Helped
Use ICN instead of vanilla top-token probingLLaMA-3-8B-Instruct · ProbeSet knowledge probingprecision: 62.40 -> 76.40Helped
Use ICN instead of rephrasing the promptLLaMA-3-8B-Instruct · ProbeSet knowledge probingMAP@50: 72.15 -> 79.44Helped
Use ICN instead of cluster-based rerankingLLaMA-3-8B-Instruct · ProbeSet knowledge probingMAP@50: 70.79 -> 79.44Helped
Use ICN instead of top-first-token probingOpen-ended generation · SST-2UNG: 61.29 -> 64.74Helped
Use ICN instead of top-first-token probingOpen-ended generation · SST-2ZGN accuracy: 84.90 -> 86.33Helped
Use ICN instead of top-first-token probingOpen-ended generation · AG-NewsUNG: 50.97 -> 53.37Helped
Use ICN instead of top-first-token probingOpen-ended generation · EmotionUNG: 50.85 -> 53.34Helped
Use ICN instead of top-first-token probingChain-of-thought self-consistency · GSM8Kaccuracy: 77.56 -> 78.09Helped
Use ICN instead of top-first-token probingChain-of-thought self-consistency · SVAMPaccuracy: 84.20 -> 85.10Helped
Use ICN instead of top-first-token probingChain-of-thought self-consistency · AQuAaccuracy: 57.09 -> 58.66Helped
Set #Key=1, prompting the model to list answers rather than probing multiple top tokens per query (ablation)Iterative ICN knowledge probing · ProbeSetMAP@50Hurt

Surprising findings

Limitations

Experimental setup

Datasets: ProbeSet (60 categories expanded from CGExpan) SST-2 AG-News Emotion GSM8K SVAMP AQuA CGExpan

Benchmarks: ProbeSet SST-2 AG-News Emotion GSM8K SVAMP AQuA

Metrics: MAP@50 precision accuracy average rank unique n-gram (UNG) ZeroGen accuracy (ZGN) self-consistency accuracy

Baselines: vanilla top-k probing rephrasing reranking repetitive sampling

Builds on: self-consistency ZeroGen CGExpan chain-of-thought prompting

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy