Learning from Label Proportions: Bootstrapping Supervised Learners via Belief Propagation

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

Abstract

Learning from Label Proportions (LLP) is a challenging weakly supervised learning paradigm where training data is provided in aggregates (bags) with known label proportions rather than individual labels. This paper introduces a novel iterative framework that bridges coding theory and deep learning. By employing Belief Propagation on a k-Nearest Neighbor graph to generate pseudo-labels, followed by deep embedding refinement, the proposed method achieves significant performance gains over state-of-the-art baselines. The approach demonstrates remarkable resilience to large bag sizes and scales effectively to datasets with millions of samples.

Introduction

In many real-world machine learning applications, privacy constraints or data collection limitations prevent access to individual-level labels. For instance, in healthcare or demographic studies, data might only be available as aggregate statistics for specific groups (e.g., "20% of patients in this clinic have a certain condition"). This setting is known as Learning from Label Proportions (LLP).

The primary challenge in LLP is the "information gap" between aggregate supervision and the goal of training an individual-level classifier. As the size of the bags increases, the signal for any single instance becomes increasingly diluted, causing many existing LLP methods to fail. This paper addresses these challenges by treating LLP as a decoding problem, leveraging the structural similarities between data points to recover hidden labels.

Methodology: An Iterative Bootstrapping Framework

The authors propose a two-stage iterative framework that progressively refines instance-level labels and data representations.

Step 1: Pseudo-Labeling via Belief Propagation

The problem is modeled using a Gibbs distribution (specifically an Ising model) that incorporates two types of constraints:

  1. Bag Constraints: The sum of predicted labels within a bag must align with the known bag proportion.
  2. Covariate Similarity: Instances with similar features are likely to share the same label. This is represented via a k-Nearest Neighbor (k-NN) graph.

By applying Sum-Product Belief Propagation (BP), the framework estimates the marginal probabilities for each instance, effectively "decoding" the aggregate bag labels into individual pseudo-labels.

Step 2: Embedding Learning and Refinement

The generated pseudo-labels are used to train a Deep Neural Network (DNN). The DNN architecture features two distinct heads:

  • An Instance Label Head that fits the individual pseudo-labels.
  • An Aggregate Label Head that ensures the model's predictions remain consistent with the original bag proportions.
The iterative two-stage framework: (1) Pseudo-labeling via Belief Propagation on a k-NN graph, and (2) Embedding learning to refine data representations and re-calculate the graph.

The process is iterative: the refined embeddings from Step 2 are used to re-calculate the k-NN graph, which in turn improves the accuracy of the Belief Propagation in the next iteration.

Experimental Evaluation

The framework was evaluated on diverse datasets, including tabular data (Adult, Marketing), large-scale advertising data (Criteo), and image data (CIFAR-10).

Performance and Scalability

The method consistently outperformed state-of-the-art (SOTA) baselines. Notably, on the CIFAR-S dataset with large bags, it surpassed the nearest competitor by approximately 20%. One of the most significant findings is the method's robustness to bag size. While traditional LLP methods often degrade as bag sizes reach 512 or 1024, this framework maintains high performance even with very few bags.

Performance comparison on Adult and Marketing datasets across various bag sizes. 'Ours-Itr-2' consistently shows improvement over 'Ours-Itr-1' and other baselines.

The approach also scales remarkably well. On the Criteo dataset, which contains one million samples, the Belief Propagation step completes in just a few minutes on a standard GPU, demonstrating its practical utility for industrial-scale applications.

Key Insights

  • Coding Theory Analogy: Viewing LLP as a decoding task allows the use of powerful probabilistic tools like Belief Propagation. Bag proportions act as parity checks, while neighbor similarities provide local consistency.
  • Efficiency of 1-NN: The authors found that a simple 1-Nearest Neighbor graph is often sufficient to capture the necessary local structure, significantly reducing computational overhead.
  • The Power of Iteration: The bootstrapping mechanism—using learned features to improve the graph structure—is crucial for maximizing performance, as evidenced by the gains from the first to the second iteration.

Conclusion and Future Work

This research presents a scalable and robust solution for the LLP problem by combining graph-based probabilistic inference with deep learning. While the results are promising, several avenues for future work remain. These include exploring different energy potentials for the Gibbs distribution and developing a deeper theoretical understanding of BP convergence on these specific graph topologies. Additionally, addressing implementation challenges like integer overflow in extremely large bags will be important for further scaling.

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