Learning from Aggregate-Masked Labels

Xinzheng Xu, Yixin Xu, Meng Wei, Mengting Xu, Ridong Han, Hongguang Yuan, Zhongnian LiOpenReview 2026 · Submission to ICLR 2026 · Rejected

TL;DR

This paper introduces Aggregate-Masked Labels (AML), a novel machine learning framework that protects sensitive data (like medical conditions or private professions) without sacrificing model accuracy. By masking sensitive labels within groups while maintaining full supervision for non-sensitive data, the authors achieve state-of-the-art performance across benchmark and real-world datasets.

What Problem Does This Paper Address?

In the era of data privacy, researchers often use "aggregate observations" to hide sensitive information. For example, instead of labeling a specific image as "Patient X has Disease Y," a dataset might group five images and state, "One person in this group has Disease Y."

While this protects individual privacy, it creates a "weak supervision" problem. Existing methods often treat all labels in these groups with the same level of ambiguity, even the non-sensitive ones (like "Age" or "Gender"). This "watering down" of supervisory signals leads to significantly lower model performance. The authors set out to find a way to protect the "secrets" while still learning as much as possible from the "non-secrets."

Methods

The authors propose a two-pronged approach called Aggregate-Masked Labels (AML):

  1. The AML Setting: Data is organized into groups (aggregate observations).
  2. AMO (Aggregate-Masked Observation): If a group contains at least one sensitive label (e.g., "Policeman"), the specific instance-label links are hidden. The model only knows the sensitive label exists somewhere in that group.
  3. AUMO (Aggregate-Unmasked Observation): If a group contains only insensitive labels (e.g., "Doctor," "Student"), the ground-truth labels for every individual instance are provided.
  4. Risk-Consistent Estimator: To train a classifier on this mixed-bag of data, the authors developed a mathematical estimator that decomposes the learning risk. For sensitive groups, it calculates the loss over all possible label assignments and "subtracts" the contribution of insensitive labels to isolate the signal for the sensitive ones.
  5. Stochastic Label Combinations: Calculating every possible label combination in a group is computationally expensive (exponentially so). The authors introduced a stochastic sampling strategy that only looks at a subset of combinations, significantly speeding up training without losing much accuracy.
  6. CLIP Integration: The model uses a frozen CLIP (ViT-L/14) visual encoder. They leverage CLIP’s pre-trained knowledge to estimate label probabilities, which helps guide the model when ground-truth labels are masked.

Datasets

The researchers evaluated their method on a mix of standard computer vision benchmarks and specialized privacy-focused datasets:

  • Benchmarks: CIFAR-10, CIFAR-100, Caltech-101, and DTD (Describable Textures Dataset).
  • Real-World/Privacy Datasets: They introduced/utilized AMLM (804 images, 6 classes) and AMLS (925 images, 8 classes), which contain sensitive medical-related data where privacy is paramount.

Key Insights and Ideas

  • "Partially Full Supervision" is Key: The core "aha moment" is that we don't need to hide everything to protect a few things. By keeping full supervision for non-sensitive data, the model maintains a strong baseline of knowledge that helps it "triangulate" the identity of masked sensitive labels.
  • The Subtraction Logic: The risk estimator works on a clever principle: if you know the total loss of a group and you have high confidence in the non-sensitive parts, you can effectively deduce the loss for the sensitive part.
  • Efficiency through Randomness: The stochastic sampling results show that you don't need to solve the entire combinatorial puzzle of a group to learn from it; a representative sample of label combinations is enough for the model to converge.

Key Results

  • Superior Accuracy: AML consistently outperformed existing weakly supervised methods (like ESA, CoMPU, and PAPI). On CIFAR-100, AML achieved 68.31% accuracy, while the next best method (ESA) trailed at 51.26%.
  • Robustness to Sensitivity: Even when the number of sensitive labels ($t$) increased, AML maintained higher stability and accuracy than baselines, which tended to degrade rapidly as more data was masked.
  • Real-World Success: On the medical datasets (AMLM/AMLS), AML showed a significant lead, proving its utility for high-stakes privacy scenarios.
  • Computational Speed: The stochastic sampling method allowed the model to train effectively even when group sizes were large, avoiding the "exponential explosion" of traditional aggregate learning.

Limitations and Future Work

  • Scaling with Masking: While robust, performance does still degrade as the number of sensitive labels or the size of the aggregate groups ($m$) increases. There is a limit to how much information can be recovered from very large, highly masked groups.
  • Backbone Dependency: The method relies on the CLIP visual encoder. While CLIP is powerful, the model’s performance in very niche domains (where CLIP might not have been pre-trained) remains an open question.
  • Future Directions: The authors suggest exploring more sophisticated ways to select which label combinations to sample and potentially applying this framework to other modalities like text or audio.

Summary updated

Abstract

With the increasing concern over data privacy, more researchers are focusing on protecting sensitive labels using aggregate observations, such as similarity labels and label proportions. Unfortunately, these methods weaken the supervisory information of insensitive labels, thereby reducing the performance of existing classifiers. To address this issue, we propose a novel setting called Aggregate-Masked Labels, whose primary advantage lies in introducing augmented supervision to maintain partially full supervision and protecting sensitive labels. Specifically, for aggregate observations that contain sensitive labels, we use these sensitive labels as the aggregate-masked labels. In contrast, for aggregate observations without sensitive labels, we assign the ground-truth label to each instance, as shown in Figure 1. Moreover, we introduce the risk-consistent estimator that effectively leverages aggregate-masked labels to train a multi-class classifier. We further introduce stochastic label combinations to alleviate the high computational cost, effectively accelerating the training process. Experimental results on both real-world and benchmark datasets demonstrate that our method achieves state-of-the-art classification performance.
BibTeX
@misc{xu2026learning,
  author = {Xinzheng Xu and Yixin Xu and Meng Wei and Mengting Xu and Ridong Han and Hongguang Yuan and Zhongnian Li},
  title = {{Learning from Aggregate-Masked Labels}},
  year = {2026},
  url = {https://openreview.net/forum?id=it2OB6I1LU},
  howpublished = {OpenReview},
  note = {Submitted to ICLR 2026},
}
Figure