arXiv paper· machine learning theory (optimization and learning theory)· theory paper

Compute-Optimal Pretrain--Fine-tune in Ridge Gradient Descent

Alex Buna, Fanghui Liu, Patrick Rebeschini

stat.ML · cs.LG

Quick verdict

Rigorous theory of optimal pretrain–fine-tune compute split in ridge GD via bottleneck spectral rates; sound but confined to linear full-batch GD settings.

Summary

The paper casts pretrain–fine-tune compute allocation as a discrete 'compute-split' problem in ridge regression: with a fixed budget B and per-iteration costs cp, cf, full-batch gradient descent runs k pretraining iterations then ℓ fine-tuning iterations, and the authors identify the split minimizing the mismatch between the induced update Δt and the ideal transfer update Δ = ŵ′ − ŵ, measured in the fine-tuning Hessian norm or the downstream empirical-covariance seminorm. Using basis-invariant eigenspace projectors and perturbative control of the non-commuting pretraining/fine-tuning dynamics, Theorems 6 and 12 prove that for large budgets the optimal split is localized as t* = θ*T + s* + O(1), where the leading fraction θ* depends only on the log-contraction rates of the smallest 'visible' (prediction-relevant) eigenvalues of the two empirical covariances. Theorem 7 shows any fixed interior fraction is exponentially better than extreme allocations, and Section 3.5 outlines an O((n+n′)d) matrix-free Lanczos estimator for θ*, an alternative to checkpoint sweeps. The seminorm case needs a no-kernel-hitting condition, proven necessary via a 2×2 counterexample and almost surely satisfied under random designs. Numerical experiments (Fig. 1, d=400) match predictions, e.g., 27.58% predicted vs 27.21% numerical optimum. Limitations: linear ridge model with full-batch GD only, asymptotic-in-budget guarantees, offset terms requiring exact solutions, purely synthetic experiments, and no error analysis for the Lanczos estimator.

Review complete

Assessment at a glance

machine learning theory (optimization and learning theory)

4

risk flags identified

● high 0

● medium 2

● low 2

Reproducibility readinesshigh
Code & data availablenot stated
Review confidencehigh
AI text signal0/20 passages flagged
Deep research viableCode-reproducible

5 strengths · 5 weaknesses · 5 author questions

AI text signal = Binoculars zero-shot detector score over 20 sampled passages (Fast-DetectGPT co-reported) — absence does not prove human authorship, and a flag does not imply misconduct.

Levels reflect verification complexity — not a quality score. Evolve never rates your paper.

Key claims under review

  • For fixed budget B with per-iteration costs cp, cf, the optimal pretrain/fine-tune split of ridge GD satisfies |t*−(s*+θ*T)|≤1+O(e−δT) for large T, where θ* is the ratio of log-contraction rates of the smallest prediction-relevant ('visible') eigenvalues of the pretraining and fine-tuning empirical covariances (Theorems 6 and 12; Corollary 9 gives k(t*)=θ*B/cp+O(1)).
  • Any fixed interior compute fraction θ̂∈(0,1) yields update mismatch exponentially smaller in T than allocations spending only a constant number of iterations on either phase, with the rate maximized at θ̂=θ* (Theorem 7).
  • Under the downstream covariance seminorm, localization requires a no-kernel-hitting condition that is genuinely necessary (Proposition 13), holds almost surely under random designs (Proposition 14), and is weaker than commutativity of the covariances (Proposition 15).
  • The leading fraction θ* can be estimated matrix-free via Lanczos iterations initialized at X⊤y/n at cost O((n+n′)d), providing an alternative to expensive checkpoint sweeps (Section 3.5).

Strengths

  • Clean problem formalization with an exact evaluation identity

    The lcm-based representation (1) discretizes all exact-budget schedules cleanly, and Lemma 1 shows the H′-norm mismatch ‖Δt−Δ‖²_{H′} equals the exact excess risk of the grafted model ŵ+Δt, tying the proxy objective to a risk statement.

  • Basis-invariant, multiplicity-safe spectral analysis

    Working with projectors Pi onto eigenspaces of distinct eigenvalues (Sec. 3.2, App. A) makes active sets I, I′ well-defined under eigenvalue multiplicity, and the generator matrices G=−(L/cp)ln(I−ηH) enable the perturbative split Γ(s)+Ξ(s) that controls non-commuting H, H′ dynamics (App. B/C).

  • Honest treatment of degeneracies and the seminorm pathology

  • Concrete estimation path with cost accounting

  • Numerics quantitatively verify the asymptotics

