arXiv:2611.11979cs.LGNov 2026

Manuscript Offprint

arXiv:2611.11979

FireGate: Bounding Behaviour Change Before Training in Continual RL Fine-Tuning

Md Anwar Hossen, Ali Jannesari

Abstract

Fine-tuning a deployed language model on one task after another can change behaviour that should stay fixed, such as earlier skills, general chat or refusals. Today, such forgetting is found only after training, on the benchmarks someone chose to run. This work bounds, before training, how often its outputs change on chosen prompt distributions. FIREGATE places each task's update, such as a new LoRA, behind a gate, which is a classifier on the model's frozen lower layers that decides for each prompt whether the update is used. Where no gate fires, the model computes exactly what the old one computes. As a result, on any prompt distribution, every bounded behaviour score changes by at most the gates' firing rate there over a whole task stream. Calibrating each gate on unlabeled prompts of what must not change fixes that rate before training, with a PAC guarantee, whatever weights training produces. Forgetting is thus bounded by the gate's false-alarm rate, and its price is the gate's power: no update, gated or not, that changes as few protected outputs can change new-task outputs more often than the best test of that level tells new-task prompts from protected ones. On reinforcement-learning streams of up to five tasks, gated training keeps the earlier tasks and changes 3.3% of held-out chat responses, whereas ungated training changes 91.8%. Across seven models, the gain kept behind the gate follows its firing rate on new-task prompts, measured before training. The certificate covers the gated model as deployed, on the prompt distributions sampled for calibration, not against an adversary who searches for prompts that fire the gate. Code is available at https://github.com/mahemon/firegate.

1. Introduction

A deployed language model is often fine-tuned again, for example with reinforcement learning (RL) on a new skill and later on another, but each update must leave the earlier skills and the rest of its behaviour intact. Today, this preservation is checked only after training, on whichever benchmarks were chosen, and the evidence is mixed. RL fine-tuning has been argued to forget less than supervised fine-tuning (Shenfeld et al., 2026; Chen et al., 2026; Lai et al., 2026), yet continual RL streams still forget (Luo et al., 2026b), if sometimes only modestly (Luo et al., 2026a). Benign fine-tuning also erodes behaviour that nobody targeted (Qi et al., 2024; Ung et al., 2024; Li & Lee, 2024; Betley et al., 2026).

The goal is to bound the change of behaviour before an update is trained, for every bounded behaviour score at once, without behaviour labels, from unlabeled prompts of what must not change. Before training, such a bound must hold for every model that training might produce. Regularisers, replay and orthogonal low-rank adaptation (LoRA) change which model training finds, not which models it could find. Therefore, for an expressive update, they give no bound of this kind, issued before training and uniform over updates, without assumptions on the trained weights or the reachable models (Theorems A.1 and 4.2). FIREGATE instead limits where an update acts.

The network is split into a frozen trunk, the lower blocks, and the upper blocks. Each new task gets a LoRA in the upper blocks that is switched on only after a gate fires; the gate is a test on trunk features of whether the input belongs to the new task (Figure 1). Until it fires, the adapted model performs exactly the old model's computation. Consequently, by Theorem 3.2, the total-variation (TV) distance between their outputs on any prompt distribution is at most the gate's firing rate there. That rate does not depend on the LoRA weights, so it is fixed before training. The gate's threshold is set on unlabeled prompts of each component that must not change, as one sets the level of a Neyman–Pearson test (Theorem 3.6). Forgetting on those components is then at most the gate's false-alarm rate. A prompt-time gate certi-

Preprint. November 10, 2026.

fies any separately trained model behind it as a deployed pair (Theorem 3.4). The certificate is thus a guarantee on the deployed model that rests on exact fallback to the old one: it bounds how often outputs change on the sampled prompt distributions and leaves the outputs where a gate fires to the update.

The update can act only where the gate fires, so it can change the new task only on the share β\beta of new-task prompts that the gate accepts, which is estimated before training. This price binds every method. By Theorem 4.1, any update that changes at most a share ε\varepsilon of protected outputs, gated or not, changes new-task outputs no more often than the best size-ε\varepsilon test between the two prompt sources accepts new-task prompts. Furthermore, by Theorem 4.2, a certificate confines each large change to prompts of small reference mass.

The experiments test a linear-classifier gate with LoRA (Hu et al., 2022) trained by group-relative policy optimisation (GRPO) (Shao et al., 2024) on seven models from five families, on two task streams and a ladder of tasks whose prompts look increasingly like general chat, against eleven training baselines and gates built from other scores. No response on which the gate was silent ever changed. On the task streams, gated training keeps the earlier tasks, while every ungated method, even one regularised on the same prompts the gate uses, changes most general-chat responses. Models behind the gate keep about the share of their gain that its coverage, measured before training, indicates.

The contributions are:

  • A calibration of the gate on unlabeled prompts, before training and without behaviour labels, that turns the standard bound for exact fallback into a certificate on the deployed gated model, not on the trained weights: tight, composable over a stream and valid for any update above the split and any model behind a prompt-time gate (Section 3).

  • The price of this certificate: a Neyman–Pearson limit per protected component that binds every method and that a likelihood-ratio gate on the trunk attains, a benchmark for the linear gate (Sections 4 and 6.4), and a recipe that prices each protected component before training (Section 5).

  • An evaluation that separates what the switch, calibration and training under the gate contribute, with a pre-registered test on benchmarks written by others (Section 6).

These claims differ in support: no change where no gate fires is proved and checked, firing at most ε\varepsilon on each sampled component has a PAC guarantee, and what changes where a gate fires is only measured (Table 6).

References (100)

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