Abstract
Semantic segmentation typically requires vast amounts of pixel-perfect annotations, which are costly and time-consuming to produce. This paper introduces the "Detailer" network, an architecture designed to excel in data-scarce environments by leveraging inexpensive, coarse annotations alongside a limited set of fine-grained labels. By framing segmentation as a residual learning task—refining a rough mask into a detailed one—the proposed method achieves a 15.52% mIoU improvement over standard baselines in scenarios with as few as 200 training images.
Introduction
Assigning a categorical label to every pixel in an image is a fundamental challenge in computer vision. While state-of-the-art models achieve impressive results, they are notoriously data-hungry. For datasets like Cityscapes, a single high-quality "fine" annotation requires approximately 1.5 hours of manual labor. In contrast, "coarse" annotations, consisting of rough polygons, can be produced in just 7 minutes. This research explores the "scarce data" regime: can we bridge the performance gap using a small budget of high-quality labels supplemented by abundant, low-quality ones?
The Detailer Architecture
The authors propose the Detailer network, built upon the Pyramid Scene Parsing Network (PSPNet) framework. The primary innovation is the integration of coarse spatial priors directly into the feature extraction and prediction pipeline.
As shown in the conceptual overview, the model processes both the RGB image and a corresponding coarse mask. The coarse mask is transformed into a one-hot encoded tensor and passed through a 1x1 convolution to create a feature embedding. This embedding is then "injected" into the main network at specific stages.
Ablation studies identified the "After-Final" injection point—occurring after the final convolution block—as the most effective. Crucially, the architecture employs an identity-skip connection that adds the coarse mask directly to the network's final output. This design choice shifts the learning objective: instead of predicting a scene from scratch, the network learns the residual or "delta" required to correct the boundaries of the coarse prior.
Experimental Setup
The study utilizes the Cityscapes dataset, which provides both fine (5,000 images) and coarse (25,000 images) annotations. To simulate data scarcity, the authors trained models on subsets of 10, 25, 50, 100, and 200 finely labeled images.
Key Insights
- Residual Learning: Treating the rough sketch as a prior simplifies the optimization problem. It is significantly easier for a model to refine existing edges than to discover and delineate objects entirely from visual features.
- The Resolution Paradox: In extreme scarcity, lower-resolution inputs (340x340) surprisingly outperformed higher-resolution ones (850x850). The authors attribute this to overfitting; high-resolution models possess a higher capacity for complexity that can lead to memorization when the training set is very small.
- Distillation for Deployment: The Detailer can act as a "teacher" to refine coarse masks for unlabeled data. A standard "student" network can then be trained on these high-quality synthetic labels, allowing for deployment without requiring coarse masks at inference time.
Results
The Detailer consistently outperformed the standard PSPNet baseline across all tested scarcity levels. On average, the method provided a 15.52% mIoU boost. Notably, with only 10 training images, the Detailer achieved 44.25% mIoU, nearly doubling the performance of a standard classifier (23.54%). Furthermore, the model improved upon its own input, refining coarse masks by an average of 5.28% mIoU.
Conclusion
The Detailer demonstrates that coarse annotations are a powerful, underutilized resource for training segmentation models under tight data constraints. By focusing on learning the corrections to a rough prior, the network achieves high fidelity with minimal human effort. Future work may extend this refinement approach to other domains, such as medical or satellite imagery, where coarse priors are often readily available.
Summary updated