WorksComputer Science
Combating Catastrophic Forgetting in Continual Domain Adaptation via Knowledge Recasting
Abstract
Adapting language models to new domains during post-training risks degrading previously acquired capabilities, a phenomenon commonly known as catastrophic forgetting. Existing mitigation methods largely treat forgetting as a consequence of excessive model drift. They therefore constrain updates by preserving old outputs, replaying old data, or regularizing changes to parameters and representations so that the updated model remains close to its previous state. We take a different view: Rather than pulling the updated model back toward its old state, we translate the new domain into the model's pre-existing knowledge space, making unfamiliar knowledge learnable through familiar procedures. Therefore, we propose Skill Schema Transport (SST), a post-training framework that transports new knowledge into the model's existing skill space. SST abstracts each example type into a skill schema, preserving its essential operations, dependencies, and verification steps while removing domain-specific surface forms. By recasting new examples as instances of reusable procedures, SST turns knowledge update from trajectory memorization into procedural reuse. In continual domain adaptation settings, SST consistently reduces forgetting while improving generalization to related tasks. Across two 3B instruction-tuned backbones, SST improves average final performance on streamed domains by 2.53 to 5.75 points over sequential post-training. It also lowers max-drop forgetting in all evaluated settings, with the largest reduction from 42.41 to 7.10 points on the Qwen-3B MATH stream, while substantially recovering the OOD degradation induced by sequential updates.
Introduction
Post-training improves language models (LMs) through supervised fine-tuning [22], reinforcement learning from feedback [37, 4], and domain-adaptive continued training [19]. However, sequential post-training can also degrade capabilities acquired before the update, a phenomenon commonly known as catastrophic forgetting [35, 27, 34, 46, 54]. This risk becomes especially important under domain shift, where the update distribution introduces concepts, terminology, or reasoning contexts that differ from those emphasized by the pre-update model [46, 24, 62].
To clarify what existing mitigation strategies are designed to control, we view post-training under domain shift through the lens of model drift. As shown in Figure 2, knowledge updates can change a model in at least two distinct ways. Surface drift refers to changes in the model’s observable behavior, such as its output distribution or final answers, whereas representation drift refers to changes in the internal states that support those behaviors. These two forms of drift need not agree: the mapping from representations to outputs is many-to-one, so a model may reorganize its internal states while producing similar outputs, or substantially shift its output distribution while leaving representations relatively stable.

Figure 2. Surface drift and representation drift need not align. Domain-shifted updates induce different distributions of output-level and hidden-state change, motivating diagnostics that track both observable behavior and internal representations.
From this perspective, many forgetting-mitigation methods can be understood as different ways of anchoring the updated model to its pre-update behavior or state. Replay-based methods mix old examples with new training data so that the model continues to reproduce earlier task behavior during the update [43, 32, 24]. Distillation-based methods use the original model as a teacher and penalize deviations from its outputs [31]. Both families primarily constrain surface drift by preserving observable behavior on old examples. In contrast, regularization-based methods penalize changes to important parameters or restrict updates to protected subspaces [27, 60, 2, 52, 33], thereby limiting drift in the model’s internal state or parameterization.
Because these approaches primarily anchor one aspect of the update, anchoring surface behavior alone need not control representation drift, and anchoring parameter or representation movement alone need not preserve task behavior. This points to a limitation of treating forgetting mitigation only as a problem of preventing change: the key question is not merely how much the model changes, but which aspects of the update are being constrained and whether those constraints help integrate the new domain.
Yet anchoring the model is not the same as integrating new knowledge. Under out-of-domain updates, useful adaptation requires change: the model may need to acquire, emphasize, or recombine concepts and reasoning contexts that were weakly represented in the pre-update distribution. The key issue is therefore not how to minimize change, but how to organize it. The organizing principle we propose is procedural reuse. If a new problem can be solved by a procedure the model already uses, then the desirable update is not to memorize a new trajectory or to pull the model back toward its old outputs. Instead, the update should connect the unfamiliar instance to a familiar procedure, expressing new knowledge in procedural coordinates the model can reuse. Inspired by this view, we ask the following research question: RQ: Can new-domain knowledge be expressed in the procedural language of the model’s existing skills, so that unfamiliar problems become learnable through familiar procedures?
To probe whether this premise is plausible, we analyze the error structure of a base model across MATH categories. The same failed examples are embedded and projected in Figure 3; coloring them by procedural error type reveals clusters that cut across the original domain labels. This diagnostic does not by itself prove that all domains share a complete skill library, but it suggests that observed failures are not purely domain-specific and motivates testing whether schema-level reuse can improve continual adaptation.

Figure 3. Errors cluster by procedure rather than by domain label. The same failed examples are projected and colored by procedural error type on the left and by MATH category on the right. Error clusters cut across category boundaries, motivating cross-domain skill schema reuse.
Based on this observation, we propose Skill Schema Transport (SST), a schema-conditioned post-training framework that transports new-domain examples into a reusable procedural schema space. A skill schema serves as the medium of this translation: it retains the operations, dependencies, and checks needed to solve a task, while abstracting away domain-specific wording, formats, and trajectories. SST uses these schemas to associate unfamiliar examples with familiar procedures, allowing a new-domain example to be interpreted as a transported instance of a reusable skill rather than as an isolated new trajectory, as illustrated in Figure 1. We evaluate SST in streaming knowledge-update settings, where new-domain knowledge is introduced sequentially and the model must retain capabilities learned from earlier domains. Across two 3B instruction-tuned backbones, a four-domain MATH stream, and a three-domain agent stream, SST improves average final performance on streamed domains by 2.53-5.75 points over the corresponding sequential post-training baseline. It also reduces max-drop forgetting in all evaluated settings and maintains or substantially recovers OOD benchmark performance relative to sequential updates. To summarize, our main contributions are:

