Skip to main content
QUICK REVIEW

[论文解读] AIM: Adapting Image Models for Efficient Video Action Recognition

Taojiannan Yang, Yi Zhu|arXiv (Cornell University)|Feb 6, 2023
Human Pose and Action RecognitionComputer Science被引用 62
一句话总结

AIM 在冻结预训练图像转换器并加入轻量级适配器的基础上,实现时空视频理解,显著减少可调参数量,并在多个基准上达到或超过以往的最先进水平。

ABSTRACT

Recent vision transformer based video models mostly follow the ``image pre-training then finetuning" paradigm and have achieved great success on multiple video benchmarks. However, full finetuning such a video model could be computationally expensive and unnecessary, given the pre-trained image transformer models have demonstrated exceptional transferability. In this work, we propose a novel method to Adapt pre-trained Image Models (AIM) for efficient video understanding. By freezing the pre-trained image model and adding a few lightweight Adapters, we introduce spatial adaptation, temporal adaptation and joint adaptation to gradually equip an image model with spatiotemporal reasoning capability. We show that our proposed AIM can achieve competitive or even better performance than prior arts with substantially fewer tunable parameters on four video action recognition benchmarks. Thanks to its simplicity, our method is also generally applicable to different image pre-trained models, which has the potential to leverage more powerful image foundation models in the future. The project webpage is \url{https://adapt-image-models.github.io/}.

研究动机与目标

  • 通过利用预训练的图像模型来降低视频模型训练成本的动机。
  • 提出一种参数高效的适配框架,用于视频中的时空推理。
  • 证明冻结图像骨干网并添加轻量级适配器可以达到或超过视频基准上的最新方法。
  • 展示与多种图像预训练模型的兼容性并量化效率提升。

提出的方法

  • 冻结一个预训练的图像变换器骨干网络。
  • 在自注意力层之后插入空间适配器,以实现空间适配。
  • 复用图像模型的自注意力进行时间建模(T-MSA),并配以时序适配器实现时间适配。
  • 在 MLP 的并行位置添加联合适配器,以实现联合的时空适配,在最终融合中引入缩放因子。
  • 仅训练新添加的适配器,同时保持骨干网络冻结。

实验结果

研究问题

  • RQ1在冻结的图像变换器骨干且增添轻量级适配器的条件下,能否达到有竞争力的视频动作识别性能?
  • RQ2按顺序添加空间、时间和联合适配器能带来多少性能提升?
  • RQ3AIM 方法是否能够兼容不同的图像预训练模型和骨干网,同时在数据和计算方面提供效率?

主要发现

  • AIM 在参数量显著更少的情况下达到或优于完全微调的视频模型的性能(例如,ViT-L/14 + CLIP 预训练在 K400 上达到 87.5%,可调参数为 38M)。
  • 仅空间适配即可获得与完整微调的仅空间基线相当的结果,同时可调参数明显更少(3.7M 对比 86M)。
  • 时序适配显著提升,在冻结空间骨干的情况下,Something-Something-v2 的 top-1 达到 61.2%。
  • 联合适配进一步缩小与完整微调的时空模型之间的差距,达到更高的准确率(SSv2 top-1 62.0%),仅 14.3M 可调参数。
  • 使用 CLIP 预训练骨干的 AIM 通常优于 TimeSformer,且在 K400、K700、SSv2、Diving-48 数据集上接近或超过多种最先进模型。

阅读本论文

在 Nubint 阅读器中打开原文,边读边就任意段落提问。

在 Nubint 中阅读本论文

本解读由 AI 根据论文原文生成,引用前请核对原文。