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

LiveMind:具有同步推理能力的低延迟大语言模型

LiveMind: Low-latency Large Language Models with Simultaneous Inference

Technical University of Munich(慕尼黑工业大学);Technical University of Darmstadt(达姆施塔特工业大学);Zhejiang University(浙江大学);University of Siegen(锡根大学)

Chuangtao Chen, Grace Li Zhang, Xunzhao Yin, Cheng Zhuo, Ulf Schlichtmann, Bing Li

AI总结:

LiveMind是一种低延迟LLM推理框架,通过在不完整输入上同步推理并重新分配计算,将MMLU和MMLU-Pro延迟分别降低84.0%和71.6%,并支持大模型推理与小模型输出协作,提升交互效率。

摘要:

在本文中,我们介绍了LiveMind,一种新颖的用于大语言模型(LLM)推理的低延迟推理框架,它使LLM能够在用户输入不完整的情况下执行推理。通过将计算过程重新分配到输入阶段,实现了延迟的大幅降低,从而显著增强了LLM用户的交互体验。该框架巧妙地管理流式输入对模型的可见性,使其能够从不完整的用户输入中进行推理,或等待额外内容。与在完整用户输入上进行推理的传统方法相比,我们的方法在MMLU数据集上平均响应延迟降低了84.0%,在MMLU-Pro数据集上降低了71.6%,同时保持了相当的准确性。此外,我们的框架促进了不同模型之间的协作推理和输出。通过使用一个大LLM进行推理和一个小LLM进行输出,与基线相比,我们在MMLU-Pro数据集上实现了平均37%的响应延迟降低,同时准确性提高了4.30%。所提出的LiveMind框架通过实现用户与AI系统之间更具响应性和高效性的通信,推进了人机交互领域的发展。

英文摘要:

In this paper, we introduce LiveMind, a novel low-latency inference framework for large language model (LLM) inference which enables LLMs to perform inferences with incomplete user input. By reallocating computational processes to the input phase, a substantial reduction in latency is achieved, thereby significantly enhancing the interactive experience for users of LLMs. The framework adeptly manages the visibility of the streaming input to the model, allowing it to infer from incomplete user input or await additional content. Compared with traditional inference methods on complete user input, our approach demonstrates an average reduction in response latency of 84.0% on the MMLU dataset and 71.6% on the MMLU-Pro dataset, while maintaining comparable accuracy. Additionally, our framework facilitates collaborative inference and output across different models. By employing an large LLM for inference and a small LLM for output, we achieve an average 37% reduction in response latency, alongside a 4.30% improvement in accuracy on the MMLU-Pro dataset compared with the baseline. The proposed LiveMind framework advances the field of human-AI interaction by enabling more responsive and efficient communication between users and AI systems.

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

↑