NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Learning from Aggregate Observations

Yivan Zhang, Nontawat Charoenphakdee, Zhenguo Wu, Masashi Sugiyama

Learning from Aggregate Observations

Standard supervised learning relies on the availability of individual labels for every training instance. However, in many practical scenarios, we only have access to "aggregate observations"—labels that describe groups of data points rather than single ones. This might occur due to privacy constraints (releasing only group statistics), intrinsic data structures (like Multiple Instance Learning in drug discovery), or the high cost of precise labeling compared to simple relative comparisons.

This paper introduces a unified probabilistic framework for learning from such aggregate signals across both multiclass classification and continuous regression tasks. By treating individual labels as latent variables, the authors demonstrate that models can effectively recover individual-level predictors from group-level data.

The Probabilistic Framework

The core of the proposed approach is a generative model where individual labels $Z$ are unobservable latent variables, and the aggregate signal $Y$ is the observed variable.

The generative model for learning from aggregate observations. $X$ represents input features, $Z$ the latent individual labels, $W$ the model parameters, and $Y$ the observed aggregate signal across $K$ instances.

The training process involves maximizing the marginal likelihood of the aggregate observations given the input features:

$$p(Y | X_{1:K}) = \int p(Y | Z_{1:K}) \prod_{i=1}^K p(Z_i | X_i) dZ_{1:K}$$

For many common distributions, such as Gaussian for regression or Categorical for classification, this integral has an analytical solution. This allows the framework to be integrated seamlessly with modern deep learning architectures and gradient-based optimization tools.

Theoretical Consistency and Identifiability

A major contribution of this work is the concept of "consistency up to an equivalence relation." Since aggregate data is inherently coarser than individual labels, some information might be lost. For example, in regression from rank observations ($A > B$), the model can learn the trend perfectly but will always be off by an unknown additive constant because the data never provides an absolute scale. The authors prove that their Maximum Likelihood Estimation (MLE) approach converges to the most precise solution possible given the constraints of the aggregate function.

Empirical Results

The framework was evaluated on several benchmarks, including MNIST-style classification and UCI regression datasets. The results demonstrate that direct MLE optimization significantly outperforms traditional representation learning techniques that rely on heuristic losses.

Classification performance on MNIST, Fashion-MNIST (FMNIST), and KMNIST. The proposed MLE method ("Ours") significantly outperforms baselines in both pairwise similarity and triplet comparison tasks.

In classification tasks using triplet comparisons ("is image A more similar to B than C?"), the proposed method achieved 94.94% accuracy on MNIST, nearing the fully supervised performance of 99.04% and vastly exceeding representation learning baselines like "Tuplet" (18.42%) and "Triplet" (22.77%).

In regression, learning from the mean of four instances on the "Airfoil" dataset yielded an MSE of 4.63, remarkably close to the supervised baseline of 3.84 and much better than the naive baseline of 28.65. These results suggest that aggregate signals, when modeled correctly, contain nearly as much information for learning as individual labels.

Key Insights and Limitations

  • Direct Optimization vs. Representation Learning: Traditionally, researchers used similarity data for "metric learning" (learning a feature space) followed by clustering. This paper shows that directly optimizing a classification-oriented MLE loss is significantly more effective.
  • The Power of the Mean: One of the most surprising results is that learning from the mean of a group is theoretically as consistent as learning from individual labels, provided the noise is well-behaved (e.g., Gaussian).
  • Independence Assumption: The framework assumes that instances within a group are independent. If the data is grouped by some hidden correlation, the current mathematical assumptions might not hold.
  • Computational Complexity: While analytical solutions exist for many cases, complex aggregate functions might require expensive numerical integration or approximations as the group size ($K$) increases.

This work provides a rigorous foundation for a wide range of weakly supervised learning problems, offering a principled alternative to ad-hoc methods for handling grouped or comparative data.

Summary updated

BibTeX
@inproceedings{zhang2020learning,
  author = {Yivan Zhang and Nontawat Charoenphakdee and Zhenguo Wu and Masashi Sugiyama},
  title = {{Learning from Aggregate Observations}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2020},
}
Figure