MemBoost:一种面向成本感知的LLM推理的内存增强框架
MemBoost: A Memory-Boosted Framework for Cost-Aware LLM Inference
AI总结:
提出MemBoost框架,通过轻量模型重用历史答案和检索支持信息,并选择性将困难查询路由到强模型,以降低LLM推理成本,同时保持回答质量。
摘要:
大型语言模型(LLM)在现实服务中表现出色,但在跨用户和会话的重复或近似重复查询工作负载下,推理成本高昂。本文提出MemBoost,一种内存增强的LLM服务框架,使轻量模型能够重用先前生成的答案并检索相关支持信息以实现低成本推理,同时选择性地将困难或不确定的查询升级到更强的模型。与主要基于单一响应的标准检索增强生成不同,MemBoost通过支持答案重用、持续内存增长和成本感知路由,专为交互式场景设计。在模拟工作负载下跨多个模型的实验表明,MemBoost显著减少了昂贵的大模型调用和总体推理成本,同时保持了与强模型基线相当的高答案质量。
英文摘要:
Large Language Models (LLMs) deliver strong performance but incur high inference cost in real-world services, especially under workloads with repeated or near-duplicate queries across users and sessions. In this work, we propose MemBoost, a memory-boosted LLM serving framework that enables a lightweight model to reuse previously generated answers and retrieve relevant supporting information for cheap inference, while selectively escalating difficult or uncertain queries to a stronger model. Unlike standard retrieval-augmented generation, which primarily grounds a single response, MemBoost is designed for interactive settings by supporting answer reuse, continual memory growth, and cost-aware routing. Experiments across multiple models under simulated workloads show that MemBoost substantially reduces expensive large-model invocations and overall inference cost, while maintaining high answer quality comparable to the strong model baseline.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。