Abstract
Training high-quality semantic segmentation models typically requires exhaustive pixel-perfect manual labeling, which is expensive and difficult to scale. This paper presents MSIL-CRF, a framework that leverages abundant, "cheap" bounding box annotations alongside a small fraction of fully labeled data. By treating bounding boxes as "bags" of potential segment hypotheses and employing a structured Multiple Instance Learning (MIL) approach integrated into a Conditional Random Field (CRF), the model automatically discovers the most likely object shapes. Evaluated on the Pascal VOC 2007 dataset, MSIL-CRF achieves a 77.78% mean accuracy, outperforming standard baselines and demonstrating that inferred segments can effectively substitute for expensive manual annotations.
Introduction
Semantic segmentation—assigning a category label to every pixel in an image—is a cornerstone of computer vision but suffers from a significant data bottleneck. While drawing a bounding box is a quick task, creating precise pixel-wise masks can take minutes per object. This paper addresses the challenge of using these "cheap" bounding boxes to train models that traditionally require expensive pixel-level masks. Existing weakly supervised methods often struggle with the uncertainty of which pixels within a box belong to the object versus the background. MSIL-CRF bridges this gap by using a small set of fully labeled data to guide the interpretation of bounding box content.
The MSIL-CRF Framework
The proposed approach, Multiple Structured-Instance Learning into Conditional Random Fields (MSIL-CRF), operates through a multi-stage pipeline:
- Hypothesis Generation: For every bounding box, the system generates multiple "tight segment" hypotheses—potential shapes that touch all four sides of the box.
- MIL Formulation: Each bounding box is treated as a "positive bag" containing several segment "instances." The goal is to identify the most accurate instance within each bag.
- Structured CRF Integration: Unlike standard MIL, which operates on flat feature vectors, MSIL-CRF treats each instance as a structured segment (a graph of superpixels). The MIL principle is integrated directly into a CRF energy function.
- Energy Function and Optimization: The CRF ranks hypotheses based on instance-specific cues (color/texture), class-consistent features transferred from labeled data, and pairwise spatial smoothness. The model is optimized using a "smooth maximum" trick, allowing for gradient-based solvers like L-BFGS.
Experimental Evaluation
The framework was evaluated on the Pascal VOC 2007 dataset. To simulate a resource-constrained scenario, the authors used only 10% of the data as fully labeled segments, treating the remaining 90% as bounding box data.
Key Results
- Figure-Ground Accuracy: MSIL-CRF achieved a 77.78% mean accuracy in identifying object shapes within bounding boxes, significantly outperforming baselines such as GrabCut (71.90%) and DCCoSeg (65.90%).
- Downstream Performance: When inferred segments were used to train a full semantic segmentation model, it achieved an average accuracy of 26.01%, slightly surpassing the 25.51% achieved when training on manually labeled ground truth. This suggests the model acts as a regularizer, ignoring inconsistencies often present in human annotations.
Discussion and Conclusion
While MSIL-CRF shows strong performance, it is limited by the quality of the initial hypothesis generator; if no "tight segment" is close to the ground truth, the model cannot recover. Additionally, highly complex classes like 'Chair' remain challenging due to high intra-class variation. Despite these limitations, the framework provides a practical and efficient tool for data annotation pipelines, requiring only about two minutes of training per class. Future work may involve extending the structured MIL framework to handle negative bags and more complex contextual recognition tasks.
Summary updated