Daily Tech Briefing
AI 科技速览

每天 5 分钟内学习 AI。获取最新的人工智能新闻,理解其重要性,并学习如何将其应用于您的工作。

AI 快讯
arXiv Machine Learning · 2026/8/3 17:12:05

LiveMem: Maintaining Memory State Continuity in Long-Running LLM Inference

AI 中文解读
还记得之前的对话内容吗?哪怕它早就被系统清除了。LiveMem这项技术让AI拥有了真正的长期记忆,即便当前对话窗口里已经没有原始信息,AI依然能凭借“记忆状态”准确回答相关提问,这解决了大型AI模型在长时间运行时“记不住旧事”的致命短板。 以前用的AI,聊久了就会把前面的话忘掉,只能靠人工总结或跳搜历史。LiveMem则给AI加了一个独立的“笔记本”,在后台持续记录整个对话生命周期的关键信息,而主对话只会显示最近的几页。即使中间切换话题、老内容被移出当前窗口,AI仍能依据笔记本里的沉淀继续作答。 这项技术最直接的价值是让AI助手真正适合做长期陪伴。以后你让AI协助管理数月长的项目,或是在跨了很多天的连续对话中询问上周提到的细节,它都不会掉链子。对普通人而言,这意味着更靠谱的私人助理、学习辅导或健康管理工具,不用再反复交代前情,AI始终知道你在说什么。
Long-running assistants and agents consume interaction streams that eventually outgrow the context. Existing context retention, summarization, and retrieval preserve access to selected history, but do not provide a persistent state over the full lifecycle when working context changes. We formulate this missing inference capability as \emph{state continuity under context turnover}: carrying computation forward through a fixed-capacity memory state whose lifetime is independent of the active context. We introduce an intrinsic memory method, \textbf{LiveMem}, which augments a pretrained full-attention LLM with a memory state that preserves the historical information over the whole lifecycle while the main attention path retains a bounded KV window. Context turnover and memory state maintaining, memory-oriented post-training, and state-aware serving jointly make this memory state load bearing after its originating tokens are released. Our experiments show that LiveMem achieves leading overall performance among evaluated systems and other intrinsic memory methods. Experiments on LongMemEval show that LiveMem is able to answer the question based on the memory state, even when the supporting evidence has been removed from the current context, and evidence-distance analysis shows that useful information persists beyond the active window. LiveMem thus establishes state continuity as a distinct and complementary abstraction for continual LLM inference.
分享
阅读原文