Skip to main content
QUICK REVIEW

[Paper Review] Attention Distillation for Learning Video Representations

Miao Liu, Xin Chen|arXiv (Cornell University)|Apr 5, 2019
Human Pose and Action RecognitionComputer Science17 references6 citations
TL;DR

This paper proposes attention distillation to learn motion-aware video representations from RGB frames by transferring attention maps from a flow network to an RGB network. The method achieves consistent +1% accuracy gains across UCF101, HMDB51, EGTEA, and 20BN-V2 benchmarks with minimal computational cost, demonstrating attention as a robust vehicle for knowledge distillation in video recognition.

ABSTRACT

We address the challenging problem of learning motion representations using deep models for video recognition. To this end, we make use of attention modules that learn to highlight regions in the video and aggregate features for recognition. Specifically, we propose to leverage output attention maps as a vehicle to transfer the learned representation from a motion (flow) network to an RGB network. We systematically study the design of attention modules, and develop a novel method for attention distillation. Our method is evaluated on major action benchmarks, and consistently improves the performance of the baseline RGB network by a significant margin. Moreover, we demonstrate that our attention maps can leverage motion cues in learning to identify the location of actions in video frames. We believe our method provides a step towards learning motion-aware representations in deep models. Our project page is available at https://aptx4869lm.github.io/AttentionDistillation/

Motivation & Objective

  • To address the challenge of learning motion-aware representations in RGB-only video models without explicit flow computation.
  • To bridge the performance gap between single-stream RGB networks and two-stream models (RGB + flow) without incurring extra inference cost.
  • To explore whether attention maps can serve as a robust and task-sensitive medium for knowledge distillation in video recognition.
  • To develop a method that preserves both appearance and motion representations in a single-stream RGB network.
  • To evaluate the effectiveness of attention distillation across multiple standard video action recognition benchmarks.

Proposed method

  • The method uses a probabilistic attention module (Prob-Atten) to generate motion-sensitive attention maps from RGB frames, mimicking the attention maps of a pre-trained flow network.
  • Attention distillation transfers knowledge by minimizing the L2 loss between the attention maps of the RGB network and the reference flow network during training.
  • The distilled RGB model jointly predicts both appearance and motion attention maps during inference, using only RGB inputs.
  • The approach leverages the spatial and temporal invariance of attention maps to encode motion cues without explicit optical flow computation.
  • A regularization term using a uniform distribution is applied to the attention maps to produce smoother, more robust attention features.
  • The method is evaluated using standard I3D and ResNeXt backbones across multiple datasets, with ablation studies on attention module design.

Experimental results

Research questions

  • RQ1Can attention maps from a flow network effectively transfer motion knowledge to an RGB network?
  • RQ2Does attention distillation outperform traditional feature distillation in learning motion-aware representations?
  • RQ3Can a single-stream RGB model achieve performance close to a two-stream model using attention distillation?
  • RQ4How do different attention module designs affect recognition accuracy and robustness?
  • RQ5Does distillation overwrite the original RGB features, or can the model preserve meaningful appearance representations?

Key findings

  • The proposed attention distillation method improves the accuracy of the baseline RGB network by approximately 1% across UCF101, HMDB51, EGTEA, and 20BN-V2 datasets.
  • Even with a weaker teacher model (I3D Flow), Prob-Distill achieves 49.5% accuracy on UCF101, outperforming both the RGB-only (49.1%) and flow-only (40.4%) attention-based I3D models.
  • Fusing the distilled RGB model with a reference flow network (Prob-Distill + Flow I3D) further improves accuracy, surpassing the two-stream I3D model by 0.5% on UCF101, 0.7% on HMDB51, and 0.9% on 20BN-V2.
  • The attention maps from the distilled model are qualitatively different from those of standard soft-attention mechanisms, with appearance attention better localizing foreground actors and motion attention focusing on moving parts.
  • The method preserves meaningful appearance features, as shown by the fact that distillation does not overwrite the original RGB stream's representation, evidenced by improved performance when fused with the flow stream.
  • Visualization confirms that the distilled model learns to localize key action regions through distinct, more diffuse attention maps due to regularization, enhancing robustness.

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.