SpVOS: Efficient Video Object Segmentation with Triple Sparse Convolution

Weihao Lin, Tao Chen, Chong Yu · DOI

TL;DR

This paper introduces SpVOS, a novel approach to semi-supervised video object segmentation (Semi-VOS) that significantly reduces computational costs by employing a "triple sparse convolution" technique. This method effectively balances efficiency and accuracy, achieving comparable results to non-sparse methods while saving up to 42% of computational operations.

What Problem Does This Paper Address?

Semi-supervised video object segmentation (Semi-VOS) aims to segment objects in videos using only the first frame's annotation. While memory-matching-based methods excel at leveraging temporal information for high-quality segmentation, they are computationally expensive due to dense convolutions on high-resolution feature maps. This paper addresses the challenge of reducing this computational overhead without sacrificing segmentation performance, particularly in resource-constrained scenarios.

Methods

The core innovation is the triple sparse convolution, which intelligently decides how to process each pixel. Instead of applying dense convolutions everywhere, it uses a "triple gate" to make one of three decisions for each pixel:

  1. Skipping policy: The pixel's location is ignored, saving computation.
  2. Reusing policy: The pixel's value is directly copied from the previous frame, preserving temporal consistency.
  3. Default policy: The pixel is processed with a standard convolution.

This adaptive approach considers both spatial and temporal redundancies. The authors also introduce a mixed sparse processing strategy for training and inference, where only non-critical frames are processed sparsely, while important memory frames retain dense processing to maintain accuracy.

Datasets

The proposed method is evaluated on two standard Semi-VOS benchmarks:

  • DAVIS-2017: A multi-object segmentation benchmark with 30 videos.
  • Youtube-VOS: A larger dataset with 507 videos, including both seen and unseen object categories.

Key Insights and Ideas

  • Temporal redundancy is key: The paper highlights that not all parts of a video frame require heavy computation. By intelligently reusing or skipping features based on temporal information, significant efficiency gains are possible.
  • Error accumulation is a major hurdle for sparse methods: Previous sparse approaches, especially those reusing previous frame features, can propagate segmentation errors. The triple sparse convolution's ability to selectively discard detrimental features is crucial for robust performance.
  • Not all layers are equal: The study reveals that different layers in a VOS network have varying degrees of sparsity. Some layers (like early query encoder layers) are critical for capturing essential object features and should be less sparse, while others (like decoder layers) have more redundancy and benefit greatly from sparsification.
  • Mixed processing is vital for memory-matching: Applying sparse convolutions to all frames in memory-matching VOS can degrade performance. A mixed strategy, preserving dense processing for key memory frames, is essential for maintaining accuracy.

Key Results

  • Significant FLOPs reduction: SpVOS achieves up to a 42% reduction in FLOPs compared to a typical non-sparse VOS baseline.
  • Comparable accuracy: The proposed method maintains performance close to non-sparse baselines, achieving 83.04% (DAVIS-2017) and 79.29% (Youtube-VOS) overall scores, outperforming other sparse methods by a significant margin (around 5% on DAVIS and 3-5% on Youtube-VOS).
  • Improved robustness: SpVOS demonstrates better handling of object confusion and error accumulation compared to static and residual sparse methods, even outperforming the non-sparse baseline in some challenging qualitative examples.
  • Efficiency gains: The optimized CUDA kernel for the triple sparse convolution leads to practical runtime speedups.

Limitations and Future Work

  • Slight accuracy drop: While comparable, SpVOS still shows a slight accuracy drop (around 1%) compared to the non-sparse baseline, indicating that perfect accuracy is not achieved.
  • Adaptation to SOTA: The paper demonstrates that adapting the triple sparse convolution to existing state-of-the-art frameworks like XMem can yield improvements in efficiency without sacrificing accuracy, suggesting this as a promising future direction.
  • Further exploration of mixed processing: The authors suggest that further research into mixed sparse processing strategies could lead to even better trade-offs between performance and efficiency.
  • Fine-grained sparsity control: The paper's ablation studies show that different layers benefit from varying degrees of sparsity, hinting at the potential for more sophisticated, layer-specific sparsity optimization.

Summary updated

BibTeX
@article{lin2023spvos,
  author = {Weihao Lin and Tao Chen and Chong Yu},
  title = {{SpVOS: Efficient Video Object Segmentation with Triple Sparse Convolution}},
  journal = {IEEE Trans. Image Process.},
  year = {2023},
  doi = {10.1109/tip.2023.3327588},
}
Figure