Paper deep dive
Learning New Facts with QLoRA: An Acquisition-Retention Frontier
Estelle Zheng, Sébastien Warichet, Emmanuel Helbert, Christophe Cerisara
Intelligence
Status: succeeded | Model: Gemma-4-26B-A4B | Prompt: intel-v1 | Confidence: 93%
Last extracted: 8/28/2026, 3:24:49 AM
Summary
This study investigates the trade-off between factual acquisition and capability retention in large language models during fine-tuning. Using an OpenStreetMap-derived benchmark with anonymized geographic facts, the authors compare Full Fine-Tuning (FFT) and Quantized Low-Rank Adaptation (QLoRA) across various ranks (8, 16, 32, 64) on the Qwen3-4B model. Results demonstrate that QLoRA rank acts as a control for an 'acquisition-retention frontier': low-rank adapters preserve out-of-domain (OOD) performance but acquire fewer facts, while higher ranks improve factual generalization at the cost of significant OOD degradation. FFT serves as a conservative baseline, retaining capabilities well but failing to achieve the highest factual acquisition seen in mid-to-high rank QLoRA. Model-drift diagnostics (KL divergence, weight updates, SVD) correlate with this behavioral trade-off. A separate math adaptation experiment showed a weaker frontier, suggesting the effect is most pronounced when installing new factual associations rather than reinforcing existing skills.
Entities (15)
Relation Signals (9)
QLoRA â usedon â Qwen3-4B
confidence 98% · We use Qwen3-4B (Yang et al., 2025a) as the base model and compare full fine-tuning (FFT) with QLoRA adapters
Rank â controls â Acquisition-Retention Frontier
confidence 96% · QLoRA rank controls an acquisitionâretention frontier for new factual associations
QLoRA â hasparameter â Rank
confidence 95% · Comparing full fine-tuning (FFT) with quantized low-rank adaptation (QLoRA) at ranks 8, 16, 32, and 64
OpenStreetMap â usedfor â factual acquisition
confidence 94% · We introduce a factual acquisition benchmark derived from OpenStreetMap (OSM)
High-rank QLoRA â causes â OOD degradation
confidence 93% · higher ranks improve same-fact paraphrase generalization at an increasing cost in performance on unrelated benchmarks
Low-rank QLoRA â preserves â OOD performance
confidence 93% · Low-rank QLoRA preserves out-of-domain (OOD) performance but acquires fewer facts
FFT â retains â general capabilities
confidence 92% · FFT behaves as a conservative baseline: it retains general capabilities well
Model-drift diagnostics â correlateswith â acquisition-retention trade-off
confidence 91% · Distributional, weight-space, and spectral diagnostics mirror this behavioral trade-off
Cypher Suggestions (0)
No Cypher suggestions yet.
Abstract
Abstract:Parameter-efficient fine-tuning is often assumed to preserve pretrained capabilities because it updates only a small number of parameters. We show that this assumption depends strongly on adapter capacity. We study factual acquisition in a controlled OpenStreetMap-derived benchmark where Qwen3-4B must acquire anonymized geographic associations while retaining unrelated capabilities. Comparing full fine-tuning (FFT) with quantized low-rank adaptation (QLoRA) at ranks 8, 16, 32, and 64, we find that rank induces a clear acquisition--retention frontier. Low-rank QLoRA preserves out-of-domain (OOD) performance but acquires fewer facts, whereas higher ranks improve same-fact paraphrase generalization at an increasing cost in performance on unrelated benchmarks. FFT behaves as a conservative baseline: it retains general capabilities well, but does not reach the highest factual-acquisition regime. Distributional, weight-space, and spectral diagnostics mirror this behavioral trade-off, with higher-rank QLoRA moving farther from the pretrained model. A separate math adaptation experiment shows a weaker frontier, suggesting that the effect is most pronounced when adaptation must install new factual associations rather than reinforce skills already supported by pretraining. Code and data are available at this https URL.
Tags
Links
- Source: https://arxiv.org/abs/2608.25677v2
- Canonical: https://arxiv.org/abs/2608.25677v2
Trouble viewing inline? Open PDF directly â
Full Text
45,528 characters extracted from source content.
Expand or collapse full text
Learning New Facts with QLoRA: An Acquisition-Retention Frontier Estelle Zheng Affiliation: LORIA, CNRS, France Affiliation: Alcatel-Lucent Enterprise, France Email: estelle.zheng@loria.fr SĂ©bastien Warichet Affiliation: Alcatel-Lucent Enterprise, France Email: cerisara@loria.fr Emmanuel Helbert Affiliation: Alcatel-Lucent Enterprise, France Email: sebastien.warichet@al-enterprise.com Christophe Cerisara Affiliation: LORIA, CNRS, France Email: emmanuel.helbert@al-enterprise.com Abstract Parameter-efficient fine-tuning is often assumed to preserve pretrained capabilities because it updates only a small number of parameters. We show that this assumption depends strongly on adapter capacity. We study factual acquisition in a controlled OpenStreetMap-derived benchmark where Qwen3-4B must acquire anonymized geographic associations while retaining unrelated capabilities. Comparing full fine-tuning (FFT) with quantized low-rank adaptation (QLoRA) at ranks 8, 16, 32, and 64, we find that rank induces a clear acquisition--retention frontier. Low-rank QLoRA preserves out-of-domain (OOD) performance but acquires fewer facts, whereas higher ranks improve same-fact paraphrase generalization at an increasing cost in performance on unrelated benchmarks. FFT behaves as a conservative baseline: it retains general capabilities well, but does not reach the highest factual-acquisition regime. Distributional, weight-space, and spectral diagnostics mirror this behavioral trade-off, with higher-rank QLoRA moving farther from the pretrained model. A separate math adaptation experiment shows a weaker frontier, suggesting that the effect is most pronounced when adaptation must install new factual associations rather than reinforce skills already supported by pretraining.11 1 Code and data are available at https://github.com/zhngstl/new_facts_forgetting. 1 Introduction Pretrained language models (PLMs) are often fine-tuned for new domains, task-specific skills, or factual knowledge. Full fine-tuning (FFT) updates all model parameters and can be effective, but it is costly and may degrade performance outside the adaptation distribution. Parameter-efficient fine-tuning (PEFT) methods such as low-rank adaptation (LoRA) and its quantized variant QLoRA reduce this cost by freezing pretrained weights and learning low-rank updates (Hu et al., 2022; Dettmers et al., 2023). This restriction is often assumed to improve retention of previous capabilities, but it may also limit what the model can acquire. Recent work shows that the relationship between LoRA and FFT is not simply one of efficiency. Biderman et al. (2024) find that LoRA can preserve more out-of-domain (OOD) behavior partly because it learns less from the target distribution. Shuttleworth et al. (2025) show that LoRA and FFT can reach similar accuracy from different regions of weight space. Other comparisons study broad adaptation settings such as coding (MĂ€nnistö et al., 2025), mathematics (Biderman et al., 2024), question answering (Sun et al., 2023), or instruction tuning (Xin et al., 2024). These settings mix several gains: format adaptation, skill reinforcement, domain shift, or new information. We focus next on factual knowledge acquisition. In this context, retention is ambiguous unless acquisition is measured at the same time: a low-capacity adapter may appear safer simply because it has not strongly incorporated the target facts. Our setting relates to factual knowledge editing, which modifies specific associations while preserving unrelated behavior (Meng et al., 2022; Mitchell et al., 2022; Meng et al., 2023; Yang et al., 2025b), and continual learning, which studies the stabilityâplasticity trade-off under sequential updates (Jang et al., 2022; Shi et al., 2025). However, model-editing benchmarks often focus on localized modifications of previously known facts, sometimes replacing existing associations, while continual-learning approaches commonly evaluate sequences of tasks or updates, including PEFT-based methods that regularize, initialize, or merge adapter subspaces (Lu et al., 2025; Qiao and Mahdavi, 2026). Our goal is different: we study a single controlled batch-adaptation stage in which models acquire novel factual associations using standard FFT and QLoRA. We measure how adaptation capacity affects acquisition, paraphrase generalization, and retention of general LLM capabilities. We introduce a factual acquisition benchmark derived from OpenStreetMap (OSM) in which models are trained to acquire anonymized geographic associations. The anonymized entities reduce direct reliance on pretrained world knowledge, while the OSM structure preserves realistic relational dependencies. We compare FFT with QLoRA ranks râ8,16,32,64râ\8,16,32,64\ and evaluate supervised fact memorization, same-fact paraphrase generalization, and OOD retention. We further connect behavioral performance to model-drift diagnostics, including KL divergence from the base model, RMS-normalized dense update norms, and SVD-based spectral changes. A standard-LoRA rank sweep on Qwen3-1.7B separately tests whether the rank trend persists without quantization. Our results show that LoRA rank induces a clear acquisitionâretention frontier. Low-rank LoRA preserves OOD performance but acquires fewer facts, whereas higher-rank LoRA improves factual acquisition at the cost of larger OOD degradation. FFT behaves as a baseline: it retains general capabilities relatively well, but does not reach the highest factual-acquisition regime observed with higher-rank LoRA. The same trend appears in model-drift diagnostics, where higher-acquisition LoRA runs move farther away from the pretrained model. This paper makes three contributions: (i) we introduce a controlled OpenStreetMap-derived benchmark for factual acquisition, using anonymized entities to reduce direct reliance on pretrained world knowledge; (i) we show that QLoRA rank controls an acquisitionâretention frontier for new factual associations; and (i) we connect this behavioral trade-off to model-drift diagnostics, showing that stronger factual acquisition is associated with larger distributional and weight-space shifts from the pretrained model. 2 Methodology Standard fine-tuning datasets often evaluate broad task adaptation rather than the acquisition of genuinely new facts. Benchmarks commonly used to evaluate knowledge editing, such as ZsRE Levy et al. (2017), CounterFact Meng et al. (2022), MQuAKE Zhong et al. (2023), and RippleEdits Cohen et al. (2024) typically evaluate localized updates to known facts, including counterfactual or outdated associations. They are complementary to our goal of studying standard adaptation on a batch of novel anonymized associations. A fully synthetic benchmark could also provide novel facts, but its topology, relation frequencies, and cross-relation dependencies would have to be chosen by the researcher. We instead use OpenStreetMap (OSM) because it supplies a naturally occurring, internally coherent graph whose structure was generated independently of our experimental hypotheses. Anonymization then reduces reliance on pretrained lexical knowledge while retaining this non-uniform relational structure. 2.1 OSM Factual Acquisition Dataset We derive atomic facts from 14 city-level OSM extracts, linking entities (POIs, roads, and cities) to five relation types: POI category, containing city, nearest road, nearest POI, and road-length bucket. The training split contains 1,938 instruction-style question-answer examples covering direct queries, paraphrases, locality-preservation probes, spatial-compositional questions, and inverse city-signature examples. Evaluation uses 900 held-out examples derived from the same facts but expressed with disjoint surface templates, so performance measures the acquisition of factual associations and their generalization across surface forms rather than prompt memorization. Because some relations have distinct answer types, the benchmark does not by itself establish that models learn abstract relation semantics. To reduce contamination from pretrained world knowledge, we restrict source cities to small cities and replace all entity names with synthetic identifiers (e.g., C-TRAIN-001, POI-TRAIN-000001). Dataset details are in Appendix A, and example prompts are in Appendix D. 2.2 Base-model prior knowledge diagnostic Before fine-tuning, we test whether the base model can already solve the task from prior knowledge or answer-type biases. We evaluate both anonymized and non-anonymized versions of the data as a question-answering task, where the model is prompted to generate the gold answer. We report exact-match (EM) generation accuracy and a teacher-forced gold-vs-distractor preference score. For each example, we sample five distractors from other gold answers in the same split, matching both answer type and relation whenever possible. The model prefers the gold answer when its average per-token log-probability exceeds that of the distractor. We report the percentage of gold-preferred pairs and the mean log-probability margin (Î ). More details are in Appendix C. Split Names EM Pref. (%) Î Train facts Non-anon. 8.10 71.23 3.87 Train facts Anon. 2.43 58.46 0.26 Paraph. eval Non-anon. 15.67 68.98 4.02 Paraph. eval Anon. 9.89 59.33 0.84 Table 1: Base-model prior diagnostic. Anonymization reduces EM accuracy, gold-answer preference, and log-probability margins, suggesting that real names activate relevant pretrained information. The higher paraphrase EM partly reflects its larger share of constrained-response questions; see Appendix A.1. Table 1 shows that real entity names provide useful semantic cues, while anonymization sharply reduces exact match and answer-likelihood margins. Preference scores remain slightly above chance, indicating weak structural or answer-type biases, but the base model cannot solve the anonymized task directly. The higher EM on the paraphrase split is partly a response-format effect. The paraphrase split contains roughly twice the proportion of yes/no questions, increasing its approximate chance EM from 6.68% to 10.36%. Appendix A.1 gives the complete counts and ratios. 3 Experimental Setup 3.1 Models and adaptation methods We use Qwen3-4B (Yang et al., 2025a) as the base model and compare full fine-tuning (FFT) with QLoRA adapters of rank râ8,16,32,64râ\8,16,32,64\. Each training example consists of a question and its gold answer, with the autoregressive loss applied only to answer tokens. All runs are repeated over five random seeds. Hyperparameters are reported in Appendix E. To test whether the within-adapter rank trend persists without quantization, we additionally run standard LoRA on Qwen3-1.7B (Yang et al., 2025a) at ranks râ8,16,32râ\8,16,32\, using the same OSM task and OOD evaluation suite. This reduced control changes model scale; within its rank sweep. 3.2 Evaluation axes We evaluate each adapted model along three axes. Factual acquisition We report EM accuracy on two OSM splits. Training accuracy measures recovery of the supervised facts, while paraphrase accuracy measures same-fact generalization under held-out templates disjoint from training. Because the paraphrase set is derived from training facts, it does not test unseen OSM knowledge; rather, it tests whether the learned association is robust to phrasing variation. OOD retention We use LM Evaluation Harness (Gao et al., 2024) on five benchmarks: HumanEval (Chen et al., 2021), IFEval (Zhou et al., 2023), TruthfulQA (Lin et al., 2022), MMLU-Redux-2.0 (Gema et al., 2025), and BBH (Suzgun et al., 2023). These cover code generation, instruction following, truthfulness, general knowledge, and reasoning. We define forgetting as the drop in average OOD score relative to the base model: ÎOOD=OODbaseâOODadapted. _OOD=OOD_base-OOD_adapted. Model-drift diagnostics Behavioral accuracy alone does not reveal how acquisition is achieved: two models can reach similar OSM accuracy while differing substantially in how far they move from the pretrained model, with different implications for retention. Following prior work on LoRA retention and LoRAâFFT weight-space differences (Biderman et al., 2024; Shuttleworth et al., 2025), we therefore measure drift using KL divergence from the base model (Shenfeld et al., 2026), teacher-forced negative log-likelihood on gold OSM answers, RMS-normalized dense weight drift, and SVD-based intruder dimensions (Glorot and Bengio, 2010; Shuttleworth et al., 2025). For comparability, FFT and QLoRA are analyzed in the same dense update space: WftâW0W_ft-W_0 for FFT and ÎâW=αrâBâA W= αrBA for QLoRA. RMS normalization controls for differences in module size. Full metric definitions are given in Appendix C. Figure 1: OSM paraphrase accuracy against average OOD performance. Points show final-checkpoint means and error bars show standard deviations over five seeds. Higher-rank QLoRA reaches stronger acquisition but lower retention, while FFT and rank 8 remain closer to the pretrained model. 4 Results Figure 2: Model-drift diagnostics for different QLoRA ranks. (a) Higher-rank QLoRA adapters show larger KL divergence from the pretrained model, (b) larger effective weight updates, and (c) larger spectral shifts under the SVD intruder diagnostic. Dashed lines show FFT for comparison. Points show means and error bars show std over five seeds. 4.1 QLoRA rank controls the acquisitionâretention trade-off Figure 1 shows that QLoRA rank acts as a plasticity control. Low rank keeps the model close to the pretrained solution and therefore preserves OOD behavior, but this retention coincides with weaker same-fact generalization. Increasing rank allows the model to install the OSM associations more reliably, but moves it onto a lower-retention part of the frontier. Rank 64 occupies a high-plasticity, low-retention regime: factual accuracy remains high, but unrelated capabilities collapse. Thus, QLoRA is not uniformly safer than FFT; its behavior depends on where rank places the model on the acquisitionâretention frontier. The per-benchmark results in Appendix B show that degradation is broad on HumanEval, IFEval, MMLU-Redux, and BBH, while TruthfulQA remains comparatively stable. Standard-LoRA control. The unquantized Qwen3-1.7B control shows the same qualitative monotonic trade-off: paraphrase EM rises from 76% at r=8r=8 to 79% at r=16r=16 and 86% at r=32r=32, while average OOD performance falls from 57.0% to 52.0% and 40.2%, respectively. This suggests that quantization is not required for the qualitative rank trend, although this reduced control changes model scale. 4.2 Higher acquisition requires greater adaptation capacity Endpoint comparisons can conflate adaptation method with achieved task performance: a method may appear to retain more simply because it has acquired fewer target facts. We therefore compare, for each method and seed, the evaluated checkpoint closest to three target paraphrase accuracies in Table 2. FFT and QLoRA r=8r=8 retain OOD performance well but do not reach the highest paraphrase accuracy. Higher-rank QLoRA configurations achieve stronger paraphrase performance only with larger OOD losses. This suggests that the apparent robustness of low-rank adaptation to forgetting is actually partly due to limited plasticity. Target 75 Target 85 Target 95 Method Para. Ret. Para. Ret. Para. Ret. FFT 74.9 97.6 76.1 96.9 76.1 96.9 QL r=8 75.7 97.9 79.4 97.5 79.4 97.5 QL r=16 79.3 94.3 85.8 91.1 93.3 89.9 QL r=32 85.2 79.8 85.4 83.0 94.6 73.3 QL r=64 81.0 36.7 83.1 34.3 90.4 38.8 Table 2: Target-acquisition checkpoint comparison. For each target paraphrase accuracy, we select the nearest evaluated checkpoint per seed and method. We report mean achieved paraphrase accuracy and OOD retention as a percentage of base-model OOD performance. The table abbreviates QLoRA as QL. 4.3 Model drift is associated with forgetting Figure 2 shows that configurations with stronger OOD degradation also exhibit larger drift from the pretrained model. Higher-rank QLoRA checkpoints have larger symmetric KL divergence and larger effective dense update magnitudes. The strongest forgetting regime, QLoRA r=64, also has the largest SVD intruder excess, indicating a larger change in the leading spectral structure of adapted weight matrices. These diagnostics are consistent with the behavioral results. Stronger OSM acquisition is reflected not only in higher paraphrase accuracy but also in larger distributional and weight-space shifts. High-rank QLoRA therefore appears to install the target facts through more disruptive updates, whereas FFT and low-rank QLoRA remain closer to the pretrained model. This association motivates train-time controls and diagnostics for the trade-off. Additional math adaptation comparison. Method MATH-500 Minerva Olympiad Bench AMCâ23 AIMEâ24 AIMEâ25 Math Avg. OOD Avg. OOD Drop â FFT 78.80 34.56 44.96 60.00 20.00 16.67 42.50 71.12 1.71 QLoRA r=16r=16 77.40 34.19 40.65 60.00 20.00 23.33 42.60 70.61 2.23 QLoRA r=32r=32 78.60 37.13 43.92 62.50 13.33 16.67 42.03 71.25 1.58 Table 3: Math-adaptation results. Pass@1 scores and averages are in percent. OOD averages cover HumanEval, IFEval, TruthfulQA, MMLU-Redux, and BBH; OOD drop is relative to the base Qwen3-4B. We run a separate reasoning experiment on a 94k-example subset of OpenR1-Math-220k (Hugging Face, 2025) to test whether the OSM trend also appears in a larger skill-adaptation regime. We evaluate Pass@1 on MATH-500 (Hendrycks et al., 2021), AIMEâ24 and AIMEâ25 (Mathematical Association of America, 2024), AMCâ23 (American Mathematics Competitions, 2023), Minerva Math (Lewkowycz et al., 2022), and OlympiadBench (He et al., 2024). OOD degradation uses the same five-benchmark average as the main experiment, relative to the base Qwen3-4B; hyperparameters are in Appendix E.2. Table 3 shows that the OSM frontier does not directly transfer to math adaptation. FFT and QLoRA obtain nearly identical average math performance: 42.50 for FFT, 42.60 for QLoRA r=16r=16, and 42.03 for QLoRA r=32r=32. Their OOD drops are also small at 1.71, 2.23, and 1.58 points, respectively. Math fine-tuning exposes the model to reasoning traces and solution strategies that may already be supported by pretraining, rather than binding anonymized entities to novel associations. Consistent with prior task-adaptation results (Biderman et al., 2024), the strong rank-dependent frontier observed on OSM is not evident in this math setting. In our experiments, it is therefore most pronounced when adaptation installs new factual associations while preserving OOD behavior. 5 Conclusion We studied factual acquisition under FFT and QLoRA using an anonymized OpenStreetMap-derived benchmark. Our results show that QLoRA rank controls an acquisitionâretention trade-off: low-rank adapters preserve general capabilities but acquire fewer facts, while higher ranks improve same-fact paraphrase generalization at increasing OOD cost. FFT provides a conservative baseline, retaining general capabilities well but not reaching the highest acquisition regime observed with mid-rank QLoRA. Model-drift diagnostics mirror this pattern: higher-rank QLoRA produces larger KL divergence, larger effective dense updates, and stronger SVD intruder effects. Thus, PEFT should not be treated as inherently safe for knowledge injection: adapter rank controls a plasticity trade-off, determining both how much new factual knowledge is installed and how much pretrained behavior is disturbed. The unquantized LoRA control suggests that this rank effect does not require QLoRA quantization, while the much weaker math frontier limits our conclusion to the present novel-association setting rather than fine-tuning in general. Limitations Benchmark scope. Our OSM dataset comprises 1,938 training examples across 14 small cities, so it remains unclear whether the acquisitionâretention frontier generalizes to larger or more diverse factual corpora. Additionally, the use of anonymized synthetic identifiers, while useful for controlling pretrained knowledge, may not fully reflect real-world knowledge injection scenarios where new facts interact with existing world knowledge in richer and less controlled ways. Because some relations have distinct answer types, the benchmark establishes the acquisition of question-conditioned factual associations but does not fully separate entity association from abstract relation learning. A stronger test would use relations with overlapping answer spaces or deliberately conflicting examples. Model coverage. The main five-seed experiments are conducted with Qwen3-4B, while the standard-LoRA control uses Qwen3-1.7B. The shape of the acquisitionâretention frontier may differ for larger models, models with different pretraining data mixtures, or architectures with different weight structures. Whether the rank-dependent effects we observe persist at scale remains an open question. OOD benchmark coverage. The five OOD benchmarks used to measure retention (i.e., HumanEval, IFEval, TruthfulQA, MMLU-Redux, and BBH) provide a reasonable but not exhaustive proxy for general model capability. Retention on other dimensions, such as long-context reasoning or multilingual tasks, is not assessed. Adaptation-method coverage. The standard-LoRA control supports the within-adapter rank effect without quantization, but is limited to one smaller model and ranks 8â32. The main QLoRAâFFT comparison still differs in quantization and optimization, and the control lacks matched FFT and QLoRA baselines on Qwen3-1.7B. It therefore does not isolate every method-level difference. Math experiment scope. The math adaptation comparison is limited to two QLoRA ranks (râ16,32râ\16,32\) and a single epoch of training. The conclusion that FFT and QLoRA behave more similarly in skill-reinforcement settings therefore rests on a relatively narrow hyperparameter sweep, and a fuller rank ablation analogous to the OSM experiments would strengthen this claim. Ethical Considerations The benchmark uses public OpenStreetMap records under the ODbL 1.0 license; full usage and attribution details are provided in Appendix A.2. Anonymized task instances remove original entity names and coordinates and contain no user-level traces. Because the underlying database describes real places, however, anonymization should not be treated as a guarantee against geographic re-identification. Acknowledgments This project was provided with computing HPC and storage resources by GENCI at IDRIS thanks to the grant 2025-AD011011668R5 and 2025-AD011017250 on the supercomputer Jean Zay. References American Mathematics Competitions (2023) American Mathematics Competitions American mathematics contest 12. Note: https://huggingface.co/datasets/AI-MO/aimo-validation-amcAccessed: 2025-06-25 Cited by: §4.3. Biderman et al. (2024) D. Biderman, J. Portes, J. J. G. Ortiz, M. Paul, P. Greengard, C. Jennings, D. King, S. Havens, V. Chiley, J. Frankle, C. Blakeney, and J. P. Cunningham LoRA learns less and forgets less. Transactions on Machine Learning Research. Note: Featured Certification External Links: ISSN 2835-8856, Link Cited by: §1, §3.2, §4.3. Chen et al. (2021) M. Chen, J. Tworek, H. Jun, Q. Yuan, H. P. de Oliveira Pinto, J. Kaplan, H. Edwards, Y. Burda, N. Joseph, G. Brockman, A. Ray, R. Puri, G. Krueger, M. Petrov, H. Khlaaf, G. Sastry, P. Mishkin, B. Chan, S. Gray, N. Ryder, M. Pavlov, A. Power, L. Kaiser, M. Bavarian, C. Winter, P. Tillet, F. P. Such, D. Cummings, M. Plappert, F. Chantzis, E. Barnes, A. Herbert-Voss, W. H. Guss, A. Nichol, A. Paino, N. Tezak, J. Tang, I. Babuschkin, S. Balaji, S. Jain, W. Saunders, C. Hesse, A. N. Carr, J. Leike, J. Achiam, V. Misra, E. Morikawa, A. Radford, M. Knight, M. Brundage, M. Murati, K. Mayer, P. Welinder, B. McGrew, D. Amodei, S. McCandlish, I. Sutskever, and W. Zaremba Evaluating large language models trained on code. External Links: 2107.03374 Cited by: §3.2. Cohen et al. (2024) R. Cohen, E. Biran, O. Yoran, A. Globerson, and M. Geva Evaluating the ripple effects of knowledge editing in language models. Transactions of the Association for Computational Linguistics 12, p. 283â298. External Links: Link, Document Cited by: §2. Dettmers et al. (2023) T. Dettmers, A. Pagnoni, A. Holtzman, and L. Zettlemoyer QLoRA: efficient finetuning of quantized llms. In Advances in Neural Information Processing Systems, A. Oh, T. Naumann, A. Globerson, K. Saenko, M. Hardt, and S. Levine (Eds.), Vol. 36, p. 10088â10115. External Links: Link Cited by: §1. Gao et al. (2024) L. Gao, J. Tow, B. Abbasi, S. Biderman, S. Black, A. DiPofi, C. Foster, L. Golding, J. Hsu, A. Le Noacâh, H. Li, K. McDonell, N. Muennighoff, C. Ociepa, J. Phang, L. Reynolds, H. Schoelkopf, A. Skowron, L. Sutawika, E. Tang, A. Thite, B. Wang, K. Wang, and A. Zou The language model evaluation harness. Zenodo. External Links: Document, Link Cited by: §3.2. Gema et al. (2025) A. P. Gema, J. O. J. Leang, G. Hong, A. Devoto, A. C. M. Mancino, R. Saxena, X. He, Y. Zhao, X. Du, M. R. Ghasemi Madani, C. Barale, R. McHardy, J. Harris, J. Kaddour, E. Van Krieken, and P. Minervini Are we done with MMLU?. In Proceedings of the 2025 Conference of the Nations of the Americas Chapter of the Association for Computational Linguistics: Human Language Technologies (Volume 1: Long Papers), L. Chiruzzo, A. Ritter, and L. Wang (Eds.), Albuquerque, New Mexico, p. 5069â5096. External Links: Link, Document, ISBN 979-8-89176-189-6 Cited by: §3.2. Glorot and Bengio (2010) X. Glorot and Y. Bengio Understanding the difficulty of training deep feedforward neural networks. In Proceedings of the Thirteenth International Conference on Artificial Intelligence and Statistics, Y. W. Teh and M. Titterington (Eds.), Proceedings of Machine Learning Research, Vol. 9, Chia Laguna Resort, Sardinia, Italy, p. 249â256. External Links: Link Cited by: Appendix C, §3.2. He et al. (2024) C. He, R. Luo, Y. Bai, S. Hu, Z. Thai, J. Shen, J. Hu, X. Han, Y. Huang, Y. Zhang, J. Liu, L. Qi, Z. Liu, and M. Sun OlympiadBench: a challenging benchmark for promoting AGI with olympiad-level bilingual multimodal scientific problems. In Proceedings of the 62nd Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), L. Ku, A. Martins, and V. Srikumar (Eds.), Bangkok, Thailand, p. 3828â3850. External Links: Link, Document Cited by: §4.3. Hendrycks et al. (2021) D. Hendrycks, C. Burns, S. Kadavath, A. Arora, S. Basart, E. Tang, D. Song, and J. Steinhardt Measuring mathematical problem solving with the math dataset. In Proceedings of the Neural Information Processing Systems Track on Datasets and Benchmarks, J. Vanschoren and S. Yeung (Eds.), Vol. 1, p. . External Links: Link Cited by: §4.3. Hu et al. (2022) E. J. Hu, yelong shen, P. Wallis, Z. Allen-Zhu, Y. Li, S. Wang, L. Wang, and W. Chen LoRA: low-rank adaptation of large language models. In International Conference on Learning Representations, External Links: Link Cited by: §1. Hugging Face (2025) Hugging Face Open r1: a fully open reproduction of deepseek-r1. External Links: Link Cited by: §4.3. Jang et al. (2022) J. Jang, S. Ye, S. Yang, J. Shin, J. Han, G. Kim, S. J. Choi, and M. Seo Towards continual knowledge learning of language models. In International Conference on Learning Representations, Cited by: §1. Levy et al. (2017) O. Levy, M. Seo, E. Choi, and L. Zettlemoyer Zero-shot relation extraction via reading comprehension. In Proceedings of the 21st Conference on Computational Natural Language Learning (CoNLL 2017), R. Levy and L. Specia (Eds.), Vancouver, Canada, p. 333â342. External Links: Link, Document Cited by: §2. Lewkowycz et al. (2022) A. Lewkowycz, A. J. Andreassen, D. Dohan, E. Dyer, H. Michalewski, V. V. Ramasesh, A. Slone, C. Anil, I. Schlag, T. Gutman-Solo, Y. Wu, B. Neyshabur, G. Gur-Ari, and V. Misra Solving quantitative reasoning problems with language models. In Advances in Neural Information Processing Systems, A. H. Oh, A. Agarwal, D. Belgrave, and K. Cho (Eds.), External Links: Link Cited by: §4.3. Lin et al. (2022) S. Lin, J. Hilton, and O. Evans TruthfulQA: measuring how models mimic human falsehoods. In Proceedings of the 60th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), S. Muresan, P. Nakov, and A. Villavicencio (Eds.), Dublin, Ireland, p. 3214â3252. External Links: Link, Document Cited by: §3.2. Lu et al. (2025) Y. Lu, B. Qian, C. Yuan, H. Jiang, and X. Wang Controlled low-rank adaptation with subspace regularization for continued training on large language models. In Proceedings of the 63rd Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), W. Che, J. Nabende, E. Shutova, and M. T. Pilehvar (Eds.), Vienna, Austria, p. 19165â19181. External Links: Link, Document, ISBN 979-8-89176-251-0 Cited by: §1. MĂ€nnistö et al. (2025) J. MĂ€nnistö, J. Attieh, and J. Tiedemann A comparative study of PEFT methods for python code generation. In Proceedings of the Joint 25th Nordic Conference on Computational Linguistics and 11th Baltic Conference on Human Language Technologies (NoDaLiDa/Baltic-HLT 2025), R. Johansson and S. Stymne (Eds.), Tallinn, Estonia, p. 390â396. External Links: Link, ISBN 978-9908-53-109-0 Cited by: §1. Mathematical Association of America (2024) Mathematical Association of America American invitational mathematics examination. Note: https://artofproblemsolving.com/wiki/index.php?title=AIME_Problems_and_SolutionsAccessed: 2025-06-25 Cited by: §4.3. Meng et al. (2022) K. Meng, D. Bau, A. Andonian, and Y. Belinkov Locating and editing factual associations in gpt. In Advances in Neural Information Processing Systems, S. Koyejo, S. Mohamed, A. Agarwal, D. Belgrave, K. Cho, and A. Oh (Eds.), Vol. 35, p. 17359â17372. External Links: Link Cited by: §1, §2. Meng et al. (2023) K. Meng, A. S. Sharma, A. J. Andonian, Y. Belinkov, and D. Bau Mass-editing memory in a transformer. In The Eleventh International Conference on Learning Representations, External Links: Link Cited by: §1. Mitchell et al. (2022) E. Mitchell, C. Lin, A. Bosselut, C. Finn, and C. D. Manning Fast model editing at scale. In International Conference on Learning Representations, External Links: Link Cited by: §1. Qiao and Mahdavi (2026) F. Qiao and M. Mahdavi Merge before forget: a single loRA continual learning via continual merging. In The Fourteenth International Conference on Learning Representations, External Links: Link Cited by: §1. Shenfeld et al. (2026) I. Shenfeld, J. Pari, and P. Agrawal RLâs razor: why online reinforcement learning forgets less. In The Fourteenth International Conference on Learning Representations, External Links: Link Cited by: Appendix C, §3.2. Shi et al. (2025) H. Shi, Z. Xu, H. Wang, W. Qin, W. Wang, Y. Wang, Z. Wang, S. Ebrahimi, and H. Wang Continual learning of large language models: a comprehensive survey. ACM Comput. Surv. 58 (5). External Links: ISSN 0360-0300, Link, Document Cited by: §1. Shuttleworth et al. (2025) R. Shuttleworth, J. Andreas, A. Torralba, and P. Sharma LoRA vs full fine-tuning: an illusion of equivalence. In Advances in Neural Information Processing Systems, D. Belgrave, C. Zhang, H. Lin, R. Pascanu, P. Koniusz, M. Ghassemi, and N. Chen (Eds.), Vol. 38, p. 174627â174662. External Links: Link Cited by: Appendix C, §1, §3.2. Sun et al. (2023) X. Sun, Y. Ji, B. Ma, and X. Li A comparative study between full-parameter and lora-based fine-tuning on chinese instruction data for instruction following large language model. External Links: 2304.08109, Link Cited by: §1. Suzgun et al. (2023) M. Suzgun, N. Scales, N. SchĂ€rli, S. Gehrmann, Y. Tay, H. W. Chung, A. Chowdhery, Q. Le, E. Chi, D. Zhou, and J. Wei Challenging BIG-bench tasks and whether chain-of-thought can solve them. In Findings of the Association for Computational Linguistics: ACL 2023, A. Rogers, J. Boyd-Graber, and N. Okazaki (Eds.), Toronto, Canada, p. 13003â13051. External Links: Link, Document Cited by: §3.2. Xin et al. (2024) C. Xin, Y. Lu, H. Lin, S. Zhou, H. Zhu, W. Wang, Z. Liu, X. Han, and L. Sun Beyond full fine-tuning: harnessing the power of LoRA for multi-task instruction tuning. In Proceedings of the 2024 Joint International Conference on Computational Linguistics, Language Resources and Evaluation (LREC-COLING 2024), N. Calzolari, M. Kan, V. Hoste, A. Lenci, S. Sakti, and N. Xue (Eds.), Torino, Italia, p. 2307â2317. External Links: Link Cited by: §1. Yang et al. (2025a) A. Yang, A. Li, B. Yang, B. Zhang, B. Hui, B. Zheng, B. Yu, C. Gao, C. Huang, C. Lv, C. Zheng, D. Liu, F. Zhou, F. Huang, F. Hu, H. Ge, H. Wei, H. Lin, J. Tang, J. Yang, J. Tu, J. Zhang, J. Yang, J. Yang, J. Zhou, J. Zhou, J. Lin, K. Dang, K. Bao, K. Yang, L. Yu, L. Deng, M. Li, M. Xue, M. Li, P. Zhang, P. Wang, Q. Zhu, R. Men, R. Gao, S. Liu, S. Luo, T. Li, T. Tang, W. Yin, X. Ren, X. Wang, X. Zhang, X. Ren, Y. Fan, Y. Su, Y. Zhang, Y. Zhang, Y. Wan, Y. Liu, Z. Wang, Z. Cui, Z. Zhang, Z. Zhou, and Z. Qiu Qwen3 technical report. Technical report Qwen Team. External Links: 2505.09388, Link Cited by: §3.1, §3.1. Yang et al. (2025b) W. Yang, F. Sun, R. Tang, H. Zang, D. Su, Q. Cao, J. Wang, H. Shen, and X. Cheng Fine-tuning done right in model editing. In Socially Responsible and Trustworthy Foundation Models at NeurIPS 2025, External Links: Link Cited by: §1. Zhong et al. (2023) Z. Zhong, Z. Wu, C. Manning, C. Potts, and D. Chen MQuAKE: assessing knowledge editing in language models via multi-hop questions. In Proceedings of the 2023 Conference on Empirical Methods in Natural Language Processing, H. Bouamor, J. Pino, and K. Bali (Eds.), Singapore, p. 15686â15702. External Links: Link, Document Cited by: §2. Zhou et al. (2023) J. Zhou, T. Lu, S. Mishra, S. Brahma, S. Basu, Y. Luan, D. Zhou, and L. Hou Instruction-following evaluation for large language models. External Links: 2311.07911, Link Cited by: §3.2. Appendix A Dataset Construction We construct the dataset from 14 city-level OpenStreetMap (OSM) extracts. The training split contains 1,938 instruction examples. We retain points of interest (POIs) and roads with valid, locally unique names, and derive five atomic relation types: POI category, containing city, nearest road, nearest POI, and road-length bucket. The training data combine direct fact queries, paraphrases of the same facts, locality-preservation probes, spatial-compositional questions, and inverse city- signature examples. Spatial examples include four-way nearest-POI selection and balanced yes/no road-intersection predicates. Examples are sampled with fixed seeds and relation-balanced quotas to reduce dominance by common POI categories. For evaluation, we use a held-out paraphrase set of 900 examples constructed from facts represented in the training data. These evaluation prompts use disjoint lookup, slot-query, and predicate templates, so they test whether the model recalls the learned factual associations under different surface forms rather than memorizing exact training prompts. Since current LLMs might have some prior knowledge of popular global cities, we focus on smaller cities with populations between 5,000 and 80,000. To further reduce the influence of prior knowledge, all names of cities, POIs, and roads are replaced by synthetic identifiers such as C-TRAIN-001, POI-TRAIN-000001, and ROAD-TRAIN-000001. The anonymized task instances contain no source coordinates or user-level data. Representative examples appear in Appendix D. A.1 Response-format composition The train and paraphrase splits differ in their proportions of constrained responses. In particular, yes/no questions make up 6.2% of the training split but 13.3% of the paraphrase split. Treating open-ended exact-match chance as negligible, four-choice chance as 25%, and yes/no chance as 50%, this raises approximate chance EM from 6.68% to 10.36% and partly explains the base-model difference in Table 1. Split Open-ended 4-choice Yes/no Random Chance Train 1,540 (79.5%) 278 (14.3%) 120 (6.2%) 6.68% Para. 647 (71.9%) 133 (14.8%) 120 (13.3%) 10.36% Table 4: Response-format composition. Counts and within-split ratios for training and paraphrase splits, with approximate chance EM for each split. A.2 OpenStreetMap usage and license We use OSM database records and geometriesânot rendered map tilesâto select named POIs and roads, determine city membership, compute nearest-neighbor and intersection relations, and bucket road lengths before anonymization. The source data are © OpenStreetMap contributors, available under the Open Data Commons Open Database License (ODbL) 1.0. Appendix B Per-benchmark OOD Results at Final Checkpoints Method HumanEval IFEval TruthfulQA MMLU-Redux BBH OOD Avg. FFT 79.2± 2.2 80.2± 0.4 50.5± 0.6 72.7± 0.2 70.8± 1.2 70.7± 0.7 QLoRA r=8r=8 78.4± 1.8 80.6± 1.3 51.6± 1.2 73.0± 0.1 69.9± 2.1 70.7± 0.7 QLoRA r=16r=16 70.9± 3.0 70.3± 1.8 50.3± 1.0 69.9± 0.2 57.7± 4.3 63.8± 1.7 QLoRA r=32r=32 59.9± 4.0 34.5± 5.8 51.6± 2.0 59.0± 4.3 34.9± 6.4 48.0± 3.6 QLoRA r=64r=64 23.2± 16.5 14.6± 2.4 47.7± 1.7 37.6± 11.5 17.3± 4.0 28.1± 6.3 Table 5: Per-benchmark OOD scores at the final checkpoint (mean ± standard deviation over five seeds). Degradation is broad on HumanEval, IFEval, MMLU-Redux, and BBH; TruthfulQA is comparatively stable. The final-checkpoint task-level results complement Figure 1 and show that the average OOD degradation is not driven by a single benchmark. HumanEval, IFEval, MMLU-Redux, and BBH decline with increasing QLoRA rank, whereas TruthfulQA remains comparatively stable. Appendix C Details on metrics Symmetric KL. Let p0(â âŁx<t)p_0(· x_<t) denote the next-token distribution of the pretrained base model and pΞ(â âŁx<t)p_Ξ(· x_<t) the corresponding distribution of the adapted checkpoint. We compute token-level KL divergences under teacher forcing, excluding padding positions. The reported symmetric KL is Dsym(p0,pΞ)=12[DKL(p0â„pΞ)+DKL(pΞâ„p0)]D_sym(p_0,p_Ξ)= 12\! [D_KL(p_0\,\|\,p_Ξ)+D_KL(p_Ξ\,\|\,p_0) ] averaged over all non-padding tokens and then over batches. Instead of using the standard KL that can be dominated by low-probability tokens, the symmetric KL emphasizes differences in high-probability regions of the distribution, which are more likely to reflect changes in model behavior. Symmetrization treats each model in turn as the reference distribution and captures changes in both directions. This metric is inspired by Shenfeld et al. (2026) on distribution shifts. Dense RMS drift. To compare weight-space drift between FFT and QLoRA, we use the root mean square (RMS) of the effective dense update, following the scale normalization used in weight-initialization analyses (Glorot and Bengio, 2010). For FFT, the update of a selected linear module is ÎâW=WΞâW0 W=W_Ξ-W_0. For QLoRA, the effective merged update is ÎâW=αrâBâA, W= αrBA, where A and B are the LoRA factors, r is the adapter rank, and α is the LoRA scaling parameter. For a module with doutĂdind_outĂ d_in dense shape, the module RMS drift is RMSâĄ(ÎâW)=âÎâWâF2doutâdin.RMS( W)= \| W\|_F^2d_outd_in. The global dense RMS drift reported in the figures is the same quantity after summing âÎâWâF2\| W\|_F^2 and the dense parameter counts over all selected linear modules: DRMS=âmâÎâWmâF2âmdout,mâdin,m.D_RMS= _m\| W_m\|_F^2 _md_out,md_in,m. SVD intruder dimensions. The SVD diagnostic follows the intruder-dimension construction of Shuttleworth et al. (2025). For each selected linear module, we compute the top k left singular vectors of the adapted weight matrix and compare each of them to the top K left singular vectors of the corresponding pretrained base weight. In our implementation, the defaults are k=10k=10 and K=64K=64. For an adapted singular vector uiΞu_i^Ξ, define its best alignment with the selected base singular vectors as ci=max1â€jâ€KâĄ|âšuiΞ,uj0â©|.c_i= _1†j†K| u_i^Ξ,u_j^0 |. For a threshold ϔΔ, the vector is counted as an intruder when ci<Ï”c_i<Δ. The diagnostic summary reports the intruder rate, IntruderRateÏ”=#âĄ(m,i):cm,i<Ï”#â(m,i),IntruderRate_Δ= \#\(m,i):c_m,i<Δ\\#\(m,i)\, over all selected modules and top adapted singular vectors. We use the intruder rate at Ï”=0.8Δ=0.8 as the main SVD diagnostic. To emphasize rank-dependent excess beyond the FFT baseline, the plotted SVD quantity is IntruderExcess =IntruderRateÏ”=0.8method =IntruderRate^method_Δ=0.8 âIntruderRateÏ”=0.8FFT, -IntruderRate^FFT_Δ=0.8, matched by seed and closest checkpoint step. Answer log-probability and distractor margin. For OSM answer-likelihood diagnostics, we score only the answer continuation tokens under teacher forcing. Given a prompt q and answer a, the script forms the concatenated sequence [q,a][q,a], masks out prompt tokens, and reports the average answer log-probability logâĄpΞâ(aâŁq)ÂŻ=1|a|ââtâalogâĄpΞâ(atâŁq,a<t). p_Ξ(a q)= 1|a| _tâ a p_Ξ(a_t q,a_<t). The negative log-likelihood is the negative of this average. For the gold-vs-distractor diagnostic, distractor answers are sampled from examples in the same split, matching both relation and answer type whenever possible. The reported margin is the difference between the average log-probability of the gold answer and that of the sampled distractor; a positive margin means the model assigns higher teacher-forced likelihood to the gold answer. Appendix D Additional dataset examples Below are representative anonymized examples from the training and held-out paraphrase validation splits. Training examples. 1. Atomic fact. Question: In C-TRAIN-001, what type of place is POI- TRAIN-002699? Answer: AMENITY-restaurant 2. Nearest POI. Question: In C-TRAIN-001, which POI is nearest to POI- TRAIN-001802? Answer: POI-TRAIN-001425 3. Road length bucket. Question: In C-TRAIN-002, which length bucket applies to ROAD-TRAIN-027122? Answer: LENGTH-100-200M 4. Spatial multiple choice. Question: In C-TRAIN-001, which POI is closest to POI-TRAIN-002343: POI-TRAIN-000318, POI-TRAIN-002124, POI-TRAIN-000864, POI-TRAIN-002699? Answer: POI-TRAIN-002699 5. Inverse city signature. Question: Which city alias matches this local OSM signature? POI-TRAIN-002699 is a AMENITY-restaurant. POI-TRAIN-000340 is closest to POI-TRAIN-000682. POI-TRAIN-001425 appears in the same city as POI-TRAIN-001802. Answer: C-TRAIN-001 Held-out paraphrase validation examples. 1. Slot-style category query. Question: Snapshot slot query â city: C-TRAIN-001; key: POI-TRAIN-001463; slot: place_type. Answer: AMENITY-school 2. Nearest-road lookup. Question: Map the pair (C-TRAIN-002, POI-TRAIN-001715) to its nearest road. Answer: ROAD-TRAIN-019865 3. Road graph predicate. Question: Evaluate this OSM road-graph predicate for city=C- TRAIN-002: intersects(ROAD-TRAIN-030210, ROAD-TRAIN-003453). Return yes or no. Answer: yes 4. Paraphrased road-length query. Question: Complete this fact: road_length_bucket[C-TRAIN-002] [ROAD-TRAIN-017282] = Answer: LENGTH-050-100M 5. Validation multiple choice. Question: OSM relation lookup; city=C-TRAIN-009; relation=nearest_poi; query=POI-TRAIN-001471; choices=[POI-TRAIN-000156, POI-TRAIN-000138, POI-TRAIN-002766, POI-TRAIN-002758]. Return the matching choice only. Answer: POI-TRAIN-000156 Appendix E Hyperparameters We report the main hyperparameters for the OSM and math fine-tuning experiments. E.1 OpenStreetMap task We run a small sweep over 2Ă10â5,5Ă10â5,2Ă10â4\2Ă 10^-5,5Ă 10^-5,2Ă 10^-4\ for QLoRA and 2Ă10â5,2Ă10â4\2Ă 10^-5,2Ă 10^-4\ for FFT. We select the best learning rate for each method based on the lowest training loss. Hyperparameter QLoRA Full fine-tuning Base model Qwen3-4B Training samples 1,938 Epochs 100 Batch size 16 Learning rate 2Ă10â42Ă 10^-4 2Ă10â52Ă 10^-5 LR scheduler Linear Warmup ratio 0.1 Number of seeds 5 Optimizer adamw_8bit AdamW LoRA ranks 8, 16, 32, 64 â LoRA alpha 16, 32, 64, 128 â LoRA dropout 0.05 â Target modules All linear layers â Table 6: Hyperparameters for the main OpenStreetMap fine-tuning experiments. E.2 Math task We first fine-tune the full model with the same learning rate as in the OSM experiment. We then run a small sweep over 1Ă10â5,2Ă10â5\1Ă 10^-5,2Ă 10^-5\ for QLoRA and select the learning rate with the lowest training loss after one epoch. Hyperparameter QLoRA Full fine-tuning Base model Qwen3-4B Dataset open-r1-math-220k Training samples 94k Epochs 1 Batch size 2Ă162Ă 16 Learning rate 1Ă10â51Ă 10^-5 2Ă10â52Ă 10^-5 LR scheduler Cosine Optimizer adamw_8bit AdamW LoRA ranks 16, 32 â LoRA alpha 32, 64 â Target modules All linear layers â Table 7: Hyperparameters for the additional math adaptation experiments.