Papers › Improved Regularization and Robustness for Fine-tuning in Neural Networks

Improved Regularization and Robustness for Fine-tuning in Neural Networks

8 Nov 2021NeurIPS 2021 12arXiv:2111.04578archive 2025-07-28

Dongyue Li, Hongyang R. Zhang

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 much larger than the size of the target data set, fine-tuning is prone to overfitting and "memorizing" the training labels. Hence, an important question is to regularize fine-tuning and ensure its robustness to 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 data sets 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 3.56% on average in two noisy settings.

PaperPDFConference PDFCodeCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2111.04578")

Code

Syntology Ran 7 of 11 code samples harvested from 2 repositories linked to this paper; 4 have no recorded run. Of those that ran: 3 ran · our draft was wrong; 1 ran · fixture could not drive it; 3 ran with no contract checked.

By repository: official repository: 1 sample from 1 repository, 1 ran; found in paper text by Syntology: 10 samples from 1 repository, 6 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

neu-statsml-research/regularized-self-labeling officialmentioned in paperpytorch report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

11 samples harvested; 7 ran; 0 honoured the contract we drafted; 4 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

3ran · our draft was wrong
1ran · fixture could not drive it
3ran
4unverified

Licence: 0 of the 11 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from 2 repositories linked to this paper, official or community; each sample names its own and says which. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

LInfLipschitzConstraint neu-statsml-research/regularized-self-labeling/utils/constraint.py official repository ran MIT (permissive) · 60bf9605f43a64d3 · report
np2th VirtuosoResearch/Regularized-Self-Labeling/model/modeling_resnet.py found in paper text by Syntology ran · fixture could not drive it MIT (permissive) · 7d8eaf5537f699e4 · report
swish VirtuosoResearch/Regularized-Self-Labeling/model/modeling_vit.py found in paper text by Syntology ran · our draft was wrong fingerprinted MIT (permissive) · 0f786c407fb1ee4c · report
accuracy VirtuosoResearch/Regularized-Self-Labeling/model/metric.py found in paper text by Syntology ran MIT (permissive) · 5dcb4148be3fcbaf · report
conv1x1 VirtuosoResearch/Regularized-Self-Labeling/model/modeling_resnet.py found in paper text by Syntology ran · our draft was wrong MIT (permissive) · b0f916df39e78ae5 · report
conv3x3 VirtuosoResearch/Regularized-Self-Labeling/model/modeling_resnet.py found in paper text by Syntology ran · our draft was wrong MIT (permissive) · 4e5bf13dbdc4f008 · report
top_k_acc VirtuosoResearch/Regularized-Self-Labeling/model/metric.py found in paper text by Syntology ran MIT (permissive) · 61cc9667c37ecd27 · report
add_penalties VirtuosoResearch/Regularized-Self-Labeling/reproduce-chexnet/model.py found in paper text by Syntology unverified MIT (permissive) · 310332a4414b2ad1 · report
add_penalty VirtuosoResearch/Regularized-Self-Labeling/reproduce-chexnet/constraint.py found in paper text by Syntology unverified MIT (permissive) · f97515ae0c7bb673 · report
deep_copy VirtuosoResearch/Regularized-Self-Labeling/reproduce-chexnet/model.py found in paper text by Syntology unverified MIT (permissive) · d2ee7320cf52c3fc · report
train_model VirtuosoResearch/Regularized-Self-Labeling/reproduce-chexnet/model.py found in paper text by Syntology unverified MIT (permissive) · 4f41333015d53dc7 · report

Tasks

Image ClassificationTransfer Learningimage-classification

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections