EAGLE: Episodic Appearance- and Geometry-aware Memory for Unified 2D-3D Visual Query Localization in Egocentric Vision

Yifei Cao, Yu Liu, Guolong Wang, Zhu Liu, Kai Wang, Xianjie Zhang, Jizhe Yu, Xun Tu

TL;DR

EAGLE introduces a biology-inspired dual-memory framework that unifies 2D and 3D visual query localization in first-person (egocentric) videos. By combining online appearance meta-learning with geometric tracking, it dynamically adapts to object variations over time and achieves state-of-the-art performance on the challenging Ego4D-VQ benchmark.

What Problem Does This Paper Address?

Visual Query Localization (VQL) asks a system to determine where and when an object—specified by a single image crop—last appeared in a video sequence. This capability is a cornerstone for embodied AI and augmented reality (e.g., helping a user find where they misplaced their keys).

Doing this in egocentric (first-person) video is notoriously difficult. Constant camera movement, severe motion blur, and dramatic changes in lighting and perspective cause traditional "detect-then-track" pipelines to fail. These conventional methods suffer from two main flaws: they rely on static queries that cannot account for an object changing appearance over time, and their bounding-box approach sweeps in noisy background pixels. Furthermore, existing frameworks treat 2D video tracking and 3D spatial localization as completely separate problems.

Methods

Inspired by how eagles consolidate short-term visual impressions into stable, long-term memories, the authors propose EAGLE. The framework splits the task into two parallel, interacting branches built on a shared backbone:

  1. The Segmentation Branch (The Identifier): Guided by an Appearance-aware Meta-learning Memory (AMM), this branch uses the Segment Anything Model (SAM) to establish an initial mask. It then continuously updates its target parameters using an online meta-learning strategy (iterative steepest descent) on high-confidence frames, allowing it to adapt to pixel-level contour and scale changes.
  2. The Tracking Branch (The Navigator): Driven by a Geometry-aware Localization Memory (GLM), this branch uses a Discriminative Correlation Filter (DCF) to enforce robust geometric and temporal constraints, preventing the segmentation branch from making instance misassignments.
Figure 1: Overview of EAGLE. Our framework consists of two branches: VQL-2D and -3D. The VQL-2D features a dual- branch architecture built upon a shared backbone. The segmentation branch serves as a precise identifier, guided by an appearance-aware meta-learning memory (b) to generate pixel-level masks with fine-grained semantic cues. The tracking branch, acting as a navigator, is driven by a geometry-aware localization memory (c) to produce a discriminative score map robust to egocentric view changes. Finally, a decoder fuses the outputs from both branches to yield the results. 3D branch leverages the VGGT to jointly process the 2D results, camera pose, and depth, ultimately predicting the positional offset of the query in 3D space.

Unified 2D-to-3D Localization

Instead of relying on traditional, slow, and fragile Structure-from-Motion (SfM) pipelines like COLMAP, EAGLE passes the video through a feedforward Visual Geometry Grounded Transformer (VGGT). The VGGT rapidly infers per-frame camera poses and depth maps. EAGLE then uses a novel multi-view aggregation mechanism to back-project the refined 2D segmentation masks into accurate 3D coordinates in a matter of seconds.

Datasets

The framework was trained and evaluated using:

  • Ego4D-VQ (VQ2D and VQ3D): The primary benchmark for egocentric visual query localization.
  • EgoTracks & VISOR: Utilized to provide robust tracking and fine-grained pixel-level segmentation priors during training.

Key Insights and Ideas

  • Memory Update Asymmetry: One of the paper's most interesting findings is that the segmentation and tracking branches require completely opposite memory update strategies. The segmentation branch needs a highly dynamic memory bank that updates frequently to capture immediate appearance shifts. Conversely, the tracking branch performs best when it retains the initial query as a permanent anchor, which prevents identity drift during long periods of occlusion.
  • Ditching SfM for Transformers: Traditional 3D localization pipelines require minutes or hours of geometric processing that often fail in textureless environments. EAGLE demonstrates that leveraging a geometry-grounded Transformer allows for instantaneous, feedforward 3D projection, making unified 2D-3D localization viable for real-time applications.

Key Results

EAGLE achieves state-of-the-art performance across both 2D and 3D egocentric localization tasks:

  • VQ2D Success: On the Ego4D-VQ2D test set, EAGLE outperforms the previous state-of-the-art (RELOCATE) by 6.9% in temporal AP ($tAP_{25}$) and 14.3% in spatiotemporal AP ($stAP_{25}$).
  • VQ3D Success: On the Ego4D-VQ3D validation set, it achieves an 84.77% Success rate (a 4.5% improvement over EgoLoc-V1) while significantly reducing 3D distance ($L_2$) and angular errors.
Figure 2: Visualization of qualitative results of VQL- 2D. Each row presents the visual query, video frames, the predicted trajectories from both EAGLE, VQLoc, and the ground truth. Additionally, the temporal confidence curve predicted by EAGLE is shown, with the green shaded re- gion indicating the ground-truth interval.

Limitations and Future Work

The authors identify three primary failure modes for EAGLE:

  1. Intrinsic Ambiguity: If a query object lacks distinct textures or contours, the model can mistakenly track visually similar background distractors.
  2. Severe Illumination Changes: Sudden, drastic lighting shifts can distort an object's texture beyond what the online memory can gracefully adapt to.
  3. Multi-Object Queries: When a query crop inadvertently includes parts of adjacent objects, the model sometimes struggles to isolate the true target.

To address these challenges, the authors suggest that future work should explore integrating advanced low-level vision pre-processing techniques to normalize environmental distortions before memory encoding occurs.

Summary updated

BibTeX
@inproceedings{cao2026eagle,
  author = {Yifei Cao and Yu Liu and Guolong Wang and Zhu Liu and Kai Wang and Xianjie Zhang and Jizhe Yu and Xun Tu},
  title = {{EAGLE: Episodic Appearance- and Geometry-aware Memory for Unified 2D-3D Visual Query Localization in Egocentric Vision}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2026},
  doi = {10.1609/aaai.v40i4.37251},
}
Figure