Learning from Label Proportions: Bootstrapping Supervised Learners via Belief Propagation

Shreyas Havaldar, Navodita Sharma, Shubhi Sareen, Karthikeyan Shanmugam, Aravindan Raghuveer

TL;DR

This paper introduces a powerful new framework for Learning from Label Proportions (LLP), a setting where models are trained on groups (bags) of data with only aggregate labels (e.g., "30% of this group is positive"). By borrowing "Belief Propagation" techniques from coding theory and combining them with deep learning, the authors achieve up to a 15% performance boost over current methods, maintaining robustness even when bags contain thousands of individuals.

The Challenge of Aggregate Data

In many real-world scenarios—like digital advertising or medical research—privacy is paramount. Instead of knowing exactly which individual clicked an ad or has a specific condition, researchers often only get aggregate data: "In this group of 500 people, 50 clicked." This is the core of the Learning from Label Proportions (LLP) problem.

The primary challenge is training an accurate individual-level classifier when you never actually see an individual's true label during training. Existing methods often struggle as "bag sizes" get larger because the supervision becomes incredibly weak; the signal for any single data point gets lost in the crowd.

A Bootstrapped, Two-Stage Framework

To tackle this, the authors propose an iterative, two-stage framework that "bootstraps" its way to better labels by alternating between pseudo-label generation and representation learning.

Iterative framework for Learning from Label Proportions

1. Pseudo-Labeling via Belief Propagation (BP)

The researchers treat the problem like decoding a corrupted message in a communications channel. They define a Gibbs distribution (an energy-based model) that balances two goals:

  • Bag Constraints: The sum of predicted labels in a bag should match the known proportion.
  • Covariate Similarity: If two points are "near" each other in feature space (calculated via a k-Nearest Neighbors graph), they should probably have the same label.

They use Belief Propagation, a classic algorithm for graphical models, to efficiently estimate the individual "pseudo-labels" that best satisfy these constraints.

2. Embedding Refinement

Once they have these pseudo-labels, they train a Deep Neural Network (DNN). As shown in the architecture diagram above, this network utilizes a clever dual-head design: one head fits the individual pseudo-labels, while an "aggregate head" ensures the bag-level proportions are still respected. This process produces a better "embedding" (a more meaningful numerical representation) of the data.

The Loop: The algorithm then uses these refined embeddings to re-calculate the k-NN graph and repeats the process. By the final iteration, the model has bootstrapped itself from vague group statistics to sharp individual predictions.

Key Insights and Innovations

  • The Coding Theory Connection: The most elegant conceptual leap is viewing LLP through the lens of error-correcting codes. In coding theory, "parity checks" help recover bits; here, bag proportions act as a generalized version of those checks.
  • 1-NN is Enough: Surprisingly, the authors found that using just the single nearest neighbor (1-NN) for the similarity constraints captures most of the performance gains. This makes the graph "cycle-free" (a forest), which is the ideal scenario for Belief Propagation to work perfectly and quickly.
  • Scalability: Unlike many previous LLP methods that involve complex optimizations, Belief Propagation on sparse graphs is extremely fast. The authors successfully ran this on a million samples with minimal overhead.

Experimental Results

The authors tested their approach across diverse data types, including tabular data (Adult Income, Bank Marketing), large-scale advertising (Criteo), and image data (CIFAR-B and CIFAR-S). The proposed method, denoted as Ours-Itr-2, consistently outperformed state-of-the-art (SOTA) baselines.

Performance comparison on Tabular datasets across varying bag sizes
  • Massive Gains in Weak Supervision: On the Adult dataset with a bag size of 1024, the model demonstrated massive improvements over standard baselines, showcasing up to a 15% accuracy boost against competitors.
  • Robustness to Bag Size: Most LLP methods fall apart when bag sizes exceed 512. As seen in the results table, this framework remained remarkably stable even with bag sizes of 2048, nearly bridging the gap to models trained with full individual labels.
  • Criteo Success: On the massive Criteo dataset (1 million samples), it achieved a 0.8% AUC improvement. While that sounds small, in the world of ad-tech, a sub-1% gain on Criteo is considered a major breakthrough.

Limitations and Future Work

While the results are impressive, the authors note a few areas for further exploration:

  • Energy Potentials: The current model uses quadratic terms in its energy function. Exploring different types of "potentials" might lead to even better label recovery.
  • Theoretical Depth: While the empirical results are strong, a deeper theoretical proof of why BP converges so effectively in this specific supervised learning context remains an open question.
  • Complexity of Aggregation: The authors experimented with complex "Multi-Head Attention" for bag aggregation but found simple average pooling worked best. Understanding why simpler is better here could be a fruitful research path.

Summary updated

BibTeX
@inproceedings{havaldar2024learning,
  author = {Shreyas Havaldar and Navodita Sharma and Shubhi Sareen and Karthikeyan Shanmugam and Aravindan Raghuveer},
  title = {{Learning from Label Proportions: Bootstrapping Supervised Learners via Belief Propagation}},
  booktitle = {International Conference on Learning Representations},
  year = {2024},
  url = {https://openreview.net/forum?id=KQe9tHd0k8},
}
Figure