- Rating
- 4
- Clarity
- 3
- Confidence
- 4
- Originality
- 3
- Quality
- 3
- Significance
- 3
Read review
Summary
The paper studies the problem of determining the optimal transition time from pretraining to fine-tuning under a ridge regression model. Specifically, the target is calibrated through a transfer update from the pretraining optimum to the fine-tuning optimum, and the training dynamics are modeled by gradient flow. The authors show that the optimal transition time can be characterized explicitly in terms of the relevant minimum eigenvalues and the alignment of the target update with the corresponding eigenspaces. Two evaluation objectives are considered: one under the downstream design seminorm and the other under the ridge-design norm, both leading to similar characterizations. The paper also provides simulation experiments that corroborate the theoretical predictions.
Strengths and weaknesses
Strengths:
-
The target problem is novel and interesting. To my knowledge, this is one of the first works to provide an explicit theoretical characterization of the pretraining--fine-tuning compute tradeoff. Rather than only asking whether pretraining helps downstream performance, the paper studies when one should switch from pretraining to fine-tuning under a fixed optimization budget.
-
The work is mostly technically solid. The proof is based on a fine-grained spectral decomposition of the pretraining and fine-tuning dynamics, and the eigenspace-level treatment is appropriate for handling possible eigenvalue multiplicities and non-commuting Hessians.
Weaknesses:
-
The motivation for comparing the optimum under two different choices of the regularization parameters and is not fully clear. Since these parameters affect both the ridge optima and the spectral bottlenecks that determine the transition time, it would be useful for the authors to better explain what practical or conceptual question is answered by varying them.
-
The discussion is somewhat narrowly focused on the ridge-difference setting. The techniques developed in the paper appear potentially applicable to more general linear problems with two quadratic objectives and fixed Hessians. It would strengthen the paper to clarify which parts of the analysis are specific to ridge regression and which parts extend to general linear/quadratic models.
-
I found some technical issues in the proof that should be addressed. In particular, in the proof of Theorem 10 under the -seminorm, the authors appear to use the implication when discarding inactive eigenspace components. This implication is false for a seminorm; it only implies that . The argument may be repairable because the eigenspaces of are compatible with those of , but the proof should explicitly justify why these inactive components make no contribution to the -seminorm bounds.
Questions
-
Motivation and practical implications. The role of the two ridge parameters and is not fully clear to me. Since these parameters directly affect both the ridge optima and the spectral quantities that determine the optimal transition time, could the authors clarify what practical or conceptual insight is gained by varying them? More broadly, how should the theoretical characterization inform practical pretraining/fine-tuning algorithms?
-
Technical issue in the proof. Could the authors clarify the technical issue mentioned above regarding the treatment of inactive eigenspace components under the -seminorm?
-
Gradient flow versus discrete gradient descent. The analysis follows prior continuous-time gradient-flow studies such as Ali et al. However, practical training uses discrete gradient descent. In the present quadratic setting, the continuous-time factor would be replaced by , with . Relatedly, Sonthalia et al., On Regularization via Early Stopping for Least Squares Regression, study the discrete full-batch gradient descent dynamics directly. Could the authors discuss whether the main characterization remains valid under this discretization, and how the step size affects the optimal transition time?
-
Size and interpretation of . The main theorems require the total budget to be larger than some threshold . How large does need to be for the asymptotic characterization to be accurate? It would be helpful to provide either explicit dependence of on the spectral gaps/alignment quantities, or numerical evidence showing when the predicted transition time becomes reliable.
Limitations
The paper mentioned its limitation on the structural characterization of , showing that its computation relies on several quantities that are only available by oracle. I believe it would be helpful to discuss the practical implications of the theories on general algorithm design and training processes.
Paper formatting concerns
No formatting problem observed.
Final justification
The paper is consider solid and the rebuttal explains my concerns. I hold my initial review evaluation for acceptance
We thank the reviewer for finding the problem novel and interesting, and for flagging a local technical issue.
W1/Q1: Motivation and practical implications
Rather than varying the two regularisation parameters, our results should be understood as holding for any regularisation strength parameters γ,γ′>0, including values selected according to statistical theory or validation. The optimal switching time satisfies
Tt∗≈νi∗+νj∗′+γ+γ′νj∗′+γ′
where νi∗ and νj∗′ are the corresponding bottleneck eigenvalues of Σ and Σ′, respectively. The ratio t∗/T is decreasing in γ and increasing in γ′. If the upstream dataset is noisier, stronger pretraining regularisation is needed, and as a result the switch occurs earlier.
More broadly, our characterisation suggests selecting the switching time from the spectral properties of the specific pretraining and fine-tuning objectives, rather than adopting a split that is independent of the two objectives.
W2: Narrow focus on ridge regression
Our results can be extended to arbitrary strongly convex quadratics, and the intuition can be generalised to other strongly convex cost functions, not necessarily quadratics.
Specifically, our theory extends easily to
Rpre(w)=c+21∥∥w−u∥∥A2,Rfine(w)=c′+21∥∥w−v∥∥B2,
where c,c′∈R, A,B are symmetric positive definite matrices, and u,v are the minima of the two phases. This generalisation can be reduced to our framework via the transformation (H,H′,w,Δ):=(A,B,u,v−u).
A heuristic analogy that follows Remark 7 closely can be drawn for general strongly convex objectives. Assuming the pretraining and fine-tuning objectives are α and α′ strongly convex, and have minimisers w and w′, respectively, then one can show that gradient flow contraction gives an upper bound
∥∥Δt−Δ∥∥2≤2∥∥w∥∥2e−αt+∥∥Δ∥∥2e−α′(T−t)
and the minimiser of the RHS is given by
t∗=α+α′α′T+O(1).
Although not an exact characterisation of the minimum, this heuristic offers the same qualitative principle as our theory.
W3/Q2: Technical issue in the proof (line 714)
Indeed, under the Σ′ criterion, ∥∥Piw∥∥Σ′=0 only implies Piw∈Ker(Σ′). The contribution of (i,j) is still 0: as Qj commutes with Σ′, we have Σ′QjPiw=QjΣ′Piw=0, i.e., a contribution of 0.
We will correct this minor issue, thank you again for flagging it. Note that the final Theorem 10 statement remains unchanged.
Q3: Gradient flow versus discrete gradient descent
Continuous-time analyses of gradient descent are commonly used in the theoretical machine learning literature because they often capture the underlying phenomena more transparently while remaining analytically tractable, for example, see [1, 2, 3]. This is also the case in our setting and continuous time is not essential. Analogous gradient descent results can be obtained by a reduction to our result without the need to redo an entire technical discrete analysis. As a sketch, consider small enough fixed step-sizes η<λmax(H)−1 and η′<λmax(H′)−1 for pretraining and fine-tuning respectively. One can show that
\begin{aligned} \boldsymbol\Delta_t-\boldsymbol\Delta &= (\boldsymbol I-e^{(T-t)\log(\boldsymbol I-\eta'\boldsymbol H')}) e^{t\log(\boldsymbol I-\eta\boldsymbol H)} \widehat{\boldsymbol w} - e^{(T-t)\log(\boldsymbol I-\eta'\boldsymbol H')} \boldsymbol\Delta. \end{aligned}$$ Thus, the analogous objective $f$ induced by GD is the same after the transformation $\boldsymbol H\mapsto -\log(\boldsymbol I-\eta\boldsymbol H)$, $\boldsymbol H'\mapsto -\log(\boldsymbol I-\eta'\boldsymbol H')$. The only caveat is that now the localisation result will not be exponential in $T$ anymore, because the continuous minimiser $t^*$ has to be approximated by an integer: $$\hspace{12em}t^* = \frac{-\log(1-\eta'\mu_{j^* })}{-\log(1-\eta\lambda_{i^* })-\log(1-\eta'\mu_{j^* })}T+O(1).$$ In fact, as $-\log(1-\eta\lambda_{i^* })=\eta\lambda_{i^* }+O(\eta^2)$, for equal and small enough step sizes we recover the same $t^* /T\rightarrow\mu_{j^* }/(\lambda_{i^* }+\mu_{j^* })$ as in the case of gradient flow. In fact, Figure 1 already evaluates the prediction using discrete full-batch GD and shows empirically that our GF results are to be expected even for discrete steps, and the reduction sketched above is the reason why. We will add a proposition about the discrete characterisation of the optimal switch-time in the next iteration of our paper. [1] Ali, A., Kolter, J. Z., \& Tibshirani, R. J. (2019). A continuous-time view of early stopping for least squares regression. In The 22nd international conference on artificial intelligence and statistics (pp. 1370-1378). PMLR. [2] Celentano, M., Cheng, C., \& Montanari, A. (2021). The high-dimensional asymptotics of first order methods with random data. arXiv preprint arXiv:2112.07572. [3] Suggala, A., Prasad, A., \& Ravikumar, P. K. (2018). Connecting optimization and regularization paths. Advances in Neural Information Processing Systems, 31. **Q4: Size and interpretation of $T_0$** We thank the reviewer for this suggestion. We omitted a closed-form expression for $T_0$ from the theorem statements to aid with the presentation. It can be recovered by tracing the proof and we will make the dependence explicit in the revision. The spectral gaps do appear in the expression of $T_0$. For instance, using the notations of Theorem 6, the spectral gaps appear linearly in the definitions of $\delta_1$ and $\delta_2$, consequently in $\delta$. Rearranging the expression in lines 567-569, one of the conditions on $T_0$ is, after dropping logarithmic terms, $T_0\geq 1/\delta$. Thus, $T_0$ scales inversely with the relevant spectral gaps.