Abstract
Semantic segmentation traditionally relies on dense, pixel-level supervision, which is costly and labor-intensive to acquire. This paper introduces RSS (Reward in Semantic Segmentation), a novel framework that treats segmentation as a reinforcement learning (RL) problem. By utilizing image-level rewards and innovative spatial difference mechanisms, RSS achieves performance comparable to fully supervised methods while significantly reducing the need for granular labels.
Introduction
Semantic segmentation—the process of assigning a categorical label to every pixel in an image—is a cornerstone of computer vision, essential for autonomous driving, robotics, and medical imaging. However, training these models typically requires "pixel-level supervision," where humans must meticulously trace object boundaries. This process is expensive and often impractical for large-scale or real-time applications.
While weakly supervised methods using image-level tags exist, they often struggle with fine details and background "stuff." The authors of this work propose a different approach: training models through reinforcement learning. Instead of comparing predictions to a ground-truth map, the model receives a "reward" based on the quality of its overall output, much like training an agent in a game environment.
The RSS Framework
The core of the RSS framework is the conceptualization of segmentation as an RL task where the model "acts" by predicting a segmentation map and receives feedback via a reward signal.
To overcome the challenges of a massive action space (e.g., every pixel in a high-resolution image), the authors introduced several key components:
- Synchronized Advantages Normalization (SyncAN): This ensures stable training by synchronizing advantage statistics across multiple GPUs during distributed training.
- Progressive Scale Rewards (PSR): To simplify the initial search, PSR starts by sampling actions at low resolutions and gradually scales up to capture finer details.
- Pair-wise Spatial Difference (PSD): This mechanism identifies which specific pixel differences between two candidate maps contributed to a higher reward, allowing for more targeted updates.
Targeted Learning via Spatial Differences
A significant challenge in image-level RL is credit assignment: if a whole image gets a better score, which specific pixels were responsible? The Pair-wise Spatial Difference (PSD) module addresses this by comparing two different segmentation guesses.
By looking at the "spatial difference map," the model can determine that the improvement in reward was due to specific changes in certain regions, effectively turning a global signal into local guidance.
Experimental Results
The researchers evaluated RSS on major benchmarks including Pascal Context, VOC2012, and Cityscapes. Key findings include:
- Closing the Gap: On Pascal Context, RSS achieved an mIoU of 57.93%, coming within 2% of the fully supervised baseline (59.81%).
- State-of-the-Art Weak Supervision: On VOC2012, RSS reached 84.7% mIoU, significantly outperforming existing weakly supervised methods like CLIMS++ (75.3%).
- Robustness: The framework proved effective even on complex urban scenes in Cityscapes, reaching 71.4% mIoU.
The study also highlighted the importance of a "Cold Start" (loading weights from a different dataset), which drastically improved convergence and final accuracy.
Conclusion and Future Directions
RSS demonstrates that reinforcement learning is a viable and powerful alternative to dense supervision for semantic segmentation. While the current study used mIoU as a synthetic reward signal, the ultimate goal is to replace this with real-world feedback, such as human-in-the-loop scores or evaluations from Large Language Models (LLMs). This paves the way for training vision models in environments where explicit labels are unavailable but performance feedback is plentiful, such as within high-fidelity simulators or video games.
Summary updated