Kinds of learning
Weak Supervision: Combining Noisy Sources Instead of Waiting for Perfect Labels
Understand weak supervision and programmatic labeling, how noisy sources are combined, and why source dependencies and a trusted development set matter.
By the end you can
- Define weak supervision through imperfect label sources
- Distinguish labeling functions, distant supervision, and partial supervision
- Explain why source accuracy and correlation both matter
- Design a weak-supervision project with trusted evaluation and error analysis
Example
Ten rules over 684,000 examples, worth 80,000 hand labels
A team needs training labels for millions of items and has only a small expert-reviewed set. Google shipped exactly that system and published what it cost, so there is no need to imagine one.
Snorkel DryBell produced training labels for three production classifiers. Google's own blog post about the deployment, in March 2019, gives the result: “we achieved the same predictive accuracy training a model with Snorkel DryBell's labels as we did when training that same model with 12,000 and 80,000 hand-labeled training data points.” The case study behind that post went to SIGMOD in 2019, written by a team from Google, Brown and Stanford.
On the first classifier one developer wrote ten labeling functions over 684,000 unlabelled data points. None of the sources was an oracle. They were heuristics over the linked URL, an internal named-entity tagger, and an internal topic model far too coarse for the task but usable as a negative signal. The model trained on their combined output “matched the performance of 80K hand-labeled training labels”, and landed within 4.6 F1 points of a model trained on 175,000. On the second task eight labeling functions matched 12,000 hand labels. Across the three classifiers, converting non-servable organisational resources into servable models gave “an average 52% performance improvement”. Ten rules, one developer, no new annotation budget.
- Ten labeling functions, written by one developer, applied to 684,000 unlabelled data points.
- Heuristics over the linked URL supply the most direct evidence in the set.
- An internal named-entity tagger is reused as a source rather than rebuilt as a model.
- An internal topic model, too coarse for the task, is used as a negative signal instead of a positive one.
- Each source can abstain when it has no evidence.
- A label model combines the conflicts; on the second task eight functions matched 12,000 hand labels.
Weak supervision changes who writes the labels
Instead of labeling every example manually, experts write or select sources that label many examples imperfectly, and those sources may be heuristics, patterns, knowledge bases, existing models, partial annotations, or distant matches.
The resulting labels are noisy. They are often correlated too. The project therefore models or manages source quality. It does not pretend each source is an independent oracle.
The oldest industrial-scale version of this states its own error rate in the abstract. In 2009 Mintz and colleagues filtered Freebase down to “1.8 million instances of 102 relations connecting 940,000 entities”. They then labelled training data by a rule that is frequently wrong. Any sentence in a large Wikipedia corpus containing both members of a known pair was treated as expressing that relation. Two entities can share a sentence for any reason at all. With no hand-labelled corpus, their classifier was “able to extract 10,000 instances of 102 relations at a precision of 67.6%”. About two-thirds right, at a scale no annotation budget of the period could have reached.
Visual
The programmatic labeling workflow
Weak supervision separates source creation from final model training. The DryBell deployment is one instance of this pipeline: sources first, then combination, then a single end model trained on the combined output and judged against reviewed examples.
1. Write sources
Domain experts encode rules, lookups, models, or partial annotations.
2. Apply with abstention
Each source labels, conflicts, or declines on many examples.
3. Estimate source behavior
Use reviewed data and overlap patterns to understand accuracy and dependence.
4. Produce probabilistic labels
Combine evidence into uncertain training targets.
5. Train and validate
Fit the end model and evaluate on independently reviewed examples.
Comparison
Three forms of weak supervision
The weakness can come from noise, incompleteness, or indirect connection to the target, and the three-way split is not this lesson's invention. Zhi-Hua Zhou fixed it in a 2018 review: incomplete supervision, where only a subset of the training data carries labels; inexact supervision, where only coarse-grained labels are given; and inaccurate supervision, where the given labels are not always ground truth. Other fields adopted the classification and cited it. A 2020 paper on weakly supervised segmentation of satellite images opens its definition section with “In his excellent review, (Zhou, 2018) defines weakly supervised learning as an umbrella term addressing the attempt to construct predictive models from three types of weak supervision:” Then it narrows the term, keeping the inexact and inaccurate cases for itself and treating incomplete supervision as semi-supervised learning. A taxonomy that a second field can argue with is a taxonomy, not a slogan.
Distant supervision earns its column by writing the error into its own premise. The 2009 rule is stated without ceremony: “If two entities participate in a relation, any sentence that contains those two entities might express that relation.” A survey by Smirnova and Cudré-Mauroux numbers it Assumption 3.1 and shows what it costs. Two sentences contain Elon Musk and Tesla. Only one of them expresses the relation the knowledge base records. The second sentence becomes a labelled training example anyway. Riedel and colleagues proposed a weaker replacement in 2010, quoted in the same survey as Assumption 4.1: at least one sentence in the bag expresses the relation, rather than any of them.
Partial supervision is a production reality, and its owners document the gap. Open Images V4 reports 30.1M image-level labels for 19.8k concepts, and 15.4M bounding boxes on 1.9M images. Google's own V7 documentation records 61.4M human-verified image-level labels across 20,638 classes, alongside 164.8M machine-generated training labels. It also says what verification does and does not do: it removes false positives, not false negatives. The consequence is stated in one sentence. “All other classes which are not explicitly marked as positive or negative for an image are not annotated.” Absence in that file is not evidence of absence in the image.
Heuristic labeling
Rules encode expert signals directly.
- Fast to author and revise
- Can abstain outside scope
- Rules often overlap
- Example: keyword plus metadata
Distant supervision
An external database is matched to examples.
- Creates large-scale labels
- Matching errors can be systematic
- Database meaning may differ
- Example: entity relation from a knowledge base
Partial supervision
Only some labels or components are observed.
- Reflects incomplete annotation
- Missingness may be selective
- Requires suitable objectives
- Example: some objects marked in an image
Key idea
Ten rules can still represent one idea
If several labeling functions all depend on the same phrase or historical system, majority vote overstates independent evidence. Correlated sources can agree confidently and be wrong together.
The 2017 Snorkel paper puts arithmetic to that in Example 3.1: “Consider a set of 10 labeling functions, where 5 are perfectly correlated, i.e., they vote the same way on every data point, and 5 are conditionally independent given the true label.” Give the correlated five an accuracy of 50% and the independent five 99%. A model that assumes independence reads the block of five identical votes as overwhelming agreement. It scores that group at 100% accuracy. The five sources that are right 99 times in 100 it scores at 50%. The estimates are not merely noisy. They are inverted, and the worst sources win.
Group sources by provenance, inspect overlap, and test leave-one-source-out behavior. Source count is not equivalent to information diversity.
Snorkel's answer is to model the dependence rather than assume it away. Its users write labeling functions “that express arbitrary heuristics, which can have unknown accuracies and correlations”, and a generative model estimates both from the agreements and disagreements between the functions, without ground truth. Tested across four open datasets and collaborations with the U.S. Department of Veterans Affairs and the Food and Drug Administration, Snorkel gave “132% average improvements to predictive performance over prior heuristic approaches” and came “within an average 3.60% of the predictive performance of large hand-curated training sets.” Learning which sources are entangled has its own cost and its own paper. A structure-learning method published in 2017 runs 100x faster than maximum likelihood, selects a quarter as many extraneous dependencies, and adds an average of 1.5 F1 points on real user-developed extraction applications such as PubMed abstracts.
Assume independence and five copies of a 50% rule are scored as the perfect source while five 99% sources are scored as coin flips.
Steps
Build a weak-label system that can be debugged
The sources are part of the model and deserve versioning, tests, and retirement rules. Step 2 is where the honesty of the whole system is decided, because the small trusted set is not neutral scaffolding: it is labelled data you already own, and it can be spent on the end model directly.
How to spend it is the subject of a 2023 paper that took a Theme Paper Award at ACL. Its abstract states the finding: “Specifically, we find that the success of existing weakly supervised learning approaches heavily relies on the availability of clean validation samples which, as we show, can be leveraged much more efficiently by simply training on them.” The reported benefits of weak supervision were significantly overestimated, its authors argue, because the clean validation set used to select the model could have been training data. This held even at five clean samples per class.
BOXWRENCH answered in January 2025. On the existing WRENCH datasets it replicated the result, confirming crossover points below 200 clean labels for four of six tasks. On its own harder, higher-cardinality tasks the crossover moved beyond 1,000 clean labels. Step 5 therefore has a real number attached, and it is a range rather than a rule. Somewhere between fewer than 200 and more than 1,000 hand labels, direct annotation overtakes the weak-label pipeline. Which end of that range you are on depends on how hard your task is.
1. Define abstention
Require sources to remain silent outside their intended evidence.
2. Build a gold set
Create a small, carefully reviewed sample for development and final evaluation.
3. Measure source slices
Inspect coverage, conflicts, accuracy, and class balance by domain.
4. Map dependencies
Record shared data, rules, models, and institutional provenance.
5. Test end-model value
Compare weak labels with simple baselines and direct annotation budgets.
6. Monitor source drift
Detect when vocabularies, databases, or policies invalidate a source.
Analogy
Assembling a story from imperfect sources
A newsroom receives tips from witnesses, databases, press releases, and earlier articles. Several reports may trace back to the same original claim, so apparent agreement can be misleading.
Weak supervision has the same dependence problem. Automated sources can label millions of cases with one consistent systematic error, which an editor might have noticed sooner.
Provenance matters as much as the number of agreeing sources.
Weak labels do not eliminate expert work
Expert effort moves from row-by-row annotation to source design, gold-set creation, conflict analysis, and maintenance, and the shift can be highly efficient when domain rules cover many cases.
It is less attractive when the target is poorly defined, sources have low coverage, or systematic bias is difficult to observe. Sometimes direct labeling or active learning is simpler.
The residual cost is measurable, and the standard benchmark measures it. WRENCH, published at NeurIPS in 2021, collects 22 real-world datasets for classification and sequence tagging and compares more than 120 method variants on them. On its eight sequence-tagging datasets with a BERT end model, training on gold labels averaged 84.36 F1. The best weak-supervision configuration, the CHMM label model, averaged 66.50. The gap is roughly 18 points. The paper does not soften it. “As a result, there is still a significant performance gap between the results trained by gold labels and weak labels, which motivates the future research on designing methods robust against the induced noise.”
The benchmark's other recommendation is deflating for the machinery around the labels: plain majority vote is among the best label models for classification, a takeaway the BOXWRENCH group adopted as its own default in 2025. So the sophistication has to earn its place against the simplest baseline, and the expert work has to be spent where it counts. In the DryBell deployment it did not vanish. It became eighteen labeling functions across the two tasks and a set of judgements about which internal resources deserved trust.
Figure
Key takeaways
- Weak supervision creates labels from imperfect rules, models, databases, and partial annotations; Zhou's 2018 review sorts the weakness into incomplete, inexact and inaccurate supervision, a split other fields cite and argue with.
- Labeling sources should be able to abstain when their evidence does not apply, and record what they did not judge: Open Images V7 states that any class not explicitly marked positive or negative is not annotated at all.
- Source accuracy, coverage, conflict, and dependence all affect the combined labels — Snorkel's Example 3.1 shows five copies of a 50% rule estimated at 100% accuracy while five 99% sources are estimated at 50%.
- A small trusted set anchors source development and independent evaluation, but it is spendable data: crossover points where training directly on clean labels wins run from under 200 labels to over 1,000.
- Programmatic labeling shifts expert work toward source design, debugging, and maintenance — at Google, eighteen labeling functions and a set of judgements about which internal resources deserved trust.
- Weak supervision is valuable when scalable domain signals exist, not when the target itself is unresolved: on WRENCH's eight sequence-tagging datasets gold labels averaged 84.36 F1 against 66.50 for the best weak configuration.