Research map / Large language models / Language, safety and interpretability
Language Models Struggle to Use Representations Learned In-Context
Michael A. Lepori, Tal Linzen, Ann Yuan, Katja Filippova
Brown University · Google · New York University · Google DeepMind
Read the paperPlace an idea next to itCheck your own paper ↗
AI-extracted. The measured effects below were read by AI from the paper's full text (no summary yet). Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.
Measured effects reported in the paper
| What was changed | Where | Measured | Effect |
|---|---|---|---|
| Present random walk in user message (Instruction) instead of prefilled response (ablation) | open-weights LMs (gemma-3, OLMo-2) · Next-token prediction on graph tracing | accuracy | Hurt |
| Instruction vs Prefilled prompt format on in-context representation quality (ablation) | open-weights LMs · Dirichlet Energy and Distance Correlation ratio | representation metrics | No clear effect |
| Extend context to 1500 tokens in the Instruction condition (ablation) | open-weights LMs · Next-token prediction | accuracy | No clear effect |
| Give an explicit description of the grid topology in the prompt (ablation) | open-weights LMs · Adaptive world modeling, 4-by-4 grid | accuracy: approx. 40% -> >75% (some models) | Improved |
| Add metalearning examples of successful completions (ablation) | gemma-3-27b-it · Adaptive world modeling, 5-by-5 grid | accuracy | No clear effect |
| Extend context length to constant long length (ablation) | gemma-3-27b-it · Adaptive world modeling | accuracy | No clear effect |
| Use frontier reasoning models instead of open-weights models | reasoning LMs (Gemini 2.5, GPT-5) · Adaptive world modeling, 1D topologies | accuracy | Improved |
| Move from 1D line to 2D grid topologies | frontier reasoning LMs · Adaptive world modeling | accuracy | Hurt |
| Give explicit state-space description for few-shot rule learning | Gemini-2.5-Pro and Flash · Few-shot rule learning | accuracy | Improved |
| Ablate thinking (ablation) | Gemini-2.5-Pro · Next-token prediction and adaptive world modeling | accuracy | Hurt |
| Ablate thinking (ablation) | Gemini-2.5-Flash · Next-token prediction and adaptive world modeling | accuracy | Mixed |
| Add hints about grid configuration and rule type to prompt | frontier reasoning LMs · Adaptive world modeling, 2D topologies | accuracy | Improved |
Open problems this paper states
- “Mechanisms by which chain-of-thought partially overcomes the limits of in-context representations are not understood.” → Effects are observed but the mechanism behind them is not explained. (an open problem in reasoning mechanisms and failure modes)
Open problems in reasoning mechanisms and failure modes
Do mechanistic findings about reasoning and language in LLMs hold for larger models, other languages and other architectures?
- Only one model family or one architecture is tested. · 19 papers state it
- Models stop at about 1B to 8B parameters, so larger ones are untested. · 18 papers state it
- Effects are observed but the mechanism behind them is not explained. · 18 papers state it
Closest papers by meaning
- Supervised Knowledge Makes Large Language Models Better In-context Learners (ICLR 2024 · similarity 0.90)
- Where does In-context Learning Happen in Large Language Models? (NeurIPS 2024 · similarity 0.89)
- Do LLMs Build World Representations? Probing Through the Lens of State Abstraction (NeurIPS 2024 · similarity 0.89)
- Mixture of In-Context Experts Enhance LLMs' Long Context Awareness (NeurIPS 2024 · similarity 0.89)
- Improving Reasoning Performance in Large Language Models via Representation Engineering (ICLR 2025 · similarity 0.89)
- ICLR: In-Context Learning of Representations (ICLR 2025 · similarity 0.88)
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.