Smart Bouncers Keep AI Models From Forgetting Their Original Skills
Original paper: FireGate: Bounding Behaviour Change Before Training in Continual RL Fine-Tuning
"Think of the base AI model as an established railway network and a new task update as an additional bypass track. FireGate acts as an automated track switch at the entrance that inspects incoming queries before they travel further. Standard queries stay on the original, untouched rails, while only specific new tasks flip the switch to use the new track—ensuring old capabilities remain entirely unchanged."
Updating enterprise AI models today is risky because fine-tuning often accidentally destroys previously learned safety rules or core conversational skills. FireGate offers mathematical proof before training begins that essential behaviors will stay protected. This lets companies continuously update AI agents with new specialized skills without requiring expensive, unpredictable post-training fixes.
- Guarantees before training that core model capabilities will remain intact.
- Reduced unwanted changes in chat responses from 91.8% down to 3.3%.
- Uses early-layer routing to trigger new skills only when needed.
📑 Original arXiv Technical 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.
✍️ Are you an author of this paper? Add code/demo links or a note
Help readers explore your work — share your official GitHub repo, Hugging Face weights, affiliation, or a clarification note for our editorial review queue.