An Analysis for Reasoning Bias of Language Models with Small Initialization
Junjie Yao, Zhongwang Zhang, Zhi-Qin John Xu
TL;DR
This work investigates how the scale of parameter initialization shapes learning biases in Transformer-based language models, revealing that small initializations bias models toward reasoning tasks while larger initializations bias toward memorization. By combining a synthetic anchor-function framework with Emb-MLP and Transformer analyses, the paper links token-label distributions to embedding differentiation and to the dynamics of self-attention modules, providing a gradient-flow based theoretical account. Real-language experiments with GPT-2/GPT-2–like models on PrOntoQA and TinyStories corroborate the theory, showing increased reasoning emphasis with smaller initializations and more distinguishable reasoning embeddings. The findings offer practical guidelines for initialization strategies and deepen the understanding of how training dynamics interact with architecture to shape task preferences and generalization in LLMs.
Abstract
Transformer-based Large Language Models (LLMs) have revolutionized Natural Language Processing by demonstrating exceptional performance across diverse tasks. This study investigates the impact of the parameter initialization scale on the training behavior and task preferences of LLMs. We discover that smaller initialization scales encourage models to favor reasoning tasks, whereas larger initialization scales lead to a preference for memorization tasks. We validate this reasoning bias via real datasets and meticulously designed anchor functions. Further analysis of initial training dynamics suggests that specific model components, particularly the embedding space and self-attention mechanisms, play pivotal roles in shaping these learning biases. We provide a theoretical framework from the perspective of model training dynamics to explain these phenomena. Additionally, experiments on real-world language tasks corroborate our theoretical insights. This work enhances our understanding of how initialization strategies influence LLM performance on reasoning tasks and offers valuable guidelines for training models.
