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?
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:
- 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.
- 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.
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