arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2505.19481cs.LGcs.AIcs.DCcs.MA
收藏

快速取胜或缓慢落败:在LLM的延迟敏感决策中平衡速度与准确性

Win Fast or Lose Slow: Balancing Speed and Accuracy in Latency-Sensitive Decisions of LLMs

Georgia Tech(佐治亚理工学院);Harvard University(哈佛大学);Stanford University(斯坦福大学)

Hao Kang, Qingru Zhang, Han Cai, Weiyuan Xu, Tushar Krishna, Yilun Du, Tsachy Weissman

AI总结:

本研究首次系统探讨LLM智能体在延迟敏感决策中的速度与质量权衡,提出自适应框架FPX动态调整模型规模与量化级别,在HFTBench和StreetFighter基准上分别提升胜率80%和日收益率26.52%。

摘要:

大型语言模型(LLMs)在多种推理和生成任务中表现出卓越的性能,并越来越多地被部署为动态环境中的智能体,例如代码生成和推荐系统。然而,许多现实世界应用,如高频交易和实时竞技游戏,要求在严格的延迟约束下做出决策,其中更快的响应直接转化为更高的奖励。尽管这种延迟质量权衡的重要性,但在基于LLM的智能体背景下,这一权衡仍未得到充分探索。在这项工作中,我们首次对这一权衡在实时决策任务中进行了系统性研究。为支持我们的调查,我们引入了两个新基准:HFTBench,一个高频交易模拟,以及StreetFighter,一个竞技游戏平台。我们的分析揭示,最优的延迟质量平衡因任务而异,并且为了更低延迟而牺牲质量可以显著提升下游性能。为解决这一问题,我们提出了FPX,一个自适应框架,根据实时需求动态选择模型大小和量化级别。我们的方法在两个基准上均实现了最佳性能,在Street Fighter中胜率提升高达80%,在交易中每日收益率提升高达26.52%,强调了基于LLM的智能体需要延迟感知的评估和部署策略。这些结果证明了对于现实世界的基于LLM的智能体,延迟感知的评估和部署策略至关重要。我们的基准可在延迟敏感基准(Latency Sensitive Benchmarks)获取。

英文摘要:

Large language models (LLMs) have shown remarkable performance across diverse reasoning and generation tasks, and are increasingly deployed as agents in dynamic environments such as code generation and recommendation systems. However, many real-world applications, such as high-frequency trading and real-time competitive gaming, require decisions under strict latency constraints, where faster responses directly translate into higher rewards. Despite the importance of this latency quality trade off, it remains underexplored in the context of LLM based agents. In this work, we present the first systematic study of this trade off in real time decision making tasks. To support our investigation, we introduce two new benchmarks: HFTBench, a high frequency trading simulation, and StreetFighter, a competitive gaming platform. Our analysis reveals that optimal latency quality balance varies by task, and that sacrificing quality for lower latency can significantly enhance downstream performance. To address this, we propose FPX, an adaptive framework that dynamically selects model size and quantization level based on real time demands. Our method achieves the best performance on both benchmarks, improving win rate by up to 80% in Street Fighter and boosting daily yield by up to 26.52% in trading, underscoring the need for latency aware evaluation and deployment strategies for LLM based agents. These results demonstrate the critical importance of latency aware evaluation and deployment strategies for real world LLM based agents. Our benchmarks are available at Latency Sensitive Benchmarks.

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

↑