Low-resource Interactive Active Labeling for Fine-tuning Language Models

Seiji Maekawa, Dan Zhang, Hannah Kim, Sajjadur Rahman, Estevam HruschkaEMNLP 2022

Introduction

Active Learning (AL) is a critical technique in Natural Language Processing (NLP) for optimizing model performance while minimizing manual labeling effort. By selecting the most "informative" data points for human annotation, AL aims to reduce the overhead of fine-tuning large language models. However, modern interactive settings—where human annotators and models collaborate in real-time—expose three major weaknesses in traditional AL: high labeling costs in niche domains, significant acquisition latency, and sample redundancy.

The TYROGUE Framework

To address these challenges, we introduce TYROGUE, a hybrid active learning framework designed for efficiency and speed. TYROGUE employs a three-step strategy to streamline the labeling process:

  1. Random Filtering: To eliminate the latency bottleneck, the system first draws a random subset (e.g., 10,000 samples) from the unlabeled pool. This sub-sampling significantly reduces computation time without compromising final model accuracy.
  2. Decoupled Diversity & Uncertainty: Unlike methods that conflate these goals, TYROGUE separates them. It uses k-means clustering on BERT embeddings to identify a diverse set of candidate clusters.
  3. Tunable Selection: Within these clusters, the system selects samples based on predictive entropy (uncertainty). A control parameter, $r$, allows users to balance diversity and uncertainty based on the specific characteristics of the dataset.

Visualizing the Redundancy Problem

A core contribution of TYROGUE is its ability to avoid "clumping" or redundancy, which often plagues standard AL methods. Uncertainty-based methods frequently select many similar samples near a single decision boundary (intra-iteration redundancy), while diversity-based methods may repeatedly pick samples from the same regions across different rounds (inter-iteration redundancy).

Comparison of sample acquisition strategies highlighting redundancy issues in traditional methods versus the proposed TYROGUE framework.

As shown in the figure above, TYROGUE (e) provides a more balanced and efficient sampling distribution compared to pure uncertainty (b) or diversity (c) approaches, which tend to cluster samples in suboptimal ways.

Key Results and Insights

TYROGUE was evaluated across eight NLP benchmarks, including sentiment analysis and topic classification, specifically focusing on low-resource settings (under 1,000 labels). The findings highlight several advantages:

  • Cost and Speed: TYROGUE reduced labeling costs by up to 43% on the AgNews dataset and achieved an acquisition speedup of up to 11x on the QQP dataset compared to state-of-the-art hybrid methods like CAL.
  • Latency-Accuracy Synergy: The research demonstrates that looking at the entire unlabeled pool is unnecessary. Random sub-sampling provides sufficient coverage for effective active learning while keeping the system responsive for human interactors.
  • Adaptability: The tunable $r$ parameter allows the framework to adapt to different task types. For example, multi-class datasets like DBPEDIA benefit from higher diversity, while adversarial datasets like PAWS-QQP benefit from higher uncertainty focus.

Conclusion

TYROGUE represents a significant step toward making active learning practical for real-world, interactive fine-tuning. By decoupling diversity and uncertainty and utilizing intelligent sub-sampling, it provides a robust, fast, and cost-effective solution for low-resource NLP tasks. Future work will explore extending this framework to multi-modal data and developing automated methods for self-tuning the diversity-uncertainty balance.

Summary updated

BibTeX
@inproceedings{maekawa2022low,
  author = {Seiji Maekawa and Dan Zhang and Hannah Kim and Sajjadur Rahman and Estevam Hruschka},
  title = {{Low-resource Interactive Active Labeling for Fine-tuning Language Models}},
  booktitle = {Conference on Empirical Methods in Natural Language Processing},
  year = {2022},
  url = {https://openreview.net/forum?id=Zha1C8bf4k},
}
Figure