Initialization is Critical to Whether Transformers Fit Composite Functions by Reasoning or Memorizing
Not on the map. Why?
Abstract (arXiv)
Transformers have shown impressive capabilities across various tasks, but their performance on compositional problems remains a topic of debate. In this work, we investigate the mechanisms of how transformers behave on unseen compositional tasks. We discover that the parameter initialization scale plays a critical role in determining whether the model learns inferential (reasoning-based) solutions, which capture the underlying compositional primitives, or symmetric (memory-based) solutions, which simply memorize mappings without understanding the compositional structure. By analyzing the information flow and vector representations within the model, we reveal the distinct mechanisms underlying these solution types. We further find that inferential (reasoning-based) solutions exhibit low complexity bias, which we hypothesize is a key factor enabling them to learn individual mappings for single anchors. We validate our conclusions on various real-world datasets. Our findings provide valuable insights into the role of initialization scale in tuning the reasoning and memorizing ability and we propose the initialization rate γ to be a convenient tunable hyper-parameter in common deep learning frameworks, where 1/dinγ is the standard deviation of parameters of the layer with din input neurons.
Key facts. Cited by 15 papers in the map (data through 7 Oct 2026). Builds on 61 of its 89 references that are in the map. First posted on arXiv 8 May 2024.
Builds on
61 of 89 references.
References · 61
- 2017Attention Is All You Needcited by 59,932
- 2020Language Models are Few-Shot Learnerscited by 32,199
- 2023GPT-4 Technical Reportcited by 18,132
- 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Modelscited by 12,302
- 2018Neural Tangent Kernel: Convergence and Generalization in Neural Networkscited by 2,597
- 2023Sparks of Artificial General Intelligence: Early experiments with GPT-4cited by 2,579
- 2022Emergent Abilities of Large Language Modelscited by 2,483
- 2022Beyond the Imitation Game: Quantifying and extrapolating the capabilities of language modelscited by 1,970
- 2022Measuring and Narrowing the Compositionality Gap in Language Modelscited by 1,054
- 2017A Closer Look at Memorization in Deep Networkscited by 936
- 2022Compositional Visual Generation with Composable Diffusion Modelscited by 619
- 2022Grokking: Generalization Beyond Overfitting on Small Algorithmic Datasetscited by 599
38 more
- 2019On Exact Computation with an Infinitely Wide Neural Netcited by 572
- 2023Faith and Fate: Limits of Transformers on Compositionalitycited by 496
- 2018A Mean Field View of the Landscape of Two-Layers Neural Networkscited by 463
- 2018On the Global Convergence of Gradient Descent for Over-parameterized Models using Optimal Transportcited by 422
- 2015An Introduction to Matrix Concentration Inequalitiescited by 391
- 2022Training-Free Structured Diffusion Guidance for Compositional Text-to-Image Synthesiscited by 386
- 2019Frequency Principle: Fourier Analysis Sheds Light on Deep Neural Networkscited by 360
- 2022Language Models Are Greedy Reasoners: A Systematic Formal Analysis of Chain-of-Thoughtcited by 334
- 2022Selection-Inference: Exploiting Large Language Models for Interpretable Logical Reasoningcited by 331
- 2019Compositionality decomposed: how do neural networks generalise?cited by 264
- 2020COGS: A Compositional Generalization Challenge Based on Semantic Interpretationcited by 260
- 2022Transformers Learn Shortcuts to Automatacited by 260
- 2023Label Words are Anchors: An Information Flow Perspective for Understanding In-Context Learningcited by 235
- 2023Reduce, Reuse, Recycle: Compositional Generation with Energy-Based Diffusion Models and MCMCcited by 216
- 2020Understanding the Difficulty of Training Transformerscited by 210
- 2022DeepNet: Scaling Transformers to 1,000 Layerscited by 176
- 2022Omnigrok: Grokking Beyond Algorithmic Datacited by 142
- 2022Faithful Reasoning Using Large Language Modelscited by 130
- 2018Mean Field Analysis of Neural Networks: A Central Limit Theoremcited by 107
- 2022Benchmarking Spatial Relationships in Text-to-Image Generationcited by 96
- 2023Compositional Abilities Emerge Multiplicatively: Exploring Diffusion Models on a Synthetic Taskcited by 91
- 2022A very preliminary analysis of DALL-E 2cited by 82
- 2020Phase diagram for two-layer ReLU neural networks at infinite-width limitcited by 65
- 2021The Neural Data Router: Adaptive Control Flow in Transformers Improves Systematic Generalizationcited by 62
- 2019Improving Deep Transformer with Depth-Scaled Initialization and Merged Attentioncited by 59
- 2022Testing Relational Understanding in Text-Guided Image Generationcited by 59
- 2023Mimetic Initialization of Self-Attention Layerscited by 52
- 2019A Comparative Analysis of the Optimization and Generalization Property of Two-layer Neural Network and Random Feature Models Under Gradient Descent Dynamicscited by 49
- 2019Gradient Dynamics of Shallow Univariate ReLU Networkscited by 46
- 2021GradInit: Learning to Initialize Neural Networks for Stable and Efficient Trainingcited by 44
- 2022Neurocompositional computing: From the Central Paradox of Cognition to a new generation of AI systemscited by 44
- 2023Break It Down: Evidence for Structural Compositionality in Neural Networkscited by 44
- 2020Assessing Phrasal Representation and Composition in Transformerscited by 41
- 2021Embedding Principle of Loss Landscape of Deep Neural Networkscited by 36
- 2019A type of generalization error induced by initialization in deep neural networkscited by 33
- 2021Towards Understanding the Condensation of Neural Networks at Initial Trainingcited by 31
- 2022Do Vision-Language Pretrained Models Learn Composable Primitive Concepts?cited by 31
- 2022DALL-E 2 Fails to Reliably Capture Common Syntactic Processescited by 31
50 most cited of 61 All 61 (JSON)
Built on by
Citing papers per year: 2024: 2; 2025: 10; 2026: 3.
15 papers.
Sort:
By area:
- 2025Complexity Control Facilitates Reasoning-Based Compositional Generalization in Transformerscited by 19
- 2025DiTFastAttnV2: Head-wise Attention Compression for Multi-Modality Diffusion Transformerscited by 19
- 2025An overview of condensation phenomenon in deep learningcited by 13
- 2025Adaptive Preconditioners Trigger Loss Spikes in Adamcited by 10
- 2024Swing-by Dynamics in Concept Learning and Compositional Generalizationcited by 5
- 2024Quantifying artificial intelligence through algorithmic generalizationcited by 5
- 2025Are Transformers Able to Reason by Connecting Separated Knowledge in Training Data?cited by 3
- 2025Reasoning Bias of Next Token Prediction Trainingcited by 3
- 2025Probability Signature: Bridging Data Semantics and Embedding Structure in Language Modelscited by 2
- 2025Review of Hallucination Understanding in Large Language and Vision Modelscited by 2
- 2026Transforming Rank: How Architecture Navigates the Spectral Pathologies of Depthcited by 2
- 2025Scalable Complexity Control Facilitates Reasoning Ability of LLMscited by 1
- 2026Transforming Rank: How Architecture Navigates the Spectral Pathologies of Depth15 Jul 2026
- 2026Small Initialization Matters for Large Language Models16 Jun 2026
- 2026Transformers Can Learn Rules They've Never Seen: Proof of Computation Beyond Interpolation17 Mar 2026
- 2025Review of Hallucination Understanding in Large Language and Vision Models26 Sep 2025
- 2025Probability Signature: Bridging Data Semantics and Embedding Structure in Language Models24 Sep 2025
- 2025Adaptive Preconditioners Trigger Loss Spikes in Adam5 Jun 2025
- 2025Scalable Complexity Control Facilitates Reasoning Ability of LLMs29 May 2025
- 2025An overview of condensation phenomenon in deep learning13 Apr 2025
- 2025DiTFastAttnV2: Head-wise Attention Compression for Multi-Modality Diffusion Transformers28 Mar 2025
- 2025Examining Two Hop Reasoning Through Information Content Scaling5 Feb 2025
- 2025Reasoning Bias of Next Token Prediction Training4 Feb 2025
- 2025Are Transformers Able to Reason by Connecting Separated Knowledge in Training Data?27 Jan 2025
- 2025Scalable Complexity Control Facilitates Reasoning Ability of LLMs29 May 2025
- 2025Reasoning Bias of Next Token Prediction Training4 Feb 2025
- 2025Complexity Control Facilitates Reasoning-Based Compositional Generalization in Transformerscited by 19
- 2025An overview of condensation phenomenon in deep learningcited by 13
- 2025Adaptive Preconditioners Trigger Loss Spikes in Adamcited by 10
- 2024Quantifying artificial intelligence through algorithmic generalizationcited by 5
- 2025Are Transformers Able to Reason by Connecting Separated Knowledge in Training Data?cited by 3
- 2025Probability Signature: Bridging Data Semantics and Embedding Structure in Language Modelscited by 2
- 2025Review of Hallucination Understanding in Large Language and Vision Modelscited by 2
- 2026Transforming Rank: How Architecture Navigates the Spectral Pathologies of Depthcited by 2
- 2025Examining Two Hop Reasoning Through Information Content Scalingcited by 0
- 2026Transformers Can Learn Rules They've Never Seen: Proof of Computation Beyond Interpolationcited by 0
- 2026Small Initialization Matters for Large Language Modelscited by 0
- 2026Transforming Rank: How Architecture Navigates the Spectral Pathologies of Depth15 Jul 2026
- 2026Small Initialization Matters for Large Language Models16 Jun 2026
- 2026Transformers Can Learn Rules They've Never Seen: Proof of Computation Beyond Interpolation17 Mar 2026
- 2025Review of Hallucination Understanding in Large Language and Vision Models26 Sep 2025
- 2025Probability Signature: Bridging Data Semantics and Embedding Structure in Language Models24 Sep 2025
- 2025Adaptive Preconditioners Trigger Loss Spikes in Adam5 Jun 2025
- 2025An overview of condensation phenomenon in deep learning13 Apr 2025
- 2025Examining Two Hop Reasoning Through Information Content Scaling5 Feb 2025
- 2025Are Transformers Able to Reason by Connecting Separated Knowledge in Training Data?27 Jan 2025
- 2025Complexity Control Facilitates Reasoning-Based Compositional Generalization in Transformers15 Jan 2025
- 2024Quantifying artificial intelligence through algorithmic generalization8 Nov 2024