Our new X account is live! Follow @wizwand_team for updates
WorkDL logo mark

AnnoLLM: Making Large Language Models to Be Better Crowdsourced Annotators

About

Many natural language processing (NLP) tasks rely on labeled data to train machine learning models with high performance. However, data annotation is time-consuming and expensive, especially when the task involves a large amount of data or requires specialized domains. Recently, GPT-3.5 series models have demonstrated remarkable few-shot and zero-shot ability across various NLP tasks. In this paper, we first claim that large language models (LLMs), such as GPT-3.5, can serve as an excellent crowdsourced annotator when provided with sufficient guidance and demonstrated examples. Accordingly, we propose AnnoLLM, an annotation system powered by LLMs, which adopts a two-step approach, explain-then-annotate. Concretely, we first prompt LLMs to provide explanations for why the specific ground truth answer/label was assigned for a given example. Then, we construct the few-shot chain-of-thought prompt with the self-generated explanation and employ it to annotate the unlabeled data with LLMs. Our experiment results on three tasks, including user input and keyword relevance assessment, BoolQ, and WiC, demonstrate that AnnoLLM surpasses or performs on par with crowdsourced annotators. Furthermore, we build the first conversation-based information retrieval dataset employing AnnoLLM. This dataset is designed to facilitate the development of retrieval models capable of retrieving pertinent documents for conversational text. Human evaluation has validated the dataset's high quality.

Xingwei He, Zhenghao Lin, Yeyun Gong, A-Long Jin, Hang Zhang, Chen Lin, Jian Jiao, Siu Ming Yiu, Nan Duan, Weizhu Chen• 2023

Related benchmarks

TaskDatasetResultRank
Topic ClassificationAG News (test)
Accuracy85.39
98
Ontology ClassificationDBPedia (test)
Accuracy95.34
53
Content Type ClassificationRCT (test)
Accuracy68.53
11
Intent ClassificationBanking (BANK) (test)
Accuracy70.29
11
Topic ClassificationTREC (test)
Accuracy79.6
11
Medical Diagnosis ClassificationMedical Abstract (MA) (test)
Accuracy59.56
11
Content Type ClassificationRCT (train)
Accuracy68.13
10
Intent ClassificationBanking (BANK) (train)
Accuracy67.04
10
Ontology ClassificationDBpedia (DBP) (train)
Accuracy95.62
10
Topic ClassificationTREC (train)
Accuracy73.73
10
Showing 10 of 12 rows

Other info

Follow for update