EgoCap and EgoFormer: First-Person Image Captioning with Context Fusion

Chen LI, Zhuangzhuang Dai*

*Corresponding author for this work

Research output: Contribution to journalJournal articleResearchpeer-review

Abstract

First-person captioning is significant because it provides veracious descriptions of egocentric scenes in a unique perspective. Also, there is a need to caption the scene, a.k.a. life-logging, for patients, travellers, and emergency responders in an egocentric narrative. Ego-captioning is indeed non-trivial since (1) Ego-images can be noisy due to motion and angles; (2) Describing a scene in a first-person narrative involves drastically different semantics; (3) Empirical implications have to be made on top of visual appearance because the cameraperson is often outside the field of view. We note we humans make good sense out of casual footage thanks to our contextual awareness in judging when and where the event unfolds, and whom the cameraperson is interacting with. This inspires the infusion of such “contexts” for situation-aware captioning. We create EgoCap which contains 2.1K ego-images, over 10K ego-captions, and 6.3K contextual labels, to close the gap of lacking ego-captioning datasets. We propose EgoFormer, a dual-encoder transformer-based network which fuses both contextual and visual features. The context encoder is pre-trained on ImageNet before fine tuning with context classification tasks. Similar to visual attention, we exploit stacked multi-head attention layers in the captioning decoder to reinforce attention to the context features. The EgoFormer has realized state-of-the-art performance on EgoCap achieving a CIDEr score of 125.52. The EgoCap dataset and EgoFormer are publicly available at https://github.com/zdai257/EgoCap-EgoFormer.

Original languageEnglish
JournalPattern Recognition Letters
Volume181
Pages (from-to)50-56
Number of pages7
ISSN0167-8655
DOIs
Publication statusPublished - May 2024

Keywords

  • Dataset
  • Image captioning
  • Storytelling

Fingerprint

Dive into the research topics of 'EgoCap and EgoFormer: First-Person Image Captioning with Context Fusion'. Together they form a unique fingerprint.

Cite this