SAM3RL: Memory Control via Reinforcement Learning for Visual Object Tracking

cs.CV cs.LG Tom\'a\v{s} \v{C}\'i\v{z}ek, Matej Straka, Illia Volkov, Mat\v{e}j Kripner, Ervin Maci\'c, Jiri Matas, Klara Janouskova, Martin Schmid · Oct 14, 2026
Local to this browser
What it does
SAM3RL replaces the hand-crafted FIFO memory rule in SAM-based visual trackers with a lightweight controller learned by reinforcement learning. It frames memory-bank eviction as a Markov Decision Process and trains a 3.
Why it matters
2 M-parameter MLP with PPO on bounding-box LaSOT sequences to maximize tracking quality. The resulting policy sets a new state of the art on 10 of 12 benchmarks for both SAM 2 and SAM 3 backbones, while remaining fully online and running...
Main concern
The paper presents a clean, well-motivated formulation of memory control as RL and backs it with strong cross-backbone empirical gains. The MDP design is sound, the controller is lightweight, and the evaluation across two SAM generations...
Community signal
0
0 up · 0 down
Sign in to vote with arrows
AI Review AI reviewed
Plain-language introduction

SAM3RL replaces the hand-crafted FIFO memory rule in SAM-based visual trackers with a lightweight controller learned by reinforcement learning. It frames memory-bank eviction as a Markov Decision Process and trains a 3.2 M-parameter MLP with PPO on bounding-box LaSOT sequences to maximize tracking quality. The resulting policy sets a new state of the art on 10 of 12 benchmarks for both SAM 2 and SAM 3 backbones, while remaining fully online and running without extra feature extraction.

Critical review
Verdict
Bottom line

The paper presents a clean, well-motivated formulation of memory control as RL and backs it with strong cross-backbone empirical gains. The MDP design is sound, the controller is lightweight, and the evaluation across two SAM generations convincingly supports the central thesis that memory control should be learned rather than designed. However, the headline margins depend heavily on matching a 5 FPS training stride at inference; when forced to decide every frame the average gain drops by more than a third and the controller incurs a slight runtime penalty. Moreover, all comparisons on SAM 3 rely on author-implemented ports of competing methods.

“At s=1, our policy runs outside its training distribution, yet still outperforms SAM 3 on all seven benchmarks, by 1.8 points on average. At s=6, although only every sixth frame can enter the bank, the gain grows to 2.9 points as the decision rate matches the 5 FPS used in training.”
paper · Section 5
What holds up

The core insight—that hand-crafted memory rules fail to transfer across model generations while a data-driven policy adapts cleanly—is strongly supported. SAM3RL improves SAM 3 on 11 of 12 benchmarks and SAM2RL improves SAM 2 on all 12, despite every compared rule having been engineered specifically for SAM 2. The engineering is careful: the authors identify and fix a genuine race condition in the SAM 3 video predictor and provide extensive ablations and hyperparameter documentation.

“Their gains on tracking benchmarks are limited, and on video object segmentation they even fall below SAM 3 on most benchmarks; see Figure 1.”
paper · Section 1
“SAM3RL ranks first on all five challenges.”
paper · Section 4.1
Main concerns

The strongest concern is that the reported speedup and a substantial portion of the performance gain come from striding memory updates rather than from the learned policy itself. The controller is trained at 5 FPS and evaluated with s=6 on 30 FPS benchmarks, which skips expensive memory encoder calls. At full frame rate (s=1) the controller is slightly slower than the SAM 3 baseline and the average improvement shrinks from 2.9 to 1.8 points. A second concern is that all hand-crafted competitors are ported to SAM 3 by the authors, creating a risk of suboptimal hyperparameter choices. Third, the policy is trained only on LaSOT box annotations yet tested on pixel-level VOS benchmarks—a notable domain gap that the paper does not deeply analyze.

“With memory updated on every frame where s=1, SAM3RL runs at 14.9 FPS; see Table 4.”
paper · Section 4.1
“Because these methods were designed for SAM 2 and their authors have not released SAM 3 implementations, we port each one to SAM 3 ourselves.”
paper · Section 4
Evidence and comparison

The evidence broadly supports the central claim. The comparison covers five hand-crafted methods across 12 benchmarks and two backbones, which is thorough. The reward normalization against the default SAM 3 baseline is a smart variance-reduction trick, and the analysis of learned admission rates and frame-age distributions gives useful insight into policy behavior. The exclusion of SAM3Long from the real-time benchmark because it is not online is a fair caveat, and the authors generally report metrics transparently.

“At equal stride, SAM3RL still outperforms SAM 3_ours by 1.5 points on average.”
paper · Section 5, Table 4 caption
Reproducibility

The authors provide exhaustive training details—PPO hyperparameters, batch composition, network architecture, and stride scheduling—and promise to release code and port implementations. The main barriers to reproduction are hardware, with training requiring four H200 GPUs for roughly 24 hours, and access to the SAM 3 backbone, which is cited as a 2026 publication and may not yet be publicly available. Additionally, the reported main results use a single seed selected by validation performance rather than an average over seeds, though ablations are averaged over three seeds.

“Training takes about 24 hours on four H200 GPUs.”
paper · Section 3.2
“The main results in Tables 1, 3 and 3 use the single best of these seeds, selected on our validation split without using the test benchmarks, as they aim to show the best model we can obtain.”
paper · Appendix E
Abstract

Segment Anything Model 3 (SAM 3) is a foundation model for image and video segmentation that sets the state of the art in visual object tracking. Its tracker, inherited from SAM 2, stores information from past frames in a memory bank, managed by a simple First-In-First-Out rule, allowing temporal consistency in complex videos. Several recent methods improve SAM 2 with hand-crafted memory update rules, each targeting a specific failure mode, such as distractors, occlusions, or object motion. However, their gains transfer only partially to the stronger SAM 3 backbone. We instead present a more general, data-driven approach that frames memory control as a sequential decision-making task. SAM3RL is an extension of the SAM 3 tracker with a lightweight memory controller, trained by reinforcement learning, that decides which frames enter the memory bank in order to maximize tracking performance. SAM3RL sets a new state of the art on 10 of 12 tracking and video object segmentation benchmarks, outperforming all hand-crafted rules without any runtime overhead. The same approach applied to SAM 2 gives SAM2RL, which outperforms hand-crafted rules on 9 of the 12 benchmarks, showing the generality of our method across model generations.

Challenge the Review

Pick a starting point or write your own. Challenges run in the background, so you can keep reading while the AI investigates.

No challenges yet. Disagree with the review? Ask the AI to revisit a specific claim.