arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2501.12332cs.CLcs.AIcs.LG
收藏

使用动态标签模式集成的开源大语言模型自动标注

Automatic Labelling with Open-source LLMs using Dynamic Label Schema Integration

J.P. Morgan Chase(摩根大通);Snorkel AI

Thomas Walshe, Sae Young Moon, Chunyang Xiao, Yawwani Gunawardana, Fran Silavong

AI总结:

针对开源模型自动标注中标签模式集成性能不佳的问题,提出检索增强分类(RAC),动态集成标签描述,通过逐标签推理提升标注质量,并可在质量与覆盖率间权衡。

摘要:

在现实世界的机器学习项目中,获取带标签的训练数据以满足数量和质量要求仍然是一项成本高昂的任务。近年来,大型语言模型(LLMs),尤其是GPT-4,在数据标注方面展现出了高准确率的巨大潜力。然而,隐私和成本问题阻碍了GPT-4的广泛使用。在这项工作中,我们探索了如何有效利用开源模型进行自动标注。我们确定集成标签模式是一项有前景的技术,但发现简单地将标签描述用于分类会导致在高基数任务上性能不佳。为了解决这个问题,我们提出了检索增强分类(RAC),其中LLM使用相应的标签模式一次对一个标签进行推理;我们从最相关的标签开始,并迭代直到LLM选择一个标签。我们表明,我们的方法动态集成标签描述,在标注任务中带来了性能提升。我们进一步表明,通过仅关注最有希望的标签,RAC可以在标签质量和覆盖率之间进行权衡——我们利用这一特性来自动标注我们的内部数据集。

英文摘要:

Acquiring labelled training data remains a costly task in real world machine learning projects to meet quantity and quality requirements. Recently Large Language Models (LLMs), notably GPT-4, have shown great promises in labelling data with high accuracy. However, privacy and cost concerns prevent the ubiquitous use of GPT-4. In this work, we explore effectively leveraging open-source models for automatic labelling. We identify integrating label schema as a promising technology but found that naively using the label description for classification leads to poor performance on high cardinality tasks. To address this, we propose Retrieval Augmented Classification (RAC) for which LLM performs inferences for one label at a time using corresponding label schema; we start with the most related label and iterates until a label is chosen by the LLM. We show that our method, which dynamically integrates label description, leads to performance improvements in labelling tasks. We further show that by focusing only on the most promising labels, RAC can trade off between label quality and coverage - a property we leverage to automatically label our internal datasets.

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

↑