Differentiable Soft-Masked Attention
Not on the map. Why?
Abstract (arXiv)
Transformers have become prevalent in computer vision due to their performance and flexibility in modelling complex operations. Of particular significance is the 'cross-attention' operation, which allows a vector representation (e.g. of an object in an image) to be learned by attending to an arbitrarily sized set of input features. Recently, "Masked Attention" was proposed in which a given object representation only attends to those image pixel features for which the segmentation mask of that object is active. This specialization of attention proved beneficial for various image and video segmentation tasks. In this paper, we propose another specialization of attention which enables attending over `soft-masks' (those with continuous mask probabilities instead of binary values), and is also differentiable through these mask probabilities, thus allowing the mask used for attention to be learned within the network without requiring direct loss supervision. This can be useful for several applications. Specifically, we employ our "Differentiable Soft-Masked Attention" for the task of Weakly-Supervised Video Object Segmentation (VOS), where we develop a transformer-based network for VOS which only requires a single annotated image frame for training, but can also benefit from cycle consistency training on a video with just one annotated frame. Although there is no loss for masks in unlabeled frames, the network is still able to segment objects in those frames due to our novel attention formulation. Code: https://github.com/Ali2500/HODOR/blob/main/hodor/modelling/encoder/soft_masked_attention.py
Key facts. No citing papers in the map yet (data through 14 Oct 2026). Builds on 15 of its 17 references that are in the map. First posted on arXiv 1 Jun 2022.
Builds on
15 of 17 references.
References · 15
- 2017Attention Is All You Needcited by 60,361
- 2021Masked-attention Mask Transformer for Universal Image Segmentationcited by 2,351
- 2017The 2017 DAVIS Challenge on Video Object Segmentationcited by 957
- 2019Video Object Segmentation using Space-Time Memory Networkscited by 438
- 2018YouTube-VOS: A Large-Scale Video Object Segmentation Benchmarkcited by 383
- 2019Learning Correspondence from the Cycle-Consistency of Timecited by 269
- 2020Space-Time Correspondence as a Contrastive Random Walkcited by 239
- 2016One-Shot Video Object Segmentationcited by 235
- 2021Rethinking Space-Time Networks with Improved Memory Coverage for Efficient Video Object Segmentationcited by 203
- 2021Mask2Former for Video Instance Segmentationcited by 171
- 2016Learning Video Object Segmentation from Static Imagescited by 151
- 2020Kernelized Memory Network for Video Object Segmentationcited by 111
Built on by
Not cited yet.