arXiv:2610.21262cs.LGOct 2026

Manuscript Offprint

arXiv:2610.21262

Rethinking Learning from Label Proportions via Moment Matching

Tianhao Ma, Wei Wang, Yivan Zhang, Dong-Dong Wu, Takashi Ishida, Gang Niu, Masashi Sugiyama

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

Learning from label proportions (LLP) is a weakly supervised setting where training data are grouped into bags with only bag-level label proportions observed, and the goal is to learn a classifier that predicts labels for individual instances. Recently, a large body of methods has emerged; however, most of them rely on the assumption that instance–label pairs are sampled i.i.d. and randomly assembled into bags, an assumption often violated in real-world scenarios. Our experimental results indicate that these methods perform suboptimally under non-random settings. In this work, we adopt a more realistic assumption: bags are sampled i.i.d., and instance labels are conditionally independent given the instances. Under this setting, we show that the label counts follow a Poisson multinomial distribution. Motivated by this observation, we propose LLP via moment matching (LLP-MM), a simple yet effective approach which leverages multi-order factorial moments as training objectives, encouraging the classifier predictions to match these moments and thereby more fully exploit the underlying statistical structure of the data. Extensive experiments on benchmark datasets under various bag construction strategies demonstrate the effectiveness of our approach while maintaining high computational efficiency. Our code is available at https://github.com/TianhaoMa5/LLP-MM.

1 Introduction

Recently, the use of large-scale data has pushed machine learning and artificial intelligence to unprecedented levels of performance. However, in many real-world scenarios the training data are imperfect: labels may be ambiguous, weak, or even incorrect. These issues have motivated a popular machine learning paradigm, weakly supervised learning (WSL) [Sugiyama et al., 2022], which aims to train robust models from such imperfect supervision. Representative forms of WSL include semi-supervised learning [Li et al., 2021, Lai et al., 2022], noisy-label learning [Patrini et al., 2017], partial-label learning [Lv et al., 2020, Wang et al., 2025], and unlabeled-unlabeled learning [Lu et al., 2021, Wei et al., 2024].

Learning from label proportions (LLP) is an important WSL problem that has recently attracted a lot of attention [Quadrianto et al., 2009, Tsai and Lin, 2020, Zhang et al., 2022, Ma et al., 2025, 2026a]. It naturally arises in many real-world applications, such as privacy-sensitive scenarios [Diemert et al., 2022, Apple, 2025, Google, 2024], as well as in image analysis tasks where instance-level annotations are difficult or costly to obtain [Lai et al., 2014, Tokunaga et al., 2020]. In these scenarios, only label proportions are available for training instead of instance-level annotations, while the goal remains to learn a classifier that predicts labels for individual instances.

In recent years, many LLP methods with strong performance as well as theoretical guarantees have been proposed [Busa-Fekete et al., 2023, Li et al., 2024, Busa-Fekete et al., 2025]. These methods are often based on the random-bag assumption about the generation process of LLP data. First, instance-

40th Conference on Neural Information Processing Systems (NeurIPS 2026).

Figure

Figure 1: An illustration of structured bag construction based on instance features. A common example of a structured-bag assumption is to group instances with similar feature patterns into the same bag; for example, as shown in the figure, instances sharing the same shape feature are assigned to one bag.

label pairs are sampled independently from the same joint density. Then, the bag is constructed by grouping instances uniformly at random. Finally, the label proportion is calculated as the fraction of instances from each class. However, in many real-world applications, bags are rarely formed uniformly at random. For example, election polling data is a practical application of LLP where instance-level labels are confidential while the results of regional support rates can be considered as label proportions [Sun et al., 2017, Ma et al., 2026a]. Here, voters within the same region often exhibit correlated voting behaviors, so the resulting groups are affected by geographic and demographic properties rather than random assignment. Similar structured-bag grouping mechanisms also arise in online advertising and privacy-preserving measurement, where instances are often grouped according to pre-defined categorical attributes or platform-defined grouping keys, rather than being grouped uniformly at random [Diemert et al., 2022, Brahmbhatt et al., 2024].

To address this problem, we adopt a more realistic data generation assumption, referred to as the structured-bag assumption, as illustrated in Fig. 1. In this setting, we allow instance correlations within the bag and assume that the grouping strategy is dependent on the individual examples. Besides, we assume that the instance labels are conditionally independent given the bag. Based on this assumption, we observe that the bag-level label counts correspond to the sum of independent but non-identically distributed categorical random variables, and therefore follow a Poisson multinomial distribution (PMD) [Daskalakis et al., 2015]. Consequently, the bag-level label statistics can be considered as following a normalized version of the PMD. This PMD perspective motivates the design of LLP algorithms that exploit the distributional information contained in the observed bag proportions.

Although it is natural to consider maximum likelihood estimation for LLP data, the likelihood of the PMD is difficult to compute, as its complexity grows exponentially with the number of classes [Lin et al., 2023]. Therefore, we propose LLP via Moment Matching (LLP-MM), a simple yet effective approach that trains the classifier by matching classifier-induced multi-order factorial moments to the corresponding empirical factorial moments derived from the observed bag proportions. We also find that the classical proportion matching strategy [Yu et al., 2014, Ardehaly and Culotta, 2017] is a special case of our framework that only uses the first-order empirical moment as the target for the classifier-induced first-order moments. Theoretically, we show that considering higher orders of factorial moments introduces richer statistical information and yields a tighter solution space to facilitate classifier training, which is in accord with our empirical results. Extensive comparative experiments show that moment matching remains effective under low computational cost, achieves state-of-the-art performance across various benchmark datasets, and is robust to different bag generation strategies.

Our contributions can be summarized as follows:

• We investigate the structured-bag assumption where the grouping strategy is dependent on examples. This assumption is more practical than the existing LLP data generation processes where bags are formed uniformly at random. Based on this assumption, we show that the bag-level label statistics follow the PMD, which offers a fresh perspective about LLP data.

• Motivated by the PMD structure, we propose moment matching, a simple and general framework that trains classifiers by matching classifier-induced moments with empirical multi-order factorial moments derived from label proportions. Our framework includes proportion matching, a widely used LLP strategy, as the special case of the first-order moments.

• Extensive experiments demonstrate that moment matching achieves strong performance on different benchmark datasets. Besides, moment matching is robust to different bag generation strategies and attains state-of-the-art results under practical computational budgets.

References (67)