arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2409.19401cs.CLcs.IR
收藏

通过可编辑记忆图上的检索增强生成打造个性化智能体

Crafting Personalized Agents through Retrieval-Augmented Generation on Editable Memory Graphs

Huawei Technologies, Co., Ltd.(华为技术有限公司)

Zheng Wang, Zhongyang Li, Zeren Jiang, Dandan Tu, Wei Shi

AI总结:

本文提出EMG-RAG方法,将检索增强生成与可编辑记忆图结合并用强化学习优化,利用用户手机记忆打造个性化智能体,在真实数据集上较最佳方法提升约10%,并已部署到真实手机AI助手中。

摘要:

在移动互联网时代,用户数据(通常被称为记忆)在个人设备上持续产生。如何有效管理和利用这些数据为用户提供服务是一个引人注目的研究课题。本文提出了一项新任务:打造由大语言模型(LLMs)驱动的个性化智能体,利用用户智能手机中的记忆,借助先进的LLM能力增强下游应用。为实现这一目标,我们提出了EMG-RAG,一种将检索增强生成(RAG)技术与可编辑记忆图(EMG)相结合的解决方案。该方法进一步通过强化学习进行优化,以应对三个不同的挑战:数据收集、可编辑性和可选择性。在真实世界数据集上的大量实验验证了EMG-RAG的有效性,相比现有最佳方法取得了约10%的提升。此外,个性化智能体已被迁移到一个真实的智能手机AI助手中,从而提升了可用性。

英文摘要:

In the age of mobile internet, user data, often referred to as memories, is continuously generated on personal devices. Effectively managing and utilizing this data to deliver services to users is a compelling research topic. In this paper, we introduce a novel task of crafting personalized agents powered by large language models (LLMs), which utilize a user's smartphone memories to enhance downstream applications with advanced LLM capabilities. To achieve this goal, we introduce EMG-RAG, a solution that combines Retrieval-Augmented Generation (RAG) techniques with an Editable Memory Graph (EMG). This approach is further optimized using Reinforcement Learning to address three distinct challenges: data collection, editability, and selectability. Extensive experiments on a real-world dataset validate the effectiveness of EMG-RAG, achieving an improvement of approximately 10% over the best existing approach. Additionally, the personalized agents have been transferred into a real smartphone AI assistant, which leads to enhanced usability.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