TL;DR
This paper introduces Online Visual Query 2D (OVQ2D), a new task formulation for episodic memory in wearable devices where video streams are processed online and each frame is observed only once. To tackle this, the authors propose ESOM (Egocentric Streaming Object Memory), a framework that continuously discovers, tracks, and memorizes objects in a compact data structure, reducing memory usage by up to 7× and accelerating query times from minutes to seconds compared to offline approaches.
What Problem Does This Paper Address?
Imagine asking your smart glasses, "Where did I leave my keys?" To answer this, the device needs to perform Visual Query Localization (VQL)—finding the precise spatio-temporal segment showing the last appearance of that object in your video history.
Currently, state-of-the-art methods operate offline. They require storing hours of high-resolution video and scanning backward through the entire history whenever a query is made. For resource-constrained wearable devices, this is a dealbreaker due to massive storage overhead and high computational latency.
This paper shifts the paradigm by introducing OVQ2D. Under this setting, the system cannot store the full video history. It must process incoming frames on-the-fly, maintain a compact and intelligent memory of observed objects, and answer queries instantly using only this memory.
Methods
The authors present ESOM (Egocentric Streaming Object Memory), an architecture designed to build and query an object-centric memory structure online.
ESOM consists of three main pillars:
- Object Discovery (OD) Module: A real-world object detector (e.g., an optimized YOLOv10) that scans incoming frames to find potential objects of interest before any query is even known.
- Object Tracking (OT) Module: A long-term visual tracker (e.g., EgoSTARK) that follows discovered objects across frames, ensuring that multiple appearances of the same object instance are linked together with a unique ID.
- Dynamic Object Memory ($M_{ego}$): Instead of raw video, this module stores a lightweight, structured list of records containing bounding boxes, timestamps, and highly distinctive visual patches filtered by a relevance classifier.
When a user provides a visual query $Q$, the Query Retrieval and Localization (QRL) process bypasses the video entirely. It extracts features from the query (using Siam-RCNN or DINOv2) and computes similarity scores against the compact representations stored in $M_{ego}$, instantly returning the most recent matching track.
Datasets
The authors established an OVQ2D benchmark using a subset of the Ego4D dataset (Episodic Memory EM benchmark), consisting of 115 video clips containing 450 visual queries across over 208,000 frames. For training and optimizing the underlying detection and tracking components, they utilized EgoTracks (a long-term egocentric tracking dataset) and EgoObjects (a large-scale egocentric object detection dataset).
Key Insights and Ideas
- The Egocentric Bottleneck: When evaluated with standard, real-world detectors and trackers, ESOM achieves a modest success rate of ~4%. However, when replacing these with oracle (ground-truth) components, the success rate skyrockets to 81.92%. This reveals that the framework itself is highly effective, but current egocentric object detection and tracking algorithms perform poorly in unconstrained, real-world environments.
- Association > Detection: In downstream episodic memory tasks, tracking association accuracy (AssA) is far more critical than frame-level detection accuracy (DetA). Fragmented or duplicated tracklets caused by poor association heavily penalize the system's ability to retrieve a coherent history.
- Filtering for Relevance: Storing every single frame of a tracked object is redundant. By utilizing a binary classifier to only save the most "distinctive" visual patches (e.g., at the moment of discovery and the boundaries of the track), ESOM optimizes both memory footprint and retrieval speed without sacrificing accuracy.
Key Results
The paper evaluates ESOM against online baselines adapted from existing architectures like AMEGO and VideoAgent:
- Accuracy: ESOM (using YOLOv10 and EgoSTARK) achieves a 4.02% success rate, outperforming VideoAgent (3.03%) and AMEGO (0.67%).
- Efficiency: ESOM requires only 1.7 GB of storage and 3.1 seconds to localize a query. In comparison, VideoAgent demands 13.7 GB and takes 12.1 seconds.
- Vs. Offline Methods: While offline methods achieve higher success rates (~40-57%) because they have access to the full video at query time, they require a fixed 12.1 GB per 5-minute clip and take up to 8.3 minutes to process a query. ESOM reduces memory needs by up to 7× and speeds up inference by 13×.
Limitations and Future Work
The primary limitation is the heavy reliance on the performance of the upstream object discovery and tracking modules. Egocentric video is notoriously difficult due to rapid head movements, motion blur, and frequent occlusions, causing current models to fail frequently.
The authors note that standard computer vision benchmarks evaluate tracking and detection in isolation, which misrepresents their utility in downstream applications. They propose that the OVQ2D benchmark serve as a new, practical testbed to drive future research toward more robust, application-ready egocentric tracking and open-world discovery models.
Summary updated