Learning to Segment Referred Objects from Narrated Egocentric Videos

Yuhan Shen, Huiyu Wang, Xitong Yang, Matt Feiszli, Ehsan Elhamifar, Lorenzo Torresani, Effrosyni MavroudiCVPR 2024

Abstract

Egocentric videos provide a first-person perspective of the wearer's activities, involving simultaneous interactions with multiple objects. In this work, we propose the task of weakly-supervised Narration-based Video Object Segmentation (NVOS). Given an egocentric video clip and a narration of the wearer's activities, our aim is to segment object instances mentioned in the narration without using any spatial annotations during training. We introduce ROSA, a weakly-supervised pixel-level grounding framework that learns alignments between referred objects and segmentation mask proposals. To address the lack of annotated NVOS datasets, we create VISOR-NVOS, a new evaluation benchmark leveraging 14.6k newly-collected narrations. Our approach achieves state-of-the-art zero-shot pixel-level grounding performance and demonstrates strong generalization capabilities on third-person instructional videos.

Defining the NVOS Task

Egocentric (first-person) videos are inherently messy, featuring rapid head movements, frequent occlusions, and complex interactions with multiple objects. While existing models can find an object given a specific "referring expression" (e.g., "the red bowl on the left"), they often struggle with natural, multi-object narrations like "C uses a spoon to spread the minced meat."

Comparison of NVOS with related tasks like Video Object Grounding (b), Referring Expression Segmentation (c), and standard Video Object Segmentation (d).

The core challenge of NVOS is weak supervision. Manually masking objects in thousands of video frames is prohibitively expensive. Most existing grounding models settle for bounding boxes; NVOS aims for pixel-perfect masks using only the high-level text narrations already available in massive datasets like Ego4D as supervision.

The ROSA Framework

The authors propose ROSA (Referred Object-Segment Aligner), which operates in three main stages:

  1. Proposal Generation: The framework utilizes the Segment Anything Model (SAM) to generate class-agnostic mask proposals for every frame. Simultaneously, a language parser extracts noun phrases from the narrations.
  2. Context-Aware Encoding:
    • Region Encoder: A CLIP-based Vision Transformer (ViT) is adapted to focus on a specific mask while maintaining the surrounding frame context.
  3. Phrase Encoder: Noun phrase embeddings are created to account for both the specific object (e.g., "spoon") and the linguistic context (e.g., "the spoon used to spread meat").
  4. Global-Local Contrastive Learning: Since the model lacks explicit labels, it learns through:
  5. Global Alignment: Matching entire video clips to narrations using Temporal Adaptive Pooling. This strategy initially identifies the "easiest" frames where an object is visible and gradually aggregates information across the entire clip.
  6. Local Alignment: Fine-tuning the relationship between specific regions and phrases using inferred "pseudo-labels."

Datasets and Evaluation

To train and validate ROSA, the researchers utilized several key datasets:

  • Ego4D: 250,000 cooking-related video clips used for training.
  • VISOR-NVOS: A new benchmark created by adding 14,612 detailed narrations to the VISOR dataset, explicitly linking text to existing masks.
  • VOST: Used to test robustness against "dramatic transformations," such as peeling or chopping objects.
  • YouCook2-BB: A third-person instructional dataset used to evaluate cross-perspective generalization.

Key Results and Insights

ROSA achieved a 42.4% $J\&F$ score on the VISOR-NVOS benchmark, significantly outperforming "GroundedSAM," despite GroundedSAM having access to stronger bounding box supervision during its training.

A standout innovation is Temporal Adaptive Pooling. Early in training, the model is selective, focusing only on frames with the strongest region-phrase matches. As training progresses, it learns to consider the object's appearance across the entire video, effectively handling motion blur and occlusions. Furthermore, the dual-encoder approach highlights that context is king; by encoding sentence context, the model can distinguish between multiple instances of the same object class based on their current use.

Limitations and Future Work

While ROSA sets a new standard for NVOS, several challenges remain. The model currently processes frames mostly independently, which can lead to temporal flickering due to a lack of built-in tracking mechanisms. It also struggles with linguistic nuances, such as plurals or accurately determining object boundaries (e.g., segmenting only a fridge door instead of the whole unit). Future work will likely focus on integrating explicit temporal modeling and expanding training to larger-scale, multi-domain datasets.

Summary updated

BibTeX
@inproceedings{shen2024learning,
  author = {Yuhan Shen and Huiyu Wang and Xitong Yang and Matt Feiszli and Ehsan Elhamifar and Lorenzo Torresani and Effrosyni Mavroudi},
  title = {{Learning to Segment Referred Objects from Narrated Egocentric Videos}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2024},
  url = {https://openreview.net/forum?id=FMZ6cGZg8e},
}
Figure