NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

A Simple Video Segmenter by Tracking Objects Along Axial Trajectories

Ju He, Qihang Yu, Inkyu Shin, Xueqing Deng, Alan Yuille, Xiaohui Shen, Liang-Chieh Chen

Abstract

Video segmentation requires consistently segmenting and tracking objects over time. Due to the quadratic dependency on input size, directly applying self-attention to video segmentation with high-resolution input features poses significant challenges, often leading to GPU Out-Of-Memory errors. Consequently, modern video segmenters either extend an image segmenter without incorporating any temporal attention or resort to window space-time attention in a naive manner. In this work, we present Axial-VS, a general and simple framework that enhances video segmenters by tracking objects along axial trajectories. The framework tackles video segmentation through two sub-tasks: short-term within-clip segmentation and long-term cross-clip tracking. In the first step, Axial-VS augments an off-the-shelf clip-level video segmenter with the proposed axial-trajectory attention, sequentially tracking objects along the height- and width-trajectories within a clip, thereby enhancing temporal consistency by capturing motion trajectories. The axial decomposition significantly reduces the computational complexity for dense features, and outperforms the window space-time attention in segmentation quality. In the second step, we further employ axial-trajectory attention to the object queries in clip-level segmenters, which are learned to encode object information, thereby aiding object tracking across different clips and achieving consistent segmentation throughout the video. Without bells and whistles, Axial-VS showcases state-of-the-art results on video segmentation benchmarks, emphasizing its effectiveness in addressing the limitations of modern clip-level video segmenters.

Introduction

Video segmentation—the task of identifying and tracking every pixel of an object throughout a video—is a significant computational challenge. While self-attention is the gold standard for capturing relationships in data, it suffers from a "quadratic problem": doubling the resolution or the number of frames quadruples the memory requirement. For high-resolution video, directly applying self-attention to every pixel across time is often impossible on current hardware.

To circumvent this, many modern models process videos frame-by-frame, losing temporal consistency, or use "window attention," which only considers a small neighborhood of pixels. These shortcuts frequently lead to "ID switching," where the model loses track of an object if it moves rapidly or is briefly occluded. Axial-VS addresses these limitations by introducing a memory-efficient axial decomposition for tracking.

Methodology: The Axial-VS Framework

Axial-VS is a meta-architecture designed to be integrated into existing clip-level segmenters. It decomposes the video segmentation task into two primary stages: short-term within-clip tracking and long-term cross-clip tracking.

The overall Axial-VS architecture, illustrating the two-stage process: clip-level segmentation and video-level tracking.

Axial-Trajectory Attention

The core innovation of Axial-VS is Axial-Trajectory Attention. Instead of searching for an object's movement across the entire 3D space-time volume ($T \times H \times W$), the model decomposes the search into two sequential steps:

  1. H-axis Tracking: Calculating the probability of an object moving along the vertical axis across frames.
  2. W-axis Tracking: Repeating the process for the horizontal axis.

This decomposition reduces computational complexity from $O(T^2 H^2 W^2)$ to $O(T^2 H^2 W + T^2 W^2 H)$, making dense pixel-wise tracking feasible for high-resolution inputs.

The within-clip tracking module, which sequentially applies H-axis and W-axis axial-trajectory attention to refine dense features.

Two-Stage Tracking

  • Within-clip tracking: This stage enhances short-term consistency by refining dense features within a small group of frames (a clip). By capturing motion trajectories along axes, it outperforms standard window space-time attention.
  • Cross-clip tracking: The same axial logic is applied to object queries—mathematical representations of specific objects—to link them across different clips. This ensures that an object identified in the beginning of a video is recognized as the same entity throughout the entire sequence.

Experimental Results

Axial-VS was evaluated on three major benchmarks: VIPSeg (Video Panoptic Segmentation), YouTube-VIS (Video Instance Segmentation), and OVIS (Occluded Video Instance Segmentation).

  • VIPSeg: Using a ResNet50 backbone, Axial-VS improved Video Panoptic Quality (VPQ) by 8.5% over the baseline Video-kMaX and outperformed the previous state-of-the-art, DVIS, by 3.5%.
  • YouTube-VIS 2022: On long-video tracking, it boosted the performance of the Tube-Link baseline by 4.7% AP.
  • OVIS: The model achieved a 5.8% AP improvement using a Swin-L backbone, demonstrating high robustness against heavy occlusions.

Qualitatively, Axial-VS excels at maintaining consistent object IDs in complex scenes and challenging lighting where previous models often failed.

Discussion and Limitations

While Axial-VS provides a significant leap in efficiency and accuracy, some challenges remain. Extreme occlusions, where two similar objects cross paths while hidden, can still cause ID switching. Additionally, the attention mechanism's reliance on reference points can be diluted if the point lacks discriminative features (e.g., a dark pixel on a dark background). Future work involves exploring end-to-end fine-tuning for long videos, which is currently constrained by memory limits during the cross-clip training phase.

Summary updated

BibTeX
@article{he2024simple,
  author = {Ju He and Qihang Yu and Inkyu Shin and Xueqing Deng and Alan Yuille and Xiaohui Shen and Liang-Chieh Chen},
  title = {{A Simple Video Segmenter by Tracking Objects Along Axial Trajectories}},
  journal = {Accepted by TMLR},
  year = {2024},
  url = {https://openreview.net/forum?id=Sy6ZOStz5v},
}
Figure