(Almost) No Label No Cry

Giorgio Patrini, Richard Nock, Tibério S. Caetano, Paul RiveraNeurIPS 2014

In traditional supervised learning, training a model requires a label for every single data point. However, in many real-world scenarios, obtaining individual labels is impossible or impractical. This paper introduces a powerful framework for Learning with Label Proportions (LLP), where a model learns to classify individual instances using only the percentage of positive labels in a group (a "bag") rather than individual labels.

The authors demonstrate that a single statistic—the "mean operator"—is sufficient for training many common classifiers. Building on this, they provide new algorithms that consistently outperform the state-of-the-art, sometimes rivaling models trained on fully labeled data.

The Challenge of Missing Individual Labels

Why would we only have access to group-level proportions?

  1. Privacy: Medical datasets might reveal that 20% of patients in a specific hospital wing have a disease, but HIPAA regulations prevent identifying which patients.
  2. Measurement Limits: Industrial sensors might only provide an aggregate reading for an entire batch of manufactured items.
  3. Cost: Labeling every single data point is expensive. Getting a "ballpark" proportion for a group is often much cheaper and faster.

The core challenge in LLP is bridging the gap between these coarse, group-level statistics and the fine-grained individual classifications we actually want. Previous methods often relied on the "homogeneity assumption"—the flawed idea that the distribution of features is identical across all groups.

A New Approach: LMM and AMM

The authors propose two primary algorithms based on a crucial mathematical insight: the mean operator (the average feature vector of the positive class) is a "minimally sufficient statistic" for many loss functions, including logistic and square loss. You don't actually need to know who has the label to train a linear classifier; you just need to know the average characteristics of the positive class.

  • LMM (Laplacian Mean Map): This is a "one-shot" algorithm that discards the homogeneity assumption. Instead, it uses a Laplacian manifold regularizer. It assumes that if two bags are similar in their overall feature space, their internal label distributions should also be similar. This allows the model to estimate the mean operator much more accurately than previous methods by leveraging the relationships between bags.
  • AMM (Alternating Mean Map): This is an iterative refinement technique. It starts with the LMM solution and alternates between two steps: (1) finding a set of individual labels that are consistent with the known bag proportions, and (2) updating the classifier to better fit those "hallucinated" labels.

To back these algorithms, the authors introduce a new theoretical framework for LLP using Rademacher complexity, providing mathematical guarantees on how well these models will generalize to unseen data.

Experimental Validation

The researchers evaluated their algorithms on 14 different domains, ranging from small datasets (fewer than 1,000 instances) to massive domains like Mushroom, Adult, Marketing, and Census (up to 300,000 observations). To simulate real-world scenarios, they created bags based on actual features (e.g., grouping by "education level" or "job type") rather than random assignment, creating structured, non-homogeneous bags.

Key Results

State-of-the-Art Performance: AMM and LMM consistently outperformed existing methods like $\propto$SVM and InvCal across almost all datasets.

Pairwise win/tie/loss records comparing LMM and AMM against baselines like InvCal and SVM.

Rivaling the Oracle: On several datasets, the AMM algorithm achieved an Area Under the Curve (AUC) that was within 1-2% of the "Oracle"—a theoretical model trained with 100% of the individual labels.

Performance of LMM and AMM relative to baselines and the Oracle across varying divergence, entropy, and bag-to-instance ratios.

Scalability and Data Efficiency: The proposed algorithms are highly scalable. On the "Adult" dataset, the competing $\propto$SVM algorithm took over 100 hours to run, whereas LMM and AMM handled 300,000 samples with ease. Furthermore, on the Census dataset, providing just 5 proportions for 300,000 rows (roughly 40,000 times less information than full labeling) was enough to train a highly competitive model.

Insights and Limitations

One of the most striking insights from this work is that privacy is fragile. "Anonymizing" data by only providing aggregate proportions offers surprisingly little protection. If a researcher has access to individual features and just a few group proportions, they can often reconstruct a classifier that is nearly as accurate as one trained on private, individual labels.

However, the approach does have limitations:

  • Linearity: The core theoretical results and algorithms are primarily designed for linear classifiers, though kernelization is possible.
  • Bag Dependency: Performance depends on how bags are formed. If the bags have very high entropy (meaning the proportions are all near 50%), the task becomes significantly harder, as the aggregate statistics lose their discriminative power.

Future work may extend these techniques to other weakly supervised tasks and potentially integrate them into deep learning architectures where the mean operator could be estimated via neural layers.

Summary updated

BibTeX
@inproceedings{patrini2014almost,
  author = {Giorgio Patrini and Richard Nock and Tibério S. Caetano and Paul Rivera},
  title = {{(Almost) No Label No Cry}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2014},
  url = {https://openreview.net/forum?id=HyWzRObdbH},
}
Figure