Lune

CVPR2024Top-tier venue

Dr2Net: Dynamic Reversible Dual-Residual Networks for Memory-Efficient Finetuning

Chen Zhao, Shuming Liu, Karttikeya Mangalam, Guocheng Qian, Fatimah Zohra, Abdulmohsen Alghannam, Jitendra Malik, Bernard Ghanem

Abstract

Large pretrained models are increasingly crucial in modern computer vision tasks. These models are typically used in downstream tasks by end-to-end finetuning, which is highly memory-intensive for tasks with high-resolution data, e.g., video understanding, small object detection, and point cloud analysis. In this paper, we propose Dynamic Reversible Dual-Residual Networks, or Dr 2 Net, a novel family of network architectures that acts as a surrogate network to finetune a pretrained model with substantially reduced memory consumption. Dr 2 Net contains two types of residual connections, one maintaining the residual structure in the pretrained models, and the other making the network reversible. Due to its reversibility, intermediate activations, which can be reconstructed from output, are cleared from memory during training. We use two coefficients on either type of residual connections respectively, and introduce a dynamic training strategy that seamlessly transitions the pretrained model to a reversible network with much higher numerical precision. We evaluate Dr 2 Net on various pretrained models and various tasks, and show that it can reach comparable performance to conventional finetuning but with significantly less memory usage. Code will be available at https://github.com/ coolbay/Dr2Net.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

3 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • VideoMAE: Masked Autoencoders are Data-Efficient Learners for Self-Supervised Video Pre-Training cites Swin Transformer: Hierarchical Vision Transformer using Shifted Windows
  • VideoMAE: Masked Autoencoders are Data-Efficient Learners for Self-Supervised Video Pre-Training cites Video Swin Transformer
  • VideoMAE: Masked Autoencoders are Data-Efficient Learners for Self-Supervised Video Pre-Training cites SlowFast Networks for Video Recognition
  • Swin Transformer: Hierarchical Vision Transformer using Shifted Windows cites Learning Transferable Visual Models From Natural Language Supervision
  • Video Swin Transformer cites Swin Transformer: Hierarchical Vision Transformer using Shifted Windows
  • Video Swin Transformer cites SlowFast Networks for Video Recognition
  • NightAdapter: Learning a Frequency Adapter for Generalizable Night-time Scene Segmentation cites Swin Transformer: Hierarchical Vision Transformer using Shifted Windows
  • End-to-End Temporal Action Detection with 1B Parameters Across 1000 Frames cites VideoMAE: Masked Autoencoders are Data-Efficient Learners for Self-Supervised Video Pre-Training
  • End-to-End Temporal Action Detection with 1B Parameters Across 1000 Frames cites Swin Transformer: Hierarchical Vision Transformer using Shifted Windows
  • End-to-End Temporal Action Detection with 1B Parameters Across 1000 Frames cites Learning Transferable Visual Models From Natural Language Supervision
  • End-to-End Temporal Action Detection with 1B Parameters Across 1000 Frames cites SlowFast Networks for Video Recognition
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers3

  1. End-to-End Temporal Action Detection with 1B Parameters Across 1000 FramesShuming Liu, Chen-Lin Zhang, Chen Zhao, Bernard GhanemCVPR 2024 · 35 citations
  2. TokenSeek: Memory Efficient Fine Tuning via Instance-Aware Token DitchingRunjia Zeng, Qifan Wang, Qiang Guan, Ruixiang Tang et al.ICLR 2026 · 1 citation
  3. NightAdapter: Learning a Frequency Adapter for Generalizable Night-time Scene SegmentationQi Bi, Jingjun Yi, Huimin Huang, Hao Zheng et al.CVPR 2025

Builds on22

  1. Learning Transferable Visual Models From Natural Language SupervisionAlec Radford, Jong Wook Kim, Chris Hallacy, Aditya Ramesh et al.ICML 2021 · 47,906 citations
  2. Swin Transformer: Hierarchical Vision Transformer using Shifted WindowsZe Liu, Yutong Lin, Yue Cao, Han Hu et al.ICCV 2021 · 31,683 citations
  3. SlowFast Networks for Video RecognitionChristoph Feichtenhofer, Haoqi Fan, Jitendra Malik, Kaiming HeICCV 2019 · 4,104 citations
  4. VideoMAE: Masked Autoencoders are Data-Efficient Learners for Self-Supervised Video Pre-TrainingZhan Tong, Yibing Song, Jue Wang, Limin WangNeurIPS 2022 · 2,336 citations
  5. Video Swin TransformerZe Liu, Jia Ning, Yue Cao, Yixuan Wei et al.CVPR 2022 · 1,847 citations

Related papers

  1. Efficient and Information-Preserving Future Frame Prediction and BeyondWei Yu, Yichao Lu, Steve Easterbrook, Sanja FidlerICLR 2020 · 127 citations
  2. Re2TAL: Rewiring Pretrained Video Backbones for Reversible Temporal Action LocalizationChen Zhao, Shuming Liu, Karttikeya Mangalam, Bernard GhanemCVPR 2023
  3. Reversible Vision TransformersKarttikeya Mangalam, Haoqi Fan, Yanghao Li, Chao-Yuan Wu et al.CVPR 2022 · 52 citations
  4. Dynamic Resolution NetworkMingjian Zhu, Kai Han, Enhua Wu, Qiulin Zhang et al.NeurIPS 2021 · 71 citations
  5. Deep Reorganization: Retaining Residuals in TinyMLHashan Roshantha Mendis, Chih-Kai Kang, Chun-Han Lin, Ming-Syan Chen et al.DAC 2024 · 1 citation
Dusk over the sea between two cliffs drawn in fine vertical lines