arXiv:2505.20231cs.CL2025-05AAAI被引 14

让大模型对话更懂任务意图,自动选对记忆减少重复提问

MemGuide: Intent-Driven Memory Selection for Goal-Oriented Multi-Session LLM Agents

  • 根据任务意图匹配记忆,而非仅靠语义相似
  • 多轮对话成功率达99%,对话轮次减少2.84轮
  • 适合需要跨会话持续完成任务的智能助手场景

现代任务导向对话系统越来越多依赖大语言模型代理,利用检索增强生成(RAG)和长上下文能力实现长期记忆利用。然而,这些方法主要基于语义相似性,忽视任务意图,导致多轮对话中任务连贯性下降。为此,我们提出MemGuide,一种两阶段的意图驱动记忆选择框架:(1) 意图对齐检索将当前对话上下文与记忆库中的意图描述匹配,检索出具有相同目标的问答形式记忆单元;(2) 缺失槽位引导过滤使用链式思维槽位推理器枚举未填充槽位,并通过微调的LLaMA-8B过滤器根据边际槽位补全收益重新排序检索结果。最终选出的记忆单元支持主动策略,直接填补信息缺口,减少对话轮次。基于此框架,我们构建了MS-TOD——首个包含132种多样化人物角色、956个任务目标并标注意图对齐记忆目标的多轮对话基准,支持高效多轮任务完成。在MS-TOD上的评估显示,MemGuide将任务成功率提升11%(88%→99%),多轮设置下对话长度减少2.84轮,同时保持与单轮基准相当的性能。

原文摘要 · Abstract (English)

Modern task-oriented dialogue (TOD) systems increasingly rely on large language model (LLM) agents, leveraging Retrieval-Augmented Generation (RAG) and long-context capabilities for long-term memory utilization. However, these methods are primarily based on semantic similarity, overlooking task intent and reducing task coherence in multi-session dialogues. To address this challenge, we introduce MemGuide, a two-stage framework for intent-driven memory selection. (1) Intent-Aligned Retrieval matches the current dialogue context with stored intent descriptions in the memory bank, retrieving QA-formatted memory units that share the same goal. (2) Missing-Slot Guided Filtering employs a chain-of-thought slot reasoner to enumerate unfilled slots, then uses a fine-tuned LLaMA-8B filter to re-rank the retrieved units by marginal slot-completion gain. The resulting memory units inform a proactive strategy that minimizes conversational turns by directly addressing information gaps. Based on this framework, we introduce the MS-TOD, the first multi-session TOD benchmark comprising 132 diverse personas, 956 task goals, and annotated intent-aligned memory targets, supporting efficient multi-session task completion. Evaluations on MS-TOD show that MemGuide raises the task success rate by 11% (88% -> 99%) and reduces dialogue length by 2.84 turns in multi-session settings, while maintaining parity with single-session benchmarks.

对话系统记忆选择大模型应用

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。