Improving Continual Video Instance Segmentation via Spatial-Temporal Balanced Mixture-of-Experts Adapters

Hao Fu, Sihao Liu, Hanbin Zhao, Jiahua Dong, Chao Zhang, Hui QianNeurIPS 2026

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.

Figure 1: Illustration of spatial-temporal knowledge forgetting. Spatial-knowledge Forgetting: after learning task t, learned classes from task t −1 (e.g., fish) are misclassified (e.g., fox) or missed by HVPL [14], whereas ours predict correctly. Temporal-knowledge Forgetting: although the label remains correct (e.g., turtle), the same instance is assigned inconsistent IDs across consecutive frames (e.g., [2]) by HVPL, leading to trajectory disruption, whereas ours keeps IDs consistent.

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:

Figure 2: Overview of STEAM. The left part illustrates the training phase. STEAM comprises three modules: TASTE consists of spatial and temporal branches, which are iteratively updated via the SCOA strategy. DASH is further divided into two components, one records the distribution features of each task, and the other coordinates the two branches through scaling and shifting factors. The right part depicts the inference phase, where DASH assists TASTE in achieving more accurate task localization and dynamic balancing between the spatial and temporal branches.
  1. 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.
  2. 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.
  3. 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) and 20-5 (5 tasks total).
  • YouTube-VIS 2021: Evaluated on 30-10 (2 tasks) and 20-4 (6 tasks).
  • OVIS (Occluded Video Instance Segmentation): A notoriously difficult dataset featuring heavy object occlusion, evaluated on 15-5 (3 tasks) and 15-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 the 15-10 split, 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

Abstract

Effective Continual Video Instance Segmentation (CVIS) requires balancing catastrophic forgetting with the plasticity to learn new tasks. Existing methods typically adapt pre-trained VIS models using trainable visual prompts, but suffer from two key limitations: they overlook the distinct degradation of frame-level spatial knowledge (e.g., misclassification) and video-level temporal knowledge (e.g., trajectory disruption), and rely on rigid prompt retrieval that struggles under task ambiguity and distribution shifts. To address these issues, we propose STEAM, a CVIS framework with Spatial-Temporal Balanced Mixture-of-Experts Adapters. Instead of explicit retrieval, we introduce a Distribution-Aware spatial-temporal Scaling and sHifting (DASH) mechanism to align the pre-trained feature space with sequential tasks and reduce the domain gap. Furthermore, our method adaptively learns Task-Adaptive Spatial-Temporal mixture-of-Experts (TASTE) at both the frame and video levels, while updating them with Subspace-Constrained Orthogonal Adaptation (SCOA) to mitigate interference. Extensive experiments across diverse CVIS settings show that STEAM preserves temporal-spatial coherence and achieves state-of-the-art performance.
BibTeX
@inproceedings{fu2026improving,
  author = {Hao Fu and Sihao Liu and Hanbin Zhao and Jiahua Dong and Chao Zhang and Hui Qian},
  title = {{Improving Continual Video Instance Segmentation via Spatial-Temporal Balanced Mixture-of-Experts Adapters}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=zpJp5PjRLP},
}
Figure