Abstract
This paper proposes a new task, MemexQA: given a collection of photos or videos from a user, the goal is to automatically answer questions that help users recover their memory about events captured in the collection. Towards solving the task, we 1) present the MemexQA dataset, a large, realistic multimodal dataset consisting of real personal photos and crowd-sourced questions/answers, 2) propose MemexNet, a unified, end-to-end trainable network architecture for image, text and video question answering. Experimental results on the MemexQA dataset demonstrate that MemexNet outperforms strong baselines and yields the state-of-the-art on this novel and challenging task. The promising results on TextQA and VideoQA suggest MemexNet's efficacy and scalability across various QA tasks.
Introduction
Traditional Visual Question Answering (VQA) typically focuses on single-image analysis, answering simple descriptive questions like "What color is the ball?". However, this does not align with how humans interact with their digital media. Personal photo and video libraries often contain thousands of items spanning years. Recalling specific memories requires "collective reasoning" across multiple media files and their associated metadata.
MemexQA, a collaboration between Carnegie Mellon University and Yahoo Research, addresses this gap by framing the AI as a personal memory assistant. This task requires cross-modal reasoning—combining visual content with timestamps, GPS coordinates, and album titles—and managing a dynamic answer space that grows as the user adds more content.
The MemexQA Task
The core challenge of MemexQA is navigating a vast collection to find specific answers. Unlike standard VQA, where the answer is contained within one frame, MemexQA often requires looking at multiple photos or videos to reconstruct an event or timeline.
As shown in the figure above, questions can range from specific event details ("What kind of bouncer was there?") to temporal queries ("When did we last visit a zoo?"). This necessitates a system that can efficiently search and reason over large-scale multimodal data.
Methodology: MemexNet
To address the MemexQA task, the authors developed MemexNet, an end-to-end trainable architecture designed for scalability. It consists of three primary modules:
- Question Understanding: Employs LSTMs and SkipGram models to embed questions and extract "query concepts" to guide the search.
- Content Search Engine: To handle large collections, the system uses off-the-shelf retrieval engines to identify the "top-k" most relevant items. This decoupling of search from inference allows the model to process massive datasets, such as the 800,000 videos in YFCC100M, in near real-time (~1.3 seconds).
- Answer Inference (MMLookupNet): This module processes the retrieved samples and their metadata. It uses an attention-based LSTM to weight the importance of different samples and modalities (e.g., prioritizing "time" metadata for "When..." questions). The final answer is treated as a classification problem over a dynamic vocabulary.
Dataset and Benchmarking
The authors introduced the MemexQA dataset, which includes 13,591 personal photos from 101 Flickr users across 630 albums, totaling 20,860 Q&A pairs. A unique feature of this dataset is the inclusion of "evidential photos"—the specific images required to verify an answer.
The complexity of the dataset is illustrated in the figure above, where reasoning must integrate photo titles, captions, and visual evidence to select the correct answer from multiple choices.
Results and Discussion
MemexNet demonstrates significant improvements over baseline models:
- MemexQA Accuracy: MemexNet achieved 48.4% accuracy, outperforming standard VQA baselines like LSTMs (39.0%).
- Versatility: The model also performed exceptionally well on pure text tasks, achieving an F1 score of 0.767 on SQuAD, surpassing the BiDAF model (0.760).
- The Human Gap: Despite these gains, a large gap remains; humans achieve 92.7% accuracy on MemexQA. The task is inherently difficult, with humans taking roughly 10 times longer to answer MemexQA questions compared to standard VQA.
Conclusion and Future Work
MemexQA represents a significant shift toward practical, memory-centric AI. While MemexNet provides a strong foundation by integrating metadata and efficient retrieval, future work should focus on deeper personalization and fine-grained understanding of specific actions. Transitioning from simple question answering to narrative storytelling of a user's memories remains a key long-term goal.
Summary updated