Adversarial Multi Class Learning under Weak Supervision with Performance Guarantees

Alessio Mazzetto, Cyrus Cousins, Dylan Sam, Stephen H. Bach, Eli UpfalICML 2021

Overview

Supervised learning is notoriously data-hungry, but acquiring high-quality labeled data is expensive and time-consuming. "Weak supervision" offers a practical workaround by using noisy, heuristic, or related-task labelers to generate training data. However, most existing methods (like Snorkel or Dawid-Skene) rely on a strict "conditional independence" assumption, meaning they assume the errors made by different weak sources are completely uncorrelated.

In the real world, this assumption is frequently violated. For example, if several weak labelers are fine-tuned from the same pre-trained model, they likely share the same systematic biases. This paper tackles the challenge of combining these arbitrarily correlated sources for multiclass tasks without making restrictive assumptions about their error distributions, introducing a framework with rigorous theoretical guarantees on convergence and generalization.

The AMCL Framework

The authors propose Adversarial Multiclass Learning (AMCL). Rather than attempting to guess the "true" labels of an unlabeled dataset directly, AMCL defines a set of feasible labelings—all possible ways to label the data that remain statistically consistent with the performance of the weak sources. This consistency is estimated using a very small amount of gold-standard labeled data.

The learning process is formulated as a minimax optimization problem:

  1. The Adversary: For a given model, the adversary chooses the "worst-case" labeling from the feasible set to maximize the model's empirical risk.
  2. The Learner: The algorithm updates the model parameters to minimize this maximum risk.

Key Technical Components

  • Subgradient Algorithm: Because the minimax objective isn't always differentiable, the authors employ a subgradient-based approach to find the optimal model parameters.
  • Linear Programming: The inner "adversarial" step—finding the worst-case labeling—is solved efficiently as a linear program.
  • Generalization Bounds: The paper provides a theoretical bound on the true risk based on the "diameter" of the feasible labeling set. Essentially, the more informative your weak sources are, the smaller the diameter, resulting in a tighter performance guarantee.

Key Insights

  • Robustness through Pessimism: By training against the worst-case plausible labeling, the model naturally becomes robust to unknown correlations between weak sources. If the sources conflict, the model doesn't just "average" them; it accounts for the underlying uncertainty.
  • Label Space Flexibility: A powerful insight of AMCL is that weak sources don't need to use the same labels as the target task. For instance, a binary "has wings" classifier can provide a constraint on a multiclass "bird vs. plane vs. car" task. The paper provides a formal way to incorporate these "cross-domain" constraints.
  • Theoretical Grounding: Unlike previous adversarial methods, this work provides explicit convergence rates and generalization error bounds, moving adversarial weak supervision from a heuristic approach to a provable one.

Experimental Results

The authors evaluated their approach on two primary image datasets: Animals with Attributes 2 (AwA2) for binary classification using attribute-based weak sources, and DomainNet for multiclass tasks across different visual domains.

Binary Classification on AwA2

In binary classification tasks on the AwA2 dataset, AMCL matched or outperformed state-of-the-art adversarial methods like PGMV and ALL.

Accuracy on AwA2 binary classification tasks

Multiclass Success on DomainNet

On DomainNet, AMCL variants—specifically AMCL-CC (Convex Combination) and AMCL-LR (Logistic Regression)—consistently outperformed standard baselines like Majority Vote (MV) and the Semi-Supervised Dawid-Skene (DS) estimator.

Notably, in the "Quickdraw" domain where weak sources were particularly inaccurate, AMCL-CC was still able to recover useful information and improve upon the best single weak source (Best WSS), whereas simpler methods like Majority Vote failed entirely.

Accuracy on DomainNet multiclass tasks (Clipart and Quickdraw)

Limitations and Future Work

While AMCL provides a robust and theoretically grounded approach to weak supervision, it does have limitations:

  • Small Labeled Set Requirement: The method requires a small amount of ground-truth data to estimate the constraints (the intervals defining the feasible set). While much smaller than standard supervised requirements, the final model's quality is sensitive to how well these intervals are estimated.
  • Computational Complexity: The inner loop is a linear program. Solving it repeatedly during training can become computationally intensive for very large unlabeled datasets.

Future directions suggested by the authors include exploring sharper interval estimates (moving beyond the Hoeffding bound used in the paper) to further tighten performance guarantees, and addressing the engineering challenges of scaling the approach to handle thousands of classes.

Summary updated

BibTeX
@inproceedings{mazzetto2021adversarial,
  author = {Alessio Mazzetto and Cyrus Cousins and Dylan Sam and Stephen H. Bach and Eli Upfal},
  title = {{Adversarial Multi Class Learning under Weak Supervision with Performance Guarantees}},
  booktitle = {International Conference on Machine Learning},
  year = {2021},
  url = {https://openreview.net/forum?id=I35pJh0yUL},
}
Figure