Salvato in:
Dettagli Bibliografici
Autori principali: Wang, Haoyu, Shang, Yifan, Sun, Zhongxiang, Yu, Weijie, Zhang, Xiao, Xu, Jun
Natura: Preprint
Pubblicazione: 2026
Soggetti:
Accesso online:https://arxiv.org/abs/2605.10640
Tags: Aggiungi Tag
Nessun Tag, puoi essere il primo ad aggiungerne!!
_version_ 1866911671723753472
author Wang, Haoyu
Shang, Yifan
Sun, Zhongxiang
Yu, Weijie
Zhang, Xiao
Xu, Jun
author_facet Wang, Haoyu
Shang, Yifan
Sun, Zhongxiang
Yu, Weijie
Zhang, Xiao
Xu, Jun
contents Continual Pre-Training (CPT) is essential for enabling Language Models (LMs) to integrate new knowledge without erasing old. While classical CPT techniques like data replay have become the standard paradigm, the mechanisms underlying how LMs acquire and retain facts over time, termed as continual Factual Knowledge Acquisition (cFKA), remain unclear. In this work, we present a theoretical framework that characterizes the training dynamics of cFKA using a single-layer Transformer, offering a unified explanation for the behavior of representative CPT methods. Our analysis reveals that regularization-based methods merely adjust the convergence rate of parameters without altering the inherent forgetting tendency, whereas data replay methods succeed in shifting convergence dynamics and stabilizing pretrained knowledge. Building on these insights, we propose a novel generative data replay approach, called \textbf{S}electing \textbf{T}okens via attenti\textbf{O}n \textbf{C}ontribution~(STOC), which identifies influential factual snippets to guide replay data generation. Extensive experiments on both synthetic and real-world datasets validate our findings and demonstrate that STOC effectively enhances cFKA by mitigating catastrophic forgetting.
format Preprint
id arxiv_https___arxiv_org_abs_2605_10640
institution arXiv
publishDate 2026
record_format arxiv
spellingShingle Towards Understanding Continual Factual Knowledge Acquisition of Language Models: From Theory to Algorithm
Wang, Haoyu
Shang, Yifan
Sun, Zhongxiang
Yu, Weijie
Zhang, Xiao
Xu, Jun
Computation and Language
Artificial Intelligence
Continual Pre-Training (CPT) is essential for enabling Language Models (LMs) to integrate new knowledge without erasing old. While classical CPT techniques like data replay have become the standard paradigm, the mechanisms underlying how LMs acquire and retain facts over time, termed as continual Factual Knowledge Acquisition (cFKA), remain unclear. In this work, we present a theoretical framework that characterizes the training dynamics of cFKA using a single-layer Transformer, offering a unified explanation for the behavior of representative CPT methods. Our analysis reveals that regularization-based methods merely adjust the convergence rate of parameters without altering the inherent forgetting tendency, whereas data replay methods succeed in shifting convergence dynamics and stabilizing pretrained knowledge. Building on these insights, we propose a novel generative data replay approach, called \textbf{S}electing \textbf{T}okens via attenti\textbf{O}n \textbf{C}ontribution~(STOC), which identifies influential factual snippets to guide replay data generation. Extensive experiments on both synthetic and real-world datasets validate our findings and demonstrate that STOC effectively enhances cFKA by mitigating catastrophic forgetting.
title Towards Understanding Continual Factual Knowledge Acquisition of Language Models: From Theory to Algorithm
topic Computation and Language
Artificial Intelligence
url https://arxiv.org/abs/2605.10640