Skip to main content
QUICK REVIEW

[Paper Review] Improved Regularization and Robustness for Fine-tuning in Neural Networks

Dongyue Li, Hongyang R. Zhang|arXiv (Cornell University)|Nov 8, 2021
Domain Adaptation and Few-Shot LearningComputer Science11 citations
TL;DR

This paper proposes RegSL, a regularized self-labeling method that combines layer-wise weight regularization and dynamic label correction to improve fine-tuning robustness and generalization. By constraining weight updates per layer and correcting mislabeled examples using model predictions, RegSL reduces overfitting and memorization, achieving 1.76% average accuracy gain on image tasks and 3.56% improvement on noisy data sets compared to baselines.

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.

Motivation & Objective

  • To address overfitting and label memorization in fine-tuning when pre-trained models are much larger than target datasets.
  • To improve robustness to label noise in transfer learning, especially when weak supervision introduces errors.
  • To develop a method that balances regularization and self-labeling for better generalization in low-data regimes.
  • To theoretically analyze fine-tuning via PAC-Bayesian bounds, linking model stability and weight shift to generalization.
  • To empirically validate the method across diverse vision and text tasks, including few-shot and medical imaging settings.

Proposed method

  • Proposes a PAC-Bayesian generalization bound that depends on the ℓ₂ distance traveled by each layer during fine-tuning and the model's noise stability.
  • Introduces layer-wise regularization to constrain the ℓ₂ norm of weight updates per layer, reducing overfitting.
  • Employs self-label-correction to relabel data points where the model is highly confident but the label is incorrect.
  • Applies label-reweighting to downweight predictions from less confident samples during training.
  • Uses a hybrid training strategy that alternates between standard fine-tuning and self-labeling updates based on model confidence.
  • Employs both ℓ² and MARS norms for weight constraints, with ℓ² showing comparable or better performance in experiments.

Experimental results

Research questions

  • RQ1How does the distance traveled by each layer during fine-tuning affect generalization performance?
  • RQ2Can noise stability of the fine-tuned model predict its generalization behavior?
  • RQ3Does combining regularization with self-labeling improve robustness to label noise in fine-tuning?
  • RQ4How do different components—layer-wise regularization, label correction, and label removal—contribute to performance?
  • RQ5Does the proposed method generalize across different architectures and data modalities, including vision transformers and few-shot learning?

Key findings

  • RegSL improves average accuracy by 1.76% across seven image classification benchmarks compared to baseline fine-tuning.
  • On noisy data sets, RegSL achieves a 3.56% average accuracy gain over baselines, significantly reducing memorization of incorrect labels.
  • Layer-wise regularization reduces the generalization gap between training and test accuracy, indicating better generalization.
  • Self-labeling with correction and reweighting reduces the number of incorrectly relabeled samples by 74% (from 42 to 11) at epoch 21 under 20% noise.
  • The label correction component is most critical at high noise rates (40% and above), while regularization is more effective at lower noise levels.
  • The method generalizes to vision transformers, medical image classification (ChestX-ray14), and few-shot NLP tasks, improving performance by 0.75% on few-shot classification.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.