[Paper Review] Selective Structured State-Spaces for Long-Form Video Understanding
This paper proposes S5, a selective structured state-space model that adaptively identifies and focuses on informative tokens in long-form videos using a lightweight mask generator, avoiding expensive self-attention. By leveraging momentum-distilled S4 features and a novel long-short masked contrastive learning (LSMCL) pretraining, S5 achieves state-of-the-art performance with up to 9.6% higher accuracy and 23% lower memory usage than prior S4-based methods on three long-form video benchmarks.
Effective modeling of complex spatiotemporal dependencies in long-form videos remains an open problem. The recently proposed Structured State-Space Sequence (S4) model with its linear complexity offers a promising direction in this space. However, we demonstrate that treating all image-tokens equally as done by S4 model can adversely affect its efficiency and accuracy. To address this limitation, we present a novel Selective S4 (i.e., S5) model that employs a lightweight mask generator to adaptively select informative image tokens resulting in more efficient and accurate modeling of long-term spatiotemporal dependencies in videos. Unlike previous mask-based token reduction methods used in transformers, our S5 model avoids the dense self-attention calculation by making use of the guidance of the momentum-updated S4 model. This enables our model to efficiently discard less informative tokens and adapt to various long-form video understanding tasks more effectively. However, as is the case for most token reduction methods, the informative image tokens could be dropped incorrectly. To improve the robustness and the temporal horizon of our model, we propose a novel long-short masked contrastive learning (LSMCL) approach that enables our model to predict longer temporal context using shorter input videos. We present extensive comparative results using three challenging long-form video understanding datasets (LVU, COIN and Breakfast), demonstrating that our approach consistently outperforms the previous state-of-the-art S4 model by up to 9.6% accuracy while reducing its memory footprint by 23%.
Motivation & Objective
- To address the inefficiency and inaccuracy of treating all video tokens equally in structured state-space models like S4 for long-form video understanding.
- To develop a lightweight, adaptive token selection mechanism that improves efficiency and accuracy by focusing on informative spatiotemporal features.
- To enhance model robustness against misclassified or less informative tokens during inference and training.
- To enable effective long-range temporal modeling using shorter input clips through a novel pretraining strategy.
- To achieve state-of-the-art performance on long-form video benchmarks with reduced computational and memory costs.
Proposed method
- Introduces S5, a selective S4 model that uses a Gumbel-Softmax-based mask generator to dynamically select informative image tokens based on S4 feature representations.
- Employs momentum distillation from the S4 model to guide the mask generator, avoiding dense self-attention while preserving global sequence context.
- Proposes long-short masked contrastive learning (LSMCL), where representations of randomly masked tokens from short and long clips are aligned to improve robustness.
- Uses LSMCL pretraining to allow the model to generalize to longer temporal contexts even when fine-tuned on shorter clips.
- Applies the S5 model with LSMCL pretraining to three long-form video datasets: LVU, COIN, and Breakfast.
- Leverages the linear complexity of S4 while introducing selective attention via learned masks, maintaining efficiency while improving accuracy.
Experimental results
Research questions
- RQ1Can adaptive token selection improve the accuracy and efficiency of structured state-space models in long-form video understanding?
- RQ2How can a mask generator be designed to avoid dense self-attention while still capturing global spatiotemporal dependencies?
- RQ3To what extent can LSMCL pretraining improve robustness to misclassified tokens and extend the effective temporal horizon of the model?
- RQ4Can the proposed method outperform both standard S4 and vision transformer baselines on long-form video benchmarks with reduced memory usage?
- RQ5Does the combination of selective token selection and contrastive learning generalize across diverse long-form video understanding tasks?
Key findings
- S5 with LSMCL pretraining achieves a 9.6% absolute accuracy gain over the previous SOTA S4-based method (ViS4mer) on the LVU dataset.
- On the COIN dataset, S5 improves by 5.5% over ViS4mer and 0.81% over the next best method, achieving 90.70% accuracy.
- On the Breakfast dataset, S5 achieves 65.41% accuracy, surpassing ViS4mer’s 85.10% baseline by 5.5% and setting a new SOTA.
- The model reduces memory footprint by 23% compared to the prior S4-based method while maintaining or improving performance.
- LSMCL pretraining enables the model to achieve on-par performance with longer clips using only 60-frame inputs, demonstrating improved temporal generalization.
- The ablation study confirms that both the selective mask generator and LSMCL pretraining are essential for the model’s performance gains.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.