TagRuler: Interactive Tool for Span-Level Data Programming by Demonstration

Dongjin Choi, Sara Evensen, Çağatay Demiralp, Estevam Hruschka
6/24/2021
cs.CLcs.DBcs.HC

Official code: megagonlabs/tagruler (35 stars, JavaScript, Apache-2.0, last commit 2021-09-09).

Abstract

Despite rapid developments in the field of machine learning research, collecting high-quality labels for supervised learning remains a bottleneck for many applications. This difficulty is exacerbated by the fact that state-of-the-art models for NLP tasks are becoming deeper and more complex, often increasing the amount of training data required even for fine-tuning.

Show full abstract

Weak supervision methods, including data programming, address this problem and reduce the cost of label collection by using noisy label sources for supervision. However, until recently, data programming was only accessible to users who knew how to program. To bridge this gap, the Data Programming by Demonstration framework was proposed to facilitate the automatic creation of labeling functions based on a few examples labeled by a domain expert. This framework has proven successful for generating high-accuracy labeling models for document classification. In this work, we extend the DPBD framework to span-level annotation tasks, arguably one of the most time-consuming NLP labeling tasks. We built a novel tool, TagRuler, that makes it easy for annotators to build span-level labeling functions without programming and encourages them to explore trade-offs between different labeling models and active learning strategies. We empirically demonstrated that an annotator could achieve a higher F1 score using the proposed tool compared to manual labeling for different span-level annotation tasks.

View on arXivView PDF

Code Implementations(1)

Apache-2.0

Data programming by demonstration for information extraction and span annotation

355JavaScript, PythonFeb 25, 20215 years agoApache-2.0
data-labelingdata-programmingdata-programming-by-demonstrationmachine-learningweak-supervision

Similar Papers

Cite this paper

@article{choi2021tagruler,
  title  = {TagRuler: Interactive Tool for Span-Level Data Programming by Demonstration},
  author = {Dongjin Choi and Sara Evensen and Çağatay Demiralp and Estevam Hruschka},
  year   = {2021},
  eprint = {2106.12767},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2106.12767}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2106.12767.svg)](https://codeofpaper.com/paper/2106.12767)

Discussion