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

设计大型语言模型提示以从杂乱文本中提取分数:一个共享数据集和挑战

Designing large language model prompts to extract scores from messy text: A shared dataset and challenge

University of Sheffield(谢菲尔德大学)

Mike Thelwall

AI总结:

本文提出一个共享数据集和挑战,旨在通过设计提示提升大型语言模型从杂乱文本中提取分数的准确性。

摘要:

在计算的一些领域,自然语言处理和信息科学的进步是通过共享数据集并挑战社区设计最佳算法来完成的。本文介绍了一个包含1446个短文本的共享数据集,每个文本都描述了一个研究质量分数,按英国1*到4*的尺度。这是一个杂乱的集合,有些文本不含分数,有些包含无效分数或奇怪的格式。该数据集还描述了有效分数的构成,并提供了这些文本的“黄金标准”正确分数(包括缺失值)。挑战是设计一个提示,使大型语言模型(LLMs)能够尽可能准确地从这些文本中提取分数。响应的格式应为数字,而不是其他文本,因此挑战有两个方面:确保LLM只返回数字,并指导它推断文本的正确数字。为此,LLM提示需要解释何时返回缺失值代码-1,而不是数字,当文本不明确包含数字时。本文还提供了一个简单的提示示例。该挑战的目的是双重的:获得该问题的有效解决方案,并增加对复杂数值任务提示设计和LLM能力的理解。初步解决方案的准确率为72.6%,因此挑战是超越这一水平。

英文摘要:

In some areas of computing, natural language processing and information science, progress is made by sharing datasets and challenging the community to design the best algorithm for an associated task. This article introduces a shared dataset of 1446 short texts, each of which describes a research quality score on the UK scale of 1* to 4*. This is a messy collection, with some texts not containing scores and others including invalid scores or strange formats. With this dataset there is also a description of what constitutes a valid score and a "gold standard" of the correct scores for these texts (including missing values). The challenge is to design a prompt for Large Language Models (LLMs) to extract the scores from these texts as accurately as possible. The format for the response should be a number and no other text so there are two aspects to the challenge: ensuring that the LLM returns only a number, and instructing it to deduce the correct number for the text. As part of this, the LLM prompt needs to explain when to return the missing value code, -1, instead of a number when the text does not clearly contain one. The article also provides an example of a simple prompt. The purpose of the challenge is twofold: to get an effective solution to this problem, and to increase understanding of prompt design and LLM capabilities for complex numerical tasks. The initial solution suggested has an accuracy of 72.6%, so the challenge is to beat this.

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

↑