CLFeb 18, 2024

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

CMU
arXiv:2402.11597v245 citationsh-index: 21Has CodeACL
Originality Incremental advance
AI Analysis

This addresses a practical efficiency and performance issue for users of large language models, though it is incremental as it builds on existing models.

The paper tackles the problem of whether large language models can handle multiple instructions simultaneously, finding that multi-task inference reduces inference time by 1.46 times on average and improves performance by up to 12.4% compared to single-task inference.

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.

Code Implementations1 repo
Foundations

The foundational work for this paper's niche, ranked by how specifically the neighbourhood builds on it — not by global fame.

Your Notes