Interactive Machine Teaching by Labeling Rules and Instances

Giannis Karamanolakis, Daniel Hsu, Luis Gravano
9/8/2024
5 citations
cs.CL

No official code found. Best implementation: gkaramanolakis/interval (1 star, Python, last commit 2025-10-25).

Abstract

Weakly supervised learning aims to reduce the cost of labeling data by using expert-designed labeling rules. However, existing methods require experts to design effective rules in a single shot, which is difficult in the absence of proper guidance and tooling.

Show full abstract

Therefore, it is still an open question whether experts should spend their limited time writing rules or instead providing instance labels via active learning. In this paper, we investigate how to exploit an expert's limited time to create effective supervision. First, to develop practical guidelines for rule creation, we conduct an exploratory analysis of diverse collections of existing expert-designed rules and find that rule precision is more important than coverage across datasets. Second, we compare rule creation to individual instance labeling via active learning and demonstrate the importance of both across 6 datasets. Third, we propose an interactive learning framework, INTERVAL, that achieves efficiency by automatically extracting candidate rules based on rich patterns (e.g., by prompting a language model), and effectiveness by soliciting expert feedback on both candidate rules and individual instances. Across 6 datasets, INTERVAL outperforms state-of-the-art weakly supervised approaches by 7% in F1. Furthermore, it requires as few as 10 queries for expert feedback to reach F1 values that existing active learning methods cannot match even with 100 queries.

View on arXivView PDF

Code Implementations(1)

This repo holds the code for our interactive machine teaching framework, INTERVAL, described in our TACL 2024 paper: "Interactive Machine Teaching by Labeling Rules and Instances"

10PythonAug 4, 20241 years ago

Similar Papers

Cite this paper

@article{karamanolakis2024interactive,
  title  = {Interactive Machine Teaching by Labeling Rules and Instances},
  author = {Giannis Karamanolakis and Daniel Hsu and Luis Gravano},
  year   = {2024},
  eprint = {2409.05199},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2409.05199v1}
}

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/2409.05199.svg)](https://codeofpaper.com/paper/2409.05199)

Discussion