Abstract
We depend on our own memory to encode, store, and retrieve our experiences. However, memory lapses can occur. One promising avenue for achieving memory augmentation is through the use of augmented reality head-mounted displays to capture and preserve egocentric videos, a practice commonly referred to as lifelogging. However, a significant challenge arises from the sheer volume of video data generated through lifelogging, as the current technology lacks the capability to encode and store such large amounts of data efficiently. Further, retrieving specific information from extensive video archives requires substantial computational power, further complicating the task of quickly accessing desired content. To address these challenges, we propose a memory augmentation agent that involves leveraging natural language encoding for video data and storing them in a vector database. This approach harnesses the power of large vision language models to perform the language encoding process. Additionally, we propose using large language models to facilitate natural language querying. Our agent underwent extensive evaluation using the QA-Ego4D dataset and achieved state-of-the-art results with a BLEU score of 8.3, outperforming conventional machine learning models that scored between 3.4 and 5.8. Additionally, we conducted a user study in which participants interacted with the human memory augmentation agent through episodic memory and open-ended questions. The results of this study show that the agent results in significantly better recall performance on episodic memory tasks compared to human participants. The results also highlight the agent's practical applicability and user acceptance.
Introduction
The concept of "lifelogging"—using wearable cameras to record one's daily life—has long promised to mitigate human memory lapses. However, two massive hurdles remain: storage and retrieval. Recording high-definition video 24/7 generates petabytes of data that are expensive to store and nearly impossible to search efficiently. Furthermore, finding a specific moment, such as where one left their keys, in a 10-hour video requires massive computational power.
This research proposes a shift in paradigm: instead of storing the raw pixels of our lives, we should store the linguistic meaning of what we see. By converting egocentric video into searchable text descriptions, we can achieve a radical form of data compression while enabling natural language querying.
Methodology
The proposed system utilizes a three-stage pipeline inspired by biological memory: Encode, Store, and Retrieve.
1. Encode (Ego-LLaVA)
The system employs a bespoke model called Ego-LLaVA, a version of the Large Language and Vision Assistant (LLaVA) fine-tuned specifically on egocentric data. It processes video frame-by-frame, converting visual scenes into detailed natural language descriptions. To optimize performance, the authors curated a specialized dataset of 3,000 image-text pairs from Ego4D, focusing on first-person perspectives and human-object interactions.
2. Store (Vector Database)
These text descriptions are segmented into chunks and converted into high-dimensional vectors (embeddings) using OpenAI’s text-embedding-ada-002. These are stored in Chroma, a vector database, which allows for efficient similarity searches. This method is highly efficient; storing a year of "textual memories" takes approximately 0.5 TB, whereas low-bitrate 720p video would require roughly 5.7 TB.
3. Retrieve (LLM Reasoning)
When a user asks a question, the system converts the query into a vector, finds the most relevant "memory chunks" in the database, and feeds them into GPT-4. The Large Language Model (LLM) then synthesizes an answer based on the retrieved context, effectively acting as a conversational co-processor for the human brain.
Experimental Results
The agent was evaluated using the QA-Ego4D benchmark, which targets Episodic Memory Question Answering (EMQA). The proposed agent achieved a BLEU score of 8.3, significantly outperforming previous machine learning baselines which ranged from 3.4 to 5.8.
In a user study with 12 participants using HoloLens 2, the agent achieved a mean response rating of 4.1/5, compared to just 2.5/5 for human participants on memory-intensive tasks. These tasks included recalling specific details like the color of a background object or items seen on a screen. The agent also demonstrated much lower variance in performance, providing more consistent and reliable memory retrieval than human recall.
Conclusion and Future Work
This work demonstrates that language-encoded perception is a viable and efficient path toward practical memory augmentation. By leveraging the reasoning power of LLMs, the system can answer complex questions about a user's history that go beyond simple video retrieval.
Future research will focus on moving toward vision-language models that can process temporal video clips rather than static frames to better understand dynamic actions. Additionally, the researchers aim to address concerns regarding the social acceptance of "always-on" cameras and the potential for long-term memory degradation due to over-reliance on the agent.
Summary updated