TL;DR
The Autoregressive Universal Video Segmentation Model (AUSM) unifies prompted and unprompted video segmentation into a single architecture by framing next-frame mask prediction as next-token language modeling. Leveraging state-space models (Mamba), AUSM maintains a fixed-size spatial state for constant-memory inference over arbitrary video lengths while enabling parallelized training that achieves up to a 2.5× speedup over traditional recurrent methods.
What Problem Does This Paper Address?
Video segmentation is currently fragmented into two distinct paradigms:
- Prompted segmentation (e.g., Video Object Segmentation or VOS), which tracks specific objects based on initial human cues like clicks or text prompts.
- Unprompted segmentation (e.g., Video Instance Segmentation or VIS), which automatically detects and tracks all objects belonging to predefined categories.
Existing universal models that try to bridge this gap often suffer from severe trade-offs. Many VIS-style architectures compress objects into low-dimensional vectors, which discards the fine-grained spatial details crucial for high-quality VOS. Furthermore, almost all state-of-the-art streaming segmentation models rely on recurrent, frame-by-frame training. This sequential dependency creates a massive bottleneck, preventing training from scaling efficiently to longer video sequences.
AUSM addresses these challenges by introducing a unified, parallel-trainable architecture that retains fine-grained details without requiring unbounded memory buffers.
Methods
AUSM reformulates streaming video segmentation as an autoregressive sequence prediction task, drawing a direct parallel to decoder-only Large Language Models (LLMs).
The architecture consists of four primary components:
- History Marker: Instead of compressing objects into abstract vectors, it uses a technique called Token Mark to dissolve instance masks directly back into spatial feature maps. This preserves high-resolution, fine-grained details for future frames.
- History Compressor: To avoid storing an ever-growing history of frames (like FIFO memory banks do), this module compresses spatio-temporal information into a single, fixed-size spatial state. It alternates between Temporal Mamba layers (to capture time dependencies with constant memory complexity) and Spatial Self-Attention layers.
- History Decoder & Pixel Decoder: These modules use transformer decoder layers to combine current-frame features with the compressed history state, outputting tracking predictions for existing objects and detection predictions for newly appearing objects.
Parallel Training via Teacher Forcing
To bypass slow recurrent training, the authors introduce a randomized Preprocess function. During training, each ground-truth object is randomly assigned a transition frame. Before this frame, the object is treated as an unprompted detection target; after this frame, it becomes a tracking target. This clever decoupling allows the model to utilize teacher forcing, enabling parallel computation across all frames in a sequence simultaneously.
Datasets
AUSM is trained and evaluated on a diverse suite of standard benchmarks to prove its universality:
- Image Pretraining: COCO (using a pseudo-video generation strategy).
- Prompted Video Segmentation (VOS): DAVIS 2017, YouTube-VOS (2018 & 2019), and MOSE (complex scenes with heavy interactions).
- Unprompted Video Segmentation (VIS): YouTube-VIS (2019 & 2021) and OVIS (Occluded Video Instance Segmentation).
Key Insights and Ideas
- The Mask-as-Token Analogy: Treating next-frame mask prediction exactly like next-word prediction allows computer vision to inherit the highly scalable, parallel training frameworks pioneered by the NLP community.
- Mamba over Transformers for Time: While Transformers require key-value caches that grow linearly with video length, State Space Models (SSMs) like Mamba compress history into a constant-size state. This makes processing infinitely long video streams computationally feasible.
- Inference Compute Scaling: The authors show that AUSM's performance can be boosted at inference time simply by repeating frames (pseudo-videos), allowing the autoregressive state to iteratively refine its mask predictions.
Key Results
AUSM achieves state-of-the-art performance among online universal video segmentation methods across all seven evaluated benchmarks.
- Training Speedup: Thanks to its parallel training formulation, AUSM trains 2.5× faster than iterative baselines on 16-frame sequences, with the efficiency gap widening further on longer sequences.
- Long-Sequence Adaptation: Fine-tuning on longer (16-frame) clips yields massive performance boosts on challenging datasets like MOSE (+7.8%) and OVIS (+12.9%), proving the model's ability to leverage long-range temporal context.
- Quantitative Breakdown: As shown in the comprehensive results table, AUSM (particularly with a Swin-B backbone) consistently outperforms competing online universal models like UniVS and UNINEXT, especially on heavily occluded datasets like OVIS (achieving 45.5 AP).
Limitations and Future Work
Despite its strong performance as a universal model, AUSM still exhibits a modest performance gap when compared to highly specialized, task-specific models like SAM2 on prompted tasks. The authors attribute this to their architectural balance, which heavily relies on a deep per-frame image encoder rather than highly specialized temporal propagation modules.
Additionally, while the Mamba-based compressor theoretically supports infinite frames, the authors note that performance still degrades over extremely long sequences—a context-window limitation shared with modern LLMs. Future work will explore integrating length extrapolation techniques and expanding the framework to handle language-prompted tasks (e.g., Referring VOS).
Summary updated