Integrated Weak Learning

Peter Hayes, Mingtian Zhang, Raza Habib, Jordan Burgess, Emine Yilmaz, David BarberarXiv 2022

Abstract

We introduce Integrated Weak Learning, a principled framework that integrates weak supervision into the training process of machine learning models. Our approach jointly trains the end-model and a label model that aggregates multiple sources of weak supervision. We introduce a label model that can learn to aggregate weak supervision sources differently for different datapoints and takes into consideration the performance of the end-model during training. We show that our approach outperforms existing weak learning techniques across a set of 6 benchmark classification datasets. When both a small amount of labeled data and weak supervision are present the increase in performance is both consistent and large, reliably getting a 2-5 point test F1 score gain over non-integrated methods.

Introduction

In modern machine learning, data annotation remains a significant bottleneck. Weak supervision—leveraging noisy, inexpensive labels from sources like heuristics, crowd-workers, or pre-trained models—has emerged as a popular alternative to expensive manual labeling. However, standard frameworks like Snorkel typically follow a two-stage pipeline: first denoising the labels, then training the end-model. This decoupled approach is suboptimal because the denoiser remains "blind" to the input data and cannot benefit from feedback from the end-model.

Methodology

Integrated Weak Learning (iWL) reformulates weak supervision as a joint probabilistic modeling problem. By treating the true, unobserved label as a latent variable, iWL allows for simultaneous optimization of the label model and the end-model.

Comparison of the basic iWL graphical model and the iWLD variant which includes input dependency.

Key technical features include:

  • Joint Maximum Likelihood: A single objective function optimizes the likelihood of both "strong" (gold-standard) and "weak" (noisy) labels.
  • Input-Dependent Denoising (iWLD): By making the label model dependent on the input features $x$, the system learns a specific noise transition matrix for each data point. This allows the model to recognize when certain weak sources act as "experts" for specific subsets of the data.
  • Information Flow Constraints: The graphical model structure is designed to prevent "degenerate" solutions where the label model might ignore the true labels.

Experimental Results

The researchers evaluated iWL using the WRENCH benchmark across six diverse classification tasks, including sentiment analysis (IMDB, Yelp), spam detection (SMS), and topic classification (AGNews).

Performance of iWL and iWLD compared to baselines across six benchmark datasets.

The experiments yielded several key insights:

  • Consistent Performance Gains: iWL/iWLD outperformed baselines in 19 out of 30 tested scenarios. In the presence of a small amount of strong labels (e.g., 1%), iWL consistently achieved a 2 to 5 point F1 score improvement over traditional two-stage methods.
  • The Anchor Effect: A minimal amount of gold-standard data acts as an "anchor," preventing the joint training process from drifting into nonsensical states.
  • Robustness: Compared to other end-to-end methods like WeaSel, iWL demonstrated lower performance variance, suggesting it is more reliable for production environments.

Conclusion

Integrated Weak Learning provides a principled way to bridge the gap between noisy supervision and model training. By allowing the model and denoiser to learn from each other, iWL extracts more value from weak sources. While joint training increases computational overhead—requiring a full retraining if the end-model architecture changes—the significant gains in low-data regimes make it a compelling framework for real-world applications. Future work will explore integrating self-supervised learning and handling dependencies between labeling functions.

Summary updated

BibTeX
@misc{hayes2022integrated,
  author = {Peter Hayes and Mingtian Zhang and Raza Habib and Jordan Burgess and Emine Yilmaz and David Barber},
  title = {{Integrated Weak Learning}},
  year = {2022},
  eprint = {2206.09496},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2206.09496},
}
Figure