ANNEXE: Unified Analyzing, Answering, and Pixel Grounding for Egocentric Interaction

Yuejiao Su, Yi Wang, Qiongyang Hu, Chuang Yang, Lap-Pui Chau

TL;DR

This paper introduces Ego-IRG, a novel task that unifies textual reasoning and pixel-level segmentation for first-person (egocentric) hand-object interactions. To support this, the authors release Ego-IRGBench, a large-scale dataset containing 1.6 million query-answer-mask pairs, and ANNEXE, a depth-assisted multimodal framework that sets a new state-of-the-art in comprehensive egocentric interaction understanding.

What Problem Does This Paper Address?

As wearable devices (like AR glasses and GoPros) and embodied AI agents become more prevalent, understanding the world from a first-person perspective—known as egocentric vision—is increasingly critical.

While existing methods can recognize actions (e.g., "holding a cup") or segment objects, they operate in isolation. Current models cannot simultaneously provide a fluent textual explanation of an interaction and precisely pinpoint the interacting objects at the pixel level based on open-ended user queries. Furthermore, existing datasets lack the rich, paired multimodal annotations (text descriptions, queries, answers, and pixel masks) required to train such versatile models.

Ego-IRG task compared to other related tasks

To bridge this gap, the authors propose the Egocentric Interaction Reasoning and pixel Grounding (Ego-IRG) task, which requires a model to execute three progressive steps: analyzing the scene, answering a specific query, and grounding the relevant objects via fine-grained segmentation masks.

Methods

The authors developed ANNEXE (Unified Depth-Assisted Analyzing, Answering, and Pixel Grounding Network), an end-to-end architecture consisting of two primary modules:

  1. Text Generation Module: Powered by a Multimodal Large Language Model (MLLM) base (Mini-GPT4v2). It takes features from a frozen image encoder and a prompt encoder to generate fluent text responses. To improve description accuracy, the authors introduce a hidden "analyzing instruction" that guides the MLLM to systematically parse hand-object interactions.
  2. Mask Generation Module: This module handles pixel grounding. Crucially, it incorporates an auxiliary depth estimation branch (utilizing Depth Anything V2). Because humans naturally bring objects of interest into the foreground during an interaction, depth maps provide a strong geometric cue to separate active hands and objects from complex backgrounds.

A classification head first determines if the queried object is present (Mask Indicator). If true, the language features and depth-aware visual features are fused and passed to a pixel grounding decoder to output the final segmentation mask.

Overall architecture of the ANNEXE model

Datasets

Because no existing dataset met the requirements for the Ego-IRG task, the authors built Ego-IRGBench on top of the HOI4D dataset.

  • Scale: 20,504 RGB-D egocentric image pairs.
  • Annotations: Over 1.6 million manually verified query-answer-mask pairs.
  • Diversity: The dataset includes single-target, multi-target, and negative (no-target) samples to ensure the model learns to handle complex, real-world scenarios robustly.
Examples from the Ego-IRGBench dataset

Key Insights and Ideas

  • Geometry Matters in Egocentric Vision: The most compelling insight is the explicit utilization of depth as an auxiliary task. In first-person views, appearance features alone can be deceptive (e.g., distinguishing between multiple similar-looking cups on a table). Depth information inherently highlights the foreground zone where interactions occur, significantly boosting segmentation accuracy.
  • End-to-End Synergy: Rather than cascading a standard VQA model into a separate Referring Image Segmentation (RIS) model, ANNEXE allows language embeddings from the MLLM to directly modulate the visual features in the mask decoder, ensuring tighter cross-modal alignment.

Key Results

The ANNEXE model was evaluated against competitive baselines adapted for the Ego-IRG task:

  • Text Reasoning: In the Analyzing and Answering sub-tasks, ANNEXE dramatically outperformed image captioning models like SmallCap and PromptCap. For instance, on the test set, ANNEXE achieved an Analyzing CIDEr score of 1.494 compared to SmallCap's 0.221.
  • Pixel Grounding: ANNEXE achieved a cumulative Intersection-over-Union (cIoU) of 36.02% on the test set, outperforming state-of-the-art referring expression segmentation models like LISA (22.63%) and X-Decoder (23.75%).
  • Ablation Verification: Removing the depth estimation branch caused pixel grounding performance to drop by 4.12% on the test set, validating the authors' hypothesis that depth is a vital cue for egocentric parsing.

Limitations and Future Work

The primary limitation of this work is its focus on static images. Real-world egocentric interaction is inherently dynamic and continuous. While the model handles individual frames exceptionally well, it does not account for temporal consistency or the history of an action across a video sequence.

The authors note that extending the Ego-IRG task and the ANNEXE architecture to video-based tracking and reasoning is a promising direction for future research.

Summary updated

Abstract

Egocentric interaction perception is one of the essential branches in investigating human-environment interaction, which lays the basis for developing next-generation intelligent systems. However, existing egocentric interaction understanding methods cannot yield coherent textual and pixel-level responses simultaneously according to user queries, which lacks flexibility for varying downstream application requirements. To comprehend egocentric interactions exhaustively, this paper presents a novel task named Egocentric Interaction Reasoning and pixel Grounding (Ego-IRG). Taking an egocentric image with the query as input, Ego-IRG is the first task that aims to resolve the interactions through three crucial steps: analyzing, answering, and pixel grounding, which results in fluent textual and fine-grained pixel-level responses. Another challenge is that existing datasets cannot meet the conditions for the Ego-IRG task. To address this limitation, this paper creates the Ego-IRGBench dataset based on extensive manual efforts, which includes over 20k egocentric images with 1.6 million queries and corresponding multimodal responses about interactions. Moreover, we design a unified ANNEXE model to generate text- and pixel-level outputs utilizing multimodal large language models, which enables a comprehensive interpretation of egocentric interactions. The experiments on the Ego-IRGBench exhibit the effectiveness of our ANNEXE model compared with other works.
BibTeX
@inproceedings{su2025annexe,
  author = {Yuejiao Su and Yi Wang and Qiongyang Hu and Chuang Yang and Lap-Pui Chau},
  title = {{ANNEXE: Unified Analyzing, Answering, and Pixel Grounding for Egocentric Interaction}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2025},
  doi = {10.1109/cvpr52734.2025.00844},
}
Figure