Equivalence of Context and Parameter Updates in Modern Transformer Blocks
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
- 2017Attention Is All You Needcited by 59,932
- 2020Language Models are Few-Shot Learnerscited by 32,199
- 2023LLaMA: Open and Efficient Foundation Language Modelscited by 13,958
- 2025Qwen3 Technical Reportcited by 8,195
- 2023Mamba: Linear-Time Sequence Modeling with Selective State Spacescited by 4,616
- 2023Mistral 7Bcited by 3,065
- 2021Efficiently Modeling Long Sequences with Structured State Spacescited by 2,424
- 2024Mixtral of Expertscited by 1,785
- 2020GLU Variants Improve Transformercited by 1,724
- 2025Gemma 3 Technical Reportcited by 1,686
- 2019Root Mean Square Layer Normalizationcited by 1,425
- 2022In-context Learning and Induction Headscited by 930
7 more
- 2021An Explanation of In-context Learning as Implicit Bayesian Inferencecited by 915
- 2020On Layer Normalization in the Transformer Architecturecited by 906
- 2022Transformers learn in-context by gradient descentcited by 714
- 2023The Falcon Series of Open Language Modelscited by 526
- 2022Why Can GPT Learn In-Context? Language Models Implicitly Perform Gradient Descent as Meta-Optimizerscited by 204
- 2025Learning without training: The implicit dynamics of in-context learningcited by 41
- 2025Transmuting prompts into weightscited by 3
Built on by
Citing papers per year: 2026: 4.
4 papers.
- 2026Indications of Belief-Guided Agency and Meta-Cognitive Monitoring in Large Language Modelscited by 3
- 2026Nonsense Helps: Prompt Space Perturbation Broadens Reasoning Explorationcited by 1
- 2026SemRF: A Semantic Reference Frame for Residual-Stream Dynamics in Language Modelscited by 1
- 2026PatchKV: Weight-Space Compensation of KV Cachecited by 1
- 2026PatchKV: Weight-Space Compensation of KV Cache30 Sep 2026
- 2026SemRF: A Semantic Reference Frame for Residual-Stream Dynamics in Language Models30 Jun 2026
- 2026Nonsense Helps: Prompt Space Perturbation Broadens Reasoning Exploration7 May 2026
- 2026Indications of Belief-Guided Agency and Meta-Cognitive Monitoring in Large Language Models2 Feb 2026
Similar, not cited
Close in wording, no citation either way
- 2024Do Efficient Transformers Really Save Computation?
- 2024Relaxed Recursive Transformers: Effective Parameter Sharing with Layer-wise LoRA
- 2026Revisiting the Shape Convention of Transformer Language Models
- 2025Pimba: A Processing-in-Memory Acceleration for Post-Transformer Large Language Model Serving
- 2026Adaptive Loops and Memory in Transformers: Think Harder or Know More?
- 2026The Context-Ready Transformer
- 2023Block-State Transformers
- 2025Differential Mamba