Training Dynamics of Parametric and In-Context Knowledge Utilization in Language Models
Minsung Kim, Dong-Kyum Kim, Jea Kwon, Nakyeong Yang, Kyomin Jung, Meeyoung Cha
TL;DR
Large language models rely on both parametric ($Acc_{PKU}$) and in-context ($Acc_{ICKU}$) knowledge, but arbitration strategies appear to emerge during pretraining rather than being fixed. The authors train decoder-only transformers on synthetic biographies under controlled corpus variants to reveal how repetition, inconsistency noise, and Zipfian distributions shape arbitration metrics such as $Pref_{PK}$, $Pref_{ICK}$, $Acc_{PKU}$, and $Acc_{ICKU}$. They show that intra-document repetition enables the co-emergence of both knowledge-utilization modes, that small inconsistency noise biases conflict resolution toward parametric knowledge, and that distributional skew preserves in-context use for unfamiliar entities. These findings challenge traditional data-cleaning norms and offer practical guidelines for designing pretraining data in retrieval-augmented settings to achieve harmonious knowledge arbitration.
Abstract
Large language models often encounter conflicts between in-context knowledge retrieved at inference time and parametric knowledge acquired during pretraining. Models that accept external knowledge uncritically are vulnerable to misinformation, whereas models that adhere rigidly to parametric knowledge fail to benefit from retrieval. Despite the widespread adoption of retrieval-augmented generation, we still lack a systematic understanding of what shapes knowledge-arbitration strategies during training. This gap risks producing pretrained models with undesirable arbitration behaviors and, consequently, wasting substantial computational resources after the pretraining budget has already been spent. To address this problem, we present the first controlled study of how training conditions influence models' use of in-context and parametric knowledge, and how they arbitrate between them. We train transformer-based language models on a synthetic biographies corpus while systematically controlling various conditions. Our experiments reveal that intra-document repetition of facts fosters the development of both parametric and in-context capabilities. Moreover, training on a corpus that contains inconsistent information or distributional skew encourages models to develop robust strategies for leveraging parametric and in-context knowledge. Rather than viewing these non-ideal properties as artifacts to remove, our results indicate that they are important for learning robust arbitration. These insights offer concrete, empirical guidance for pretraining models that harmoniously integrate parametric and in-context knowledge.
