Local-Global Context Aware Transformer for Language-Guided Video Segmentation
Chen Liang, Wenguan Wang, Tianfei Zhou, Jiaxu Miao, Yawei Luo, Yi Yang
TL;DR
This work tackles language-guided video segmentation by introducing Locater, a memory-augmented Transformer that achieves efficient long-range temporal modeling via a finite memory consisting of global and local components. A language-guided visual encoder produces frame-wise features, which are contextually enriched by memory-based attention to yield frame-specific queries for mask decoding. The approach delivers state-of-the-art results across standard LVS benchmarks and introduces the harder A2D-S$^+$ dataset to stress grounding among semantically similar objects, ultimately achieving top performance and winning the RVOS track in YTB-VOS$^{21}$. The combination of local-global memory, frame-specific query generation, and deep supervision enables robust, scalable LVS with linear time complexity and constant memory usage, offering practical benefits for large-scale video understanding and cross-modal grounding.
Abstract
We explore the task of language-guided video segmentation (LVS). Previous algorithms mostly adopt 3D CNNs to learn video representation, struggling to capture long-term context and easily suffering from visual-linguistic misalignment. In light of this, we present Locater (local-global context aware Transformer), which augments the Transformer architecture with a finite memory so as to query the entire video with the language expression in an efficient manner. The memory is designed to involve two components -- one for persistently preserving global video content, and one for dynamically gathering local temporal context and segmentation history. Based on the memorized local-global context and the particular content of each frame, Locater holistically and flexibly comprehends the expression as an adaptive query vector for each frame. The vector is used to query the corresponding frame for mask generation. The memory also allows Locater to process videos with linear time complexity and constant size memory, while Transformer-style self-attention computation scales quadratically with sequence length. To thoroughly examine the visual grounding capability of LVS models, we contribute a new LVS dataset, A2D-S+, which is built upon A2D-S dataset but poses increased challenges in disambiguating among similar objects. Experiments on three LVS datasets and our A2D-S+ show that Locater outperforms previous state-of-the-arts. Further, we won the 1st place in the Referring Video Object Segmentation Track of the 3rd Large-scale Video Object Segmentation Challenge, where Locater served as the foundation for the winning solution. Our code and dataset are available at: https://github.com/leonnnop/Locater
