Framework-agnostic Semantically-aware Global Reasoning for Segmentation
arXiv:2212.03338 · doi:10.1109/WACV57701.2024.00104
Abstract
Recent advances in pixel-level tasks (e.g. segmentation) illustrate the benefit of of long-range interactions between aggregated region-based representations that can enhance local features. However, such aggregated representations, often in the form of attention, fail to model the underlying semantics of the scene (e.g. individual objects and, by extension, their interactions). In this work, we address the issue by proposing a component that learns to project image features into latent representations and reason between them using a transformer encoder to generate contextualized and scene-consistent representations which are fused with original image features. Our design encourages the latent regions to represent semantic concepts by ensuring that the activated regions are spatially disjoint and the union of such regions corresponds to a connected object segment. The proposed semantic global reasoning (SGR) component is end-to-end trainable and can be easily added to a wide variety of backbones (CNN or transformer-based) and segmentation heads (per-pixel or mask classification) to consistently improve the segmentation results on different datasets. In addition, our latent tokens are semantically interpretable and diverse and provide a rich set of features that can be transferred to downstream tasks like object detection and segmentation, with improved performance. Furthermore, we also proposed metrics to quantify the semantics of latent tokens at both class \& instance level.
Published in WACV 2024
References in corpus (7)
- An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
- Rethinking Atrous Convolution for Semantic Image Segmentation
- Encoder-Decoder with Atrous Separable Convolution for Semantic Image Segmentation
- Semantic Image Segmentation with Deep Convolutional Nets and Fully Connected CRFs
- Efficient Inference in Fully Connected CRFs with Gaussian Edge Potentials
- ParseNet: Looking Wider to See Better
- Convolutional Feature Masking for Joint Object and Stuff Segmentation