arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2406.02943cs.IRcs.AIcs.CLcs.HCcs.NE
收藏

面向任务的查询基准(ToQB)

The Task-oriented Queries Benchmark (ToQB)

Google(谷歌)

Keun Soo Yim

AI总结:

本文提出了一种利用现有面向任务对话数据集和LLM服务高效生成面向任务查询基准(ToQB)的新方法,通过案例研究展示了定制LLM提示的过程,并公开了生成的数据集。

摘要:

面向任务的查询(例如用于播放视频、点餐或叫出租车的单次查询)对于评估虚拟助手、聊天机器人及其他大型语言模型(LLM)服务的质量至关重要。然而,目前尚无面向任务查询的标准基准,因为相关自然语言处理(NLP)领域的现有基准主要集中于面向任务的对话。为此,我们提出了一种新方法,利用现有的面向任务对话数据集和LLM服务,高效生成面向任务的查询基准(ToQB)。该方法将底层NLP任务表述为总结每段对话中说话者的原始意图,详细说明了使用LLM服务执行该NLP任务的关键步骤,并概述了一个使基准生成过程大部分自动化的框架。通过包含三个领域(即两个单任务领域和一个多任务领域)的案例研究,我们展示了如何为这三个领域定制LLM提示(例如省略系统话语或说话者标签),并对生成的面向任务查询进行了特征刻画。生成的ToQB数据集已向公众开放。我们进一步讨论了社区贡献者可添加至ToQB的新领域及其实际应用。

英文摘要:

Task-oriented queries (e.g., one-shot queries to play videos, order food, or call a taxi) are crucial for assessing the quality of virtual assistants, chatbots, and other large language model (LLM)-based services. However, a standard benchmark for task-oriented queries is not yet available, as existing benchmarks in the relevant NLP (Natural Language Processing) fields have primarily focused on task-oriented dialogues. Thus, we present a new methodology for efficiently generating the Task-oriented Queries Benchmark (ToQB) using existing task-oriented dialogue datasets and an LLM service. Our methodology involves formulating the underlying NLP task to summarize the original intent of a speaker in each dialogue, detailing the key steps to perform the devised NLP task using an LLM service, and outlining a framework for automating a major part of the benchmark generation process. Through a case study encompassing three domains (i.e., two single-task domains and one multi-task domain), we demonstrate how to customize the LLM prompts (e.g., omitting system utterances or speaker labels) for those three domains and characterize the generated task-oriented queries. The generated ToQB dataset is made available to the public. We further discuss new domains that can be added to ToQB by community contributors and its practical applications.

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

↑