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

Binary Classification with Positive Labeling Sources

Jieyu Zhang, Yujing Wang, Yaming Yang, Yang Luo, Alexander Ratner

TL;DR

WEAPO is a novel Weak Supervision (WS) method designed for binary classification when developers can only provide labeling heuristics for the positive class. By leveraging a partial ordering of labeling function outputs, WEAPO produces high-quality training labels that outperform existing WS methods adapted for this "positive-only" setting.

What Problem Does This Paper Address?

Weak Supervision has become a popular way to train machine learning models without massive manual labeling efforts. Instead of hand-labeling every example, experts write Labeling Functions (LFs)—programmatic scripts or heuristics that provide noisy labels.

Standard WS frameworks assume you have LFs for both the positive and negative classes. However, in many real-world scenarios, the "negative" class is simply too diverse to define with rules. For example, in bot detection, "bot" behavior might follow specific patterns (positive class), but "normal human" behavior is virtually infinite and arbitrary (negative class). This mirrors the challenge of Positive-Unlabeled (PU) learning, but within the context of programmatic labeling. The authors address the gap where existing WS models fail or perform poorly because they lack negative labeling sources.

Methods

The authors propose WEAPO (Weak Supervision with Positive Labeling Sources). The core intuition is simple: a data point that receives more "votes" from positive LFs is, in expectation, more likely to be positive.

However, rather than just counting votes, WEAPO uses a Covering Relation to define a partial ordering:

  • Covering Relation: If data point $A$ triggers a specific set of positive LFs, and data point $B$ triggers that same set plus additional LFs, then $B$ is "covered" by $A$ and should have a higher probability of being positive.
  • Constrained Optimization: WEAPO formulates this intuition as a set of constraints. It seeks a scoring function that satisfies these ordering constraints while minimizing an $\ell_2$ regularization loss.
  • Label Prior: If the overall proportion of positive instances in the dataset (the class prior) is known, WEAPO can incorporate it as an additional constraint to further refine the results.

The model is parameterized as a convex combination of LF outputs, ensuring the final score stays between 0 and 1, effectively acting as a probability $P(y=1 | \Lambda(x))$.

Datasets

The researchers evaluated WEAPO on 10 binary classification datasets from the WRENCH benchmark, a standard platform for Weak Supervision research.

  • Tabular Datasets: Census, Mushroom, Spambase, PhishingWebsites, Bioresponse, BankMarketing.
  • Textual Datasets: CDR, SMS, Yelp, IMDb (features extracted using a pretrained BERT model).

In all cases, they only used the positive LFs provided by the benchmark to simulate the target setting.

Key Insights and Ideas

  • Supersets over Counts: The "covering relation" is more robust than simple vote counting. Because LFs have varying noise levels, a point with three weak LFs might be less likely to be positive than a point with two very high-accuracy LFs. By looking at supersets of triggered LFs, WEAPO creates a more reliable hierarchy of "positiveness."
  • Resilience of Weak Supervision: The paper demonstrates that even when we are "blind" to the negative class heuristics, we can still achieve respectable classification performance. The gap between WEAPO and a fully supervised "Gold" model is roughly 10%, which is impressive given the lack of negative supervision.
  • Competitive with "Gold-train": Surprisingly, WEAPO's average performance was slightly better than a model trained on ground truth labels using the same simple architecture (Gold-train), suggesting the constrained optimization approach is highly effective at regularizing the label model.

Key Results

WEAPO achieved the highest average performance across all 10 datasets for both the quality of the generated labels and the performance of the final classifier trained on those labels.

As shown in Table 1, WEAPO leads the pack in average ROC-AUC and PR-AUC for label generation:

Table 1: Label model comparison on covered test data. We highlight the best performance across Weak Supervision method in bold.

When these labels were used to train an "end model" (a downstream classifier), WEAPO again maintained the highest average performance, as seen in Table 2:

Table 2: End model comparison on test data. We highlight the best performance across Weak Supervision method in bold.

Limitations and Future Work

The authors note that while WEAPO is the best on average, it is not a "universally-best" model; other methods like FlyingSquid (FS) or Dawid-Skene (DS) occasionally outperformed it on specific datasets.

The paper focuses on a simple linear parameterization of the scoring function. Future work could explore more complex, non-linear scoring functions or methods to automatically estimate the class prior if it is not known beforehand. Additionally, the current evaluation treats all uncovered data as negative, which is a heuristic that might not hold true in all domains.

Summary updated

BibTeX
@misc{zhang2022binary,
  author = {Jieyu Zhang and Yujing Wang and Yaming Yang and Yang Luo and Alexander Ratner},
  title = {{Binary Classification with Positive Labeling Sources}},
  year = {2022},
  eprint = {2208.01704},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2208.01704},
}
Figure