Compute-Optimal Pretrain--Fine-tune in Ridge Gradient Descent
Abstract
Pretraining followed by fine-tuning introduces a compute-allocation problem: under a fixed training budget, compute spent improving the upstream objective reduces the compute available for downstream adaptation. Despite its practical importance, this trade-off is not yet well understood theoretically, even in simple models. In this paper, we cast this allocation as a compute-split problem under a two-stage pretrain--fine-tune procedure with fixed total optimisation budget, using regularised least squares trained by gradient descent as a tractable setting. We characterise the optimal split under data-dependent evaluation geometries induced by the fine-tuning problem. Our results show that the allocation depends on how pretraining directions affect fine-tuning predictions and how fine-tuning shifts are seen through downstream data geometry. In particular, the relevant quantities are determined by prediction-relevant spectral components of the pretraining and fine-tuning empirical covariances. Technically, the analysis relies on a basis-invariant, eigenspace-level spectral decomposition, together with perturbative control of the non-commuting pretraining and fine-tuning dynamics.
Create a lesson
Related papers
A Free Lunch: Gradient Averaging Achieves Optimal Statistical Efficiency in Newton Sketch
Shared title terminology · Haoxuan Wang, Jianliang Ye, Sen Na
Overfitting of Spectral Gradient Descent: How Matrix Geometry shapes Generalization and Implicit Bias
Shared title terminology · Guillaume Braun, Ichiro Hashimoto, Masaaki Imaizumi
Stochastic Gradient Descent over P2
Shared title terminology · Maria Oprea, Qin Li, Yunan Yang
Generalization Analysis of Distributed Kernel-based Robust Gradient Descent Algorithms
Shared title terminology · Jun-Yi Meng, Zheng-Chu Guo, Yuan Mao
HyperMC: Multi-Fidelity Hyperparameter Tuning for Stochastic Gradient MCMC
Shared title terminology · Ming Tan, Xiyun Jiao
Can pretrained Transformers deliver semiparametrically efficient inference?
Shared title terminology · Han Yan, Jin Zhu, Chengchun Shi et al.