Revisiting Uncertainty-based Query Strategies for Active Learning with Transformers

Christopher Schröder, Andreas Niekler, Martin Potthast
7/12/2021
106 citations
cs.CLcs.LG
transformer-attention

Official code: webis-de/acl22-revisiting-uncertainty-based-query-strategies-for-active-learning-with-transformers (4 stars, Python, MIT, last commit 2024-03-04). Most starred: webis-de/ACL-22, a community implementation (16 stars, last commit 2022-03-16, 4.0× the official stars). 1 more implementation below.

Abstract

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.

Show full abstract

This can be attributed to the fact that using state-of-the-art query strategies for transformers induces a prohibitive runtime overhead, which effectively nullifies, or even outweighs the desired cost savings. For this reason, 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, we connect transformers to experiments from previous research, assessing their performance on five widely used text classification benchmarks. For active learning with transformers, several other uncertainty-based approaches outperform the well-known prediction entropy query strategy, thereby challenging its status as most popular uncertainty baseline in active learning for text classification.

View on arXivView PDF

Code Implementations(2)

Code implementations of this paper
RepositoryTypeStarsLanguageLicenseLast commit
webis-de/acl22-revisiting-uncertainty-based-query-strategies-for-active-learning-with-transformersOfficial4PythonMIT2024-03-04
webis-de/ACL-22Community16––2022-03-16
MIT

Revisiting Uncertainty-based Query Strategies for Active Learning with Transformers

44Python, ShellMar 3, 20222 years agoMIT
active-learningresearchresearch-papertext-classification
webis-de/ACL-22Community100%
160Mar 2, 20224 years ago

Similar Papers

Cite this paper

@article{schrder2021revisiting,
  title  = {Revisiting Uncertainty-based Query Strategies for Active Learning with Transformers},
  author = {Christopher Schröder and Andreas Niekler and Martin Potthast},
  year   = {2021},
  eprint = {2107.05687},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2107.05687}
}

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

Discussion