MemRouter: Memory-as-Embedding Routing for Long-Term Conversational Agents
University of Central Florida(佛罗里达大学中央分校);University of Rochester(罗切斯特大学);University of Illinois at Chicago(伊利诺伊大学香槟分校);Case Western Reserve University(凯斯西储大学)
Tianyu Hu, Weikai Lin, Weizhi Zhang, Jing Ma, Song Wang
长期对话代理必须决定哪些对话回合存储在外部记忆中,但最近的系统在每个回合都依赖自回归LLM生成来做出决策。我们提出了MemRouter,一种写入侧的记忆路由机制,将记忆准入与下游回答骨干解耦,并用基于嵌入的路由策略取代每回合的记忆管理解码。MemRouter将每个回合与最近的上下文一起编码,通过冻结的LLM骨干投影得到嵌入,然后使用轻量级分类头预测该回合是否应存储,同时仅训练1200万参数。在LoCoMo上受控的匹配测试中,MemRouter在所有问题类别中均优于基于LLM的记忆管理器(整体F1 52.0 vs 45.6,非重叠95%置信区间),同时将记忆管理p50延迟从970ms降至58ms。描述性因子平均进一步显示,学习的准入提高了平均F1 10.3(超过随机存储),类别特定提示增加了5.2(超过通用提示),检索贡献了0.7。这些结果表明,写入侧的记忆准入可通过小型监督路由器学习,而回答生成仍保持为长期对话QA中的独立下游组件。
英文摘要:
Long-term conversational agents must decide which turns to store in external memory, yet recent systems rely on autoregressive LLM generation at every turn to make that decision. We present MemRouter, a write-side memory router that decouples memory admission from the downstream answer backbone and replaces per-turn memory-management decoding with an embedding-based routing policy. MemRouter encodes each turn together with recent context, projects the resulting embeddings through a frozen LLM backbone, and predicts whether the turn should be stored using lightweight classification heads while training only 12M parameters. Under a controlled matched-harness comparison on LoCoMo, where the retrieval pipeline, answer prompts, and QA backbone (Qwen2.5-7B) are held identical, MemRouter outperforms an LLM-based memory manager on every question category (overall F1 52.0 vs 45.6, non-overlapping 95% CIs) while reducing memory-management p50 latency from 970ms to 58ms. Descriptive factorial averaging further shows that learned admission improves mean F1 by +10.3 over random storage, category-specific prompting adds +5.2 over a generic prompt, and retrieval contributes +0.7. These results suggest that write-side memory admission can be learned by a small supervised router, while answer generation remains a separate downstream component in long-horizon conversational QA.
ChatPlanner: A Large Language Model Framework for Personalized Public Transit Routing
School of Engineering and Materials Science, Queen Mary University of London(伦敦玛丽女王大学工程与材料科学学院);Department of Engineering Science, University of Oxford(牛津大学工程科学系)
Mitigating LLM Hallucinations through Domain-Grounded Tiered Retrieval
Computational Unit, Z.H. College of Engineering & Technology, Aligarh Muslim University, India(计算单元,Z.H. 工程技术学院,阿利加尔穆斯林大学,印度);Interdisciplinary Center for Artificial Intelligence, Aligarh Muslim University, India(跨学科人工智能中心,阿利加尔穆斯林大学,印度);Department of Computer Engineering, Aligarh Muslim University, India(计算机工程系,阿利加尔穆斯林大学,印度)
Where to Look and What to Use: Retrieve-Localize-Generate for Long-Term Conversational Memory Question Answering
University of Electronic Science and Technology of China(电子科技大学);Tsinghua University(清华大学);Institute of Information Engineering, Chinese Academy of Sciences(中国科学院信息工程研究所);University of Chinese Academy of Sciences(中国科学院大学);Xiaomi Inc.(小米公司);MiLM Plus