Skip to main content
QUICK REVIEW

[Paper Review] Snorkel DryBell: A Case Study in Deploying Weak Supervision at Industrial Scale

Stephen H. Bach, Daniel Rodríguez|arXiv (Cornell University)|Dec 2, 2018
Data Quality and ManagementDecision Sciences35 references27 citations
TL;DR

Snorkel DryBell is a scalable weak supervision system that leverages diverse organizational knowledge resources—such as heuristics, models, and knowledge bases—as noisy labels to train high-quality machine learning classifiers without extensive human annotation. It achieves classifier quality comparable to models trained on 80,000 hand-labeled examples, enables 52% average performance improvement by converting non-servable knowledge into deployable models, and scales to millions of data points in tens of minutes.

ABSTRACT

Labeling training data is one of the most costly bottlenecks in developing machine learning-based applications. We present a first-of-its-kind study showing how existing knowledge resources from across an organization can be used as weak supervision in order to bring development time and cost down by an order of magnitude, and introduce Snorkel DryBell, a new weak supervision management system for this setting. Snorkel DryBell builds on the Snorkel framework, extending it in three critical aspects: flexible, template-based ingestion of diverse organizational knowledge, cross-feature production serving, and scalable, sampling-free execution. On three classification tasks at Google, we find that Snorkel DryBell creates classifiers of comparable quality to ones trained with tens of thousands of hand-labeled examples, converts non-servable organizational resources to servable models for an average 52% performance improvement, and executes over millions of data points in tens of minutes.

Motivation & Objective

  • To address the high cost and long timelines of human-annotated training data in industrial machine learning applications.
  • To enable rapid, scalable deployment of weak supervision by integrating diverse, existing organizational knowledge sources as labeling functions.
  • To bridge the gap between non-servable internal knowledge (e.g., batch models, heuristics) and real-time, production-ready models.
  • To develop a system that supports flexible, template-based ingestion of labeling functions and scalable, sampling-free inference for industrial workloads.
  • To demonstrate that weak supervision can achieve performance equivalent to models trained on tens of thousands of hand-labeled examples in real-world production settings.

Proposed method

  • The system uses a flexible, template-based ingestion layer to integrate diverse organizational knowledge sources—such as heuristics, models, and knowledge bases—into labeling functions.
  • It employs a generative model that estimates the true label distribution by modeling the outputs of multiple labeling functions, including those that may abstain or produce noisy predictions.
  • The framework enables cross-feature production serving by transferring knowledge from non-servable features (e.g., batch statistics, expensive models) to servable, real-time features (e.g., streaming signals).
  • It supports sampling-free execution by using closed-form inference in the generative model, enabling efficient scaling to millions of data points without iterative sampling.
  • The system decouples subject matter experts from data engineers by allowing SMEs to define labeling functions independently and iteratively, without requiring low-level system tuning.
  • It supports end-to-end training and deployment of classifiers using weak supervision, with automatic handling of label conflicts and uncertainty estimation.

Experimental results

Research questions

  • RQ1Can weak supervision using diverse, existing organizational knowledge sources achieve classifier performance comparable to models trained on tens of thousands of hand-labeled examples?
  • RQ2To what extent can non-servable organizational knowledge (e.g., batch models, heuristics) be transferred to production-ready, real-time models via weak supervision?
  • RQ3How does Snorkel DryBell scale to industrial workloads involving millions of data points while maintaining low latency and high accuracy?
  • RQ4What performance gains can be achieved by integrating multiple weak supervision sources compared to using only small hand-labeled development sets?
  • RQ5Can a weak supervision system be deployed at scale in a production environment without requiring extensive re-architecting of existing data pipelines?

Key findings

  • Snorkel DryBell trained classifiers that achieved performance equivalent to models trained on 80,000 hand-labeled examples, reducing labeling cost by an order of magnitude.
  • On three real-world classification tasks at Google, the system achieved an average 11.5% relative improvement in F1 score over classifiers trained on only ~15,000 hand-labeled examples.
  • The system enabled a 52% average performance improvement when converting non-servable organizational knowledge (e.g., batch models, heuristics) into servable, production-ready models.
  • The framework executed inference on over 1 million data points in under 30 minutes, demonstrating high scalability and low-latency execution.
  • The system successfully decoupled subject matter experts from data engineers, allowing rapid, iterative development of labeling functions without performance bottlenecks.
  • The generative model in Snorkel DryBell effectively handled label conflicts and uncertainty, enabling robust inference even with noisy, correlated labeling functions.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.