arXiv(opens in a new tab)cs.CLAug 2026Cited by 1 paper on PaperVantage

Manuscript Offprint

arXiv:2608.30158

CPR for LLMs: Critical-Point Routing against Catastrophic Forgetting in Domain Adaptation

Kwangmin Ki, Yunhun Nam, Jongheon Jeong, Jaehyung Kim

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

Supervised fine-tuning (SFT) is the de facto standard for adapting large language models (LLMs) to target domains, but it often degrades the model's general capabilities, a phenomenon known as catastrophic forgetting. Existing approaches typically modify the SFT loss to mitigate forgetting, but inevitably operate along a domain-generality trade-off. In this work, we step outside this trade-off by decoupling the two capabilities at the model level: we keep the original base model for general capability, and selectively invoke the SFT expert only when domain-specific knowledge is required. Specifically, we propose CPR (Critical-Point Routing), a token-level routing framework between a base model and its expert derivative, based on critical tokens where the base fails but the expert succeeds. We train a lightweight hierarchical router that estimates expert-call probability per token, and pair it with a tailored inference procedure combining momentum smoothing and threshold gating. Across diverse model-domain configurations, CPR achieves state-of-the-art performance across all settings, surpassing SFT expert by 1.4-5.5% in domain performance while recovering its general-capability drop from 3.4-14.5% to at most 0.5%, with minimal overhead from invoking the expert on only one-third of tokens.¹

1 Introduction

Large language models (LLMs) trained on broad corpora have become widely deployed across diverse applications, from open-ended dialogue to complex multi-step reasoning (Wei et al., 2022; Kojima et al., 2022). To improve the performance on specific domains such as mathematics (Toshniwal et al., 2025) and medicine (Han et al., 2023), supervised fine-tuning (SFT) on domain data has

Figure

Figure 1: Comparison of paradigms against catastrophic forgetting in SFT. (A) Existing methods compress both capabilities into one model, yielding a trade-off. (B) CPR (Ours) decouples them by routing the expert only on critical tokens, preserving both.

become the standard approach. However, domain-specific SFT often degrades the model's general capabilities, a phenomenon known as catastrophic forgetting (Luo et al., 2025; Kotha et al., 2024). This degradation is problematic because domain tasks themselves build on general capabilities such as language understanding, instruction following, and multi-step reasoning; a model whose domain capability is raised at the expense of these foundations becomes brittle in practice (Liu et al., 2024). The key challenge in domain adaptation is therefore to improve domain performance and preserve general capabilities simultaneously.

To address this, most existing approaches follow a regularization-based paradigm, modifying SFT loss to reduce forgetting by adding distribution preservation terms or reweighting token-level loss (Wu et al., 2026; Diao et al., 2026; Nam et al., 2026). Despite clear progress, these methods share a common limitation: they compress both domain and general capabilities into a single weight set

¹Code: https://github.com/kwang-min-ki/CPR.

Figure

Figure 2: Overview of CPR. At each generation step tt, (1) the base model fBf_B produces a last-layer hidden state hBh^B that feeds a hierarchical router gϕg_\phi, composed of a query-level macro encoder and a token-level micro router. (2) The router's raw output ptp_t is stabilized by momentum smoothing mt=αmt−1+(1−α)ptm_t = \alpha m_{t-1} + (1-\alpha)p_t, and then (3) mapped to a dispatch weight λt\lambda_t via threshold-gated 3-way dispatch: hard base (mt<τlowm_t < \tau_{low}), soft blend (τlow≤mt≤τhigh\tau_{low} \leq m_t \leq \tau_{high}), or hard expert (mt>τhighm_t > \tau_{high}). The final token distribution is a convex combination p(xt∣x<t)=(1−λt)pb+λtpep(x_t | x_{<t}) = (1-\lambda_t)p_b + \lambda_t p_e.

(Figure 1(a)), and thus remain bound to a domain-general trade-off that no existing method has fully eliminated (Lin et al., 2026).2^2

This motivates a fundamentally different question: rather than compressing both capabilities into a single model, can we decouple them at the model level and selectively use them? Inter-model routing has been studied along two strands: (i) query-level cost-quality routing (Ong et al., 2025; Chen et al., 2024; Ding et al., 2024) and (ii) fine-grained routing for cross-domain capability fusion (Feng et al., 2026; Xiong et al., 2026; Shen et al., 2024). However, its use as an architectural remedy for catastrophic forgetting in domain-specific SFT remains largely underexplored.

In this work, we propose CPR (Critical-Point Routing), a new framework that preserves general capabilities after SFT, by collaborating an SFT-tuned expert model and an initial base model via token-level routing (Figure 1(b)). The expert is invoked only on the sparse set of tokens where it is genuinely needed, leaving the rest to the base, so that each token is served by whichever model is best suited to it. Specifically, we first define critical points as tokens where the base fails but the expert succeeds. Then, we train a lightweight hierarchical router on them, composed of a query-level macro encoder and a token-level micro router operating on the base model's last-layer hidden states. At inference, since binary dispatch is destabilized by short-range noise and boundary ambiguity, we introduce two tailored mechanisms: (i) momentum-based smoothing to absorb short-term router noise,

and (ii) threshold-gated 3-way dispatch to blend two distributions on ambiguous tokens. Beyond stabilizing dispatch, these mechanisms also yield efficiency gains by avoiding the per-step dual-model cost. An overview of CPR is presented in Figure 2.

We validate CPR on two representative LLMs, Gemma3-4B (Team et al., 2025) and Llama3.1-8B (Grattafiori et al., 2024), adapted to math (Cobbe et al., 2021) and medical (Jin et al., 2019) domains, evaluated over six benchmarks spanning domain and general capabilities. CPR attains the highest overall average in all four model-domain settings, surpassing vanilla SFT in target domain performance while nearly fully recovering its general-capability drop. For example, with Gemma3-4B in the math domain, CPR surpasses vanilla SFT by 2.8% in domain performance; at the same time, it improves upon SFT by 8.9%, exceeding even the base model's performance by 2.2%. More importantly, CPR consistently outperforms state-of-the-art regularization-based baselines (Wu et al., 2026; Diao et al., 2026; Nam et al., 2026) and routing-based baselines at coarser granularity (Ong et al., 2025; Feng et al., 2026), empirically demonstrating the superiority of the proposed token-level adaptive routing. In addition, CPR matches or exceeds performance while invoking the expert on only ~30% of tokens, substantially reducing inference latency compared to conventional collaborative decoding methods. We further show that CPR generalizes to publicly available external experts without additional SFT, demonstrating its robustness to how the expert is produced. We hope that this work offers a new perspective on mitigating catastrophic forgetting in domain-specific LLM adaptation.

2^2Our empirical results for this are presented in Figure 8.

References (40)