Abstract: Recent work has achieved great success in utilizing global contextual information for semantic segmentation, including increasing the receptive field and aggregating pyramid feature representations. In this paper, we go beyond global context and explore the fine-grained representation using co-occurrent features by introducing the Co-occurrent Feature Model, which predicts the distribution of co-occurrent features for a given target. To leverage the semantic context in the co-occurrent features, we build an Aggregated Co-occurrent Feature (ACF) Module by aggregating the probability of the co-occurrent feature with the co-occurrent context. The ACF Module learns a fine-grained spatial invariant representation to capture co-occurrent context information across the scene. Our approach significantly improves the segmentation results using FCN and achieves superior performance: 54.0% mIoU on Pascal Context, 87.2% mIoU on Pascal VOC 2012, and 44.89% mIoU on ADE20K datasets.
Introduction: The Challenge of Visual Ambiguity
Semantic segmentation requires labeling every pixel in an image, a task often plagued by visual ambiguity. For instance, a patch of blue water might look identical whether it is part of a river, a lake, or the sea. While previous state-of-the-art methods utilized "global context"—viewing the entire image holistically—to resolve these ambiguities, a rough holistic view is often insufficient. A general "city scene" context might contain any type of water body.
However, the co-occurrence of specific objects provides much stronger evidence: the presence of a boat is a compelling clue that the water is "sea" rather than "river." Traditional architectures, such as standard Fully Convolutional Networks (FCNs), rely on fixed spatial structures that struggle to capture these long-range, fine-grained dependencies between disjoint regions of an image. To address this, we propose CFNet, a framework that explicitly models how different object features co-occur across a scene.
Methodology
The core of CFNet lies in the Co-occurrent Feature Model (CFM) and the Aggregated Co-occurrent Feature (ACF) Module.
Co-occurrent Feature Model (CFM)
Instead of merely predicting a single label, the CFM predicts a probability distribution of features likely to appear alongside a target feature. It utilizes a dot-product similarity measure to determine the statistical likelihood of co-occurrence between two features.
Contextual Prior via Mixture of Softmaxes (MoS)
Recognizing that the same object (e.g., a chair) might have different "neighbors" depending on the scene (e.g., a dining room vs. an office), we employ a Mixture of Softmaxes (MoS). This addresses the "high-rank" problem where a single softmax lacks the expressive capacity to model the vast diversity of real-world image compositions. MoS allows the model to learn multiple co-occurrence priors simultaneously.
Aggregated Co-occurrent Feature (ACF) Module
This module aggregates co-occurrent features across the entire scene using a mechanism similar to self-attention. It captures spatial-invariant representations, meaning the network can identify a "boat" feature anywhere in the image to assist in classifying a "sea" pixel, regardless of their relative distance.
Experimental Results
CFNet was evaluated on four major benchmarks: PASCAL Context, PASCAL VOC 2012, ADE20K, and Cityscapes. The integration of the ACF module into a standard ResNet-101 backbone yielded significant performance gains:
- PASCAL Context: Achieved 54.0% mIoU, outperforming previous models like EncNet (51.7%).
- PASCAL VOC 2012: Reached 87.2% mIoU (with MS-COCO pre-training).
- ADE20K: Achieved 44.89% mIoU, a substantial improvement over the FCN baseline of 39.28%.
Key Insights and Discussion
One of the primary advantages of CFNet is its ability to move beyond object-level co-occurrence to part-level dependencies. For example, identifying "armrests" helps the model distinguish an "armchair" from a standard "chair." Furthermore, the spatial invariance of the ACF module ensures that the model is not limited by the fixed receptive fields of standard convolutions.
While CFNet demonstrates superior accuracy, future work will focus on optimizing the computational overhead of the ACF module. The authors suggest that this co-occurrent representation is a general-purpose tool that could be extended to other computer vision tasks, such as object detection or instance-level scene understanding.
Summary updated