Learning from Multiple Noisy Partial Labelers

Peilin Yu, Tiffany Ding, Stephen Bach

Abstract

Programmatic weak supervision (PWS) creates models without hand-labeled training data by combining the outputs of heuristic labelers. Existing frameworks make the restrictive assumption that labelers output a single class label. Enabling users to create partial labelers that output subsets of possible class labels would greatly expand the expressivity of programmatic weak supervision. We introduce this capability by defining a probabilistic generative model that can estimate the underlying accuracies of multiple noisy partial labelers without ground truth labels. We show how to scale up learning, achieving a 300x speedup compared to a naive implementation. We also prove that this class of models is generically identifiable under mild conditions. Our framework, evaluated on text and object classification tasks, shows significant accuracy gains and performance comparable to recent zero-shot learning methods.

Introduction: The Bottleneck of Single-Label Supervision

Creating large-scale labeled datasets remains the primary bottleneck in modern machine learning. Programmatic Weak Supervision (PWS) addresses this by using "labeling functions" (LFs)—user-written rules or heuristics—to automatically label data. However, traditional PWS frameworks are restrictive: they assume an LF must either vote for one specific class or abstain entirely.

In practice, domain knowledge often allows us to narrow down possibilities to a subset of classes rather than a single one. For example, a "claws" detector in an animal classification task can rule out horses and zebras, narrowing the choice to {Tiger, Lion}. Forcing users to engineer rules that identify exactly one class is difficult and ignores valuable, broader domain knowledge.

Examples of PLF expressivity in text and image domains.

The Noisy Partial Label Model (NPLM)

To leverage these broader insights, we propose a generalized PWS framework centered around Partial Labeling Functions (PLFs).

Probabilistic Generative Modeling

We introduce a probabilistic generative model that treats the true label as a latent variable. The model estimates the accuracy and "propensity" (how often it votes) of each PLF by analyzing patterns of agreement and conflict across multiple sources. A key theoretical contribution is the proof that the model's parameters are "generically identifiable." Under mild conditions of diversity among the PLFs, the model can uniquely learn the true accuracies of the labelers using only their unlabeled outputs.

Scalability and Training

Naively calculating the likelihood for these models is computationally expensive. We developed a vectorized implementation using optimized matrix operations, achieving a 300x speedup. This allows the model to process 100,000 examples in just one minute on a standard CPU. Once the label model estimates the most likely true labels as a probability distribution, these "soft labels" are used to train a standard noise-aware classifier (e.g., BERT for text).

Experimental Evaluation

We evaluated the framework on two main types of tasks: text classification and zero-shot object classification.

Text Classification

We tested NPLM on three datasets: SciCite (citation intent), TREC-6 (question categories), and AG-News (news topics). Adding partial labels improved average accuracy by 8.6 percentage points over traditional single-label LFs.

Performance comparison on text classification tasks.

Zero-Shot Object Classification

On the Large-Scale Attribute Dataset (LAD) and Animals with Attributes 2 (AwA2), we used pre-trained attribute detectors (e.g., "has wings") as PLFs to classify objects unseen during initial training. NPLM achieved results competitive with state-of-the-art transductive zero-shot learning (ZSL) methods, demonstrating that PWS can effectively tackle zero-shot problems using modular attribute detectors.

Conclusion

Allowing labeling functions to output sets makes programmatic weak supervision significantly more flexible and expressive. By "triangulating" the true label from various noisy partitions of the label space, NPLM captures broad patterns that single-label systems miss. Future work will explore modeling correlations between rules and integrating active learning to further refine these noisy signals.

Summary updated

BibTeX
@misc{yu2021learning,
  author = {Peilin Yu and Tiffany Ding and Stephen Bach},
  title = {{Learning from Multiple Noisy Partial Labelers}},
  year = {2021},
  eprint = {2106.04530},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2106.04530},
}
Figure