Abstract
Semantic segmentation—the task of assigning a category label to every pixel in an image—is often hampered by local ambiguities. Traditional methods leverage spatial context through global pooling or dilated convolutions, yet they frequently fail to capture high-level structural "gist." This paper introduces CiSS-Net (Context-reinforced Semantic Segmentation Network), a novel framework that treats segmentation as an iterative, self-correcting process. By employing Reinforcement Learning (RL), the model learns to treat its own previous predictions as context, filtering out noise to refine the final output. CiSS-Net achieves a 3.9% mIoU boost over baselines on major benchmarks.
Introduction
The primary challenge in semantic segmentation is distinguishing between visually similar categories in ambiguous regions, such as reflections in water or complex object boundaries. While context is key, standard deep learning architectures often struggle to integrate high-level scene layout effectively. The authors propose that a model's own predicted segmentation map (p-map) contains valuable structural information. However, because initial predictions are often noisy, a mechanism is needed to extract only the reliable "useful" parts to avoid error propagation.
Methodology: The CiSS-Net Framework
CiSS-Net consists of two primary modules that operate in a recursive loop:
- Segment Net (S-Net): The core segmentation engine. It processes raw image features alongside a "context map" provided by the C-Net. It utilizes a "Bias Net" to rectify initial guesses based on the provided context.
- Context Net (C-Net): An RL-based agent that evaluates the current p-map. Its goal is to decide which pixels are reliable enough to serve as context for the next iteration and which should be discarded as "uncertain."
Reinforcement Learning for Context Selection
The authors formulate context selection as a Markov Decision Process (MDP). The C-Net is trained using the Asynchronous Advantage Actor-Critic (A3C) algorithm. During training, the agent receives rewards based on the improvement in segmentation accuracy (mIoU) in subsequent steps. This allows the model to learn a policy that ignores confusing regions—like reflections or complex boundaries—and focuses on stable semantic cues without requiring explicit "context labels."
Experimental Results
The model was evaluated on three major datasets: ADE20K, Cityscapes, and PASCAL-Context. By labeling difficult areas as "uncertain," the RL agent prevents the S-Net from being misled by high-confidence but incorrect initial predictions.
- ADE20K: CiSS-Net achieved 42.56% mIoU using a ResNet-50 backbone, notably outperforming several larger ResNet-101 based models.
- Cityscapes: The framework reached 79.2% mIoU, establishing a new state-of-the-art at the time of publication.
- PASCAL-Context: Consistent improvements were observed, with an overall 3.9% absolute boost in mIoU over the standard FCN baseline.
Qualitative analysis demonstrates that CiSS-Net successfully corrects errors in small objects (e.g., lamps, pots) and handles tricky reflections that typically deceive standard algorithms. The iterative process (typically 2-3 steps) allows the p-map and context map to "upgrade" each other; for instance, identifying a lake helps the model realize that "trees" inside it are actually reflections.
Conclusion and Future Work
CiSS-Net demonstrates the power of self-generated context and iterative refinement in semantic segmentation. By treating the model's output as a dynamic environment for an RL agent, the system learns to "fact-check" its own predictions. While the iterative nature introduces some computational overhead compared to single-shot networks, the significant gains in accuracy suggest a promising path for future research. Future directions include exploring boundary refinement and hard example mining to better handle the pixels currently labeled as uncertain.
Summary updated