Lune

NeurIPS2021Top-tier venue

Improved Regularization and Robustness for Fine-tuning in Neural Networks

Dongyue Li, Hongyang R. Zhang

Abstract

A widely used algorithm for transfer learning is fine-tuning, where a pre-trained model is fine-tuned on a target task with a small amount of labeled data. When the capacity of the pre-trained model is significantly larger than the size of the target dataset, fine-tuning is prone to overfitting and memorizing the training labels. Hence, a crucial question is to regularize fine-tuning and ensure its robustness against noise. To address this question, we begin by analyzing the generalization properties of fine-tuning. We present a PAC-Bayes generalization bound that depends on the distance traveled in each layer during fine-tuning and the noise stability of the fine-tuned model. We empirically measure these quantities. Based on the analysis, we propose regularized self-labeling -- the interpolation between regularization and self-labeling methods, including (i) layer-wise regularization to constrain the distance traveled in each layer; (ii) self-label-correction and label-reweighting to correct mislabeled data points (that the model is confident) and reweight less confident data points. We validate our approach on an extensive collection of image and text datasets using multiple pre-trained model architectures. Our approach improves baseline methods by 1.76% (on average) for seven image classification tasks and 0.75% for a few-shot classification task. When the target data set includes noisy labels, our approach outperforms baseline methods by an average of 3.56% in two noisy settings.

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.

17 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

  • Fine-Tuning is Fine, if Calibrated cites An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
  • PACE: Marrying generalization in PArameter-efficient fine-tuning with Consistency rEgularization cites An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
  • PACE: Marrying generalization in PArameter-efficient fine-tuning with Consistency rEgularization cites On the Effectiveness of Parameter-Efficient Fine-Tuning
  • CLAP4CLIP: Continual Learning with Probabilistic Finetuning for Vision-Language Models cites An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
  • Early-Learning Regularization Prevents Memorization of Noisy Labels cites Symmetric Cross Entropy for Robust Learning With Noisy Labels
  • Robust Fine-Tuning of Deep Neural Networks with Hessian-based Generalization Guarantees cites Early-Learning Regularization Prevents Memorization of Noisy Labels
  • Robust Fine-Tuning of Deep Neural Networks with Hessian-based Generalization Guarantees cites Fantastic Generalization Measures and Where to Find Them
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers17

  1. On the Effectiveness of Parameter-Efficient Fine-TuningZihao Fu, Haoran Yang, Anthony Man-Cho So, Wai Lam et al.AAAI 2023 · 234 citations
  2. Robust Fine-Tuning of Deep Neural Networks with Hessian-based Generalization GuaranteesHaotian Ju, Dongyue Li, Hongyang R. ZhangICML 2022 · 41 citations
  3. CLAP4CLIP: Continual Learning with Probabilistic Finetuning for Vision-Language ModelsSaurav Jha, Dong Gong, Lina YaoNeurIPS 2024 · 36 citations
  4. Fine-Tuning is Fine, if CalibratedZheda Mai, Arpita Chowdhury, Ping Zhang, Cheng-Hao Tu et al.NeurIPS 2024 · 34 citations
  5. PACE: Marrying generalization in PArameter-efficient fine-tuning with Consistency rEgularizationYao Ni, Shan Zhang, Piotr KoniuszNeurIPS 2024 · 25 citations

Builds on13

  1. An Image is Worth 16x16 Words: Transformers for Image Recognition at ScaleAlexey Dosovitskiy, Lucas Beyer, Alexander Kolesnikov, Dirk Weissenborn et al.ICLR 2021 · 21,477 citations
  2. Symmetric Cross Entropy for Robust Learning With Noisy LabelsYisen Wang, Xingjun Ma, Zaiyi Chen, Yuan Luo et al.ICCV 2019 · 1,125 citations
  3. Early-Learning Regularization Prevents Memorization of Noisy LabelsSheng Liu, Jonathan Niles-Weed, Narges Razavian, Carlos Fernandez-GrandaNeurIPS 2020 · 798 citations
  4. Fantastic Generalization Measures and Where to Find ThemYiding Jiang, Behnam Neyshabur, Hossein Mobahi, Dilip Krishnan et al.ICLR 2020 · 705 citations
  5. A Baseline for Few-Shot Image ClassificationGuneet Singh Dhillon, Pratik Chaudhari, Avinash Ravichandran, Stefano SoattoICLR 2020 · 640 citations

Related papers

  1. PAC-tuning: Fine-tuning Pre-trained Language Models with PAC-driven Perturbed Gradient DescentGuangliang Liu, Zhiyu Xue, Xitong Zhang, Kristen Marie Johnson et al.EMNLP 2023 · 1 citation
  2. Co-Tuning for Transfer LearningKaichao You, Zhi Kou, Mingsheng Long, Jianmin WangNeurIPS 2020 · 105 citations
  3. Mitigating Memorization of Noisy Labels via Regularization between RepresentationsHao Cheng, Zhaowei Zhu, Xing Sun, Yang LiuICLR 2023 · 8 citations
  4. Trainable Projected Gradient Method for Robust Fine-TuningJunjiao Tian, Xiaoliang Dai, Chih-Yao Ma, Zecheng He et al.CVPR 2023
  5. Generalization Bounds for Meta-Learning via PAC-Bayes and Uniform StabilityAlec Farid, Anirudha MajumdarNeurIPS 2021 · 46 citations
Dusk over the sea between two cliffs drawn in fine vertical lines