EMNLP Findings2020
Ruler: Data Programming by Demonstration for Document Labeling
Sara Evensen, Chang Ge, Çagatay Demiralp
Abstract
Data programming aims to reduce the cost of curating training data by encoding domain knowledge as labeling functions over source data. As such it not only requires domain expertise but also programming experience, a skill that many subject matter experts lack. Additionally, generating functions by enumerating rules is not only time consuming but also inherently difficult, even for people with programming experience. In this paper we introduce Ruler, an interactive system that synthesizes labeling rules using span-level interactive demonstrations over document examples. Ruler is a first-of-a-kind implementation of data programming by demonstration (DPBD). This new framework aims to relieve users from the burden of writing labeling functions, enabling them to focus on higher-level semantic analysis, such as identifying relevant signals for the labeling task. We compare Ruler with conventional data programming through a user study conducted with 10 data scientists who were asked to create labeling functions for sentiment and spam classification tasks. Results show Ruler is easier to learn and to use, and that it offers higher overall user-satisfaction while providing model performances comparable to those achieved by conventional data programming.
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.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- PEANUT: A Human-AI Collaborative Tool for Annotating Audio-Visual Data cites OneLabeler: A Flexible System for Building Data Labeling Tools
- DALL: Data Labeling via Data Programming and Active Learning Enhanced by Large Language Models cites OneLabeler: A Flexible System for Building Data Labeling Tools
Cited by top-tier papers5
- Integrated Visualization Editing via Parameterized Declarative TemplatesAndrew M. McNutt, Ravi ChughCHI 2021 · 39 citations
- OneLabeler: A Flexible System for Building Data Labeling ToolsYu Zhang, Yun Wang, Haidong Zhang, Bin Zhu et al.CHI 2022 · 27 citations
- PEANUT: A Human-AI Collaborative Tool for Annotating Audio-Visual DataZheng Zhang, Zheng Ning, Chenliang Xu, Yapeng Tian et al.UIST 2023 · 9 citations
- ProTAL: A Drag-and-Link Video Programming Framework for Temporal Action LocalizationYuchen He, Jianbing Lv, Liqi Cheng, Lingyu Meng et al.CHI 2025 · 3 citations
- 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
Related papers
- Witan: Unsupervised Labelling Function Generation for Assisted Data ProgrammingBenjamin Denham, Edmund M.-K. Lai, Roopak Sinha, Muhammad Asif NaeemVLDB 2022 · 12 citations
- Robust Data Programming with Precision-guided Labeling FunctionsOishik Chatterjee, Ganesh Ramakrishnan, Sunita SarawagiAAAI 2020 · 20 citations
- Interactive Program Synthesis by Augmented ExamplesTianyi Zhang, London Lowmanstone, Xinyu Wang, Elena L. GlassmanUIST 2020 · 57 citations
- Learning to Robustly Aggregate Labeling Functions for Semi-supervised Data ProgrammingAyush Maheshwari, KrishnaTeja Killamsetty, Ganesh Ramakrishnan, Rishabh K. Iyer et al.ACL Findings 2022 · 13 citations
- : A Visual Analytics Approach for Interactive Video ProgrammingJianben He, Xingbo Wang, Kamkwai Wong, Xijie Huang et al.IEEE VIS 2023 · 17 citations
