AnnoLLM:让大型语言模型成为更好的众包标注员
AnnoLLM: Making Large Language Models to Be Better Crowdsourced Annotators
AI总结:
本文提出AnnoLLM,通过“先解释、后标注”的两步少样本思维链方法让LLM承担众包标注,并在三项任务及对话式检索数据集构建中验证其质量与效果。
摘要:
许多自然语言处理(NLP)任务依赖标注数据来训练高性能机器学习模型。然而,数据标注既耗时又昂贵,尤其是在任务涉及大量数据或需要专业领域知识时。近来,GPT-3.5系列模型已在各类NLP任务中展现出卓越的少样本和零样本能力。本文首先主张,当获得充分指导和示例演示时,诸如GPT-3.5之类的大型语言模型(LLM)可以充当优秀的众包标注员。据此,我们提出AnnoLLM,这是一个由LLM驱动的标注系统,采用“先解释、后标注”的两步方法。具体而言,我们首先提示LLM解释:对于给定示例,为什么会赋予特定的真实答案/标签。随后,我们利用这些自生成解释构建少样本思维链提示,并用其通过LLM标注未标注数据。我们在三项任务上的实验结果——包括用户输入与关键词相关性评估、BoolQ和WiC——表明,AnnoLLM优于众包标注员,或表现与之相当。此外,我们利用AnnoLLM构建了首个基于对话的信息检索数据集。该数据集旨在促进检索模型的发展,使其能够为对话文本检索相关文档。人工评估已验证该数据集具有高质量。
英文摘要:
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.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。