arXiv:2610.34182cs.LGOct 2026

Manuscript Offprint

arXiv:2610.34182

Entropic Control for Homeostatic Optimization: Pre-empting Catastrophic Forgetting via Dynamic Feedback

Shangxi Wu, Xiaorong Yan, Xiaojun Meng, Yuxiang Zhang, Jiansheng Wei

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

Abstract

Supervised Fine-Tuning (SFT) of LLMs suffers from catastrophic forgetting, and prevailing mitigation strategies struggle to reconcile the plasticity-stability dilemma. To address this, we propose Entropic Control for Homeostatic Optimization (ECHO), a closed-loop control framework. By decomposing the KL divergence, we identify output entropy as a dominant observable component of KL variation. This enables us to leverage entropy as a computationally efficient online proxy to monitor forgetting risks in real-time, bypassing expensive reference-model inference. Consequently, ECHO employs an elastic controller that dynamically modulates the gradient weight of replay data via a proportional control law, using deviations from the pre-trained entropic equilibrium as an error signal. Empirical evaluations across 0.6B to 9B parameter architectures demonstrate that ECHO lies on, and in several comparisons extends, the observed plasticity-stability frontier and maintains high operational robustness against varying data mixing ratios.

1 Introduction

Large language models (LLM) have acquired extensive linguistic knowledge, world knowledge, and certain reasoning capabilities through autoregressive pre-training on massive corpora (Brown et al., 2020; Kaplan et al., 2020; Wei et al., 2022b). To make models better follow human instructions and adapt to specific downstream tasks, Supervised Fine-Tuning has become one of the most commonly used alignment paradigms (Ouyang et al., 2022; Wei et al., 2022a; Wang et al., 2023). However, SFT also brings a long-standing and acute problem: Catastrophic Forgetting (CF) (French, 1993; Luo et al., 2023). Under continuous downstream gradient updates, the model often significantly loses the general capabilities acquired during the pre-training stage while improving performance on new tasks, thus forming the plasticity-stability dilemma (Kirkpatrick et al., 2016; Li and Hoiem, 2018).

Mainstream mitigation strategies primarily fall into two categories. The first involves regularization via distribution constraints, typically adding KL penalties relative to a reference model to limit output deviation (Schulman et al., 2017; Ouyang et al., 2022; Rafailov et al., 2023). While effective for stabilization, this approach incurs substantial computational and memory overhead by requiring a resident reference model, limiting its viability in full-parameter fine-tuning. The second category is data replay, which mixes pre-training corpora with task data to suppress drift (Rebuffi et al., 2017; Scialom et al., 2022). Although implementation-friendly, existing methods rely on static mixing ratios that overlook training dynamics: early stages demand strong drift suppression, whereas persistent high replay in later stages hinders new task adaptation. Consequently, static mixing suboptimally reduces a time-varying control problem to a rigid hyperparameter selection (Xie et al., 2023; Chen et al., 2023; Jain et al., 2024).

To efficiently resolve this dilemma, we revisit the theoretical foundations of distribution constraints. Although KL divergence is widely regarded as the canonical metric for quantifying distribution shift, its calculation imposes a substantial computational burden by requiring the concurrent maintenance of a reference model (Schulman et al., 2017). Through a theoretical decomposition of the KL divergence, we isolate its two constituent components: the cross-entropy between the reference and current policies, and the negative entropy of the current policy itself. Our empirical analysis yields a critical observation that the cross-entropy term remains comparatively stable throughout the fine-tuning process. In contrast, the fluctuations in output entropy account for the larger share of KL vari-ation. This finding indicates that output entropy functions as a lightweight, reference-free proxy for monitoring the representational integrity of the model (Holtzman et al., 2020). Consequently, we reframe the fine-tuning process from a static optimization problem into a dynamic control system. The primary objective shifts to minimizing task-specific loss while simultaneously constraining the entropic state of the model within a bounded equilibrium region derived from pre-training. This effectively suppresses implicit distribution drift without incurring the computational overhead associated with external reference models (Pereyra et al., 2017).

Guided by this formulation, we propose Entropic Control for Homeostatic Optimization (ECHO), a dynamic framework that turns data replay into feedback control. Unlike static mixing, ECHO monitors the absolute deviation between current prediction entropy and the pre-trained baseline. This introduces an elastic restoring force into optimization: the controller relaxes constraints to prioritize plasticity when the model is stable, but amplifies replay weight to pull parameters back toward the pre-training distribution when abnormal entropy deviations arise. This converts manual ratio tuning into an automated, self-correcting loop. The main contributions are as follows:

• We decompose the KL divergence and empirically show that output entropy accounts for the larger share of its variation, validating entropy as a lightweight, reference-free proxy for monitoring fine-tuning health.

• We introduce ECHO, a plug-and-play endogenous self-correction mechanism that treats the data replay weight as a control variable directly driven by entropy feedback.

• Extensive evaluations across diverse datasets show that ECHO consistently outperforms static mixing baselines, lying on, and in several comparisons extending, the observed plasticity-stability frontier alongside computation-heavy regularization methods, but with virtually negligible computational and memory overhead during optimization.