OCNet: Object Context Network for Scene Parsing
Preprint
Abstract
In this paper, we address the semantic segmentation task with a new context aggregation scheme named \emph{object context}, which focuses on enhancing the role of object information. Motivated by the fact that the category of each pixel is inherited from the object it belongs to, we define the object context for each pixel as the set of pixels that belong to the same category as the given pixel in the image. We use a binary relation matrix to represent the relationship between all pixels, where the value one indicates the two selected pixels belong to the same category and zero otherwise. We propose to use a dense relation matrix to serve as a surrogate for the binary relation matrix. The dense relation matrix is capable to emphasize the contribution of object information as the relation scores tend to be larger on the object pixels than the other pixels. Considering that the dense relation matrix estimation requires quadratic computation overhead and memory consumption w.r.t. the input size, we propose an efficient interlaced sparse self-attention scheme to model the dense relations between any two of all pixels via the combination of two sparse relation matrices. To capture richer context information, we further combine our interlaced sparse self-attention scheme with the conventional multi-scale context schemes including pyramid pooling~\citep{zhao2017pyramid} and atrous spatial pyramid pooling~\citep{chen2018deeplab}. We empirically show the advantages of our approach with competitive performances on five challenging benchmarks including: Cityscapes, ADE20K, LIP, PASCAL-Context and COCO-StuffKeywords
All Related Versions
This publication has 31 references indexed in Scilit:
- Object-Contextual Representations for Semantic Segmentation2020
- ShuffleNet V2: Practical Guidelines for Efficient CNN Architecture Design2018
- Adaptive Affinity Fields for Semantic Segmentation2018
- Mutual Learning to Adapt for Joint Human Parsing and Pose Estimation2018
- Unified Perceptual Parsing for Scene Understanding2018
- Macro-Micro Adversarial Network for Human Parsing2018
- RefineNet: Multi-path Refinement Networks for High-Resolution Semantic Segmentation2017
- Visual Genome: Connecting Language and Vision Using Crowdsourced Dense Image AnnotationsInternational Journal of Computer Vision, 2017
- Deep Residual Learning for Image Recognition2016
- The Cityscapes Dataset for Semantic Urban Scene Understanding2016