LLMs in the Loop: Leveraging Large Language Model Annotations for Active Learning in Low-Resource Languages
Nataliia Kholodna, Sahib Julka, Mohammad Khodadadi, Muhammed Nurullah Gumus, Michael Granitzer
TL;DR
Low-resource languages suffer from scarce labeled data, hindering AI deployment. The authors propose a framework that embeds foundation models into an active learning loop to annotate NER data for African languages (MasakhaNER 2.0), reducing annotation effort while achieving near-state-of-the-art performance. Through comprehensive evaluation of multiple LLMs, they select GPT-4-Turbo for annotation tasks, introduce representative sampling, prompt design, batching, and data-contamination checks, and demonstrate significant data and cost savings in an AL setting. The work shows substantial potential to broaden inclusion of low-resource languages and guide future automation efforts, with reported cost savings of at least 42.45x compared to human annotation and minimal data leakage.
Abstract
Low-resource languages face significant barriers in AI development due to limited linguistic resources and expertise for data labeling, rendering them rare and costly. The scarcity of data and the absence of preexisting tools exacerbate these challenges, especially since these languages may not be adequately represented in various NLP datasets. To address this gap, we propose leveraging the potential of LLMs in the active learning loop for data annotation. Initially, we conduct evaluations to assess inter-annotator agreement and consistency, facilitating the selection of a suitable LLM annotator. The chosen annotator is then integrated into a training loop for a classifier using an active learning paradigm, minimizing the amount of queried data required. Empirical evaluations, notably employing GPT-4-Turbo, demonstrate near-state-of-the-art performance with significantly reduced data requirements, as indicated by estimated potential cost savings of at least 42.45 times compared to human annotation. Our proposed solution shows promising potential to substantially reduce both the monetary and computational costs associated with automation in low-resource settings. By bridging the gap between low-resource languages and AI, this approach fosters broader inclusion and shows the potential to enable automation across diverse linguistic landscapes.
