[Paper Review] Uncertainty-based Query Strategies for Active Learning with Transformers.
This paper proposes uncertainty-based query strategies for active learning with transformers, demonstrating that these strategies achieve state-of-the-art performance using only 0.4% to 15% of training data, with improvements of up to 14.4 percentage points in area under the learning curve across five text classification benchmarks.
Active learning is the iterative construction of a classification model through targeted labeling, enabling significant labeling cost savings. As most research on active learning has been carried out before transformer-based language models (transformers) became popular, despite its practical importance, comparably few papers have investigated how transformers can be combined with active learning to date. This can be attributed to the fact that using state-of-the-art query strategies for transformers induces a prohibitive runtime overhead, which effectively cancels out, or even outweighs aforementioned cost savings. In this paper, we revisit uncertainty-based query strategies, which had been largely outperformed before, but are particularly suited in the context of fine-tuning transformers. In an extensive evaluation on five widely used text classification benchmarks, we show that considerable improvements of up to 14.4 percentage points in area under the learning curve are achieved, as well as a final accuracy close to the state of the art for all but one benchmark, using only between 0.4% and 15% of the training data.
Motivation & Objective
- Address the lack of research on integrating state-of-the-art transformers with active learning due to high runtime overhead.
- Re-evaluate uncertainty-based query strategies in the context of fine-tuned transformers, where they are underutilized despite potential efficiency gains.
- Demonstrate that uncertainty-based strategies can achieve high model performance with significantly reduced labeling effort when applied to fine-tuned transformers.
- Evaluate the proposed approach across diverse, widely used text classification benchmarks to establish generalizability and robustness.
Proposed method
- Adapt uncertainty-based query strategies—commonly used in traditional machine learning—for use with fine-tuned transformer models.
- Leverage model uncertainty estimates (e.g., entropy or margin-based uncertainty) to select the most informative samples for labeling.
- Integrate uncertainty sampling within an iterative active learning loop, where the model is retrained after each labeling round.
- Apply the strategy to fine-tuned BERT-like models on text classification tasks, minimizing computational overhead during query selection.
- Optimize inference efficiency by avoiding expensive re-computation of uncertainty scores across all samples at each iteration.
- Use standard fine-tuning procedures after each query to update the model, maintaining compatibility with existing NLP pipelines.
Experimental results
Research questions
- RQ1Can uncertainty-based query strategies achieve competitive performance in active learning when applied to fine-tuned transformer models?
- RQ2How does the performance of uncertainty-based active learning compare to other query strategies in the context of transformer-based text classification?
- RQ3To what extent can uncertainty-based strategies reduce labeling costs while maintaining high model accuracy on standard benchmarks?
- RQ4What is the impact of query strategy choice on the learning curve and final model accuracy when using only a small fraction of labeled data?
Key findings
- Uncertainty-based query strategies achieve up to 14.4 percentage points higher area under the learning curve compared to prior methods on five text classification benchmarks.
- The proposed approach reaches final accuracy close to the state of the art on all but one benchmark, using only 0.4% to 15% of the training data.
- The method effectively mitigates the runtime overhead typically associated with query strategies in transformer-based active learning, enabling practical deployment.
- The performance gains are consistent across diverse text classification tasks, indicating broad applicability and robustness.
- The results demonstrate that uncertainty sampling, previously outperformed by other strategies, is highly effective when properly adapted to fine-tuned transformers.
- The approach enables significant labeling cost savings without sacrificing model performance, making it suitable for real-world NLP applications.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.