NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

C-MIL: Continuation Multiple Instance Learning for Weakly Supervised Object Detection

Fang Wan, Chang Liu, Wei Ke, Xiangyang Ji, Jianbin Jiao, Qixiang Ye

Abstract

Weakly Supervised Object Detection (WSOD) aims to train object detectors using only image-level labels. A common failure mode in standard Multiple Instance Learning (MIL) is the tendency to localize only the most discriminative parts of an object rather than its full extent. We present Continuation Multiple Instance Learning (C-MIL), which employs a continuation optimization strategy. By gradually smoothing the loss function, C-MIL avoids poor local minima and learns to identify the complete object, significantly improving localization accuracy on benchmark datasets.

Introduction: The Part-Localization Challenge

Weakly Supervised Object Detection (WSOD) is a scalable alternative to fully supervised detection, requiring only image-level annotations (e.g., "bird") instead of precise bounding boxes. The standard framework for WSOD is Multiple Instance Learning (MIL), where an image is treated as a "bag" of region proposals.

However, MIL often suffers from a non-convexity problem. Because any part of an object can trigger a positive classification, the model frequently converges to a local minimum that identifies only the most distinctive feature—such as a bird's head—while ignoring the body. This "part-localization" issue results in poor detection performance compared to models trained with full supervision.

Methodology: Smoothing the Optimization Landscape

C-MIL addresses the non-convexity of MIL by introducing a continuation optimization strategy. Instead of solving the complex MIL objective directly, the method solves a sequence of increasingly difficult "smoothed" problems.

Comparison of standard MIL and the proposed C-MIL. Standard MIL (a) often gets stuck in local minima focusing on discriminative parts. C-MIL (b) uses a continuation parameter to smooth the loss function, gradually refining the localization from broad subsets to the full object.

The Continuation Parameter (λ)

The core of C-MIL is a parameter λ that evolves from 0 to 1 during training. This parameter controls the degree of smoothing applied to the loss function. The authors found that a logarithmic increase for λ worked best—starting fast to move away from the initial random state, then slowing down to meticulously refine the detector in later epochs.

  • Initial Phase (λ ≈ 0): The loss function is highly smoothed by considering large subsets of spatially and class-related instances. This forces the network to capture the "big picture" and prevents premature convergence on small parts.
  • Refinement Phase (λ → 1): As training progresses, the subsets shrink, and the loss function approaches the standard MIL objective, allowing the model to focus on individual high-scoring instances with refined boundaries.

Two-Pronged Strategy

  1. Continuation Instance Selection: Proposals are partitioned into subsets based on spatial overlap. Early in training, scores are averaged across these subsets to maintain a holistic view of the object.
  2. Continuation Detector Estimation: The model gradually adjusts the threshold for positive instances, allowing the detector to refine its boundaries as the instance selector becomes more confident.

Experimental Results

C-MIL was evaluated on the PASCAL VOC 2007 and 2012 datasets using VGG16 backbones and Selective Search proposals.

Performance Benchmarks

C-MIL achieved state-of-the-art results for weakly supervised detection at the time of publication:

  • VOC 2007: Achieved 50.5% mAP, outperforming previous methods like MELM (47.3%) and OICR (41.2%).
  • VOC 2012: Achieved 46.7% mAP, maintaining a significant lead over competitors.

Localization Accuracy

On the "CorLoc" metric, which evaluates the correctness of the top-scoring box, C-MIL showed a 3-5% improvement over standard MIL. This confirms that the continuation strategy effectively helps the model discover the full extent of objects rather than just fragments.

Conclusion

C-MIL demonstrates that the primary bottleneck in weakly supervised object detection is the optimization landscape. By smoothing the loss function through a continuation strategy, the model successfully avoids the "part-localization" trap. While a performance gap still exists relative to fully supervised methods, C-MIL represents a significant step toward making weakly supervised learning a viable tool for large-scale computer vision.

Summary updated

BibTeX
@inproceedings{wan2019c,
  author = {Fang Wan and Chang Liu and Wei Ke and Xiangyang Ji and Jianbin Jiao and Qixiang Ye},
  title = {{C-MIL: Continuation Multiple Instance Learning for Weakly Supervised Object Detection}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2019},
  doi = {10.1109/cvpr.2019.00230},
}
Figure