Introduction
Training state-of-the-art deep learning models for computer vision typically requires extensive "full annotations," such as precise bounding boxes for every object of interest. However, the cost of labeling millions of images at this level of detail is prohibitive. Weakly Supervised Learning (WSL) offers a solution by attempting to learn localized detectors using only global image-level labels (e.g., "this image contains a library").
The traditional approach to WSL involves the Latent Structural SVM (LSSVM), which searches for a single latent variable ($h^+$)—the best-matching region—to justify a label. However, this approach often fails in ambiguous or cluttered scenes. For instance, a model might correctly identify a "bookcase" in a "library" image, but it might also find a similar bookcase in a "cloister" image. To improve discriminative power, a model must account for the absence of class-specific evidence.
The MANTRA Framework
To address these limitations, we introduce MANTRA (Minimum mAximum lateNt sTRucturAl SVM). The core innovation of MANTRA is a scoring function that incorporates a pair of "min-max" latent variables:
$$D_w(x, y) = s(h^+) + s(h^-)$$
- $h^+$ (The Maximum): The latent region providing the strongest positive evidence for class $y$.
- $h^-$ (The Minimum): The latent region providing the "least" evidence, effectively serving as an indicator of the class's absence.
By summing these scores, the model is penalized if it fails to find a representative region ($h^+$) or if it identifies a region that strongly contradicts the class ($h^-$). This "evidence of absence" acts as a powerful latent space regularizer, forcing the model to learn what a class isn't as much as what it is.
Optimization and Ranking
Standard LSSVMs often rely on the Concave-Convex Procedure (CCCP), which is computationally expensive and slow to converge. MANTRA utilizes a direct cutting plane algorithm with a one-slack formulation. This shift significantly improves training efficiency; for example, on the UIUC-Sports dataset, MANTRA trained 30 times faster than traditional LSSVM.
Furthermore, MANTRA is specifically adapted to optimize for Average Precision (AP), a critical metric in information retrieval and ranking tasks. By decoupling latent variables from the ranking matrix, MANTRA makes the previously intractable problem of weakly supervised AP optimization solvable.
Experimental Results
MANTRA was evaluated across six diverse datasets, including 15-Scene, MIT 67 Indoor Scenes, and PASCAL VOC. Key findings include:
- Performance Gains: On the PPMI and MIT67 datasets, MANTRA outperformed LSSVM by approximately 30 percentage points in multi-class accuracy using identical deep features.
- State-of-the-Art Ranking: In VOC 2011 Action classification, MANTRA-AP achieved a Mean Average Precision (MAP) of 42.2%, a significant improvement over the previous benchmark of 36.7%.
- Localization Accuracy: Despite being trained only on global labels, MANTRA's $h^+$ regions successfully localized semantic parts (such as a person playing a violin) more accurately than competing WSL methods.
Conclusion
MANTRA demonstrates that incorporating evidence of absence through a min-max latent structure significantly enhances the performance and efficiency of weakly supervised models. While the optimization remains non-convex, the speed and accuracy gains suggest that MANTRA is a robust framework for scaling WSL to complex, real-world datasets. Future work will explore extending this framework to semantic segmentation and metric learning.
Summary updated