InstanceFormer: An Online Video Instance Segmentation Framework
Recent transformer-based offline video instance segmentation (VIS) approaches achieve encouraging results and significantly outperform online approaches. However, their reliance on the whole video and the immense computational complexity caused by full Spatio-temporal attention limit them in real-life applications such as processing lengthy videos. In this paper, we propose a single-stage transformer-based efficient online VIS framework named InstanceFormer, which is especially suitable for long and challenging videos. We propose three novel components to model short-term and long-term dependency and temporal coherence. First, we propagate the representation, location, and semantic information of prior instances to model short-term changes. Second, we propose a novel memory cross-attention in the decoder, which allows the network to look into earlier instances within a certain temporal window. Finally, we employ a temporal contrastive loss to impose coherence in the representation of an instance across all frames. Memory attention and temporal coherence are particularly beneficial to long-range dependency modeling, including challenging scenarios like occlusion. The proposed InstanceFormer outperforms previous online benchmark methods by a large margin across multiple datasets. Most importantly, InstanceFormer surpasses offline approaches for challenging and long datasets such as YouTube-VIS-2021 and OVIS. Code is available at https://github.com/rajatkoner08/InstanceFormer.
Code (1)
Tasks
DecoderInstance SegmentationSemantic SegmentationVideo Instance SegmentationSimilar Papers 제목 키워드 기반
Robust Online Video Instance Segmentation with Track Queries
Recently, transformer-based methods have achieved impressive results on Video Instance Segmentation (VIS). However, most of these top-performing methods run in an offline manner by processing the entire video clip at onc…
Image SegmentationInstance SegmentationMulti-Object TrackingObject Tracking+5In Defense of Online Models for Video Instance Segmentation
In recent years, video instance segmentation (VIS) has been largely advanced by offline models, while online models gradually attracted less attention possibly due to their inferior performance. However, online methods h…
Contrastive LearningInstance SegmentationSegmentationSemantic Segmentation+3InsPro: Propagating Instance Query and Proposal for Online Video Instance Segmentation
Video instance segmentation (VIS) aims at segmenting and tracking objects in videos. Prior methods typically generate frame-level or clip-level object instances first and then associate them by either additional tracking…
Instance SegmentationObjectSemantic SegmentationVideo Instance SegmentationHybrid Instance-aware Temporal Fusion for Online Video Instance Segmentation
Recently, transformer-based image segmentation methods have achieved notable success against previous solutions. While for video domains, how to effectively model temporal context with the attention of object instances a…
Image SegmentationInstance SegmentationSemantic SegmentationVideo Instance SegmentationSpatial Feature Calibration and Temporal Fusion for Effective One-stage Video Instance Segmentation
Modern one-stage video instance segmentation networks suffer from two limitations. First, convolutional features are neither aligned with anchor boxes nor with ground-truth bounding boxes, reducing the mask sensitivity t…
Instance SegmentationSegmentationSemantic Segmentationvalid+1