[Paper Review] Video Instance Segmentation using Inter-Frame Communication Transformers
The paper introduces Inter-frame Communication Transformers (IFC) for video instance segmentation, achieving high accuracy with greatly reduced space-time attention, enabling fast per-clip processing and strong results on YouTube-VIS benchmarks.
We propose a novel end-to-end solution for video instance segmentation (VIS) based on transformers. Recently, the per-clip pipeline shows superior performance over per-frame methods leveraging richer information from multiple frames. However, previous per-clip models require heavy computation and memory usage to achieve frame-to-frame communications, limiting practicality. In this work, we propose Inter-frame Communication Transformers (IFC), which significantly reduces the overhead for information-passing between frames by efficiently encoding the context within the input clip. Specifically, we propose to utilize concise memory tokens as a mean of conveying information as well as summarizing each frame scene. The features of each frame are enriched and correlated with other frames through exchange of information between the precisely encoded memory tokens. We validate our method on the latest benchmark sets and achieved the state-of-the-art performance (AP 44.6 on YouTube-VIS 2019 val set using the offline inference) while having a considerably fast runtime (89.4 FPS). Our method can also be applied to near-online inference for processing a video in real-time with only a small delay. The code will be made available.
Motivation & Objective
- Motivate efficient per-clip video instance segmentation to handle occlusions and motion blur without prohibitive space-time attention costs.
- Develop a memory-token based inter-frame communication mechanism to enrich frame features across a clip.
- Offer an instance-centric training and tracking scheme that maximizes space-time mask similarity (IoU) for VIS.
- Provide a lightweight, clip-level transformer architecture that supports online, near-online, and offline inference.
- Demonstrate strong speed-accuracy trade-offs on YouTube-VIS benchmarks while maintaining scalability to many instances.
Proposed method
- Propose Inter-frame Communication Transformers (IFC) with two transformer phases: Encode-Receive (per-frame processing) and Gather-Communicate (cross-frame communication via memory tokens).
- Use a small set of trainable memory tokens per frame to summarize scene context and enable cross-frame attention without full space-time self-attention.
- Process frames independently through the Encode-Receive stage and then aggregate information across frames in Gather-Communicate via memory tokens.
- Generate fixed-size object queries for potential instances and produce per-clip conditional convolution weights for instance-specific masks applied across all frames in the clip.
- Train with a bipartite matching loss that pairs predictions with ground-truth masks using mask-based Dice and focal losses, optimizing for space-time mask IoU.
- Enable clip-level tracking by matching instance masks across overlapping clips using space-time soft IoU and Hungarian matching.
Experimental results
Research questions
- RQ1Can a per-clip transformer model with memory-token communication achieve competitive VIS accuracy while reducing space-time attention cost?
- RQ2How do memory tokens and clip-level conditioning affect cross-frame feature enrichment and instance tracking in VIS?
- RQ3What is the impact of clip length (T) and memory token size (M) on accuracy and speed for VIS?
- RQ4Can the model support online, near-online, and offline inference with strong speed-accuracy trade-offs on YouTube-VIS datasets?
Key findings
- Achieves state-of-the-art-like performance on YouTube-VIS 2019 val when using offline inference (AP 44.6).
- Demonstrates a fast runtime (up to 107.1 FPS with ResNet-50 in offline setting) and strong speed-accuracy balance for clip-based VIS.
- Outperforms competing VIS methods on YouTube-VIS 2019 in online/near-online/offline regimes while avoiding heavy modules like deformable convolutions or cascaded nets.
- In near-online mode (T=5), reaches 46.5 FPS with AP around 41.0, illustrating practical real-time applicability with small delay.
- On YouTube-VIS 2021 val, the method yields competitive AP (35–37 range) and related metrics, outperforming several baselines in VIS-centric settings.
- Ablation shows memory tokens are critical for cross-frame communication and that decomposed (per-frame) memory-token interactions outperform unified token schemes.
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.