arXiv:2610.01426cs.LGOct 2026

Manuscript Offprint

arXiv:2610.01426

Least-time Gradient Flow

Alessandro Betti, Marco Gori, Stefano Melacci, Jinwei Zhao

ALESSANDRO BETTI 1^{1}, MARCO GORI 2^{2}, STEFANO MELACCI 2^{2}, AND JINWEI ZHAO 2,3^{2,3}

ABSTRACT. Prescribing the speed of gradient flow on the risk itself, by the dynamics w˙=−u(E(w))∇E(w)/∣∇E(w)∣2\dot{w} = -u(E(w))\nabla E(w)/|\nabla E(w)|^2, makes the risk e(t)=E(w(t))e(t) = E(w(t)) obey e˙=−u(e)\dot{e} = -u(e) exactly, whatever the landscape EE; the time needed to reach zero risk from e0e_0 is ∫0e0de/u(e)\int_0^{e_0} de/u(e). Minimizing this time alone is ill posed, and we study the regularized problem inf⁡{∫0e0(λ2∣u′∣2+1/u) de:u∈H1(0,e0),u≥0,u(0)=0}\inf\{\int_0^{e_0}(\frac{\lambda}{2}|u'|^2 + 1/u) \, de : u \in H^1(0, e_0), u \geq 0, u(0) = 0\}, λ>0\lambda > 0. We prove that the minimizer exists, is unique, and is a linearly scaled cycloid, and we show that the optimal rate behaves like u∗(e)∼(9/(2λ))1/3e2/3u^*(e) \sim (9/(2\lambda))^{1/3}e^{2/3} near zero risk: the exponent 2/32/3 is the one found in [2] by a power-law ansatz, and it lies in the Hölder window (12,1)(\frac{1}{2}, 1) where the arrival is in finite time with vanishing weight speed. The proof follows the classical route: existence by the direct method, uniqueness by strict convexity, positivity of the minimizer away from the origin, and the explicit integration of the Euler–Lagrange equation.

1. INTRODUCTION

Gradient flow w˙(t)=−∇E(w(t))\dot{w}(t) = -\nabla E(w(t)) on the quadratic risk E(w)=12∣w∣2E(w) = \frac{1}{2}|w|^2 makes the risk e(t):=E(w(t))e(t) := E(w(t)) obey e˙=−∣∇E(w)∣2=−2e\dot{e} = -|\nabla E(w)|^2 = -2e, so that e(t)=e0e−2te(t) = e_0 e^{-2t}: the risk never reaches zero. This is not a peculiarity of the quadratic risk but a property of every risk with a locally Lipschitz gradient: the trajectories of a Lipschitz vector field are unique in both time directions [6, Chapter 1, Theorem 2.2], and since a critical point of EE is itself a trajectory, no other trajectory can reach it in finite time. A direct cure is to divide the field by ∣∇E∣2|\nabla E|^2: the dynamics w˙=−∇E/∣∇E∣2\dot{w} = -\nabla E/|\nabla E|^2 gives e˙=−1\dot{e} = -1 and e(t)=e0−te(t) = e_0 - t, zero at t=e0t = e_0 on every landscape. But on the quadratic risk this dynamics is w˙=−w/∣w∣2\dot{w} = -w/|w|^2, so that ∣w(t)∣=∣w0∣2−2t|w(t)| = \sqrt{|w_0|^2 - 2t} and

∣w˙(t)∣=1∣w(t)∣=12(e0−t)⟶+∞ast→e0:|\dot{w}(t)|=\frac{1}{|w(t)|}=\frac{1}{\sqrt{2\left(e_{0}-t\right)}}\longrightarrow+\infty\qquad\mathrm{as}t\to e_{0}:

the risk reaches zero in finite time, but the weights arrive at the minimum with infinite speed. Both dynamics belong to the family

(1.1)

w˙(t)=−u(E(w(t)))∣∇E(w(t))∣2∇E(w(t)),\dot{w}(t)=-\frac{u\big(E(w(t))\big)}{|\nabla E(w(t))|^{2}}\nabla E(w(t)),

studied in [2], in which the speed is set by a function u:[0,+∞)→[0,+∞)u: [0, +\infty) \to [0, +\infty) of the current risk; we call uu the dissipation schedule. The two examples above are u≡1u \equiv 1 and, on the quadratic risk, u(e)=2eu(e) = 2e; the choice u(e)=eu(e) = e is Polyak's step [10]

Date: October 2, 2026.

1^{1}Department of Mathematics “Tullio Levi-Civita”, University of Padua, Italy.

2^{2}Department of Information Engineering and Mathematics, University of Siena, Italy.

3^{3}University of Florence, Italy.

E-mail addresses: alessandro.betti@unipd.it (A. Betti), marco.gori@unisi.it (M. Gori), stefano.melacci@unisi.it (S. Melacci), jinwei.zhao@unifi.it (J. Zhao).

ALESSANDRO BETTI, MARCO GORI, STEFANO MELACCI, AND JINWEI ZHAO

with optimal value zero. The dynamics is defined wherever ∇E≠0\nabla E \neq 0, which in the interpolation regime of overparameterized networks is exactly where E>0E > 0 (this standing assumption, ∇E=0  ⟺  E=0\nabla E = 0 \iff E = 0, and the well-posedness of (1.1) are discussed in [2]; the present note is about the schedule only). What makes (1.1) particularly interesting is the following relation, a consequence of the chain rule:

(1.2)

e˙=⟨∇E,w˙⟩=−u(e)∣∇E∣2⟨∇E,∇E⟩=−u(e),\dot{e}=\langle\nabla E,\dot{w}\rangle=-\frac{u(e)}{|\nabla E|^{2}}\langle\nabla E,\nabla E\rangle=-u(e),

on every landscape. The geometry of EE decides the path of the weights; uu decides only the clock along it, and the clock is explicit: separating the variables in e˙=−u(e)\dot{e} = -u(e), the time needed to bring the risk from e0e_0 down to zero is

(1.3)

T(u)=∫0e0deu(e).T(u)=\int_{0}^{e_{0}}\frac{d e}{u(e)}.

It is finite for u≡1u \equiv 1 ( T=e0T = e_0) and infinite for u(e)=eu(e) = e (the exponential decay of gradient flow and of Polyak's step); in the language of [11, 12, 4], T(u)<∞T(u) < \infty means that the minimum is a terminal attractor of the risk dynamics, and the criterion “ ∫de/u<∞\int de/u < \infty” is the one-dimensional case of the finite-time stability theory of [3]; see also [7] for finite-time gradient flows.

The schedule of least time does not exist: constants u≡cu \equiv c give T=e0/cT = e_0/c, which tends to zero as c→∞c \to \infty, and since ∣w˙∣=c/∣∇E∣|\dot{w}| = c/|\nabla E|, every such schedule arrives with infinite speed. What we want is the fastest schedule that lands softly, and the way to ask for it is to require u(0)=0u(0) = 0, so that the rate itself vanishes at arrival, and to pay for roughness: we minimize

(1.4)

F(u)=∫0e0(λ2∣u′(e)∣2+1u(e))de,λ>0,F(u)=\int_{0}^{e_{0}}\left(\frac{\lambda}{2}\left|u^{\prime}(e)\right|^{2}+\frac{1}{u(e)}\right)d e,\qquad\lambda>0,

over the class

(1.5)

X={u∈H1((0,e0)):u≥0on[0,e0],u(0)=0}.X=\left\{u\in H^{1}((0,e_{0})):u\geq0on[0,e_{0}],u(0)=0\right\}.

Functions in H1((0,e0))H^{1}((0,e_{0})) are identified with their continuous representatives on [0,e0][0,e_{0}], so that the pointwise conditions in (1.5) make sense. The potential term in (1.4) is the Lebesgue integral of a nonnegative function: we set F(u)=+∞F(u) = +\infty when u vanishes on a set of positive measure, or when 1/u, then defined almost everywhere, is not integrable; otherwise F(u)F(u) is given by (1.4). In particular

(1.6)

F(u)<+∞⟹∣{u=0}∣=0.F(u)<+\infty\quad\Longrightarrow\quad|\{u=0\}|=0.

The second term of FF is the time (1.3); the first penalizes abrupt changes of the rate, and λ\lambda sets the price of roughness. (The functional of [2] carries two weights λ1,λ2\lambda_{1}, \lambda_{2} and an amplitude term; a single parameter suffices, and it can even be scaled away, Remark 4.3.) The purpose of this note is to solve this problem completely. Its answer was announced in [2], where the exponent 2/32/3 was obtained from the Euler–Lagrange equation by a power-law ansatz; here is the full statement.

Theorem 1.1. Let e0>0e_0 > 0 and λ>0\lambda > 0. The functional FF of (1.4) has exactly one minimizer u∗u^* on XX, and u∗u^* is the function of ee defined parametrically by (1.7)

e(θ)=2e0π(θ−sin⁡θcos⁡θ),u∗(θ)=λ−1/3(22e0π)2/3sin⁡2θ,0≤θ≤π2,e(\theta)=\frac{2e_{0}}{\pi}\left(\theta-\sin\theta\cos\theta\right),\quad u^{*}(\theta)=\lambda^{-1/3}\Big(\frac{2\sqrt{2}e_{0}}{\pi}\Big)^{2/3}\sin^{2}\theta,\quad0\leq\theta\leq\frac{\pi}{2},

a linearly scaled cycloid. It is continuous and strictly increasing on [0,e0][0, e_0], of class C∞C^\infty on (0,e0](0, e_0], and it solves

(1.8)

λu′′(e)=−1u(e)2foreverye∈(0,e0],u(0)=0,u′(e0)=0.\lambda u^{\prime\prime}(e)=-\frac{1}{u(e)^{2}}\quad for every e\in(0,e_{0}],\qquad u(0)=0,\qquad u^{\prime}(e_{0})=0.

Remark 1.2 (on the parametrization). The map θ↦e(θ)\theta \mapsto e(\theta) in (1.7) is a strictly increasing bijection of [0,π/2][0, \pi/2] onto [0,e0][0, e_0] (Proposition 2.1); so (1.7) defines u∗u^* as a function on [0,e0][0, e_0], the value u∗(e)u^*(e) being the second expression evaluated at the unique θ=θ(e)\theta = \theta(e) with e(θ)=ee(\theta) = e. To keep the two roles of the letters apart, in the proofs we write ε(θ)\varepsilon(\theta) and U(θ)U(\theta) for the two functions of θ\theta in (1.7), so that u∗=U∘ε−1u^* = U \circ \varepsilon^{-1} and θ(e)=ε−1(e)\theta(e) = \varepsilon^{-1}(e).

Corollary 1.3 (the cusp). u∗(e)=(9/(2λ))1/3e2/3(1+O(e2/3))u^{*}(e) = (9/(2\lambda))^{1/3} e^{2/3} \left(1 + O(e^{2/3})\right) as e→0e \to 0.

Corollary 1.4 (minimum value and arrival time).

F(u∗)=32λ1/3(π2e0)1/3,T(u∗)=λ1/3(π2e0)1/3,F(u^{*})=\frac{3}{2}\lambda^{1/3}(\pi^{2}e_{0})^{1/3},\qquad T(u^{*})=\lambda^{1/3}(\pi^{2}e_{0})^{1/3},

so that the penalty λ2∫∣u∗′∣2\frac{\lambda}{2}\int|u^{*'}|^{2} is exactly half of the time.

Figure 1 shows the minimizer. The plan is the following. Section 2 derives the candidate (1.7) from the Euler–Lagrange equation, as one does in the indirect method, and verifies that it is an admissible competitor of finite energy. Section 3 proves the theorem along the classical route: existence by the direct method, uniqueness by strict convexity, then positivity of the minimizer away from the origin, which makes the Euler–Lagrange equation available, and finally its explicit integration, which identifies the minimizer with (1.7). Section 4 checks that the minimizer is consistent with the Hölder regime of [2]: it lands inside the window 12<α<1\frac{1}{2} < \alpha < 1, at its exponent 2/3.