arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2404.16283cs.DCcs.LG
收藏

Andes:定义并提升基于大语言模型的文本流式服务中的体验质量

Andes: Defining and Enhancing Quality-of-Experience in LLM-Based Text Streaming Services

University of Michigan(密歇根大学);UIUC(伊利诺伊大学厄巴纳-香槟分校);Cisco Systems(思科系统公司)

Jiachen Liu, Jae-Won Chung, Zhiyu Wu, Fan Lai, Myungjin Lee, Mosharaf Chowdhury

AI总结:

该研究定义了LLM文本流式服务的体验质量(QoE),提出具备QoE感知能力的Andes服务系统,通过抢占式token级动态调度提升用户体验,在相同GPU资源下QoE最高提升4.7倍,或维持同等QoE时最多节省61%GPU资源。

摘要:

大语言模型(LLM)如今是实时翻译、聊天机器人等对话式AI服务的核心,这类服务通过向用户逐段流式传输文本实现实时用户交互。但现有的LLM服务系统无法提供良好的用户体验,因为它们的优化指标并不总与用户体验对齐。\n本文中,我们首先通过考量每个用户的端到端交互时间线,引入并定义了文本流式服务的体验质量(QoE)概念。基于此,我们提出Andes——一种具备QoE感知能力的LLM服务系统,即使用户请求处于高峰时段,它也能确保用户及时收到首个token,且后续token以平稳、易于理解的节奏送达,从而提升用户体验。这一能力得益于Andes的抢占式请求调度器,它会根据每个请求的预期QoE增益与GPU资源使用情况,在token粒度上动态调整请求优先级。我们的评估表明,与最先进的LLM服务系统相比,在相同GPU资源下,Andes将平均QoE提升了最高4.7倍;若维持同等高QoE水平,它最多可节省61%的GPU资源。

英文摘要:

Large language models (LLMs) are now at the core of conversational AI services such as real-time translation and chatbots, which provide live user interaction by incrementally streaming text to the user. However, existing LLM serving systems fail to provide good user experience because their optimization metrics are not always aligned with user experience. In this paper, we first introduce and define the notion of Quality-of-Experience (QoE) for text streaming services by considering each user's end-to-end interaction timeline. Based on this, we propose Andes, a QoE-aware LLM serving system that enhances user experience by ensuring that users receive the first token promptly and subsequent tokens at a smooth, digestible pace, even during surge periods. This is enabled by Andes's preemptive request scheduler that dynamically prioritizes requests at the token granularity based on each request's expected QoE gain and GPU resource usage. Our evaluations demonstrate that, compared to state-of-the-art LLM serving systems, Andes improves the average QoE by up to $4.7\times$ given the same GPU resource, or saves up to 61% GPU resources while maintaining the same high QoE.

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

↑