TL;DR
Teaching a video segmentation model new object classes sequentially usually breaks its memory in two distinct ways: it forgets what old objects look like (spatial knowledge) and how to track them across frames (temporal knowledge). This paper introduces STEAM, a continual learning framework that replaces fragile visual prompts with dynamically expanding Mixture-of-Experts (MoE) layers, updates old parameters strictly in "safe" mathematical subspaces, and learns to dynamically balance appearance vs. motion cues per task. The result is a model that learns faster, remembers better, and sets a new state-of-the-art in Continual Video Instance Segmentation—all without storing a single past video clip.
What Problem Does This Paper Address?
Video Instance Segmentation (VIS) requires detecting, outlining, and tracking objects across video frames. Standard VIS models live in a cozy "closed world" where they see all possible object classes at once during training. In reality, new classes emerge over time. Continual VIS (CVIS) tries to teach models new classes sequentially without retraining from scratch—and without keeping a memory bank of old videos, which are far too massive to store at scale.
Naively fine-tuning on new classes causes catastrophic forgetting. Recent work tried fixing this by freezing a pre-trained VIS model and inserting tiny, learnable "visual prompts" into its spatial (frame-level) and temporal (video-level) branches. However, these methods treat space and time identically. In practice, some tasks require sharp spatial detail (telling a fish from a fox), while others demand rock-solid temporal tracking (keeping the same ID on a turtle across frames). Furthermore, prompts have tiny capacity and rely on fragile retrieval mechanisms at test time—pick the wrong prompt, and the whole pipeline cascades into error.
Methods
Built atop a frozen, standard two-stage VIS architecture (VITA with a Mask2Former decoder), the authors propose STEAM (Spatial-TEmporal BAlanced Mixture-of-Experts Adapters), uniting three novel components:
- TASTE (Task-Adaptive Spatial-Temporal MoE): Instead of low-capacity prompts, STEAM swaps out the final feed-forward layer in both the frame and video Transformer decoders for expandable Mixture-of-Experts (MoE) layers. Whenever a new task arrives, fresh "expert" networks are appended to the pool, using a decoupled dual-head router so new routing weights don't scramble old ones.
- SCOA (Subspace-Constrained Orthogonal Adaptation): How do you co-adapt old experts and routers alongside new ones without overwriting old memories? After each task, STEAM runs a quick Singular Value Decomposition (SVD) on layer activations to map out the feature subspace used by past tasks. During the next task, gradients for legacy parameters are projected strictly into the orthogonal complement of that historical subspace. Mathematically, updates happen at a 90-degree angle to old knowledge, leaving past behaviors untouched.
- DASH (Distribution-Aware Spatial-Temporal Scaling and Shifting): To balance appearance and motion, each task learns two scalar weights ($\alpha^t$ for spatial, $\beta^t$ for temporal, constrained so $\alpha^t + \beta^t = 2$). During training, STEAM also saves a lightweight centroid vector ($\mu^t$) representing the average frozen-backbone feature of that task. At test time, an incoming video clip’s feature is matched to the nearest centroid to retrieve the right $(\alpha, \beta)$ pair on the fly.
Datasets
No new datasets are introduced; instead, the authors follow established Class-Incremental Learning (CIL) splits across three standard VIS benchmarks:
- YouTube-VIS 2019: Evaluated on
20-2(20 base classes, then 10 sequential tasks of 2 classes each) and20-5(5 tasks total). - YouTube-VIS 2021: Evaluated on
30-10(2 tasks) and20-4(6 tasks). - OVIS (Occluded Video Instance Segmentation): A notoriously difficult dataset featuring heavy object occlusion, evaluated on
15-5(3 tasks) and15-10(2 tasks).
Key Insights and Ideas
- Space and time don't degrade equally—and shouldn't be weighted equally: Ablation studies reveal that adding the DASH balancing scalars yields the single largest performance jump (+6.70% AP on YouTube-VIS 2019). Giving each task a simple knob to favor either frame-level appearance or video-level tracking is crucial in continual video learning.
- Routing the balance, not the knowledge, avoids fragility: Unlike prompt-based methods where a bad test-time retrieval feeds completely wrong parameters into the network, DASH’s nearest-centroid lookup only selects the two $(\alpha, \beta)$ balancing scalars. The actual feature processing is still handled organically by the MoE routers, making inference remarkably resilient.
- Sparse capacity beats dense prompting on speed: Expanding a model sounds computationally heavy, yet STEAM trains 40.2% faster than the leading prompt-based baseline. Because MoEs only activate the Top-$K$ experts per token, the network converges much faster while keeping inference times virtually identical.
Key Results
STEAM outperforms prior distillation-based and prompt-based methods across every benchmark and split:
- Higher Accuracy, Less Forgetting: On YouTube-VIS 2019 (
20-2, 11 tasks), STEAM hits 35.82% AP (beating the previous SOTA, HVPL, by +4.14%) while nearly halving the Forgetting of AP (FAP) from 10.67% down to 6.02%. - Handling Heavy Occlusion: On OVIS (
15-5), STEAM reaches 14.67% AP vs. HVPL's 11.09%. In the15-10split, forgetting drops from 16.64% to 9.49% FAP. - Scaling Up: Swapping the frozen ResNet-50 backbone for a stronger Swin-L backbone on YouTube-VIS 2019 (
20-2) pushes STEAM to 51.73% AP (+14.58% over HVPL with Swin-L) and a minuscule 2.98% FAP. - Efficiency: Training takes 4.85 hours on 4x A800 GPUs (compared to 8.11h for HVPL), with inference taking 0.24h (vs. 0.26h).
Limitations and Future Work
- The Exemplar-Free Gap: Because STEAM refuses to store past video clips (strictly exemplar-free), there is still a noticeable ceiling compared to an upper-bound model trained on all tasks simultaneously—leaving an average gap of 15.82 AP behind joint training across YouTube-VIS benchmarks.
- Rigid Expert Growth: Currently, the number of newly added experts per task (1 to 5) is set manually.
- Future Directions: The authors plan to explore dynamic, automated expert allocation based on task complexity, as well as integrating Large Vision-Language Models (LVLMs) to push CVIS into truly open-world continual learning.
Summary updated