Lune

ICLR2023Top-tier venue

How to prepare your task head for finetuning

Yi Ren, Shangmin Guo, Wonho Bae, Danica J. Sutherland

Abstract

In deep learning, transferring information from a pretrained network to a downstream task by finetuning has many benefits. The choice of task head plays an important role in fine-tuning, as the pretrained and downstream tasks are usually different. Although there exist many different designs for finetuning, a full understanding of when and why these algorithms work has been elusive. We analyze how the choice of task head controls feature adaptation and hence influences the downstream performance. By decomposing the learning dynamics of adaptation, we find that the key aspect is the training accuracy and loss at the beginning of finetuning, which determines the "energy" available for the feature's adaptation. We identify a significant trend in the effect of changes in this initial energy on the resulting features after fine-tuning. Specifically, as the energy increases, the Euclidean and cosine distances between the resulting and original features increase, while their dot products (and the resulting features' norm) first increase and then decrease. Inspired by this, we give several practical principles that lead to better downstream performance. We analytically prove this trend in an overparamterized linear setting and verify its applicability to different experimental 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.

15 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

  • Guiding The Last Layer in Federated Learning with Pre-Trained Models cites Fine-Tuning can Distort Pretrained Features and Underperform Out-of-Distribution
  • Understanding Linear Probing then Fine-tuning Language Models from NTK Perspective cites Fine-Tuning can Distort Pretrained Features and Underperform Out-of-Distribution
  • Fine-Tuning can Distort Pretrained Features and Underperform Out-of-Distribution cites A Simple Framework for Contrastive Learning of Visual Representations
  • Fine-Tuning can Distort Pretrained Features and Underperform Out-of-Distribution cites Moment Matching for Multi-Source Domain Adaptation
  • Visual Fourier Prompt Tuning cites E2VPT: An Effective and Efficient Approach for Visual Prompt Tuning
  • Bootstrap Your Own Latent - A New Approach to Self-Supervised Learning cites A Simple Framework for Contrastive Learning of Visual Representations
  • Temporal Sampling for Forgotten Reasoning in LLMs cites Fine-Tuning can Distort Pretrained Features and Underperform Out-of-Distribution
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers15

  1. E2VPT: An Effective and Efficient Approach for Visual Prompt TuningCheng Han, Qifan Wang, Yiming Cui, Zhiwen Cao et al.ICCV 2023 · 108 citations
  2. Visual Fourier Prompt TuningRunjia Zeng, Cheng Han, Qifan Wang, Chunshu Wu et al.NeurIPS 2024 · 58 citations
  3. Guiding The Last Layer in Federated Learning with Pre-Trained ModelsGwen Legate, Nicolas Bernier, Lucas Page-Caccia, Edouard Oyallon et al.NeurIPS 2023 · 31 citations
  4. Understanding Linear Probing then Fine-tuning Language Models from NTK PerspectiveAkiyoshi Tomihari, Issei SatoNeurIPS 2024 · 30 citations
  5. Temporal Sampling for Forgotten Reasoning in LLMsYuetai Li, Zhangchen Xu, Fengqing Jiang, Bhaskar Ramasubramanian et al.ACL 2026 · 13 citations

Builds on14

  1. A Simple Framework for Contrastive Learning of Visual RepresentationsTing Chen, Simon Kornblith, Mohammad Norouzi, Geoffrey E. HintonICML 2020 · 24,064 citations
  2. Bootstrap Your Own Latent - A New Approach to Self-Supervised LearningJean-Bastien Grill, Florian Strub, Florent Altché, Corentin Tallec et al.NeurIPS 2020 · 9,171 citations
  3. Open Graph Benchmark: Datasets for Machine Learning on GraphsWeihua Hu, Matthias Fey, Marinka Zitnik, Yuxiao Dong et al.NeurIPS 2020 · 3,935 citations
  4. Moment Matching for Multi-Source Domain AdaptationXingchao Peng, Qinxun Bai, Xide Xia, Zijun Huang et al.ICCV 2019 · 2,239 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

Related papers

  1. Self-Distillation for Further Pre-training of TransformersSeanie Lee, Minki Kang, Juho Lee, Sung Ju Hwang et al.ICLR 2023 · 4 citations
  2. Parameter-Efficient Tuning Makes a Good Classification HeadZhuoyi Yang, Ming Ding, Yanhui Guo, Qingsong Lv et al.EMNLP 2022 · 5 citations
  3. A Theory of How Pretraining Shapes Inductive Bias in Fine-TuningNicolas Anguita, Francesco Locatello, Andrew Saxe, Marco Mondelli et al.ICML 2026 · 3 citations
  4. Initialization Matters for Adversarial Transfer LearningAndong Hua, Jindong Gu, Zhiyu Xue, Nicholas Carlini et al.CVPR 2024
  5. Co-Tuning for Transfer LearningKaichao You, Zhi Kou, Mingsheng Long, Jianmin WangNeurIPS 2020 · 105 citations
Dusk over the sea between two cliffs drawn in fine vertical lines