Figure 1. Overview of Skill Schema Transport (SST). SST recasts new-domain examples as instances of reusable skill schemas rather than anchoring old data, output distributions, or parameter values. The left panels illustrate the drift diagnostics used in our analysis, and the bottom pipeline shows how procedural skills are extracted, abstracted, stored, and used for schema-conditioned updates.
We reframe forgetting mitigation under domain shift as a problem of knowledge organization rather than only model constraint, shifting the burden of adaptation from limiting model movement to structuring how new examples are represented during training.
We provide drift and error-structure diagnostics showing that surface and representation drift need not align, and that procedural failure patterns can cut across domain boundaries, motivating procedural reuse as an alternative to purely drift-based anchoring.
We propose Skill Schema Transport (SST), a schema-conditioned post-training framework that extracts domain-agnostic skill schemas and transports new-domain examples into reusable procedural coordinates.
Across two streaming settings comprising seven update domains and two 3B instruction-tuned backbones, SST improves streamed-domain performance by 2.53-5.75 points over sequential post-training, reduces max-drop forgetting in all evaluated settings, and maintains or substantially recovers OOD benchmark performance relative to sequential updates.
Related Work
Continual Learning for Sequential LLM Training. Continual learning studies how models acquire new capabilities without overwriting old ones, with catastrophic forgetting as a central failure mode [35, 42, 15, 16]. Existing methods mitigate forgetting through parameter consolidation, functional regularization, replay, and gradient constraints, including EWC, SI, MAS, and related approaches [27, 60, 2, 8, 44, 31, 41, 32, 9, 7, 38, 12]. Analogous ideas appear in sequential RL through replay, distillation, and policy regularization, while recent LLM post-training studies show that continual pretraining, instruction tuning, SFT, and RLHF can all induce forgetting under domain shift. (43; 26; 37; 4; 34; 54; 46; 62). Parameter-efficient methods such as LoRA, O-LoRA, and CLoRA reduce interference by restricting adaptation to low-rank, orthogonal, or regularized subspaces, but they still mainly act as drift-control mechanisms [23, 52, 33]. Our work is complementary: instead of only constraining surface or representation drift, we ask whether new-domain knowledge can be transported into procedures already learned by the model, and analyze this using representation-similarity tools such as SVCCA, PWCCA, and CKA [40, 36, 28].
Skills, Temporal Abstraction, and Skill Discovery. The idea that complex behavior can be decomposed into reusable subroutines is central to hierarchical reinforcement learning, where Options, MAXQ, feudal RL, and Option-Critic define skills as temporally extended actions or subtasks that support behavioral reuse [49, 13, 11, 5, 3, 39]. A related line studies unsupervised skill discovery, where methods such as VIC, DIAYN, DADS, and OPAL learn diverse, predictable, or recurring primitives without task-specific supervision [18, 14, 45, 1]. We build on this abstraction view, but do not treat skills as options, policies, or transfer modules. Instead, we define skills as language-level schemas that preserve operations, dependencies, and checks while abstracting away domain-specific wording, formats, and trajectories, allowing us to test whether schema-based supervision induces less unnecessary representation drift during post-training [40, 28].
Skill-Augmented and Continually Improving Agents. Recent LLM-agent systems externalize reusable experience as memories, reflections, trajectories, executable programs, or skill libraries. ReAct interleaves reasoning with environment actions, while Reflexion and ExpeL improve agents through verbal feedback, episodic memory, or distilled experience without updating model weights [59, 47, 61]. Voyager extends this idea to open-ended lifelong learning with an executable skill library for embodied control [51]. More recent work makes skill learning explicit through recursive skill libraries, persistent skill memories, multimodal experience-skill stores, and skill-oriented benchmarks [55, 30, 25, 64]. These methods typically use skills as external memories, prompts, tools, or inference-time resources, whereas our work studies schema-conditioned sequential post-training with retrieval-free main evaluation: SST uses skill schemas during training to encourage new-domain knowledge to be internalized through reusable procedures.
Preliminary
We formalize the continual domain adaptation setting used throughout the paper. We first define the update and retention distributions, then define forgetting and drift diagnostics, and finally introduce the schema objects used by SST.
Definition 1 (Continual Learning on Shifting Domains). Let be a pre-trained language model and a sequence of update distributions, where each is supported on a domain (e.g., a subject area such as algebra, medicine, or law) that may differ from the domains seen during pre-training. At step , the model is updated from to using examples drawn from , while retaining performance on a set of retention distributions , where each is supported on the previously encountered domain .
The setting specifies where new learning occurs and where retention is measured. We next define forgetting as the maximum accuracy drop over the observed stream.
Definition 2 (Forgetting Gap). For a retention distribution , let denote the task accuracy on after update step . If corresponds to a domain introduced at step , we define its forgetting gap after the full stream as
We report average forgetting by averaging over prior retention distributions, excluding the final streamed domain because it is not followed by a later update and therefore cannot be overwritten within the observed stream.
The forgetting gap measures the outcome of the update stream. To diagnose the updates themselves, we also track how much the model changes at the output and representation levels.
Definition 3 (Drift Diagnostics). For an input , let denote the model’s output distribution over the vocabulary and a hidden representation extracted from a fixed intermediate layer. Let denote the marginal distribution over inputs . The cumulative drift from and the
incremental drift from are defined, respectively, as
These drift quantities measure changes in the model, but they do not specify whether two examples use the same solution procedure. SST therefore uses a schema-level representation of procedural structure. We represent procedural structure via skill schemas. Let denote a reasoning trace for solving , and let denote the schema memory accumulated through step .
Definition 4 (Skill Schema). A skill schema is an abstraction , where maps a reasoning trace to a structured, domain-agnostic representation of its procedural steps.
Table 1 shows one instantiated schema and its fields. It specifies what information is stored in a schema, including its goal, applicability conditions, canonical steps, failure modes, and compositional links. Figure 4 illustrates how a concrete problem is paired with a transported schema to form a schema-conditioned SFT example.

