语义提交:帮助用户大规模更新AI记忆的意图规范
Semantic Commit: Helping Users Update Intent Specifications for AI Memory at Scale
AI总结:
针对用户意图变化时AI记忆更新问题,受软件工程影响分析启发,提出SemanticCommit界面与方法,通过语义提交协助检测解决意图规范语义冲突,经用户研究验证其有效性并为AI界面设计提供方向。
摘要:
当用户意图发生变化时,我们该如何更新AI对用户意图的记忆?我们研究AI界面如何协助将新信息整合到自然语言数据仓库中。受软件工程中影响分析等概念启发,我们开发了用于管理具有非局部效应的语义变更的方法和UI,称之为“语义冲突解决”。用户将新意图提交到项目——即进行“语义提交”——AI则帮助用户检测并解决代表其意图的现有信息库(“意图规范”)中的语义冲突。我们开发了SemanticCommit界面,以更好地理解用户在更新Cursor Rules和游戏设计文档等意图规范时如何解决冲突。基于知识图谱的RAG管道驱动冲突检测,而LLM协助提出解决方案。我们在初始基准上评估了该技术。随后,我们报告了一项针对12名用户的被试内研究,研究SemanticCommit在两个任务领域(游戏设计文档和ChatGPT记忆风格的AI智能体记忆)中的应用,用户需将新信息整合到现有列表中。尽管有全局修订功能,仍有一半参与者采用了影响分析工作流:先标记冲突而不进行AI修订,再本地解决冲突。我们认为,AI智能体界面(如Cursor和Windsurf等软件IDE)应提供影响分析功能,并帮助用户独立于生成环节验证AI检索。我们的工作探讨了AI智能体设计者应如何将记忆更新视为涉及人类反馈和决策的过程。
英文摘要:
How do we update AI memory of user intent as intent changes? We consider how an AI interface may assist the integration of new information into a repository of natural language data. Inspired by software engineering concepts like impact analysis, we develop methods and a UI for managing semantic changes with non-local effects, which we call "semantic conflict resolution." The user commits new intent to a project -- makes a "semantic commit" -- and the AI helps the user detect and resolve semantic conflicts within a store of existing information representing their intent (an "intent specification"). We develop an interface, SemanticCommit, to better understand how users resolve conflicts when updating intent specifications such as Cursor Rules and game design documents. A knowledge graph-based RAG pipeline drives conflict detection, while LLMs assist in suggesting resolutions. We evaluate our technique on an initial benchmark. Then, we report a 12 user within-subjects study of SemanticCommit for two task domains -- game design documents, and AI agent memory in the style of ChatGPT memories -- where users integrated new information into an existing list. Half of our participants adopted a workflow of impact analysis, where they would first flag conflicts without AI revisions then resolve conflicts locally, despite having access to a global revision feature. We argue that AI agent interfaces, such as software IDEs like Cursor and Windsurf, should provide affordances for impact analysis and help users validate AI retrieval independently from generation. Our work speaks to how AI agent designers should think about updating memory as a process that involves human feedback and decision-making.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。