mlsanityData to 24 Nov 2026

MicroLens: Read, Trace, and Rewire the Residual Stream with Two Lenses

arXiv 2611.13322 ↗Submitted 9 Nov 2026cs.LG cs.CL cs.HCcited by 1

New in Mechanistic interpretability; no direction yet. Mechanistic interpretability

Abstract (arXiv)

Lenses that decode hidden states into words are a popular way to look inside language models, but a heatmap of decoded words only shows what a vector reads as and cannot distinguish whether, or how much, the model uses the information. We present an interactive viewer that puts reading, tracing and editing on the same layers-by-tokens grid of the residual stream. In the viewer, every cell can be decoded with two lenses, the logit lens and the Jacobian lens (J-lens), traced back to the tokens it drew from, and edited, with the rest of the model rerun on the spot. We demonstrate three usage scenarios on Gemma-3-4B-it, backed by sweeps over a few hundred prompts, to show what this tool can discover. First, the two lenses give different directions to write with, each suiting a different edit: the logit lens's word direction sets what a token outputs, while the J-lens's direction changes what later tokens read. Second, in two-hop trivia questions (the capital of the state or country containing a given city), the state or country is readable at the city token from as early as layer 7, and swapping it there can redirect the answer 92-98% of the time; however, at the answer position, the state or country information is not used. Third, when a chat model answers questions with a step-by-step reasoning prompt, the correct answer is often already the top word in the residual stream before any reasoning is written: for 89-92% of retrieval questions and 39-63% of multi-hop and serial ones, far above their respective distractors (at most 5%). However, ordering puzzles are an exception, as the model works them out only once it writes its final reasoning steps. Furthermore, for answers that are visible in the residual stream, the J-lens reads them a layer or two earlier than the logit lens across the different types of question.

Key facts. Cited by 1 paper in the map (data through 24 Nov 2026). Builds on 17 of its 23 references that are in the map. Submitted 9 Nov 2026.

Builds on

17 of 23 references.

References · 17

  1. 2022Locating and Editing Factual Associations in GPTcited by 2,951
  2. 2025Gemma 3 Technical Reportcited by 2,058
  3. 2020Quantifying Attention Flow in Transformerscited by 828
  4. 2023Eliciting Latent Predictions from Transformers with the Tuned Lenscited by 713
  5. 2023Dissecting Recall of Factual Associations in Auto-Regressive Language Modelscited by 578
  6. 2023Towards Best Practices of Activation Patching in Language Models: Metrics and Methodscited by 425
  7. 2023Function Vectors in Large Language Modelscited by 353
  8. 2024Do Llamas Work in English? On the Latent Language of Multilingual Transformerscited by 307
  9. 2019A Multiscale Visualization of Attention in the Transformer Modelcited by 300
  10. 2024Patchscopes: A Unifying Framework for Inspecting Hidden Representations of Language Modelscited by 273
  11. 2024How to use and interpret activation patchingcited by 252
  12. 2024Do Large Language Models Latently Perform Multi-Hop Reasoning?cited by 191
5 more
  1. 2018Visual Analytics in Deep Learning: An Interrogative Survey for the Next Frontierscited by 119
  2. 2026Verbalizable Representations Form a Global Workspace in Language Modelscited by 112
  3. 2024Hopping Too Late: Exploring the Limitations of Large Language Models on Multi-Hop Queriescited by 95
  4. 2022LM-Debugger: An Interactive Tool for Inspection and Intervention in Transformer-Based Language Modelscited by 29
  5. 2024LM Transparency Tool: Interactive Tool for Analyzing Transformer Language Modelscited by 18

Built on by

Cited by year (2026 to 24 Nov)

Citing papers per year: 2026: 1.

1 paper.

Similar, not cited

Close in wording, no citation either way

  1. 2025LogitLens4LLMs: Extending Logit Lens Analysis to Modern Large Language Models
  2. 2026The Elephant in the Question: Unified Models Picture the Concepts Behind Their Answers
  3. 2025ParaScopes: What do Language Models Activations Encode About Future Text?
  4. 2026Contrastive Projection: Reading Transformer Internals by Differencing Logit Lenses
  5. 2026Logit Lens Supervision for Patch-Level Explanations in Vision-Language Models
  6. 2025See the Text: From Tokenization to Visual Reading
  7. 2024Reasoning to Attend: Try to Understand How <SEG> Token Works
  8. 2026Let a Small Model Read First: Faster Prefill for Long Interleaved Image-Text Inputs