Overcoming Catastrophic Forgetting in Visual Continual Learning with Reinforcement Fine-Tuning

Meng Lou, Hanzhong Guo, Linwei Chen, Yizhou YuNeurIPS 2026

TL;DR

When teaching Multi-modal Large Language Models (MLLMs) a sequence of new visual tasks, Reinforcement Fine-Tuning (RFT) forgets less than Supervised Fine-Tuning (SFT)—but it still forgets a lot because it treats all correct answers equally, even ones that drastically warp the model's existing weights. This paper introduces Retention-aware Policy Optimization (RaPO), a clever tweak to RFT that rewards the model not just for getting the right answer, but for getting there via a mental path that stays close to what it already knew. The result is a unified vision-language model that learns new image, video, and object detection tasks on the fly while barely forgetting old ones.

What Problem Does This Paper Address?

Imagine learning Spanish and suddenly forgetting how to tie your shoes. In machine learning, this is catastrophic forgetting: when neural networks adapt to a stream of new data without re-reading old training examples ("rehearsal-free continual learning"), new weights overwrite old knowledge.

Recently, Reinforcement Fine-Tuning (RFT)—specifically Group Relative Policy Optimization (GRPO), the engine behind reasoning models like DeepSeek-R1—was found to resist forgetting better than standard Supervised Fine-Tuning (SFT). Why? Because SFT forces a model toward a rigid target, whereas RFT lets the model sample its own answers ("rollouts") and reinforces the good ones, naturally keeping the model closer to its original probability distribution.

The authors ask: Is vanilla RFT strong enough for brutal visual continual learning settings, like learning new object classes or visual domains sequentially from just a handful of examples?

Figure 1: (a) RFT clearly outperforms SFT in rehearsal-free CIL, but still suffers from significant forgetting. (b) Among equally-rewarded rollouts, KL divergence from the policy in the preceding task varies substantially, and this difference enlarges as tasks progress.

Through a pilot study, they find the answer is no. Why? Suppose the model generates eight candidate answers for an image, and all eight are right. Standard GRPO gives them the exact same reward. However, some of those trajectories have a massive KL divergence (distributional drift) from the previous task's model, while others stay very close to home. Because GRPO is blind to this—a flaw the authors call Trajectory-level Drift Agnosticism—reinforcing high-drift rollouts quietly wrecks older memories.

Methods

The authors build upon standard GRPO (using Qwen2-VL models), where a model generates a group of $n$ text responses for a visual prompt, scores them with a verifiable reward (like classification accuracy or bounding-box IoU), and normalizes those scores within the group to compute parameter updates.

