Skip to main navigation Skip to search Skip to main content

Comparing and Improving Active Learning Uncertainty Measures for Transformer Models

  • Julius Gonsior*
  • , Christian Falkenberg
  • , Silvio Magino
  • , Anja Reusch
  • , Claudio Hartmann
  • , Maik Thiele
  • , Wolfgang Lehner
  • *Corresponding author for this work

Research output: Contribution to book/anthology/report/conference proceeding › Article in proceeding › Research › peer-review

Abstract

Despite achieving state-of-the-art results in nearly all Natural Language Processing applications, fine-tuning Transformer-encoder based language models still requires a significant amount of labeled data to achieve satisfying work. A well known technique to reduce the amount of human effort in acquiring a labeled dataset is Active Learning (AL): an iterative process in which only the minimal amount of samples is labeled. AL strategies require access to a quantified confidence measure of the model predictions. A common choice is the softmax activation function for the final Neural Network layer. In this paper we compare eight alternatives on seven datasets and show that the softmax function provides misleading probabilities. Our finding is that most of the methods primarily identify hard-to-learn-from samples (outliers), resulting in worse than random performance, instead of samples, which reduce the uncertainty of the learned language model. As a solution this paper proposes a heuristic to systematically exclude samples, which results in improvements of various methods compared to the softmax function.

Original languageEnglish
Title of host publicationAdvances in Databases and Information Systems - 27th European Conference, ADBIS 2023, Proceedings
EditorsAlberto Abelló, Oscar Romero, Panos Vassiliadis, Robert Wrembel
Number of pages14
PublisherSpringer
Publication date2023
Pages119-132
ISBN (Print)9783031429132
DOIs
Publication statusPublished - 2023
Externally publishedYes
Event27th European Conference on Advances in Databases and Information Systems , ADBIS 2023 - Barcelona, Spain
Duration: 4 Sept 2023 → 7 Sept 2023

Conference

Conference27th European Conference on Advances in Databases and Information Systems , ADBIS 2023
Country/TerritorySpain
CityBarcelona
Period04/09/2023 → 07/09/2023
SeriesLecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics)
Volume13985 LNCS
ISSN0302-9743

Bibliographical note

Publisher Copyright:
© The Author(s), under exclusive license to Springer Nature Switzerland AG 2023.

Keywords

  • Active Learning
  • Calibration
  • Deep Neural Networks
  • Softmax
  • Transformer
  • Uncertainty

Fingerprint

Dive into the research topics of 'Comparing and Improving Active Learning Uncertainty Measures for Transformer Models'. Together they form a unique fingerprint.

Cite this