Manuscript Offprint

arXiv:2610.02593

Fisher-Guided Submodular Data Selection for Continual Pre-Training of Large Language Models

Zhenghao Zhao, Gaowen Liu, Zhiling Lan, Yan Yan

ABSTRACT

Data selection is already a central bottleneck in large-language-model training, where web-scale corpora are noisy and token budgets are finite. In continual pre-training (CPT), it becomes a forgetting-control problem: a poorly chosen target-domain corpus can overwrite capabilities encoded in the pretrained checkpoint. Existing CPT practice either scores candidates with parameter-agnostic scalars such as perplexity, or mitigates forgetting by spending many extra general-domain replay tokens. Neither strategy directly asks how training on a candidate will move the model parameters. We show that loss-based selection causes the post-CPT Fisher diagonal to drift downward on exactly the high-Fisher coordinates the pretrained model had committed to, while leaving low-Fisher coordinates largely untouched. This asymmetry exposes a parameter-space mechanism for catastrophic forgetting. Motivated by this observation, we propose a Fisher-aware CPT selector that decomposes each candidate's gradient into an anchor component, which measures perturbation along committed parameter directions, and a frontier component, which measures update capacity in unconstrained low-Fisher subspaces. We aggregate these signals with a log-determinant submodular objective and optimize it in a single pass using a scalable streaming data selection pipeline. On TinyLlama-1.1B and Llama-3.1-8B CPT over medical data, our selector improves target-domain quality while bounding forgetting on held-out pretraining benchmarks. Most importantly, it is substantially more token-efficient than forgetting-aware replay. 1B selected tokens already outperform the replay strategy trained with 10B tokens on both adaptation and forgetting, giving a 10×10\times token-efficiency advantage.

1 INTRODUCTION

Data selection (Xie et al., 2023b;a; Zhou et al., 2023; Chen et al., 2023a;b) is one of the few practical levers for making large-language-model training efficient: web-scale corpora are noisy, token budgets are finite, and the examples that enter training determine what knowledge is acquired per unit compute. The lever becomes even more consequential in continual pre-training (Ibrahim et al., 2024; Chen et al., 2025a) (CPT), where a pretrained LLM is updated on a new domain, language, or temporal slice rather than trained from scratch (Ibrahim et al., 2024; Chen et al., 2025a). In CPT, data selection is not only about learning faster; it is also a forgetting-control mechanism. A poorly chosen target-domain update can silently overwrite the very capabilities that made the pretrained checkpoint valuable (Kirkpatrick et al., 2017; Li & Lee, 2024; Shi et al., 2025). Thus a CPT selector must solve two coupled problems at once: acquire new knowledge from the target domain while preserving the old knowledge already encoded in the model.

The standard toolkit is poorly matched to this requirement. Quality classifiers and rule-based filters (Peng et al., 2025; Calian et al., 2025; Marion et al., 2023) score a candidate by cleanliness or topical fit, while per-sample loss and perplexity (Sorscher et al., 2022) treat the model as a black box whose only output is a scalar. These signals describe a document under the current model, but they do not say how training on it would move the parameters. Replay-based CPT mitigates forgetting from another direction by mixing general-domain data back into training, but it pays for retention with many additional tokens and still leaves the target-domain selection problem unresolved. What is missing is a selector that can identify target-domain examples that are both useful for adaptation and structurally unlikely to interfere with retained capability.

Our starting point is a simple parameter-space observation. The Fisher information (Kirkpatrick et al., 2017) of a pretrained model encodes, direction by direction, how strongly the predictive distribution depends on perturbing the parameters. We empirically find that parameter-agnostic method cause the post-CPT Fisher diagonal to drift downward on exactly the high-Fisher coordinates the pretrained model had committed to, while leaving low-Fisher coordinates largely untouched. This is precisely the asymmetry of catastrophic forgetting: committed directions are damaged, and uncommitted directions are underused. The observation suggests that selection should be performed not only in data space or loss space, but in the Fisher geometry of the pretrained model.

In this paper, we propose to use the Fisher information to decide which candidates enter CPT. For each candidate, we decompose its gradient into two parameter-aware components. An anchor component quantifies perturbation along high-Fisher directions that carry retained capability, while a frontier component captures update capacity in low-Fisher subspaces where the pretrained model is less committed. An effective CPT sample must balance both: it should avoid destructive interference with existing capability while supplying genuinely new, non-redundant information. This curvature-aware decomposition turns forgetting control and acquisition into a single selection signal rather than two post-hoc training heuristics.

To select a subset rather than rank candidates independently, we aggregate the anchor and frontier signals with a log-determinant objective. The resulting utility rewards gradient volume in the two Fisher-induced geometries, so it favors candidates that are high-value and mutually non-redundant. This objective is monotone submodular, so offline greedy selection attains the classical (1−1/e)(1 - 1/e) approximation guarantee of (Nemhauser et al., 1978). For large-scale CPT streams, we maximize the same objective in one pass with Sieve-Streaming (Badanidiyuru et al., 2014), restrict the decomposition to the LoRA (Hu et al., 2022) adapter subspace, replace the full Fisher with its diagonal, project gradients via TRAK (Park et al., 2023), and use Sherman–Morrison rank-1 updates of the per-sieve Gram inverses to reduce the per-candidate cost to quadratic in a small projected dimension.

Empirically, on CPT of TinyLlama-1.1B and Llama-3.1-8B over medical data, our selector improves target-domain quality while bounding degradation on held-out pretraining benchmarks. The most direct comparison is against forgetting-aware replay: on TinyLlama-1.1B, our 1B-token selected subset already outperforms the replay strategy trained with 10B tokens on both adaptation and forgetting, giving a ≥10×\geq 10\times token-efficiency advantage.

The contributions of this paper are summarized as follows:

• We propose decomposing each candidate’s gradient into an anchor component and a frontier component using the pretrained model’s diagonal Fisher information, yielding a parameter-aware signal that simultaneously measures interference with existing knowledge and acquisition of new knowledge.

• We aggregate the two components into a log det Gram-volume set function and instantiate the classical Sieve-Streaming algorithm to maximize it in a single pass over the candidate pool, with per-sample cost independent of pool size.

• On TinyLlama-1.1B and Llama-3 8B, our selector improves target-domain quality at a fraction of the training tokens used by random and perplexity baselines, while bounding forgetting on held-out benchmarks.

References (100)

Couldn't load all references. Reload the page to try again.