Introduction
Semantic labeling—the task of assigning a categorical label to every pixel in an image—is a fundamental challenge in computer vision. Traditional approaches typically rely on parametric models, such as generative or discriminative classifiers trained on large, static datasets. While effective, these models are often "brittle"; incorporating new object categories frequently necessitates retraining the entire system.
An alternative paradigm is label transfer, which leverages a database of annotated images. By retrieving images similar to a query input, annotations can be "transferred" to the new scene. However, the primary hurdle in label transfer is the "matching problem": precisely aligning pixels or superpixels between disparate images is computationally intensive and highly sensitive to noise. This paper introduces Supervised Geodesic Propagation (SGP), a non-parametric framework designed to transfer labels effectively without the need for rigid pixel-to-pixel matching.
The SGP Pipeline
The SGP method shifts the focus from complex global matching to a multi-stage pipeline of "supervised" propagation. The process is designed to be adaptive, learning the context of each specific input image on-the-fly.
The pipeline consists of five key stages:
- Similar Image Retrieval: The system uses GIST descriptors to identify the $K$ most similar images in an annotated database. This set is refined through re-ranking based on local features like HSV color and filter responses.
- Recognition Proposal Map: Rather than using a universal model, a Joint Boost classifier is trained specifically on the retrieved "neighbor" images. This produces a map indicating the likelihood of various categories across the input image.
- Supervised Seed Selection: High-confidence regions in the proposal map are designated as "seeds"—starting points for the labeling process.
- Propagation Indicator: A Random Forest classifier is trained on the similar image set to act as a semantic gatekeeper. It predicts whether neighboring superpixels should share a label based on their joint features.
- Geodesic Propagation: Labels "flow" from seeds to the rest of the image. The "distance" traveled is governed by texture disparities, boundary confidence (via the Berkeley edge detector), and the learned Propagation Indicator.
Key Insights
A core innovation of SGP is the transition from global modeling to local learning. By training classifiers (Joint Boost and Random Forests) only on the retrieved neighbors of the input image, the system becomes context-aware. It doesn't require a comprehensive understanding of every possible object; it only needs to understand the specific environment of the current scene.
Furthermore, the Supervised Propagation Indicator allows the system to learn semantically when to halt label spread. Unlike standard geodesic methods that rely on simple color gradients, SGP's learned "flow" is significantly more robust near complex object boundaries.
Experimental Results
The SGP method was evaluated on three major benchmarks: CamVid (driving scenes), MSRC (object classes), and CBCL StreetScenes.
- Accuracy: On the CamVid dataset, SGP achieved 87.76% accuracy, outperforming previous label transfer benchmarks (84.4%). On MSRC, it reached 79.2%, surpassing traditional boosted models.
- Ablation Study: Results confirmed that the Geodesic Propagation step is vital; on CamVid, accuracy improved from 86.09% (using only the proposal map) to 87.76% after propagation.
- Qualitative Performance: As seen in the figure above, the method is particularly effective at respecting object boundaries and correctly distinguishing foreground objects (like a sheep) from their background (grass).
Limitations and Conclusion
While SGP offers a powerful, adaptive alternative to parametric models, it is not without limitations. The system's performance is heavily dependent on the quality of the initial image retrieval; if the database lacks relevant neighbors, the transfer will fail. Additionally, training two classifiers per input image introduces a computational cost—approximately 85 seconds per image in initial tests. Future work aims to automate parameter selection and optimize the retrieval bottleneck to make the system more scalable for real-time applications.
Summary updated