Weaknesses

  • Narrow scope relative to the motivation

  • Asymptotic statements with unspecified regime boundaries

  • Oracle dependence of the exact optimum

  • Weak baseline in the exponential-improvement theorem

  • Estimator proposed without accuracy guarantees; thin empirical base

Full Review Report

$1.99 · one-time

Unlock the complete preliminary analysis Evolve produced for this paper.

Report preview

Scope & Claims

The paper asks a deliberately narrow, well-posed question: given a fixed optimisation budget B and per-iteration costs cp, cf, how should full-batch gradient descent split iterations between ridge pretraining (k) and ridge fine-tuning (ℓ)? The optimised quantity is not the final iterate's risk but the quality of the algorithm-induced update Δt = w′ℓ(t) − wk(t) relative to the ideal transfer update Δ = ŵ′ − ŵ, evaluated either in the fine-tuning ridge Hessian norm fH′ (Lemma 1 shows this equals the exact excess risk of the grafted model ŵ + Δt) or the downstream covariance seminorm fΣ̄′. Central claims: (1) for large T = B/L with L = lcm(cp, cf), every optimal split satisfies |t* − (s* + θ*T)| ≤ 1 + O(e−δT), with θ* = μ′j*/(μi* + μ′j*) determined by the log-contraction rates of the smallest prediction-relevant eigenvalues (Thms 6, 12; Cor 9: k(t*) = θ*B/cp + O(1)); (2) any fixed interior fraction beats extreme splits exponentially in T (Thm 7); (3) θ* is estimable matrix-free by Lanczos at O((n+n′)d) (Sec 3.5).

The remaining sections cover Methodology Assessment, Statistical Evidence, Results & Reproducibility, Limitations & Risks, and Verdict & Recommendations.

  • All 5 strengths & 5 weaknesses, analyzed in detail
  • 4 risk flags with severity, section & reviewer questions
  • Methods & statistical evidence assessment
  • 5 questions a peer reviewer would ask
  • Full six-dimension evaluation report & recommendations

One-time purchase · this paper only

One-time purchase, this paper only. AI-generated preliminary analysis — not peer review.

Frequently asked questions

What is the optimal compute split between pretraining and fine-tuning according to this paper?

For ridge regression trained by full-batch gradient descent under a fixed budget, the optimal fraction of compute spent on pretraining converges (as the budget grows) to θ* = μ′/(μ+μ′), where μ and μ′ are the log-contraction rates of the smallest prediction-relevant ('visible') eigenvalues of the pretraining and fine-tuning covariances. Intuitively, more compute goes to the phase whose hardest prediction-relevant direction contracts more slowly. An O(1) offset correction also appears but requires knowing the exact ridge solutions.

Does this paper tell you how to schedule compute when training large language models?

No. The theory covers only linear ridge regression with fixed Hessians and full-batch (noise-free) gradient descent. The authors present it as identifying a structural principle — bottleneck curvatures of the two data geometries govern the split — that may guide intuition for nonlinear models, but no conclusions about LLM training are proven, and the paper says extending to feature-learning regimes is future work.

What is the 'no-kernel-hitting' condition in this paper?

When the update mismatch is measured with the downstream empirical covariance seminorm — which is blind to directions in the kernel of X′ that do not affect downstream predictions — the analysis needs the pretraining trajectory to stay outside that kernel during an initial burn-in period. The paper proves via an explicit 2×2 example that the condition is necessary (without it, the optimum can collapse to almost no pretraining), but also that it holds almost surely under standard continuous random designs.

Is code available for the experiments in this paper?

The paper text does not mention a released code repository. However, Appendix D fully specifies the experiments (d=400, Gaussian designs with log-spaced covariance spectra from 1 to 10−3, ridge 0.05, step size 0.05, seed 2026), and results are computed from closed-form GD dynamics, so independent reimplementation at CPU scale is straightforward.

About this review

This is an AI-generated preliminary review by Evolve.Pub, produced from the openly available text of the paper. It is not peer review and does not represent the authors' views. The canonical record of the paper is at the publisher link above.

  • Mathematical notation is partially mangled by text extraction (sub/superscripts and some inline formulas); judgments on fine proof details rely on the readable overall structure of Appendices A–C.
  • Figure 1 is available only through its caption; the actual curves and their fit to the predictions cannot be visually verified from the extracted text.
  • The references list shows interleaved page-number artifacts from extraction; individual citation details may be imperfect.

Go deeper on this paper

Wrote a paper? Stress-test it before reviewers do.

Upload your manuscript for the same structured scrutiny — reasoning, statistics, evidence, figures, and reproducibility.

Scan your paper
Compute-Optimal Pretrain--Fine-tune in Ridge Gradient Descent | Evolve.Pub