Figure 4. A schema-conditioned SFT training example in SST. The setup is identical to standard SFT except that the input prompt is augmented with a transported skill schema ; the supervision target remains the gold response only.
| Field | Description |
| Skill Name | Algebraic Substitution and Equation Solving |
| Goal | Solve algebra problems via rewriting, substitution, and branch verification. |
| Applicability | Equations, expressions, radicals, and symbolic substitutions. |
| Keywords | equation, substitute, solve, factor, expression |
| Structural Cues | functional relations; inequalities or intervals |
| Output Format | integer, fraction, radical, interval |
| Canonical Steps | (1) Rewrite the relation; (2) substitute or factor strategically; (3) solve candidate values; (4) check constraints. |
| Failure Modes | sign errors; dropped branches; unchecked extraneous solutions |
| Compositional Link | exact form and answer realization |
Table 1. Example of a structured skill schema used.
Definition 5 (Schema Transportability). A new example with schema is -schema-transportable with respect to a nonempty schema memory if
where denotes the nearest neighbor of in the schema memory under , with ties broken deterministically. If , the example is treated as non-transportable.
Transportability determines how new examples interact with the schema memory : transportable examples are attached to an existing procedure, while non-transportable examples introduce a new one. The maintenance operations on are detailed in Section 4.
Skill Schema Transport
We propose Skill Schema Transport (SST), a post-training framework that connects new-domain knowledge to procedures learned from earlier domains, shown in Algorithm 1. Rather than constraining the model to reproduce previous outputs, SST uses skill schemas as procedural descriptors, allowing a new-domain example to be interpreted through a reusable skill whenever its schema matches one stored in memory.
Schema Extraction. For each training example , the reasoning trace is the ground-truth solution provided by the dataset. The skill schema is extracted using the model prior to the current update step via a structured prompt (detailed in
Appendix § 12. The extractor takes as input and produces a domain-agnostic schema specifying the procedural structure of the solution, including operations, dependencies, and validation checks, while abstracting away domain-specific terminology and surface details.
Schema Memory Initialization and Skill Retrieval. The schema memory is initialized from a fixed set of predefined skill families and seed skills before any examples from are processed. During update step , SST maintains a working memory initialized as . For each example in , the system extracts a candidate schema using , retrieves the nearest skill from , constructs the transported schema , and immediately applies a memory-update operation to . After all examples from are processed, the working memory is committed as .
New skills are written into memory only if the same procedural signature receives at least supporting examples, preventing spurious entries from single occurrences. Schema transportability (Definition 5) is defined conceptually over the schema space . In implementation, we operationalize this with a problem-to-skill retrieval proxy: the input problem and each skill entry in the current working memory are encoded using bge-small-en-v1.5 (56) and ranked by cosine similarity. Each skill is represented as a canonicalized natural-language block comprising five fields: Skill ID, Family, Goal, When to use, Steps, and Common failure modes. The top- retrieved skill blocks ( in our experiments) are then used to condition schema extraction and the construction of the transported schema .
Schema-Conditioned Post-Training. At update step , standard SFT optimizes
When is out-of-domain, this objective may cause the model to acquire isolated domain-specific procedures rather than expressing new knowledge in terms of procedures already present in its repertoire. SST processes examples sequentially with a working memory . For the -th example , let and assign
Here is the current working memory before processing example , and denotes the nearest neighbor of in that memory under . This yields the schema-conditioned dataset
and objective
Here serves solely as input context and is not a supervision target: the model is trained to generate conditioned on both the problem and the retrieved procedural context , but is not explicitly trained to predict itself. Thus provides instance-specific content, provides the target response, and provides the procedural coordinates through which the new example is expressed.
Schema Memory Maintenance. The schema memory evolves across update steps without requiring replay access to . Memory updates occur per example, not as a separate post-hoc phase. During stage , all schema extraction and memory-operation proposals are produced by the pre-update model ; the updated model is obtained only after the schema-conditioned dataset has been constructed. After is assigned for a given example, produces an update proposal and applies either a Reuse no-op or one of four memory-modifying operations. Revise: if the proposed schema matches an existing entry within the same skill family, the stored schema is updated with new keywords, canonical steps, or failure modes. Create: if or , the proposed schema is a candidate for a new entry; it is written into only when the same procedural signature accumulates at least supporting examples and the extractor’s confidence exceeds a threshold . Merge: if two schemas share the same skill family and satisfy , they are consolidated, retaining the more-retrieved entry. Drop: a schema whose utility score falls below is removed, provided it has been retrieved at least times. The utility score aggregates behavioral signals including source correctness, retrieval support, retrieval precision. Implementation details and default hyperparameters are provided in Appendix D. Skill family membership is a discrete field assigned by the extractor at creation time from a fixed family list; it governs which skills are candidates for Revise and Merge, while Dist governs the within-family similarity threshold for Merge. Together, these operations allow to grow, refine, and prune itself as new domains are encountered. A local linearized analysis in Appendix B shows that, under a schema-separable approximation, schema-conditioned directions need not increase the minimum shared-parameter displacement required by an update.
Experiments
Models and datasets. We evaluate SST on Llama-3.2-3B-Instruct [17] and Qwen2.5-3B-Instruct [57]. We consider two streaming settings: a mathematical reasoning stream [21] with four sequential domains (Algebra Counting & Probability Geometry Intermediate Algebra), and an agent-task stream with three sequential domains (AlfWorld Web-Shop search-augmented QA [48, 58, 55]).
Training and inference. At each stream step, methods may only access the current domain plus any information explicitly permitted by their design. SST applies the same base objective as the
Algorithm 1 Skill Schema Transport (SST)
Require: Pre-trained model $\mathcal{M}_{\theta_0}$
Require: Update stream $D_1,\ldots,D_T$
Require: Distance $\operatorname{Dist}$; thresholds $\epsilon$, $\delta_{\mathrm{create}}$, $\delta_{\mathrm{merge}}$, $\delta_{\mathrm{drop}}$, $n_{\min}$, $k_{\min}$
Ensure: Updated model $\mathcal{M}_{\theta_T}$, schema memory $B_T$
1: Initialize $B_0$ from seed skill families
2: for $t=1,\ldots,T$ do
3: $\overline{B}\leftarrow B_{t-1}$; $\widetilde{D}_t\leftarrow\varnothing$
4: for each $(x,y,\tau)\sim D_t$ do
5: $z\leftarrow\Gamma_{\theta_{t-1}}(\tau)$
6: $z^\star\leftarrow\arg\min_{z'\in\overline{B}}\operatorname{Dist}(z,z')$
7: $\widetilde{z}\leftarrow z^\star$ if $\operatorname{Dist}(z,z^\star)\le\epsilon$ else $z$
8: Add $(x,\widetilde{z},y)$ to $\widetilde{D}_t$
9: $\overline{B}\leftarrow\operatorname{MemUpdate}_{\Gamma_{\theta_{t-1}}}(\overline{B},z,\widetilde{z})$
10: end for
11: $B_t\leftarrow\overline{B}$
12: $\theta_t\leftarrow\arg\min_\theta\mathcal{L}^{t}_{\mathrm{SST}}(\theta;\widetilde{D}_t)$
13: end for
sequential baseline (SFT for MATH, RL for agent tasks), but rewrites updates through retrieved skill schemas. All main evaluations are retrieval-free at inference time, so reported gains reflect internalized knowledge rather than test-time prompting.
Evaluation. After each step we evaluate on all domains seen so far. We report average final performance and average max-drop forgetting. For a domain introduced at step , let denote its accuracy after update step . We define
We average over prior streamed domains, excluding the final domain because it is not followed by a later update. For the MATH stream, we additionally report transfer to held-out domains (Number Theory, Prealgebra, Precalculus) and preservation on general benchmarks (MMLU (20), GSM8K (10), PIQA (6), CommonsenseQA (50), SciQ (53)); the same benchmarks are used for the agent stream.
Baselines. We compare against SEQTRAIN (sequential, no mitigation), REPLAY (fixed-count rehearsal), and REGULARIZATION (L2 parameter anchoring to the base model). Unlike these, SST does not anchor to past examples or states; instead, it conditions new updates on reusable procedural schemas. We also include non-streaming experiments, Appendix § 8 shows that the gain-drop pattern also holds for independent single-domain updates.
RQ1: Does SST reduce forgetting while preserving out-of-stream performance? Table 2 summarizes results across both streaming settings and backbones. In the MATH stream, Seq-SFT causes severe forgetting on Qwen3B (avg. max-drop 42.41 pts, final streamed average 19.96%); SST reduces max-drop to 7.10 pts and raises the streamed average to 25.12%, while recovering general benchmark performance from 58.92% to 72.06%. Llama3B follows the same direction: streamed average improves from 20.30% to 22.83% and general benchmarks from 69.33% to 72.33%. In the agent-task stream, SST improves final average task performance over Seq-RL by 5.75 pts on Qwen3B (73.04% → 78.79%) and 3.27 pts on Llama3B (74.50% → 77.77%), with forgetting reduced and general benchmark scores preserved. Across both streams, schema-conditioned updates improve streaming adaptation without increasing interference with out-of-stream capabilities. Appendix § 10 provides the corresponding max-drop decomposition by domain.
| Model | Method | Alg. | Count. | Geom. | Inter. | Stream Avg. ↑ | Forget. ↓ | MMLU | GSM8K | PIQA | CSQA | SciQ | OOD Avg. ↑ |
| Qwen-3B | Base | 44.99 | 28.48 | 22.34 | 9.19 | 26.25 | – | 65.45 | 63.00 | 77.69 | 75.54 | 92.50 | 74.84 |
| Qwen-3B | Seq-SFT | 26.62 | 21.31 | 18.16 | 13.73 | 19.96 | 42.41 | 57.18 | 7.58 | 74.43 | 61.59 | 93.80 | 58.92 |
| Qwen-3B | SST | 40.27 | 24.68 | 20.46 | 15.06 | 25.12 | 7.10 | 65.28 | 39.20 | 77.58 | 80.56 | 97.70 | 72.06 |
| Llama-3B | Base | 8.17 | 5.70 | 11.27 | 9.63 | 8.69 | – | 62.12 | 67.48 | 73.90 | 73.96 | 94.20 | 74.33 |
| Llama-3B | Seq-SFT | 30.03 | 20.16 | 18.66 | 12.33 | 20.30 | 4.39 | 60.43 | 46.40 | 73.72 | 71.01 | 95.10 | 69.33 |
| Llama-3B | SST | 31.76 | 21.73 | 20.88 | 16.94 | 22.83 | 4.09 | 60.58 | 61.84 | 74.32 | 70.60 | 94.30 | 72.33 |
| Qwen-3B | Base | 19.79 | 42.75 | 53.72 | 38.75 | – | 65.45 | 63.00 | 77.69 | 75.54 | 92.50 | 74.84 | |
| Qwen-3B | Seq-RL | 66.97 | 91.33 | 60.81 | 73.04 | 1.47 | 65.42 | 63.00 | 77.69 | 78.54 | 94.70 | 75.87 | |
| Qwen-3B | SST | 77.94 | 94.12 | 64.32 | 78.79 | 0.77 | 65.47 | 63.61 | 77.15 | 78.13 | 94.50 | 75.77 | |
| Llama-3B | Base | 20.99 | 18.43 | 49.59 | 29.67 | – | 62.12 | 67.48 | 73.90 | 73.96 | 94.20 | 74.33 | |
| Llama-3B | Seq-RL | 71.93 | 91.76 | 59.81 | 74.50 | 1.47 | 61.84 | 67.32 | 73.23 | 73.71 | 94.30 | 74.08 | |
| Llama-3B | SST | 77.94 | 92.55 | 62.81 | 77.77 | 1.27 | 61.95 | 68.54 | 73.50 | 72.56 | 94.30 | 74.17 |
Table 2. Main streaming results. All numbers are percentages after the full stream. Stream Avg.: average over streamed domains. Forget.: average max-drop over prior streamed domains. OOD Avg.: average over MMLU, GSM8K, PIQA, CSQA, and SciQ (flex score for GSM8K). Sequential baseline is Seq-SFT for MATH and Seq-RL for agent tasks. SST uses the same update objective as its sequential counterpart, conditioned on skill schemas. Forgetting is not applicable to base models. MATH stream: Algebra → Counting & Probability → Geometry → Intermediate Algebra. Agent stream: AlfWorld → WebShop → Search.
RQ2: How does SST compare with standard forgetting-mitigation baselines? Replay and regularization preserve prior behavior by anchoring updates to earlier examples or model states. SST instead maps new examples into a reusable skill-schema space before updating, encouraging the model to relate new domains to previously acquired procedures. Figure 5 reports final accuracy after the four-domain MATH stream. Across both backbones, SST matches or improves over replay and regularization on streamed domains, with the largest advantage on held-out related MATH domains, where preserving old outputs is insufficient and transferring reusable procedures is required. This suggests

Figure 5. Baseline comparison on streaming MATH. Final accuracy after the four-domain stream. Left: seen domains. Right: held-out related MATH domains. SST yields a favorable retention-transfer trade-off on both models.
schema transport does more than constrain model drift: by organizing updates around reusable skills, SST yields a favorable retention-transfer trade-off.
RQ3: Can forgetting be avoided simply by underfitting the update? A simpler explanation for improved retention is weaker optimization: undertrained updates may overwrite earlier domains less. To test this, we compare converged and underfit sequential SFT on Qwen-3B over the four-domain MATH stream. As shown in Figure 6, underfit SFT preserves some earlier-domain accuracy but at the cost of Intermediate Algebra performance and held-out MATH generalization (Number Theory, Prealgebra, Precalculus), a retention, plasticity trade-off rather than a solution to continual adaptation. SST targets a different mechanism: by conditioning updates on reusable skill schemas, it preserves prior procedures while still fitting new examples.

Figure 6. Underfitting does not explain SST’s retention. Underfit SFT retains more earlier-domain accuracy only by failing to learn the final domain and degrading related OOD generalization.
RQ4: Do later updates overwrite prior skills, or reinforce shared procedures? Final-checkpoint accuracy captures the net effect of the stream but not how skills evolve during adaptation. We evaluate each SST checkpoint on all streamed MATH domains after every update, testing whether shared procedural structure allows later updates to recover or reinforce earlier skills. For each prior domain , max-drop forgetting is .
Figure 7 shows that SST keeps forgetting bounded: Qwen-3B drops by 8.68, 8.02, and 4.59 points on Algebra, Counting & Probability, and Geometry (avg. 7.10 pts), Llama-3B drops by 7.51, 4.04, and 0.71 points on Algebra, Counting & Probability, and Geometry, respectively, with an average max-drop of 4.09 points. Crucially, trajectories are not purely monotonic: Qwen-3B’s Algebra accuracy partially recovers from 37.15% to 40.27% by the final checkpoint, consistent with later examples activating schemas shared with earlier domains. These trajectories are consistent with SST mitigating forgetting not by freezing prior behavior, but by allowing skills to be reused and sometimes reinforced as the stream grows.

Figure 7. SST checkpoint trajectories on streaming MATH. Rows are checkpoints after each update and columns are evaluation domains. Partial recoveries after later updates are consistent with later domains reinforcing shared procedures.
RQ5: Is SST robust to the order in which domains arrive? Streaming adaptation is inherently order-sensitive: a method may appear effective only because the domains are presented in a favorable sequence. We therefore test SST on four permutations of the same MATH domains using the same training budget and evaluation protocol, and evaluate the final checkpoint on both streamed and
held-out domains. Figure 8 shows that SST yields a broadly consistent performance profile across orders. Although some variation remains, especially on Algebra and Number Theory, no tested permutation causes a collapse on streamed domains, and held-out domains such as Prealgebra remain comparatively strong. This finite-order stress test does not prove full order invariance, but it reduces the concern that SST’s retention-transfer trade-off is driven by a single hand-picked curriculum. Instead, schema transport appears to provide a stable procedural interface for integrating new domains as they arrive.

Figure 8. Robustness to stream order. SST is trained on four permutations of the same MATH stream and evaluated after the final update. Performance is broadly consistent across orders, indicating that SST does not rely on a single favorable domain sequence.
Conclusion
We proposed Skill Schema Transport (SST), a post-training framework that mitigates forgetting by expressing new-domain examples through reusable procedural schemas rather than constraining model drift. Across streaming math and agent-task settings, SST improves retention and related-domain transfer over sequential fine-tuning and standard forgetting-mitigation baselines. Further analyses reduce the likelihood that the gains are explained solely by underfitting or a favorable stream order, and checkpoint trajectories are consistent with the view that later domains can reuse and sometimes reinforce shared procedures. These results suggest that continual adaptation can be improved not only by limiting model change, but by representing new knowledge in procedural coordinates the model already understands.
Acknowledgments and Disclosure of Funding
This research was partially supported by the National Science Foundation (NSF) under Award No. IIS-2551752 and a Cisco Faculty Award.
Single-Domain Gain-Drop Diagnostic
The main experiments evaluate SST in streaming settings, where updates arrive sequentially and later domains may interact with earlier ones. To isolate the effect of schema conditioning from stream order and cumulative checkpoint dynamics, we additionally run a non-streaming single-domain diagnostic. For each target domain , we initialize from the same base model and train only on examples from . We compare raw full fine-tuning against skill-conditioned full fine-tuning using the same target-domain data and training budget. All evaluations in this diagnostic are retrieval-free at inference time; skill schemas are used only as training-time context.
Let denote the base-model accuracy on evaluation domain , and let denote the accuracy after training on target domain with method . We measure the target-domain gain and cross-domain drop as
where is the set of streamed MATH evaluation domains and counts only performance decreases. In Figure 9, gains are plotted upward and drops are plotted downward as .

Figure 9. Single-domain gain–drop diagnostic. Each MATH domain is trained independently from the same base checkpoint. Upward bars show target-domain gain, and downward hatched bars show average drop on the other streamed MATH domains. Compared with FULL RAW, FULL SKILL yields a stronger gain–drop trade-off on both Qwen-3B and Llama-3B.
Figure 9 shows that schema conditioning improves the gain-drop trade-off even in isolated single-domain updates. Starting from the same base checkpoint, raw fine-tuning often provides weaker target-domain gains and/or larger drops on the remaining streamed MATH domains. In contrast, skill-conditioned fine-tuning achieves stronger or comparable in-domain gains with smaller cross-domain degradation. This complements the streaming results by showing that SST’s advantage is not only a consequence of cumulative sequential adaptation, but also appears at the level of individual domain updates.
Additional Details for the Linearized SST Analysis
A Linearized Drift Bound
We give a local linearized argument for why schema conditioning can reduce retention drift. The result concerns minimum shared-parameter displacement in a first-order logit-fitting problem, not global convergence. Assume the model decomposes into shared parameters and schema-specific parameters , with logits
Under the following assumption, retention diagnostics evaluated with depend only on to first order.
Assumption 1 (Null-schema inactivity). The schema embedding satisfies for all , so that
At step , let and let be the desired first-order logit change for a mini-batch from . The linearized updates are
where , are Jacobians w.r.t. shared and schema-specific parameters. Let , , , so that is the component of fitable by shared parameters and captures how schema-specific directions can offload residual from .
Define the minimum shared-parameter displacement under each objective as
Since retention diagnostics under depend only on , is free in .
Theorem 1 (SST cannot increase the minimum required shared-parameter change). Let and . Then
where for . The inequality is strict if and only if .
Proof. If , then and the claim is trivial. Otherwise, let be a compact SVD. Then . Hence is an inner product on : for every nonzero , we have .
For any , the minimum-norm solution of is . Therefore
The identity follows directly from the same SVD. Taking gives .
For SST, write . For any fixed , the remaining residual assigned to shared parameters is , and the minimum shared-parameter norm is by the previous paragraph. Minimizing over gives
Thus is the squared -distance from to . The -orthogonal projection onto is
Therefore,
This proves (14). Since ,
The inequality is strict exactly when , which is equivalent to not being -orthogonal to , i.e., .
Corollary 1 (Incremental retention-drift bound). Let be a nonnegative incremental retention diagnostic evaluated under that depends locally only on , satisfies , and is -Lipschitz in near . For the minimum-shared-norm SST update,
For a raw-reference diagnostic , this bounds only the increment , not itself.
Proof. See Appendix B.2.
Corollary 2 (Retention-loss-increase bound). Assume the retention loss evaluated under depends locally only on and is -Lipschitz in near . Define
Then, for any minimum-shared-norm SST update,
Proof. See Appendix B.3.
Proof of Corollary 1
By Assumption 1 and the local schema-separable decomposition, depends locally only on . Since , nonnegativity and Lipschitz continuity give
For the minimum-shared-norm SST update, . Theorem 1 gives .
Proof of Corollary 2
By Assumption 1, evaluated under depends locally only on and is -Lipschitz. Therefore
which gives
For the minimum-shared-norm SST update, . Theorem 1 gives .
Exact interpolation versus projected fitable component
The main theorem compares the shared-parameter displacement needed for the component that is fitable by the shared Jacobian. This is the appropriate comparison when the linearized system is interpreted in least-squares or projected-logit form. If instead one requires exact interpolation of the full residual , the feasible sets should be written explicitly.
For exact SFT interpolation,
is finite if and only if . For exact SST interpolation,
is finite if and only if . Whenever this exact SST problem is feasible, it can be written as
In the special case where , exact SFT is feasible and the exact SST expression reduces to
Thus exact interpolation also cannot increase the minimum required shared-parameter displacement. The projected theorem in the main text is slightly more permissive because it studies the shared-fitable component and the projected schema directions ; the exact full-residual theorem instead uses the intersection when .
Counterexample to the ordinary Euclidean-projection claim
The following example shows why the ordinary Euclidean projection onto is not sufficient for the theorem.
Let
and choose a full-row-rank matrix such that , for example
Let
The ordinary Euclidean projection of onto is
However,
Therefore and there is no strict improvement:
Moreover, fitting the ordinary Euclidean residual through would require squared shared norm
which is larger than the SFT cost 1. Hence the statement
is false in general. It becomes valid if is proportional to the identity, or if is replaced by the -orthogonal projection.
What the theorem does and does not prove
The theorem proves a statement about a local first-order interpolation problem: after linearizing the logits around the pre-update parameter , adding schema-specific tangent directions cannot increase the minimum amount of movement required in shared parameters to fit the same shared-fitable residual component. The theorem does not, by itself, prove that arbitrary nonconvex SGD will find the minimum-shared-norm solution, nor that every empirical forgetting metric, including accuracy max-drop, must decrease without the stated null-schema and Lipschitz assumptions. Theory-related claims should therefore be phrased as local upper bounds under explicit assumptions, while the actual retention behavior should be validated empirically.
Additional Details for RQ1
Forgetting metric. For each streamed domain , let be the update step at which is introduced and let be the final update step. We compute max-drop forgetting as
where is the evaluation accuracy on domain after update step . We average over prior streamed domains only. The final domain is excluded because it is not followed by a later update and therefore cannot be overwritten within the observed stream.
| Category | Setting | Value |
| SFT hyperparameters | ||
| SFT | Training framework | LlamaFactory |
| SFT | Maximum sequence length | 4096 |
| SFT | Precision | bf16 |
| SFT | Scheduler | cosine |
| SFT | Warmup ratio | 0.03 |
| SFT | Per-device train batch size | 2 |
| SFT | Gradient accumulation steps | 8 |
| SFT | Effective batch size | 16 |
| SFT | Training epochs | 5 |
| SFT | Full fine-tuning learning rate | |
| SFT | Retrieved skills | 2 |
| Evaluation settings | ||
| Eval | Decoding | deterministic |
| Eval | Temperature | 0.0 |
| Eval | Top-p | 1.0 |
| Eval | Maximum new tokens | 512 |
| Eval | Inference engine | vLLM |
| Eval | Tensor parallel size | 1 |
| Eval | GPU memory utilization | 0.8 |
| Eval | Maximum number of sequences | 64 |
Table 3. Default training and evaluation settings.
Implementation Details
Sequential MATH adaptation. For the sequential skill-conditioned SFT setting, we train on four MATH domains in order: Algebra, Counting & Probability, Geometry, and Intermediate Algebra. After each stage, we evaluate the resulting checkpoint on all seven Hendrycks MATH categories: Algebra, Counting & Probability, Geometry, Intermediate Algebra, Number Theory, Prealgebra, and Precalculus. For SST, we construct skill-augmented training examples by retrieving the top- skills from the schema memory, with by default, and use the full skill prompt format described in Appendix § 12. Non-SST baselines use the same training examples and hyperparameters, but without the retrieved skill context.
SFT training configuration. We implement SFT using LlamaFactory [63] and run evaluation with vLLM [29]. Unless otherwise specified, we use bf16 training, cosine learning-rate scheduling, and a warmup ratio of 0.03. The default per-device batch size is 2 with gradient accumulation over 8 steps, giving an effective batch size of 16 on a single GPU. We train for 5 epochs by default. For full fine-tuning, we use a learning rate of ;
RL implementation details. For the agent-stream experiments, we instantiate SST-RL as a schema-conditioned offline reinforcement-learning setup. In each agent domain, SST-RL augments the state prompt with the top retrieved skills from the schema memory and then optimizes the policy with a GRPO-style objective. Seq-RL and SST-RL use the same RL objective, reward functions, decoding settings, and training budget; the only difference is that SST-RL conditions the training prompt on retrieved skill schemas. In our implementation, the agent skill prompt uses top- retrieval with .
Rewards are rule-based and combine action correctness with output-format compliance. The main reward is an exact-action reward: it assigns 1.0 when the generated action exactly matches the reference action and 0.0 otherwise. An auxiliary format reward adds 0.2 when the response follows the required tagged protocol, including the expected <think> and <action> fields. Unless otherwise specified, GRPO training uses learning rate , one training epoch, per-device batch size 1, gradient accumulation 4, four sampled completions per prompt, maximum prompt length 4096, maximum completion length 512, temperature 0.9, , and a DAPO-style loss.
Agent evaluation. Agent evaluation is action-level rather than full episodic environment evaluation. The main metric reported for AlfWorld, WebShop, and Search is exact action-match accuracy under deterministic decoding. For Search, we additionally compute tool-selection accuracy, average query-token F1, and a soft search accuracy that requires both the correct tool and query-token F1 of at least 0.5. All agent results in Table 2 use retrieval-free inference unless explicitly stated otherwise. Thus, the agent-stream experiment tests whether schema-conditioned training improves sequential robustness in agent decision-making, rather than introducing a new RL objective or relying on test-time skill retrieval.
Evaluation configuration. We use deterministic decoding for all evaluations, with temperature 0.0 and top- = 1.0, and generate up to 512 new tokens per example. For vLLM inference, we use tensor parallel size 1. Typical inference settings use gpu_memory_utilization=0.8 and max_num_seqs=64. All main results reported in Table 2 use retrieval-free inference: the final fine-tuned model is evaluated with the raw solver prompt and without prepended skill blocks. Retrieval-enabled inference is used only as an optional diagnostic ablation, and any such results are reported separately when included.
Compute. All main SFT jobs are run on a single-GPU node, typically using 1×A100 GPU, 8 CPU cores, and 256GB host memory, with a 72-hour wall-clock limit for training jobs. Base-model evaluation jobs use the same single-GPU setup with a shorter time budget. In our local setup, the full Hendrycks MATH test set contains 5,000 examples across seven subject categories.
Replay baseline. Our replay baseline uses fixed-count rehearsal rather than a dynamic reservoir buffer. At stream step , the training set contains all current-domain examples together with a uniformly sampled subset from each previous domain. Unless otherwise specified, we sample 500 examples per previous domain using a fixed random seed and sample without replacement after shuffling. Replay examples are concatenated with current-domain examples without additional weighting. The replay ratio is therefore step-dependent:
Regularization baseline. The regularization baseline is an L2-SP-style parameter anchoring baseline. It loads the original base model as an anchor and adds
to the sequential SFT objective over trainable parameters. Unless otherwise specified, we use and the same optimizer, sequence length, batch size, learning-rate schedule, and stream order as the sequential SFT baseline.
Error-clustering diagnostic. We construct Figure 3 by first evaluating the base model on MATH examples and retaining examples answered incorrectly under the same answer-normalization protocol used in Section 5. Each failed example is represented by the problem text only (i.e., excluding both the gold solution and the model-generated reasoning trace), embedded with the sentence embedding model BAAI/bge-small-en-v1.5, and projected to two dimensions with PCA using the top two principal components. Procedural error labels are assigned by manual annotation using the categories ALGEBRAIC MANIPULATION, CASE OMISSION / COUNTING BREAKDOWN, GEOMETRIC RELATION MISUSE, MODULAR / DIVISIBILITY REASONING, COORDINATE-MODELING ERROR, CONSTRAINT / INTERVAL CHECKING, and ANSWER-FORMAT / FINALIZATION. Domain labels are the original MATH subject categories. To avoid circularity, the procedural labels are used only for post-hoc visualization and are not used as supervision, retrieval targets, memory entries, or training signals for SST. This diagnostic is intended only as motivating evidence that failure modes exhibit cross-domain procedural overlap, rather than as a quantitative claim about a complete latent error taxonomy.
Prompting Details
Overview. We use three prompt types in the SST pipeline: a raw solver prompt for base and retrieval-free evaluation, a skill-conditioned solver prompt for SST training, and a memory-update prompt for maintaining the skill memory. Unless explicitly stated otherwise, all reported main results use the raw solver prompt at inference time without retrieved skill blocks. In all skill-conditioned SFT examples, retrieved skills are provided only as input context; the supervision target remains the gold solution.
Raw solver prompt
Solve the following competition math problem. Show concise reasoning and
final answer.
Type: {problem_type}
Level: {level}
Problem:
{problem}
Skill-conditioned training prompt. For SST, we prepend the top- retrieved skill blocks to the problem input, with by default. The training target is the gold solution only; the model is not trained to reproduce the retrieved skills. If no skill is retrieved, the prompt includes a short fallback line indicating that the model should solve directly.
Skill-conditioned solver prompt
Solve the following competition math problem. Use the retrieved skills when
they fit the problem. Show concise reasoning and final answer.
{retrieved_skill_blocks}
Type: {problem_type}
Level: {level}
Problem:
{problem}
Fallback when no skill is retrieved
Relevant skills:
- None retrieved. Solve directly.
Retrieved skill block format. Each retrieved skill is represented as a compact procedural description. The default prompt uses the full skill format below.
Retrieved skill block
Relevant skill {rank}:
- Skill ID: {skill_id}
- Family: {skill_family}
- Goal: {goal}
- When to use: {applicability}
- Steps: {canonical_steps}
- Common failure modes: {failure_modes}
Memory-update prompt. The memory-update prompt is used during bootstrapping and online memory maintenance. Given the current problem, the model output, and the retrieved skills, the model selects one memory operation from REUSE, REVISE, CREATE, MERGE, and DROP. We require the output to be a single JSON object with no markdown or extra text. Reuse and drop target an existing skill; revise, create, and merge additionally provide a proposed skill entry.
Memory-update prompt, condensed
You are maintaining a model-relative skill memory for competition math.
Given the current problem, the model’s reasoning and final answer, and the
retrieved skills, decide whether to reuse, revise, create, merge, or drop a
skill.
Rules:
- Prefer reuse over create.
- Prefer revise over create if the reasoning pattern is close.
- Create a new skill only when no existing skill covers the pattern.
- Use only the provided skill family IDs.
- Reuse, revise, merge, and drop must name exact existing skill IDs.
- Do not invent missing families, target IDs, or merge sources.
- Return exactly one JSON object with no markdown fences and no extra text.
Return fields:
{action, target_skill_id, proposed_skill, reason, confidence}
Families:
{families_json}
Problem:
{problem}
Model output:
{prediction}
Retrieved skills:
{retrieved_skills_json}
Chat template. Before vLLM inference, each text prompt is wrapped as a single user message and passed through the model tokenizer’s chat template with generation enabled. This keeps the prompting format consistent across base-model evaluation, non-retrieval evaluation, and retrieval-conditioned evaluation.
Limitations
First, our empirical scope covers only two 3B backbones and two streaming settings; whether the same retention–transfer behavior holds for larger models, longer streams, multilingual or multimodal settings, or domains with weak prior procedural representation remains open.
Second, SST depends on schema extraction and retrieval quality. Incomplete, generic, or mismatched schemas provide weak or misleading conditioning, and inaccurate memory updates may fragment related skills or merge distinct ones. More systematic stress tests on noisy, ambiguous, or adversarial inputs are needed.
Third, the theoretical analysis is a local explanatory argument, not a global guarantee. The linearized result shows schema-conditioned directions need not increase shared-parameter displacement, but this does not guarantee nonconvex optimization finds such solutions in practice.
Fourth, we do not report full multi-seed statistics with confidence intervals for all comparisons. Future work should include repeated runs and larger-scale ablations over retrieval thresholds, memory-update rules, and prompt formats.
Fifth, SST introduces additional overhead for schema extraction, retrieval, and memory updates. Scaling behavior for very large streams or high-throughput settings remains unmeasured.
Finally, SST reduces but does not eliminate forgetting, and should be viewed as improving the retention–plasticity trade-off rather than solving continual learning.
Broader Impact
SST may benefit applications requiring stable sequential model updates by reducing unnecessary overwriting of prior capabilities without retaining large amounts of old data. The explicit schema representation also offers a procedural interface for inspecting which reasoning patterns are reused or revised during training, which may assist in diagnosing failures and understanding how updates affect model behavior.
At the same time, more effective continual adaptation could amplify both beneficial and harmful uses, including harmful automation or unsafe agent behavior if deployed without safeguards. Learned schemas may also preserve and transfer biases or unsafe procedures encoded in training data, and should be evaluated not only for accuracy and forgetting but also for fairness, robustness, and safety in the intended deployment context.
Users should not over-interpret the explicit schema structure as a formal guarantee of model behavior: schemas are conditioning context for training, not certificates of internal reasoning. Any deployment should include independent evaluation, red-teaming, and monitoring for regressions. Future releases of code or schema memories should document data sources, licenses, intended use, and known limitations.
References
- [1]Anurag Ajay, Aviral Kumar, Pulkit Agrawal, Sergey Levine, and Ofir Nachum. Opal: Offline primitive discovery for accelerating offline reinforcement learning. In International Conference on Learning Representations, 2021.arxiv.org/abs/2010.13611
- [2]Rahaf Aljundi, Francesca Babiloni, Mohamed Elhoseiny, Marcus Rohrbach, and Tinne Tuyte- laars. Memory aware synapses: Learning what (not) to forget. In Proceedings of the European conference on computer vision (ECCV), pages 139–154, 2018.arxiv.org/abs/1711.09601
- [3]Pierre-Luc Bacon, Jean Harb, and Doina Precup. The option-critic architecture. In Proceedings of the AAAI Conference on Artificial Intelligence, 2017.arxiv.org/abs/1609.05140
- [4]Yuntao Bai, Saurav Kadavath, Sandipan Kundu, Amanda Askell, Jackson Kernion, Andy Jones, Anna Chen, Anna Goldie, Azalia Mirhoseini, Cameron McKinnon, et al. Constitutional ai: Harmlessness from a feedback. arXiv preprint arXiv:2212.08073, 2022.arxiv.org/abs/2212.08073
- [5]Andrew G. Barto and Sridhar Mahadevan. Recent advances in hierarchical reinforcement learning. Discrete event dynamic systems, 13(4):341–379, 2003.
- [7]Pietro Buz zega, Matteo Boschini, Angelo Porrello, Davide Abati, and Simone Calderara. Dark experience for general continual learning: a strong, simple baseline. Advances in neural information processing systems, 33:15920–15930, 2020.
- [8]Arslan Chaudhry, Puneet K Dokania, Thalaiyasingam Ajanthan, and Philip HS Torr. Riemannian walk for incremental learning: Understanding forgetting and intransigence. In Proceedings of the European conference on computer vision (ECCV), pages 532–547, 2018.DOI
- [9]Arslan Chaudhry, Marc’Aurelio Ranzato, Marcus Rohrbach, and Mohamed Elhoseiny. Efficient lifelong learning with a-gem. arXiv preprint arXiv:1812.00420, 2018.arxiv.org/abs/1812.00420
- [11]Peter Dayan and Geoffrey E Hinton. Feudal reinforcement learning. Advances in neural information processing systems, 5, 1992.
- [12]Matthias De Lange, Rahaf Aljundi, Marc Masana, Sarah Parisot, Xu Jia, Alès Leonardis, Gregory Slabaugh, and Tinne Tuytelaars. A continual learning survey: Defying forgetting in classification tasks. IEEE transactions on pattern analysis and machine intelligence, 44(7):3366–3385, 2021.DOI
- [13]Thomas G Dietterich. Hierarchical reinforcement learning with the maxq value function decomposition. Journal of artificial intelligence research, 13:227–303, 2000.
- [14]Benjamin Eysenbach, Abhishek Gupta, Julian Ibarz, and Sergey Levine. Diversity is all you need: Learning skills without a reward function. arXiv preprint arXiv:1802.06070, 2018.arxiv.org/abs/1802.06070
- [15]Robert M French. Catastrophic forgetting in connectionist networks. Trends in cognitive sciences, 3(4):128–135, 1999.
- [16]Ian J Goodfellow, Mehdi Mirza, Da Xiao, Aaron Courville, and Yoshua Bengio. An empirical investigation of catastrophic forgetting in gradient-based neural networks. arXiv preprint arXiv:1312.6211, 2013.
- [17]Aaron Graffattoni, Abhinanyu Dubey, Abhinav Jauhri, Abhinav Pandey, Abhishek Kadian, Ahmad Al-Dahle, Aiesha Letman, Akhil Mathur, Alan Schelten, Alex Vaughan, et al. The llama 3 herd of models. arXiv preprint arXiv:2407.21783, 2024.
- [18]Karol Gregor, Danilo Jimenez Rezende, and Daan Wierstra. Variational intrinsic control. arXiv preprint arXiv:1611.07507, 2016.arxiv.org/abs/1611.07507
- [19]Suchin Gururangan, Ana Marasović, Swabha Sweyamdipta, Kyle Lo, Iz Beltagy, Doug Downey, and Noah A Smith. Don’t stop pretraining: Adapt language models to domains and tasks. In Proceedings of the 58th annual meeting of the association for computational linguistics, pages 8342–8360, 2020.
- [21]Dan Hendrycks, Collin Burns, Saurav Kadavath, Akul Arora, Steven Basart, Eric Tang, Dawn Song, and Jacob Steinhardt. Measuring mathematical problem solving with the math dataset. NeurIPS, 2021.
- [22]Jeremy Howard and Sebastian Ruder. Universal language model fine-tuning for text classification. In Proceedings of the 56th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pages 328–339, 2018.arxiv.org/abs/1801.06146
- [23]Edward J Hu, Yelong Shen, Phillip Wallis, Zeyuan Allen-Zhu, Yuanzhi Li, Shean Wang, Liang Wang, Weizhu Chen, et al. Lora: Low-rank adaptation of large language models. Iclr, 1(2):3, 2022.
- [24]Jianheng Huang, Leyang Cui, Ante Wang, Chengyi Yang, Xinting Liao, Linfeng Song, Junfeng Yao, and Jinsong Su. Mitigating catastrophic forgetting in large language models with self-synthesized rehearsal. In Proceedings of the 62nd Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pages 1416–1428, 2024.
- [25]Guanyu Jiang, Zhaocheng Su, Xiaoye Qu, and Yi R. Fung. Xskill: Continual learning from experience and skills in multimodal agents. arXiv preprint arXiv:2603.12056, 2026.
- [27]James Kirkpatrick, Razvan Pascanu, Neil Rabinowitz, Joel Veness, Guillaume Desjardins, Andrei A Rusu, Kieran Milan, John Quan, Tiago Ramalho, Agnieszka Grabska-Barwinska, et al. Overcoming catastrophic forgetting in neural networks. Proceedings of the national academy of sciences, 114(13):3521–3526, 2017.
- [28]Simon Kornblith, Mohammad Norouzi, Honglak Lee, and Geoffrey Hinton. Similarity of neural network representations revisited. In International conference on machine learning, pages 3519–3529. PMLR, 2019.
- [29]Woosuk Kwon, Zhuohan Li, Siyuan Zhuang, Ying Sheng, Lianmin Zheng, Cody Hao Yu, Joseph E. Gonzalez, Hao Zhang, and Ion Stoica. Efficient memory management for large language model serving with pagedattention. In Proceedings of the ACM SIGOPS 29th Symposium on Operating Systems Principles, 2023.arxiv.org/abs/2309.06180
- [30]Xiangyi Li, Wenbo Chen, Yimin Liu, Shenghan Zheng, Xiaokun Chen, Yifeng He, et al. Skillsbench: Benchmarking how well agent skills work across diverse tasks. arXiv preprint arXiv:2602.12670, 2026.arxiv.org/abs/2602.12670
- [31]Zhizhong Li and Derek Hoiem. Learning without forgetting. arXiv preprint arXiv:1606.09282, 2016.arxiv.org/abs/1606.09282
- [32]David Lopez-Paz and Marc’Aurelio Ranzato. Gradient episodic memory for continual learning. Advances in neural information processing systems, 30, 2017.
- [33]Yuheng Lu, Bingshuo Qian, Caixia Yuan, Huixing Jiang, and Xiaojie 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), 2025.arxiv.org/abs/2410.16801
- [34]Yun Luo, Zhen Yang, Fandong Meng, Yafu Li, Jie Zhou, and Yue Zhang. An empirical study of catastrophic forgetting in large language models during continual fine-tuning. arXiv preprint arXiv:2308.08747, 2023.arxiv.org/abs/2308.08747
- [35]Michael McCloskey and Neal J Cohen. Catastrophic interference in connectionist networks: The sequential learning problem. In Psychology of learning and motivation, volume 24, pages 109–165. Elsevier, 1989.DOI
- [36]Ari Morcos, Maithra Raghu, and Samy Bengio. Insights on representational similarity in neural networks with canonical correlation. Advances in neural information processing systems, 31, 2018.arxiv.org/abs/1806.05759
- [37]Long Ouyang, Jeffrey Wu, Xu Jiang, Diogo Almeida, Carroll Wainwright, Pamela Mishkin, Chong Zhang, Sandhini Agarwal, Katarina Slama, Alex Ray, et al. Training language models to follow instructions with human feedback. Advances in neural information processing systems, 35:27730–27744, 2022.arxiv.org/abs/2203.02155
- [38]German I Parisi, Ronald Kemker, Jose L Part, Christopher Kanan, and Stefan Wermter. Continual lifelong learning with neural networks: A review. Neural networks, 113:54–71, 2019.DOI
- [39]Shubham Pateria, Budhitama Subagdja, Ah-hwee Tan, and Chai Quek. Hierarchical reinforcement learning: A comprehensive survey. ACM Computing Surveys (CSUR), 54(5):1–35, 2021.
- [40]Maithra Raghu, Justin Gilmer, Jason Yosinski, and Jascha Sohl-Dickstein. Svcca: Singular vector canonical correlation analysis for deep learning dynamics and interpretability. Advances in neural information processing systems, 30, 2017.arxiv.org/abs/1706.05806
- [41]Sylvestre-Alvise Rebuffi, Alexander Kolesnikov, Georg Sperl, and Christoph H. Lampert. icarl: Incremental classifier and representation learning, 2017.arxiv.org/abs/1611.07725
- [42]Anthony Robins. Catastrophic forgetting, rehearsal and pseudorehearsal. Connection Science, 7(2):123–146, 1995.DOI
- [43]David Rolnick, Arun Ahuja, Jonathan Schwarz, Timothy Lillicrap, and Greg Wayne. Experience replay for continual learning. In Advances in Neural Information Processing Systems, 2019.
- [44]Jonathan Schwarz, Jelena Luketina, Wojciech M. Czarnecki, Agnieszka Grabska-Barwinska, Yee Whye Teh, Razvan Pascanu, and Raia Hadsell. Progress & compress: A scalable framework for continual learning. arXiv preprint arXiv:1805.06370, 2018.arxiv.org/abs/1805.06370
- [45]Archit Sharma, Shixiang Gu, Sergey Levine, Vikash Kumar, and Karol Hausman. Dynamics-aware unsupervised discovery of skills. arXiv preprint arXiv:1907.01657, 2019.arxiv.org/abs/1907.01657
- [46]Haizhou Shi, Zihao Xu, Hengyi Wang, Weiyi Qin, Wenyuan Wang, Yibin Wang, Zifeng Wang, Sayna Ebrahimi, and Hao Wang. Continual learning of large language models: A comprehensive survey. ACM Computing Surveys, 58(5):1–42, 2025.arxiv.org/abs/2404.16789
- [47]Noah Shinn, Federico Cassano, Edward Berman, Ashwin Gopinath, Karthik Narasimhan, and Shunyu Yao. Reflexion: Language agents with verbal reinforcement learning. arXiv preprint arXiv:2303.11366, 2023.arxiv.org/abs/2303.11366
- [48]Mohit Shridhar, Xingdi Yuan, Marc-Alexandre Côté, Yonatan Bisk, Adam Trischler, and Matthew Hausknecht. Alfworld: Aligning text and embodied environments for interactive learning. arXiv preprint arXiv:2010.03768, 2020.arxiv.org/abs/2010.03768
- [49]Richard S. Sutton, Doina Precup, and Satinder Singh. Between MDPs and semi-MDPs: A framework for temporal abstraction in reinforcement learning. Artificial Intelligence, 112(1–2):181–211, 1999.
- [51]Guanzhi Wang, Yuqi Xie, Yunfan Jiang, Ajay Mandlekar, Chaowei Xiao, Yuke Zhu, Linxi Fan, and Anima Anandkumar. Voyager: An open-ended embodied agent with large language models. arXiv preprint arXiv:2305.16291, 2023.arxiv.org/abs/2305.16291
- [52]Xiao Wang, Tianze Chen, Qiming Ge, Han Xia, Rong Bao, Rui Zheng, Qi Zhang, Tao Gui, and Xuanjing Huang. Orthogonal subspace learning for language model continual learning. arXiv preprint arXiv:2310.14152, 2023.arxiv.org/abs/2310.14152
- [54]Tongtong Wu, Linhao Luo, Yuan-Fang Li, Shirui Pan, Thuy-Trang Vu, and Gholamreza Haffari. Continual learning for large language models: A survey. arXiv preprint arXiv:2402.01364, 2024.arxiv.org/abs/2402.01364
- [55]Peng Xia, Jianwen Chen, Hanyang Wang, Jiaqi Liu, Kaide Zeng, Yu Wang, Siwei Han, Yiyang Zhou, Xujiang Zhao, Haifeng Chen, Cihang Xie, and Huaxiu Yao. Skillrl: Evolving agents via recursive skill-augmented reinforcement learning. arXiv preprint arXiv:2602.08234, 2026.
- [57]An Yang, Baosong Yang, Beichen Zhang, Binyuan Hui, Bo Zheng, Bowen Yu, Chengyuan Li, Daiyiheng Liu, Fei Huang, Haoran Wei, Huan Lin, Jian Yang, Jiahong Tu, Jianwei Zhang, Jianxin Yang, Jiaxi Yang, Jingren Zhou, Junyang Lin, Kai Dang, Keming Lu, Keqin Bao, Kexin Yang, Le Yu, Mei Li, Mingfeng Xue, Pei Zhang, Qin Zhu, Rui Men, Runji Lin, Tianhao Li, Tingyu Xia, Xingzhang Ren, Xuancheng Ren, Yang Fan, Yang Su, Yichang Zhang, Yu Wan, Yuqiong Liu, Zeyu Cui, Zhenru Zhang, and Zihan Qiu. Qwen2.5 technical report. arXiv preprint arXiv:2412.15115, 2024.arxiv.org/abs/2412.15115
- [58]Shunyu Yao, Howard Chen, John Yang, and Karthik Narasimhan. Webshop: Towards scalable real-world web interaction with grounded language agents. Advances in Neural Information Processing Systems, 35:20744–20757, 2022.
- [59]Shunyu Yao, Jeffrey Zhao, Dian Yu, Nan Du, Izhak Shafran, Karthik R Narasimhan, and Yuan Cao. React: Synergizing reasoning and acting in language models. In The eleventh international conference on learning representations, 2022.arxiv.org/abs/2210.03629
- [60]Friedemann Zenke, Ben Poole, and Surya Ganguli. Continual learning through synaptic intelligence. In International conference on machine learning, pages 3987–3995. Pmlr, 2017.arxiv.org/abs/1703.04200
- [61]Andrew Zhao, Daniel Huang, Quentin Xu, Matthieu Lin, Yong-Jin Liu, and Gao Huang. Expel: LLM agents are experiential learners. arXiv preprint arXiv:2308.10144, 2023.arxiv.org/abs/2308.10144
- [62]Junhao Zheng, Xidi Cai, Shengjie Qiu, and Qianli Ma. Spurious forgetting in continual learning of language models. arXiv preprint arXiv:2501.13453, 2025.arxiv.org/abs/2501.13453
- [63]Yaowei Zheng, Richong Zhang, Junhao Zhang, Yanhan Ye, Zheyan Luo, Zhangchi Feng, and Yongqiang Ma. Lamafactory: Unified efficient fine-tuning of 100+ language models. In Proceedings of the 62nd Annual Meeting of the Association for Computational Linguistics (Volume 3: System Demonstrations), Bangkok, Thailand, 2024. Association for Computational Linguistics.arxiv.org/abs/2403.13372
- [64]Huichi Zhou, Siyuan Guo, Anjie Liu, Zhongwei Yu, Ziqin Gong, Bowen Zhao, Zhixun Chen, et al. Memento-skills: Let agents design agents. arXiv preprint arXiv:2603.18743, 2026.arxiv.org/abs/2603.18743