Abstract
Learning from Label Proportions (LLP) is a machine learning paradigm where training data is organized into groups, or "bags," and only the average label of each bag is known. This setting is increasingly critical for privacy-preserving applications, such as aggregate conversion reporting in digital advertising. Historically, the theoretical sample complexity for LLP was thought to scale poorly—quadratically or cubically—with the bag size $k$. This paper introduces novel algorithms for square loss that achieve nearly optimal sample complexity, scaling linearly with $k$. By employing variance-reduction techniques such as clipping and truncation, the proposed methods significantly outperform previous state-of-the-art approaches in both theoretical bounds and empirical performance across standard benchmarks.
Introduction
In many modern data environments, privacy regulations and high labeling costs prevent access to individual-level labels. Instead, researchers often work with aggregate data. For instance, platforms like Apple’s SKAdNetwork and Google’s Privacy Sandbox report user actions at a group level to protect individual identities. The goal of Learning from Label Proportions (LLP) is to train a model on these aggregate bags that can accurately predict labels for individual examples at inference time.
The primary challenge in LLP is the "information tax" associated with aggregation. As the bag size ($k$) increases, the signal-to-noise ratio typically degrades. Previous theoretical work suggested that the number of samples required to maintain accuracy might grow as $O(k^2)$ or even $O(k^3)$. This paper addresses a fundamental question: Can we reach the theoretical limit of sample complexity for LLP, where the requirement scales only linearly with the bag size?
Methodology
The authors focus on the square loss function and identify that the core obstacle to efficient learning is not bias, but explosive variance. While standard bag-level loss functions provide an unbiased estimator of individual loss, their variance increases rapidly with $k$. To mitigate this, the authors propose two primary algorithmic strategies:
1. Empirical Risk Minimization (ERM) with Clipping
The authors develop a "clipped" bag-level square loss. By intentionally ignoring extreme values that are statistically unlikely to represent the true distribution, the algorithm introduces a negligible amount of bias in exchange for a massive reduction in variance. This trade-off allows the model to remain stable even as bag sizes grow.
2. Stochastic Gradient Descent (SGD) with Truncation
For linear predictors, the authors introduce an SGD variant that utilizes a truncated gradient. If a specific bag's feature centroid deviates significantly from the population mean, the update for that bag is skipped. This prevents high-variance noise from destabilizing the model's weights during the optimization process.
Theoretical Bounds
The mathematical analysis proves that these variance-reduction methods achieve a sample complexity of $O(k/\beta)$ in the realizable case (where a perfect model exists) and $O(k/\beta^2)$ in the non-realizable case. This represents a significant improvement over prior polynomial bounds, effectively "shaving" off factors of $k$.
Experimental Evaluation
The researchers evaluated their algorithms against recent baselines, including EasyLLP and methods proposed by Li et al. (2024). The experiments utilized four standard benchmarks binarized for the LLP setting:
- MNIST: Handwritten digits (Even vs. Odd).
- CIFAR-10: Image recognition (Animal vs. Machine).
- Higgs: High-energy physics data for particle process classification.
- UCI Adult: Tabular data for income prediction.
Testing was conducted across a wide range of bag sizes, from $k=1$ (standard supervised learning) to $k=512$.
Key Results
- Linear Scaling Breakthrough: The experiments confirmed that the "bag size tax" can be limited to linear scaling. The proposed method maintained high accuracy even at $k=512$, whereas baseline methods often saw performance "fall off a cliff" at bag sizes of 256 or higher.
- Computational Efficiency: Due to the lower variance of the loss estimates, the proposed models converged significantly faster. This dominance was particularly evident in scenarios with limited training epochs.
- Variance Stability: Empirical plots verified that the variance of the authors' loss estimate remained nearly constant as bag size increased, contrasting with prior methods where variance grew linearly with $k$.
Discussion and Future Work
This work establishes that nearly optimal sample complexity is achievable for LLP using square loss. The transition from polynomial to linear scaling with respect to bag size $k$ is a major step forward for the practical application of LLP in privacy-sensitive domains.
However, several avenues for future research remain. The current tight theoretical bounds are specific to square loss; extending these results to log loss (the standard for deep learning) is challenging because log loss is unbounded. Additionally, the current analysis is restricted to binary classification. Future work will focus on extending these variance-reduction techniques to multiclass problems and exploring their robustness in non-i.i.d. settings where data distributions may drift over time.
Summary updated