arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2311.15769cs.CV
收藏

Side4Video:用于内存高效图像到视频迁移学习的时空旁侧网络

Side4Video: Spatial-Temporal Side Network for Memory-Efficient Image-to-Video Transfer Learning

Tsinghua University(清华大学);Baidu Inc.(百度公司);The University of Sydney(悉尼大学)

Huanjin Yao, Wenhao Wu, Zhiheng Li

AI总结:

本文提出Side4Video,一种附加于冻结视觉模型的轻量级时空旁侧网络,通过避免反向传播和利用多级空间特征,将内存使用降低75%,实现了将庞大ViT-E迁移至视频理解任务并在多个数据集上取得卓越性能。

摘要:

大型预训练视觉模型在计算机视觉领域取得了令人瞩目的成功。然而,针对下游任务(特别是在视频理解方面)对这些大型模型进行全参数微调,其计算成本可能极其高昂。近期的研究将焦点转向了高效的图像到视频迁移学习。尽管如此,现有的高效微调方法缺乏对训练内存使用量的关注,且未探索将更大的模型迁移至视频领域。在本文中,我们提出了一种新颖的时空旁侧网络,用于内存高效地将大型图像模型微调至视频理解任务,命名为Side4Video。具体而言,我们引入了一个附加在冻结视觉模型上的轻量级时空旁侧网络,该网络避免了通过沉重的预训练模型进行反向传播,并利用了原始图像模型的多级空间特征。这种极致节省内存的架构使我们的方法能够比以往基于适配器的方法减少75%的内存使用。借此,我们能够将庞大的ViT-E(4.4B)迁移至视频理解任务,其规模比ViT-L(304M)大14倍。我们的方法在跨单模态和跨模态任务(即动作识别和文本-视频检索)的各种视频数据集上取得了卓越的性能,特别是在Something-Something V1&V2(67.3%和74.6%)、Kinetics-400(88.6%)、MSR-VTT(52.3%)、MSVD(56.1%)和VATEX(68.8%)上。我们在https://github.com/HJYao00/Side4Video发布了代码。

英文摘要:

Large pre-trained vision models achieve impressive success in computer vision. However, fully fine-tuning large models for downstream tasks, particularly in video understanding, can be prohibitively computationally expensive. Recent studies turn their focus towards efficient image-to-video transfer learning. Nevertheless, existing efficient fine-tuning methods lack attention to training memory usage and exploration of transferring a larger model to the video domain. In this paper, we present a novel Spatial-Temporal Side Network for memory-efficient fine-tuning large image models to video understanding, named Side4Video. Specifically, we introduce a lightweight spatial-temporal side network attached to the frozen vision model, which avoids the backpropagation through the heavy pre-trained model and utilizes multi-level spatial features from the original image model. Extremely memory-efficient architecture enables our method to reduce 75% memory usage than previous adapter-based methods. In this way, we can transfer a huge ViT-E (4.4B) for video understanding tasks which is 14x larger than ViT-L (304M). Our approach achieves remarkable performance on various video datasets across unimodal and cross-modal tasks (i.e., action recognition and text-video retrieval), especially in Something-Something V1&V2 (67.3% & 74.6%), Kinetics-400 (88.6%), MSR-VTT (52.3%), MSVD (56.1%) and VATEX (68.8%). We release our code at https://github.com/HJYao00/Side4Video.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