Optimizing Average Precision Using Weakly Supervised Data

Aseem Behl, C. V. Jawahar, M. Pawan Kumar

Abstract

The performance of binary classification tasks, such as action classification and object detection, is often measured in terms of the average precision (AP). Yet it is common practice in computer vision to employ the support vector machine (SVM) classifier, which optimizes a surrogate 0-1 loss. The popularity of SVM can be attributed to its empirical performance. Specifically, in fully supervised settings, SVM tends to provide similar accuracy to the AP-SVM classifier, which directly optimizes an AP-based loss. However, we hypothesize that in the significantly more challenging and practically useful setting of weakly supervised learning, it becomes crucial to optimize the right accuracy measure. In order to test this hypothesis, we propose a novel latent AP-SVM that minimizes a carefully designed upper bound on the AP-based loss function over weakly supervised samples. Using publicly available datasets, we demonstrate the advantage of our approach over standard loss-based binary classifiers on two challenging problems: action classification and character recognition.

Introduction

In computer vision, binary classification tasks like action recognition are typically evaluated using Average Precision (AP), a metric that emphasizes the ranking of positive samples. However, standard learning frameworks like Support Vector Machines (SVMs) optimize for 0-1 loss, which treats all misclassifications equally regardless of their rank. This discrepancy is manageable in fully supervised settings but becomes a significant bottleneck in weakly supervised learning.

Weakly supervised data provides image-level labels without precise spatial annotations (e.g., bounding boxes). This missing information is treated as a latent variable. While Latent Structural SVMs (Latent SSVM) attempt to address this, they often rely on non-intuitive prediction rules and loose mathematical bounds, leading to suboptimal performance.

Methodology

The proposed Latent AP-SVM framework bridges the gap between ranking metrics and latent-variable learning through three key components:

  1. Two-Step Prediction Rule: Instead of a complex joint optimization, Latent AP-SVM first identifies the most likely latent variable (e.g., the best bounding box) for each sample. It then ranks the samples based on these maximized scores. This approach is more intuitive and computationally tractable.
  2. Tighter Loss Bound: The authors derive a tighter upper bound on the AP loss compared to standard Latent SSVM formulations. A tighter bound ensures that minimizing the surrogate loss more effectively minimizes the true AP loss, leading to better generalization.
  3. CCCP Optimization: The framework utilizes the Concave-Convex Procedure (CCCP) to handle the non-convex nature of the objective function. CCCP decomposes the problem into a sequence of convex sub-problems, facilitating efficient convergence to a reliable local minimum.

Experimental Results

The researchers evaluated Latent AP-SVM on the PASCAL VOC 2011 action classification dataset and the IIIT 5K-WORD character recognition dataset.

Action Classification

On the PASCAL VOC 2011 dataset, the model was tested under varying degrees of supervision. As shown in Figure 1, Latent AP-SVM demonstrates superior robustness as the amount of full supervision (bounding box data) decreases.

Mean Average Precision vs. Amount of full-supervision across different models.

The performance gap between Latent AP-SVM and baselines like Latent SSVM and standard Latent SVM widens significantly in the most challenging weakly supervised settings (0% full supervision).

Detailed performance comparison across action classes in PASCAL VOC 2011.

As detailed in Table 1 (Figure 6), Latent AP-SVM achieved an overall mean AP of 44.6%, compared to 40.9% for Latent SSVM and 39.5% for Latent SVM. Significant improvements were observed in actions such as "Jump" (45.7% vs 37.6%) and "Ride bike" (75.5% vs 71.2%).

Character Recognition

In character recognition tasks, where the character's location within a word is latent, Latent AP-SVM showed a 3.5% improvement in mean AP for statistically significant character classes compared to standard latent models.

Conclusion

Latent AP-SVM demonstrates that optimizing the "right" loss function is critical when dealing with weakly supervised data. By directly targeting Average Precision and employing efficient optimization strategies, the framework provides a robust solution for complex computer vision tasks where full supervision is costly or unavailable. Future work will explore scaling this approach to larger datasets and handling noisy labels from web-crawled data.

Summary updated

BibTeX
@inproceedings{behl2014optimizing,
  author = {Aseem Behl and C. V. Jawahar and M. Pawan Kumar},
  title = {{Optimizing Average Precision Using Weakly Supervised Data}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2014},
  url = {https://openreview.net/forum?id=rJNpn1f_bS},
}
Figure