Lune

SIGMOD2021Top-tier venue

Adaptive Rule Discovery for Labeling Text Data

Sainyam Galhotra, Behzad Golshan, Wang-Chiew Tan

Abstract

Creating and collecting labeled data is one of the major bottlenecks in machine learning pipelines and the emergence of automated feature generation techniques such as deep learning, which typically requires a lot of training data, has further exacerbated the problem. While weak-supervision techniques have circumvented this bottleneck, existing frameworks either require users to write a set of diverse, highquality rules to label data (e.g., Snorkel), or require a labeled subset of the data to automatically mine rules (e.g., Snuba). The process of manually writing rules can be tedious and time consuming. At the same time, creating a labeled subset of the data can be costly and even infeasible in imbalanced settings. This is due to the fact that a random sample in imbalanced settings often contains only a few positive instances.

To address these shortcomings, we present Darwin, an interactive system designed to alleviate the task of writing rules for labeling text data in weakly-supervised settings. Given an initial labeling rule, Darwin automatically generates a set of candidate rules for the labeling task at hand, and utilizes the annotator's feedback to adapt the candidate rules. We describe how Darwin is scalable and versatile. It can operate over large text corpora (i.e., more than 1 million sentences) and supports a wide range of labeling functions (i.e., any function that can be specified using a context free grammar). Finally, we demonstrate with a suite of experiments over five real-world datasets that Darwin enables annotators to generate weakly-supervised labels efficiently and with a small cost. In fact, our experiments show that rules discovered by Darwin on average identify 40% more positive instances compared to Snuba even when it is provided with 1000 labeled instances.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

5 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Refining Labeling Functions with Limited Labeled Data cites Nemo: Guiding and Contextualizing Weak Supervision for Interactive Data Programming
  • Refining Labeling Functions with Limited Labeled Data cites Witan: Unsupervised Labelling Function Generation for Assisted Data Programming
  • Prompt-Based Rule Discovery and Boosting for Interactive Weakly-Supervised Learning cites Nemo: Guiding and Contextualizing Weak Supervision for Interactive Data Programming
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers5

  1. Prompt-Based Rule Discovery and Boosting for Interactive Weakly-Supervised LearningRongzhi Zhang, Yue Yu, Pranav Shetty, Le Song et al.ACL 2022 · 29 citations
  2. Nemo: Guiding and Contextualizing Weak Supervision for Interactive Data ProgrammingCheng-Yu Hsieh, Jieyu Zhang, Alexander J. RatnerVLDB 2022 · 17 citations
  3. Self-Supervised Self-Supervision by Combining Deep Learning and Probabilistic LogicHunter Lang, Hoifung PoonAAAI 2021 · 13 citations
  4. Witan: Unsupervised Labelling Function Generation for Assisted Data ProgrammingBenjamin Denham, Edmund M.-K. Lai, Roopak Sinha, Muhammad Asif NaeemVLDB 2022 · 12 citations
  5. Refining Labeling Functions with Limited Labeled DataChenjie Li, Amir Gilad, Boris Glavic, Zhengjie Miao et al.KDD 2025 · 1 citation

Related papers

  1. Interactive Weak Supervision: Learning Useful Heuristics for Data LabelingBenedikt Boecking, Willie Neiswanger, Eric P. Xing, Artur DubrawskiICLR 2021 · 8 citations
  2. DALL: Data Labeling via Data Programming and Active Learning Enhanced by Large Language ModelsGuozheng Li, Ao Wang, Shaoxiang Wang, Yu Zhang et al.CHI 2026
  3. Ground Truth Inference for Weakly Supervised Entity MatchingRenzhi Wu, Alexander Bendeck, Xu Chu, Yeye HeSIGMOD 2023 · 4 citations
  4. Inspector Gadget: A Data Programming-based Labeling System for Industrial ImagesGeon Heo, Yuji Roh, Seonghyeon Hwang, Dayun Lee et al.VLDB 2021 · 9 citations
  5. Ruler: Data Programming by Demonstration for Document LabelingSara Evensen, Chang Ge, Çagatay DemiralpEMNLP Findings 2020 · 11 citations
Dusk over the sea between two cliffs drawn in fine vertical lines