Conference EACL 2023 2023

ALANNO: An Active Learning Annotation System for Mortals

Josip Jukić, Fran Jelenić, Miroslav Bićanić, Jan Šnajder

In Proceedings of the 17th Conference of the European Chapter of the Association for Computational Linguistics: System Demonstrations, pages 228–235, Dubrovnik, Croatia. Association for Computational Linguistics.

Read PDF DOI
Teaser figure from the paper

Abstract

Supervised machine learning has become the cornerstone of today’s data-driven society, increasing the need for labeled data. However, the process of acquiring labels is often expensive and tedious. One possible remedy is to use active learning (AL) – a special family of machine learning algorithms designed to reduce labeling costs. Although AL has been successful in practice, a number of practical challenges hinder its effectiveness and are often overlooked in existing AL annotation tools. To address these challenges, we developed ALANNO, an open-source annotation system for NLP tasks equipped with features to make AL effective in real-world annotation projects. ALANNO facilitates annotation management in a multi-annotator setup and supports a variety of AL methods and underlying models, which are easily configurable and extensible.

Introduction

Machine learning models rely heavily on labeled data, which is often expensive to obtain. Active Learning (AL) can reduce labeling costs by selecting the most informative instances for labeling. ALANNO addresses practical issues in AL application, supporting multi-annotator projects and ensuring unbiased evaluation and robust label quality.

System Overview

ALANNO organizes annotation projects into manageable components, including project roles (managers and annotators), data assignment, and annotation. Data assignments are managed incrementally in rounds, and project managers can adjust annotators and workload per round. The interface supports single-label and multi-label classification, as well as sequence labeling tasks.

Features

Annotation Management

ALANNO supports balanced data assignment through a Quasi-Monte Carlo method and monitors inter-annotator agreement using various metrics. It offers agreement-aware label aggregation, allowing for quality control across diverse annotators with varying expertise levels.

AL Acquisition Models and Functions

The system offers a variety of acquisition models (TF-IDF, SVM, Transformers) and AL methods (uncertainty sampling, informative density). ALANNO’s flexible architecture supports the inclusion of new models and acquisition functions, enabling efficient data sampling in AL processes.

AL Challenges and Solutions

To address AL challenges, ALANNO includes methods for unbiased evaluation (by reserving a test set), a performance forecasting tool for the stopping criterion, and guided learning to manage class imbalance.

Case Studies

Two case studies demonstrate ALANNO’s balanced data assignment and performance forecasting features. The first study highlights balanced assignment benefits using Quasi-Monte Carlo methods, while the second showcases forecasting for efficient AL processes.

ALANNO builds upon previous annotation tools like Label Studio and INCEpTION, but uniquely addresses key practical AL challenges in multi-annotator setups. This distinguishes ALANNO from other AL tools, offering features specifically designed for real-world application and label reliability improvement.

Conclusion

ALANNO is a comprehensive, open-source AL-based annotation tool for NLP tasks. It addresses essential challenges of AL and annotation management in real-world projects, offering a practical solution to improve data quality and reduce labeling costs.

BibTeX

@inproceedings{jukic-etal-2023-alanno,
    title = "{ALANNO}: An Active Learning Annotation System for Mortals",
    author = "Juki{\'c}, Josip  and
      Jeleni{\'c}, Fran  and
      Bi{\'c}ani{\'c}, Miroslav  and
      \v{S}najder, Jan",
    editor = "Croce, Danilo  and
      Soldaini, Luca",
    booktitle = "Proceedings of the 17th Conference of the European Chapter of the Association for Computational Linguistics: System Demonstrations",
    month = may,
    year = "2023",
    address = "Dubrovnik, Croatia",
    publisher = "Association for Computational Linguistics",
    url = "https://aclanthology.org/2023.eacl-demo.26",
    doi = "10.18653/v1/2023.eacl-demo.26",
    pages = "228--235",
    abstract = "Supervised machine learning has become the cornerstone of today{'}s data-driven society, increasing the need for labeled data. However, the process of acquiring labels is often expensive and tedious. One possible remedy is to use active learning (AL) {--} a special family of machine learning algorithms designed to reduce labeling costs. Although AL has been successful in practice, a number of practical challenges hinder its effectiveness and are often overlooked in existing AL annotation tools. To address these challenges, we developed ALANNO, an open-source annotation system for NLP tasks equipped with features to make AL effective in real-world annotation projects. ALANNO facilitates annotation management in a multi-annotator setup and supports a variety of AL methods and underlying models, which are easily configurable and extensible.",
}