Skip to main content
QUICK REVIEW

[论文解读] AnnoLLM: Making Large Language Models to Be Better Crowdsourced Annotators

Xingwei He, Zhenghao Lin|arXiv (Cornell University)|Mar 29, 2023
Topic ModelingComputer Science被引用 34
一句话总结

AnnoLLM 使用 GPT-3.5,并采用 explain-then-annotate 方法来替代众包标注,在 QK、BoolQ 和 WiC 任务上实现优越或可比的结果。它利用生成的解释来形成对未标注数据进行小样本链式推理提示。

ABSTRACT

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.

研究动机与目标

  • 通过使用大模型作为标注者来减少标注成本和对人工标注者的依赖的动机。
  • 提出一个两步式的 explain-then-annotate 方法以提高 LLM 的标注质量。
  • 展示 GPT-3.5 作为数据标注者在多项自然语言处理任务中的有效性。

提出的方法

  • 使用任务描述和类别定义将 GPT-3.5 转化为零样本标注器。
  • 通过给 GPT-3.5 提示任务指引和真实标签,为已演示的示例生成解释。
  • 从自生成的解释构建小样本链式思考提示,以标注未标注数据。
  • 在三项二分类任务(QK 用户查询/关键词相关性、BoolQ、WiC)上评估 AnnoLLM。
  • 将 LLM 标注与众包标注和有监督基线进行比较。

实验结果

研究问题

  • RQ1在适当的引导下,GPT-3.5 能否替代众包标注者?
  • RQ2与标准的 few-shot CoT 或零-shot 提示相比,explain-then-annotate 方法是否提高了标注质量?
  • RQ3相对于人工标注和有监督模型,AnnoLLM 在 QK、BoolQ 与 WiC 上的表现如何?

主要发现

  • 在 QK 上,GPT-3.5 使用 4-shot CoT 在开发集/测试集的准确性超过众包标注者(示例:4-shot CoT 时开发集 74.17,测试 75.60;众包:开发 65.58,测试 71.50)。
  • 在 BoolQ 上,GPT-3.5 使用 8-shot CoT 的开发集/测试集准确性高于零样本/少样本基线,接近众包的表现(示例:8-shot CoT 时开发 89.69,测试 89.20)。
  • 在 WiC 上,AnnoLLM 使用 8-shot CoT 的表现优于 8-shot 非 CoT 设置,并且与现有方法相比具有竞争力,尽管与完整监督或 crowdsourced 基准之间仍存在差距。
  • 零样本 GPT-3.5 在多项任务上的表现不如其少样本和 CoT 变体,凸显了示例和推理提示的价值。
  • 少样本 CoT 方法在跨提示上提供更稳定的性能,尤其是在 BoolQ 上,相较于对模板更敏感的标准少样本提示。
  • 消融研究表明生成的解释至关重要;从解释中移除标签或对解释进行过滤会产生细微影响,总体性能取决于是否包含正确的推理原因。

阅读本论文

在 Nubint 阅读器中打开原文,边读边就任意段落提问。

在 Nubint 中阅读本论文

本解读由 AI 根据论文原文生成,引用前请核对原文。