Abstract
We consider the problem of parameter estimation using weakly supervised datasets, where a training sample consists of the input and a partially specified annotation, which we refer to as the output. The missing information in the annotation is modeled using latent variables. Previous methods overburden a single distribution with two separate tasks: (i) modeling the uncertainty in the latent variables during training; and (ii) making accurate predictions for the output and the latent variables during testing. We propose a novel framework that separates the demands of the two tasks using two distributions: (i) a conditional distribution to model the uncertainty of the latent variables for a given input-output pair; and (ii) a delta distribution to predict the output and the latent variables for a given input. During learning, we encourage agreement between the two distributions by minimizing a loss-based dissimilarity coefficient. Our approach generalizes latent SVM in two important ways: (i) it models the uncertainty over latent variables instead of relying on a pointwise estimate; and (ii) it allows the use of loss functions that depend on latent variables, which greatly increases its applicability. We demonstrate the efficacy of our approach on two challenging problems—object detection and action detection—using publicly available datasets.
Introduction
In many real-world machine learning applications, obtaining fully annotated datasets is prohibitively expensive. Instead, we often rely on "weakly supervised" data, where only partial annotations are available. For instance, in object detection, we might know an image contains a specific animal but lack its precise bounding box. This missing information is typically handled using latent variables.
Traditional approaches like Latent SVM (LSVM) or Expectation-Maximization (EM) suffer from a "dual-task" burden. They attempt to use a single distribution to both model uncertainty during training and provide precise predictions at test time. This often leads to sub-optimal performance, as the requirements for these two tasks are inherently different: training requires a "fuzzy" representation to handle noise, while testing requires a "sharp" prediction.
Methodology: Decoupling Uncertainty and Prediction
We propose a framework that explicitly decouples these tasks by employing two distinct distributions:
- Conditional Distribution ($P_\theta$): This distribution models the uncertainty of latent variables for a given input-output pair during the training phase.
- Delta Distribution ($P_w$): This distribution provides a pointwise prediction for both the output and the latent variables during testing.
To bridge these two distributions, we minimize a regularized upper bound on Rao’s Dissimilarity Coefficient. This encourages the two distributions to "agree": if the model predicts the correct output, the uncertainty distribution should be concentrated around the predicted latent variable.
Optimization
The resulting objective function is non-convex and non-smooth. We employ a block coordinate descent approach, alternating between optimizing the prediction parameters ($w$) using the Concave-Convex Procedure (CCCP) and the uncertainty parameters ($\theta$) via Stochastic Subgradient Descent (SSD).
Experimental Results
The framework was evaluated on two computer vision tasks: object detection and action detection.
Object Detection
Using a dataset of six mammal species, the goal was to predict the species and the bounding box using only image-level labels. Our method significantly outperformed standard LSVM and its iterative variant (iLSVM).
As shown in the figure above, the proposed method achieves a 0/1 loss of 47.76, compared to 64.82 for LSVM. It also showed improvements in overlap loss (42.27 vs. 44.93).
Action Detection
For action detection on the PASCAL VOC 2011 dataset, the person's location was treated as the latent variable. The results here were even more pronounced.
Our approach achieved a 0/1 loss of 76.10, a massive improvement over LSVM's 93.18. These gains were statistically significant ($p < 10^{-3}$).
Conclusion
By separating the modeling of uncertainty from the task of prediction, our framework provides a more robust and flexible approach to learning with latent variables. It generalizes LSVM and enables the use of latent-dependent loss functions, which are critical for tasks where the "where" is as important as the "what." Future work will focus on scaling this approach to larger latent spaces and exploring its application in domains like computational medicine.
Summary updated