Skip to main content
QUICK REVIEW

[Paper Review] Attention is All We Need: Nailing Down Object-centric Attention for Egocentric Activity Recognition

Swathikiran Sudhakaran, Oswald Lanz|arXiv (Cornell University)|Jul 31, 2018
Human Pose and Action RecognitionComputer Science40 citations
TL;DR

The authors propose an end-to-end CNN-RNN model that uses class activation maps as spatial attention to focus on object regions, enabling weakly supervised egocentric activity recognition with convLSTM temporal encoding; it achieves state-of-the-art results on multiple benchmarks.

ABSTRACT

In this paper we propose an end-to-end trainable deep neural network model for egocentric activity recognition. Our model is built on the observation that egocentric activities are highly characterized by the objects and their locations in the video. Based on this, we develop a spatial attention mechanism that enables the network to attend to regions containing objects that are correlated with the activity under consideration. We learn highly specialized attention maps for each frame using class-specific activations from a CNN pre-trained for generic image recognition, and use them for spatio-temporal encoding of the video with a convolutional LSTM. Our model is trained in a weakly supervised setting using raw video-level activity-class labels. Nonetheless, on standard egocentric activity benchmarks our model surpasses by up to +6% points recognition accuracy the currently best performing method that leverages hand segmentation and object location strong supervision for training. We visually analyze attention maps generated by the network, revealing that the network successfully identifies the relevant objects present in the video frames which may explain the strong recognition performance. We also discuss an extensive ablation analysis regarding the design choices.

Motivation & Objective

  • Motivate fine-grained egocentric activity recognition by leveraging object locations and hands.
  • Develop an end-to-end architecture that learns spatial attention maps without strong supervision.
  • Encode spatio-temporal information with a ConvLSTM while preserving spatial structure.
  • Show through ablations and visualizations how attention maps align with activity-relevant objects.

Proposed method

  • Use ResNet-34 pre-trained on ImageNet to extract frame features and compute class activation maps (CAMs).
  • Convert CAMs to spatial probability maps and apply them as attention by weighting frame features via a Hadamard product (f_SA(i)=f(i) ⊙ softmax(M_c(i))).
  • Employ a convolutional LSTM (ConvLSTM) to temporally encode attended frame features while preserving spatial structure.
  • Train in two stages: stage 1 trains classifier and ConvLSTM layers; stage 2 additionally fine-tunes the ResNet final layer and FC classifier to specialize attention.
  • Incorporate a temporal stream with stacked optical flow (warp flow) and fuse spatial and temporal streams via average or joint-training methods (joint-training yields +10% relative gain).
  • Evaluate on GTEA 61, GTEA 71, GTEA Gaze+, and EGTEA Gaze+ with 25 frames per video and 5-frame optical-flow stacks; compare against hand-segmentation- and gaze-based supervision approaches.

Experimental results

Research questions

  • RQ1Can object-centric spatial attention learned from weak video-level labels improve egocentric activity recognition without hand annotations?
  • RQ2Does ConvLSTM-based spatio-temporal encoding preserve and leverage learned spatial attention for fine-grained activities?
  • RQ3How does end-to-end CAM-based attention compare to strong-supervision methods that rely on hand/object localization on standard benchmarks?

Key findings

  • The proposed method achieves state-of-the-art results on four egocentric datasets, surpassing previous best methods by up to 6 percentage points in accuracy on standard benchmarks.
  • An ablation shows adding spatial attention yields about a 12% accuracy gain over baselines without attention.
  • Jointly training the spatial and temporal streams provides about a 10% improvement over simple average fusion.
  • Visualizations demonstrate that learned attention maps localize objects relevant to the activity without hand segmentation or explicit object supervision.
  • A warp optical flow enhancement improves performance by about 4% by compensating camera motion.
  • The ConvLSTM-based architecture preserves spatial structure across time, enabling effective spatio-temporal encoding of object locations into the video descriptor.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.