mlsanityData to 7 Oct 2026

Equivalence of Context and Parameter Updates in Modern Transformer Blocks

arXiv 2511.17864 ↗First posted 22 Nov 2025cs.LGcited by 4

Not on the map. Why?

Abstract (arXiv)

Recent research has established that the impact of context in a vanilla transformer can be represented implicitly by forming a token-dependent, rank-1 patch to its MLP weights. This work extends that foundational theory to the diverse architectures of modern Large Language Models. We first demonstrate a precise, analytical solution for a Gemma-style transformer block, proving that the entire effect of a context can be perfectly mapped to rank-1 patches on its MLP weight matrices and a patch to the RMSNorm scale. We then generalize this result, providing a constructive proof and algorithm for multi-layer models. To unify these findings, we introduce a general framework centered on two core properties: input controllability and output controllability. We prove that a perfect implicit weight patch is possible for any MLP block where the inner function is input-controllable and the outer function is output-controllable. This provides a simpler and more powerful lens for understanding how transformer models transmute prompts into effective weights. This setup generalizes to a wide range of modern LLM architectures including gating, pre-/post-norm, mixture of experts and sequential/parallel transformer blocks.

Key facts. Cited by 4 papers in the map (data through 7 Oct 2026). Builds on 19 of its 25 references that are in the map. First posted on arXiv 22 Nov 2025.

Builds on

19 of 25 references.

References · 19

  1. 2017Attention Is All You Needcited by 59,932
  2. 2020Language Models are Few-Shot Learnerscited by 32,199
  3. 2023LLaMA: Open and Efficient Foundation Language Modelscited by 13,958
  4. 2025Qwen3 Technical Reportcited by 8,195
  5. 2023Mamba: Linear-Time Sequence Modeling with Selective State Spacescited by 4,616
  6. 2023Mistral 7Bcited by 3,065
  7. 2021Efficiently Modeling Long Sequences with Structured State Spacescited by 2,424
  8. 2024Mixtral of Expertscited by 1,785
  9. 2020GLU Variants Improve Transformercited by 1,724
  10. 2025Gemma 3 Technical Reportcited by 1,686
  11. 2019Root Mean Square Layer Normalizationcited by 1,425
  12. 2022In-context Learning and Induction Headscited by 930
7 more
  1. 2021An Explanation of In-context Learning as Implicit Bayesian Inferencecited by 915
  2. 2020On Layer Normalization in the Transformer Architecturecited by 906
  3. 2022Transformers learn in-context by gradient descentcited by 714
  4. 2023The Falcon Series of Open Language Modelscited by 526
  5. 2022Why Can GPT Learn In-Context? Language Models Implicitly Perform Gradient Descent as Meta-Optimizerscited by 204
  6. 2025Learning without training: The implicit dynamics of in-context learningcited by 41
  7. 2025Transmuting prompts into weightscited by 3

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2026: 4.

4 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2024Do Efficient Transformers Really Save Computation?
  2. 2024Relaxed Recursive Transformers: Effective Parameter Sharing with Layer-wise LoRA
  3. 2026Revisiting the Shape Convention of Transformer Language Models
  4. 2025Pimba: A Processing-in-Memory Acceleration for Post-Transformer Large Language Model Serving
  5. 2026Adaptive Loops and Memory in Transformers: Think Harder or Know More?
  6. 2026The Context-Ready Transformer
  7. 2023Block-State Transformers
  8. 2025Differential Mamba