Lune

CVPR2023Top-tier venue

Trainable Projected Gradient Method for Robust Fine-Tuning

Junjiao Tian, Xiaoliang Dai, Chih-Yao Ma, Zecheng He, Yen-Cheng Liu, Zsolt Kira

Abstract

Recent studies on transfer learning have shown that selectively fine-tuning a subset of layers or customizing different learning rates for each layer can greatly improve robustness to out-of-distribution (OOD) data and retain generalization capability in the pre-trained models. However, most of these methods employ manually crafted heuristics or expensive hyper-parameter searches, which prevent them from scaling up to large datasets and neural networks. To solve this problem, we propose Trainable Projected Gradient Method (TPGM) to automatically learn the constraint imposed for each layer for a fine-grained fine-tuning regularization. This is motivated by formulating fine-tuning as a bi-level constrained optimization problem. Specifically, TPGM maintains a set of projection radii, i.e., distance constraints between the fine-tuned model and the pretrained model, for each layer, and enforces them through weight projections. To learn the constraints, we propose a bi-level optimization to automatically learn the best set of projection radii in an end-to-end manner. Theoretically, we show that the bi-level optimization formulation is the key to learning different constraints for each layer. Empirically, with little hyper-parameter search cost, TPGM outperforms existing fine-tuning methods in OOD performance while matching the best in-distribution (ID) performance. For example, when fine-tuned on DomainNet-Real and ImageNet, compared to vanilla fine-tuning, TPGM shows 22% and 10% relative OOD improvement respectively on their sketch counterparts. Code is available at https://github.com/PotatoTian/TPGM .

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.

25 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

  • Fast Trainable Projection for Robust Fine-tuning cites CutMix: Regularization Strategy to Train Strong Classifiers With Localizable Features
  • Fast Trainable Projection for Robust Fine-tuning cites The Many Faces of Robustness: A Critical Analysis of Out-of-Distribution Generalization
  • Fast Trainable Projection for Robust Fine-tuning cites An Empirical Study of Training Self-Supervised Vision Transformers
  • Fast Trainable Projection for Robust Fine-tuning cites Learning Transferable Visual Models From Natural Language Supervision
  • Spurious Feature Diversification Improves Out-of-distribution Generalization cites The Many Faces of Robustness: A Critical Analysis of Out-of-Distribution Generalization
  • Spurious Feature Diversification Improves Out-of-distribution Generalization cites Learning Transferable Visual Models From Natural Language Supervision
  • Towards Calibrated Robust Fine-Tuning of Vision-Language Models cites Fast Trainable Projection for Robust Fine-tuning
  • Towards Calibrated Robust Fine-Tuning of Vision-Language Models cites The Many Faces of Robustness: A Critical Analysis of Out-of-Distribution Generalization
  • Towards Calibrated Robust Fine-Tuning of Vision-Language Models cites Learning Transferable Visual Models From Natural Language Supervision
  • The Many Faces of Robustness: A Critical Analysis of Out-of-Distribution Generalization cites CutMix: Regularization Strategy to Train Strong Classifiers With Localizable Features
  • An Empirical Study of Training Self-Supervised Vision Transformers cites Learning Transferable Visual Models From Natural Language Supervision
  • An Empirical Study of Training Self-Supervised Vision Transformers cites Training data-efficient image transformers & distillation through attention
  • Learning Transferable Visual Models From Natural Language Supervision cites The Many Faces of Robustness: A Critical Analysis of Out-of-Distribution Generalization
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers25

  1. Universal Prompt Tuning for Graph Neural NetworksTaoran Fang, Yunchao Zhang, Yang Yang, Chunping Wang et al.NeurIPS 2023 · 166 citations
  2. Towards Calibrated Robust Fine-Tuning of Vision-Language ModelsChangdae Oh, Hyesu Lim, Mijoo Kim, Dongyoon Han et al.NeurIPS 2024 · 49 citations
  3. Spurious Feature Diversification Improves Out-of-distribution GeneralizationYong Lin, Lu Tan, Yifan Hao, Honam Wong et al.ICLR 2024 · 34 citations
  4. Fast Trainable Projection for Robust Fine-tuningJunjiao Tian, Yen-Cheng Liu, James Seale Smith, Zsolt KiraNeurIPS 2023 · 23 citations
  5. Fast-Slow Test-Time Adaptation for Online Vision-and-Language NavigationJunyu Gao, Xuan Yao, Changsheng XuICML 2024 · 22 citations

Builds on19

  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. Training data-efficient image transformers & distillation through attentionHugo Touvron, Matthieu Cord, Matthijs Douze, Francisco Massa et al.ICML 2021 · 8,974 citations
  3. CutMix: Regularization Strategy to Train Strong Classifiers With Localizable FeaturesSangdoo Yun, Dongyoon Han, Sanghyuk Chun, Seong Joon Oh et al.ICCV 2019 · 5,843 citations
  4. An Empirical Study of Training Self-Supervised Vision TransformersXinlei Chen, Saining Xie, Kaiming HeICCV 2021 · 2,340 citations
  5. The Many Faces of Robustness: A Critical Analysis of Out-of-Distribution GeneralizationDan Hendrycks, Steven Basart, Norman Mu, Saurav Kadavath et al.ICCV 2021 · 2,294 citations

Related papers

  1. Directional Gradient Projection for Robust Fine-Tuning of Foundation ModelsChengyue Huang, Junjiao Tian, Brisa Maneechotesuwan, Shivang Chopra et al.ICLR 2025
  2. Improved Regularization and Robustness for Fine-tuning in Neural NetworksDongyue Li, Hongyang R. ZhangNeurIPS 2021 · 76 citations
  3. Masked Images Are Counterfactual Samples for Robust Fine-TuningYao Xiao, Ziyi Tang, Pengxu Wei, Cong Liu et al.CVPR 2023
  4. SMART: Robust and Efficient Fine-Tuning for Pre-trained Natural Language Models through Principled Regularized OptimizationHaoming Jiang, Pengcheng He, Weizhu Chen, Xiaodong Liu et al.ACL 2020 · 148 citations
  5. Fine-Tuning can Distort Pretrained Features and Underperform Out-of-DistributionAnanya Kumar, Aditi Raghunathan, Robbie Matthew Jones, Tengyu Ma et al.ICLR 2022 · 911 citations
Dusk over the sea between two cliffs drawn in fine vertical lines