[Paper Review] ACFNet: Attentional Class Feature Network for Semantic Segmentation
ACFNet introduces class-centered context and an Attentional Class Feature module to adaptively fuse class-level context into a coarse-to-fine segmentation framework, achieving state-of-the-art Cityscapes mIoU with fine data alone.
Recent works have made great progress in semantic segmentation by exploiting richer context, most of which are designed from a spatial perspective. In contrast to previous works, we present the concept of class center which extracts the global context from a categorical perspective. This class-level context describes the overall representation of each class in an image. We further propose a novel module, named Attentional Class Feature (ACF) module, to calculate and adaptively combine different class centers according to each pixel. Based on the ACF module, we introduce a coarse-to-fine segmentation network, called Attentional Class Feature Network (ACFNet), which can be composed of an ACF module and any off-the-shell segmentation network (base network). In this paper, we use two types of base networks to evaluate the effectiveness of ACFNet. We achieve new state-of-the-art performance of 81.85% mIoU on Cityscapes dataset with only finely annotated data used for training.
Motivation & Objective
- Motivate exploitation of class-level context (class centers) as global, categorical context for segmentation.
- Propose Attentional Class Feature (ACF) module to adaptively combine class centers per pixel.
- Build a coarse-to-fine network (ACFNet) by integrating ACF with any base segmentation model.
- Demonstrate that class-level context improves segmentation performance on Cityscapes.
- Show that ACFNet achieves state-of-the-art results with only finely annotated data.
Proposed method
- Define class center as the average feature of all pixels belonging to a class within an image.
- Compute class centers using a coarse segmentation map to weight pixel contributions.
- Introduce Class Attention Block to produce an attentional class feature per pixel by weighting class centers with coarse-class probabilities.
- Fuse attentional class feature with base network features through concatenation and a 1x1 conv to produce final segmentation.
- Train with auxiliary supervision and a multi-term loss balancing coarse and fine segmentation objectives.
- Demonstrate compatibility by applying ACF module to ResNet-101 and ResNet-101+ASPP.
Experimental results
Research questions
- RQ1Can class-level context (class centers) provide useful global cues for per-pixel labeling in semantic segmentation?
- RQ2Does an attentional mechanism over class centers, guided by coarse segmentation, improve final segmentation accuracy?
- RQ3Is the proposed ACFNet effective across different base segmentation architectures?
- RQ4What is the impact of coarse-to-fine integration and auxiliary losses on Cityscapes performance?
Key findings
- ACF module with class centers and attention improves mIoU over baselines on Cityscapes.
- ACF(sum) and ACF(concat) strategies outperform a simple class-center extension, with notable gains in fine segmentation.
- Applying ACF to ResNet-101+ASPP yields substantial performance gains (e.g., 1.7% uplift for ASPP baseline).
- ACFNet achieves state-of-the-art 81.85% mIoU on Cityscapes using only train-fine data for training (with additional boosts from MS/Flip and online bootstrapping).
- ablative analyses show class centers and attentional fusion contribute meaningful performance improvements and produce more discriminative feature representations.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.