Introduction
Supervised machine learning typically requires vast amounts of hand-labeled data, a process that is both time-consuming and expensive. To mitigate this, researchers have traditionally turned to two paradigms: Active Learning (AL), where a model queries a human for labels on the most informative individual instances, and Weak Supervision (WS), where experts write high-level "labeling rules" to programmatically label large datasets. While AL is precise but slow, WS is fast but places a heavy cognitive burden on experts to brainstorm rules from scratch.
This paper introduces INTERVAL (INTEractive Rule discoVery for weAkly supervised Learning), a novel framework that bridges this gap. INTERVAL automates rule discovery by using Large Language Models (LLMs) to suggest candidate rules, which experts then validate alongside individual instance labeling.
The INTERVAL Framework
INTERVAL operates as a human-in-the-loop system that iteratively improves a classifier through a hybrid feedback mechanism. Instead of requiring experts to generate rules, the system presents them with candidate rules to "Accept" or "Reject."
The core components of the framework include:
- Teacher-Student Co-training: A "Teacher" model aggregates noisy labels from rules, while a "Student" model (the final classifier) learns from both these rules and a small set of clean, human-labeled data.
- Automatic Rule Extraction: INTERVAL suggests rules based on N-grams, linguistic features (POS tags, NER), and prompt-based semantic features. For the latter, an LLM fills templates like "The movie was [MASK]"; if it predicts "terrible," this becomes a rule predicate.
- Instance Selection: The system uses hierarchical clustering and entropy-based sampling to identify instances where the model is most uncertain, maximizing the information gain from each human query.
Experimental Evaluation
The authors evaluated INTERVAL across six diverse text classification benchmarks, ranging from spam detection to sentiment analysis and topic classification.
The framework was compared against standard supervised learning, semi-supervised learning, and state-of-the-art weak supervision methods like Snorkel and ASTRA.
Key Insights and Results
The study yielded several critical findings regarding the efficiency of interactive machine teaching:
- Precision Over Coverage: Exploratory analysis revealed that for training the Student model, the accuracy (precision) of labeling rules is significantly more important than how many instances they cover. High-precision "surgical" rules are more effective than broad, noisy ones.
- Superior Efficiency: INTERVAL reached performance levels with just 10 human queries that traditional Active Learning methods could not match even after 100 queries, representing a 10x improvement in human effort efficiency.
- The Power of Validation: Humans are significantly better at validating suggested rules than brainstorming them. By providing the context of the instance the rule applies to, INTERVAL makes the validation process fast and accurate.
- LLMs as Semantic Feature Extractors: The inclusion of prompt-based rules allowed the system to capture nuanced meanings (e.g., "I won't go back" indicating negative sentiment) that simple keyword-based rules often miss.
Conclusion and Future Work
INTERVAL demonstrates that a hybrid approach—combining automated rule discovery with human validation—can drastically reduce the labeling burden for complex NLP tasks. While the current study used simulated experts and focused on text classification, future work aims to explore real-world human factors like fatigue and extend the framework to more complex tasks such as Named Entity Recognition (NER). By treating the expert as a validator rather than a generator, INTERVAL paves the way for more scalable and accessible machine teaching.
Summary updated