arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2504.15022cs.CL
收藏

LLMs作为数据标注器:我们离人类表现有多近

LLMs as Data Annotators: How Close Are We to Human Performance

Amajor SB S.p.A(Amajor SB股份公司);University of Padova(帕多瓦大学);Bruno Kessler Foundation(布鲁诺·凯斯勒基金会);University of Trento(特伦托大学)

Muhammad Uzair Ul Haq, Davide Rigoni, Alessandro Sperduti

AI总结:

本研究通过对比多种LLMs在NER任务上的标注性能,并引入RAG自动检索示例,揭示了模型选择、规模与性能的权衡,强调需关注更具挑战性的数据集。

摘要:

在自然语言处理中,微调大型语言模型(LLMs)对各种应用有效,但需要高质量的标注数据。然而,人工标注数据劳动密集、耗时且成本高昂。因此,LLMs越来越多地被用于自动化该过程,通常采用上下文学习(ICL),即在提示中给出与任务相关的一些示例以提高性能。然而,手动选择上下文示例可能导致效率低下和模型性能次优。本文进行了综合实验,比较了多种LLMs,考虑了不同的嵌入模型,并在多个数据集上针对命名实体识别(NER)任务进行评估。评估涵盖了约70亿和700亿参数的模型,包括专有和非专有模型。此外,利用检索增强生成(RAG)的成功,还考虑了一种通过自动检索上下文示例来解决ICL局限性的方法,从而提升性能。结果强调了选择合适LLM和嵌入模型的重要性,理解LLM规模与期望性能之间的权衡,以及将研究努力导向更具挑战性数据集的必要性。

英文摘要:

In NLP, fine-tuning LLMs is effective for various applications but requires high-quality annotated data. However, manual annotation of data is labor-intensive, time-consuming, and costly. Therefore, LLMs are increasingly used to automate the process, often employing in-context learning (ICL) in which some examples related to the task are given in the prompt for better performance. However, manually selecting context examples can lead to inefficiencies and suboptimal model performance. This paper presents comprehensive experiments comparing several LLMs, considering different embedding models, across various datasets for the Named Entity Recognition (NER) task. The evaluation encompasses models with approximately $7$B and $70$B parameters, including both proprietary and non-proprietary models. Furthermore, leveraging the success of Retrieval-Augmented Generation (RAG), it also considers a method that addresses the limitations of ICL by automatically retrieving contextual examples, thereby enhancing performance. The results highlight the importance of selecting the appropriate LLM and embedding model, understanding the trade-offs between LLM sizes and desired performance, and the necessity to direct research efforts towards more challenging datasets.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