A Graph-Based Approach for Conversational AI-Driven Personal Memory Capture and Retrieval in a Real-world Application

Savini Kashmira,Jayanaka L. Dantanarayana,Joshua Brodsky,Ashish Mahendra,Yiping Kang,Krisztian Flautner,Lingjia Tang,Jason Mars
2024-12-07
Abstract:TOBU is a novel mobile application that captures and retrieves `personal memories' (pictures/videos together with stories and context around those moments) in a user-engaging AI-guided conversational approach. Our initial prototype showed that existing retrieval techniques such as retrieval-augmented generation (RAG) systems fall short due to their limitations in understanding memory relationships, causing low recall, hallucination, and unsatisfactory user experience. We design TOBUGraph, a novel graph-based retrieval approach. During capturing, TOBUGraph leverages large language models (LLMs) to automatically create a dynamic knowledge graph of memories, establishing context and relationships of those memories. During retrieval, TOBUGraph combines LLMs with the memory graph to achieve comprehensive recall through graph traversal. Our evaluation using real user data demonstrates that TOBUGraph outperforms multiple RAG implementations in both precision and recall, significantly improving user experience through improved retrieval accuracy and reduced hallucination.
Machine Learning,Artificial Intelligence,Information Retrieval
What problem does this paper attempt to address?
The problem that this paper attempts to solve is the functional limitations of current personal memory capture and retrieval software, especially the deficiencies of these software in understanding and capturing the relationship between memories, providing accurate retrieval results, and creating a satisfactory user experience. Specifically: 1. **Limitations of Memory Capture**: Existing software such as Apple Photos and Facebook can store multimedia files, but lack the ability to capture the rich situational details and emotional stories behind the pictures. For example, it is difficult for users to record and recall complex information such as events and emotions related to a specific photo through these platforms. 2. **Limitations of Memory Retrieval**: The retrieval functions provided by existing software are very limited. Usually, users need to manually add tags, comments and other information to assist retrieval. When users try to retrieve memories, they can only rely on basic search and filtering functions and it is difficult to achieve natural - language queries, such as "family trips in the mountains with David and John". In addition, memory retrieval often involves inefficient manual scrolling of the timeline or relying on simple keyword searches. To overcome these problems, the paper proposes TOBU - a graph - based, conversation - AI - driven personal memory capture and retrieval system. TOBU aims to help users capture and manage personal memories in a more natural and interactive way, and improve the accuracy of memory retrieval by constructing a dynamic knowledge graph, reducing hallucinations (that is, the system generates non - existent information), thereby significantly enhancing the user experience.