To turn GRPO into RaPO, they introduce two lightweight, complementary mechanisms:

  1. Retention Reward: Before starting a new task, RaPO freezes a copy of the model from the previous task as an "anchor." For each new rollout, it measures the average token-level log-probability drift from this anchor, clamps negative values to zero (so the model can't "hack" the reward by generating bizarre, low-confidence gibberish), and maps it through an exponential decay into a bonus score between 0 and 1. This bonus is added directly to the task reward before group ranking. Now, if two rollouts solve the new task equally well, the one that stayed closer to the anchor gets a higher advantage.
  2. Cross-Task Advantage Normalization (CTAN): Standard GRPO divides rewards by the current batch's standard deviation. Near the end of an easy task, variance drops near zero, wildly inflating gradient updates; at the start of a new, hard task, variance spikes, squashing updates right when fast learning is needed. CTAN replaces instantaneous batch variance with a persistent Exponential Moving Average (EMA) carried smoothly across task boundaries.
Figure 2: (a) GRPO relies on the instantaneous reward standard deviation, which fluctuates sharply across task boundaries, whereas CTAN maintains a persistent EMA normalizer (β=0.99). (b) CTAN produces a smoother advantage magnitude (sum of the absolute values of advantages) across the continual learning stream. (c) The stabilized advantage scale is accompanied by smoother acquisition of training reward. (d) Evaluation reward trends further reflect more robust continual learning behavior, with Initial Task denoting evaluation on task#1 and Current Task denoting evaluation on the task currently being learned. Overall, CTAN stabilizes cross-task reward normalization, leading to smoother credit assignment, steadier reward acquisition, and stronger continual learning capability.

Datasets

Rather than introducing new benchmarks, the authors evaluate RaPO across a gauntlet of 10 existing datasets spanning five continual learning settings (mostly under a scarce 5-shot regime):

  • Class-Incremental Image Classification: ImageNet-R, ImageNet-A, TinyImageNet, and CUB-200.
  • Class-Incremental Object Detection: COCO 2017.
  • Class-Incremental Video Classification: UCF-101 and Kinetics-200.
  • Domain-Incremental Image Classification & Detection: DomainNet, OfficeHome, and the Pascal Series (VOC, Clipart, Watercolor, Comic).

Key Insights and Ideas

  • Reward-level shaping beats Loss-level KL penalties: Standard RFT often tacks a KL penalty onto the loss function, which acts like a blunt global leash slowing down all updates. Injecting drift into the reward before group normalization acts as a tie-breaker: it lets the model adapt aggressively to new tasks, provided it picks the least disruptive path among successful rollouts.
  • Proof by sabotage: In their pilot study, the authors tested two hacked versions of GRPO—one that zeroed out rewards for high-drift correct answers, and one that only rewarded high-drift correct answers. The first dramatically curbed forgetting; the second caused accuracy to plummet, proving trajectory drift is a direct lever on memory retention.
  • Task boundaries are hidden traps in RL: Continual RL isn't just about weights drifting; optimizer statistics break at task transitions too. CTAN shows that simply carrying over a running reward-scale memory prevents jarring update oscillations when new tasks arrive.

Key Results

Across every modality and task split, RaPO substantially outperforms SFT, classical continual learning methods (EWC, LwF), and vanilla GRPO—measured by Last Accuracy ($\mathcal{A}$, higher is better) and Forgetting ($\mathcal{F}$, lower is better):

  • Image Classification (10 tasks): On ImageNet-R, RaPO jumps from GRPO's 74.67% $\mathcal{A}$ to 85.92% (approaching the 91.50% joint-training upper bound) while slashing forgetting $\mathcal{F}$ from 20.02% down to 4.69%. On TinyImageNet (20 tasks), RaPO hits 62.20% $\mathcal{A}$ vs. GRPO's 42.08% and SFT's 8.71%.
  • Object Detection (COCO, 10 tasks): RaPO boosts box Average Precision from 14.30% (GRPO) to 19.12%, cutting forgetting from 6.73% to 1.37%.
  • Video Classification: On Kinetics-200 (5 tasks), RaPO improves accuracy from 70.33% to 74.18% while nearly halving forgetting (30.37% to 16.76%).
  • Domain-Incremental Learning: On Pascal Series object detection, RaPO reaches 37.18% average AP—actually beating joint-training SFT (35.40%).

Limitations and Future Work

While the main text does not feature a standalone limitations section, the authors note several practical constraints and framing choices:

  • Hardware and Scale: Video continual learning experiments were restricted to 5- and 10-task splits due to the heavy computational cost of video RFT rollouts and limited GPU resources. Furthermore, experiments intentionally used smaller models (Qwen2-VL-2B/7B) because frontier models already know many of these public benchmarks out-of-the-box, which would mask continual learning dynamics.
  • Future Directions: Rather than chasing SOTA with task-specific architectural hacks, this work is positioned as the first systematic exploration of verifier-based RFT in visual continual learning, aiming to inspire future research into RFT-driven lifelong learning.

Summary updated

Abstract

Reinforcement Fine-Tuning (RFT) with verifiable rewards has emerged as a powerful learning paradigm for eliciting reasoning capabilities in Multi-modal Large Language Models (MLLMs). Recent studies suggest that Reinforcement Fine-Tuning (RFT) is inherently more resilient to catastrophic forgetting than Supervised Fine-Tuning (SFT). However, whether RFT (e.g., GRPO) can effectively overcome forgetting in challenging visual continual learning settings, such as class-incremental learning (CIL) and domain-incremental learning (DIL), remains an open problem. Through a pilot study, we confirm that while RFT consistently outperforms SFT, it still suffers from non-negligible forgetting. We empirically trace this bottleneck to Trajectory-level Drift Agnosticism: among candidate rollouts achieving identical task rewards, the KL divergence from the preceding-task policy varies substantially, which strongly correlates with catastrophic forgetting across sequential tasks. Motivated by this insight, we propose Retention-aware Policy Optimization (RaPO), a simple yet effective RFT method that explicitly mitigates forgetting through trajectory-level reward shaping. Specifically, RaPO comprises two core components: (1) Retention Reward that converts trajectory-level distribution drift into a continuous reward signal, preferentially reinforcing knowledge-preserving rollouts within each group; (2) Cross-Task Advantage Normalization (CTAN), which maintains a persistent exponential moving average of reward statistics across task boundaries to stabilize the optimization progress during continual learning. Leveraging the free-form textual generalization of MLLMs, we comprehensively evaluate RaPO across five visual continual learning settings. Extensive experiments demonstrate that RaPO achieves leading performance, substantially reducing catastrophic forgetting while preserving strong plasticity. To the best of our knowledge, this work represents the first systematic exploration of RFT in visual continual learning, offering insights that we hope will inspire future research. Code is publicly accessible at: https://github.com/LMMMEng/RaPO.
BibTeX
@inproceedings{lou2026overcoming,
  author = {Meng Lou and Hanzhong Guo and Linwei Chen and Yizhou Yu},
  title = {{Overcoming Catastrophic Forgetting in Visual Continual Learning with Reinforcement Fine-Tuning}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=XQ0Bir2SLj},
}
Figure