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

多任务推理:大型语言模型能否一次遵循多条指令?

Multi-Task Inference: Can Large Language Models Follow Multiple Instructions at Once?

Yonsei University(延世大学);EleutherAI;OneLineAI;Korea University(高丽大学);VESSL AI;KAIST AI;Carnegie Mellon University(卡内基梅隆大学)

Guijin Son, Sangwon Baek, Sangdae Nam, Ilgyun Jeong, Seungone Kim

AI总结:

本文提出多任务推理基准MTI Bench,验证LLMs一次处理多条指令的能力,发现多任务推理可平均减少1.46倍推理时间,并让Llama-2-Chat-70B和GPT-4分别获得最高7.3%和12.4%的性能提升。

摘要:

大型语言模型(LLMs)通常每次推理调用只被提示遵循一条指令。在本工作中,我们分析LLMs是否也具备同时处理多条指令的能力,称之为多任务推理(Multi-Task Inference)。为此,我们引入了MTI Bench(多任务推理基准,Multi-Task Inference Benchmark),这是一个包含25个任务、共5,000个实例的综合评估基准。MTI Bench中的每个任务包含2到3个子任务。如预期所示,我们首先证明多任务推理平均将总推理时间减少了1.46倍,因为它不需要多次推理调用。有趣的是,与将任务分开时LLMs会表现更好的预期相反,我们发现最先进的LLMs,如Llama-2-Chat-70B和GPT-4,在MTI Bench上与单任务推理(Single-Task Inference)相比,多任务推理分别带来了最高7.3%和12.4%的性能提升。我们在https://github.com/guijinSON/MTI-Bench 发布了MTI Bench数据集和代码。

英文摘要:

Large language models (LLMs) are typically prompted to follow a single instruction per inference call. In this work, we analyze whether LLMs also hold the capability to handle multiple instructions simultaneously, denoted as Multi-Task Inference. For this purpose, we introduce the MTI Bench(Multi-Task Inference Benchmark), a comprehensive evaluation benchmark encompassing 5,000 instances across 25 tasks. Each task in the MTI Bench involves 2 to 3 sub-tasks. As expected, we first demonstrate that Multi-Task Inference reduces the total inference time by 1.46 times in average since it does not require multiple inference calls. Interestingly, contrary to the expectation that LLMs would perform better when tasks are divided, we find that state-of-the-art LLMs, such as Llama-2-Chat-70B and GPT-4, show up to 7.3% and 12.4% improved performance with Multi-Task Inference compared to Single-Task Inference on the MTI Bench. We release the MTI Bench dataset and our code at this link https://github.com/guijinSON/MTI-Bench.

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

↑