Learning from Candidate Labeling Sets

Jie Luo, Francesco OrabonaNeurIPS 2010

In the world of machine learning, we often dream of perfectly labeled datasets. In reality, however, data is messy. If you download thousands of images from news sites, you might get a caption like "Barack and Michelle Obama wave from the steps," but the computer doesn't inherently know which face belongs to Barack and which to Michelle. This is known as the "correspondence ambiguity" problem.

To tackle this, researchers Luo Jie and Francesco Orabona introduce a powerful approach: the Candidate Labeling Set (CLS) framework. This framework handles training data where each "bag" of instances is associated with a set of possible labeling vectors, only one of which is correct. Paired with their Maximum Margin Set (MMS) algorithm, this method scales to large datasets and performs nearly as well as fully supervised models.

The Challenge of Weak Labels

Standard supervised learning requires a single, definitive label for every data point. However, in many real-world scenarios—like image tagging, face recognition from news clips, or medical imaging—we only have "weak" labels.

The challenge is that these weak labels often come with implicit constraints that traditional Multiple-Instance Learning (MIL) ignores. For example, if a photo contains two faces and the caption mentions two names, we know each name belongs to exactly one face, and no two faces can share the same name. The authors bridge the gap between having no labels and having perfect labels by formalizing how we can learn from a list of possible labeling combinations.

The Maximum Margin Set (MMS) Algorithm

The core contribution of the paper is the MMS learning algorithm, which operates through several key mechanisms:

  1. The CLS Framework: Instead of labeling instances one by one, data is organized into "bags." Each bag has a set of "candidate labeling vectors." A vector represents a potential assignment of labels for every instance in that bag.
  2. Large-Margin Formulation: The authors define a loss function that penalizes the model if the "best" incorrect labeling vector is too close (in terms of confidence) to the "best" candidate labeling vector.
  3. Optimization via CCCP: The resulting objective function is non-convex (specifically, it's the difference of two convex functions). To solve this, they use the Constrained Concave-Convex Procedure (CCCP), an iterative process that turns the messy non-convex problem into a series of simpler convex sub-problems.
  4. Scaling with Pegasos: To ensure the algorithm can handle hundreds of thousands of instances, the inner optimization loop utilizes the Pegasos framework—a fast stochastic subgradient descent method.

Experimental Results

The authors evaluated MMS on both artificial benchmarks and real-world data.

Artificial Datasets

They modified four standard benchmarks (USPS, Letter, News20, and Covtype) to simulate ambiguity, grouping instances into bags and generating sets of "distractor" labels based on class correlations.

Classification rates across four artificial datasets (USPS, Letter, News20, Covtype) showing MMS performing near the fully supervised upper bound.

As shown in the results above, MMS achieved classification rates remarkably close to an SVM trained on the actual ground-truth labels (the theoretical upper bound, MC-SVM). MMS consistently beat baselines like CL-SVM (a naive approach treating all candidate labels as true) and MIMLSVM (Multiple-Instance Multi-Label SVM). Furthermore, MMS proved highly robust to noise; while baseline methods saw performance drops as the number of candidate labels ($L$) increased, MMS maintained high accuracy.

Real-World Data

Using the Labeled Yahoo! News dataset (over 20,000 images and 31,000 faces), the task was to map names found in captions to the correct faces. On this difficult face-naming task, MMS achieved 85.7% accuracy, significantly outperforming the 1-vs-All SVM (81.6%).

Key Insights

  • Constraints are a Feature, Not a Bug: One of the most counter-intuitive findings is that adding more prior knowledge (which prunes the candidate labeling set) actually makes the algorithm faster. By narrowing down the possibilities, the search space for the optimization shrinks.
  • Structural Encoding: By using labeling vectors rather than independent labels, the model naturally handles "mutual exclusiveness" (e.g., "this face cannot be both Person A and Person B").

Limitations and Future Directions

While highly effective, the approach has limitations. The worst-case inference complexity can still be high if the bag size and number of classes are both very large without specific structural constraints. Additionally, because the problem is non-convex, CCCP only guarantees convergence to a local minimum, meaning initialization matters.

Future work could involve incorporating more complex structural priors, such as using graphs or trees to represent the labeling sets, which could further optimize the search process for specific, highly-structured domains.

Summary updated

BibTeX
@inproceedings{luo2010learning,
  author = {Jie Luo and Francesco Orabona},
  title = {{Learning from Candidate Labeling Sets}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2010},
  url = {https://openreview.net/forum?id=B1NW68Wu-B},
}
Figure