TL;DR
This paper introduces the Stochastic Gradient Process (SGP), a continuous-time framework for stochastic gradient descent (SGD) designed specifically for problems with continuous or streamed data distributions. By coupling a gradient flow with an ergodic continuous-time Markov process on the data space (such as a reflected Brownian motion or pure jump process), the authors prove convergence and ergodicity guarantees for both constant and decreasing learning rates.
What Problem Does This Paper Address?
In applications like functional data analysis, robust optimization, and physics-informed neural networks (PINNs), the optimization objective is an expectation over an uncountably infinite or continuous domain: $$\min_{\theta \in \mathbb{R}^K} \Phi(\theta) := \int_S f(\theta, y)\,\pi(dy)$$ Standard continuous-time analyses of SGD model parameter dynamics as Langevin diffusions ($d\theta_t = -\nabla\Phi(\theta_t)dt + \dots$). However, these formulations depend on the full target gradient $\nabla\Phi$, which is intractable to compute in continuous-data settings. Existing continuous-time formulations that avoid $\nabla\Phi$ were restricted to finite, discrete datasets.
This paper bridges that gap by establishing a continuous-time gradient descent framework directly on continuous index spaces $S$, accommodating data that is streamed or simulated at runtime.
Methods
The authors formulate the Stochastic Gradient Process: $$d\theta_t = -\nabla_\theta f(\theta_t, V_t)\,dt$$ where $(V_t)_{t \ge 0}$ is a continuous-time, geometrically ergodic Feller Markov process on a compact Polish space $S$ with invariant measure $\pi$.
- Constant Learning Rate (SGPC): The index process is accelerated by a factor of $1/\varepsilon$: $d\theta^\varepsilon_t = -\nabla_\theta f(\theta^\varepsilon_t, V_{t/\varepsilon})dt$. As $\varepsilon \downarrow 0$, the trajectory converges weakly to the inaccessible full gradient flow $d\zeta_t = -\nabla\Phi(\zeta_t)dt$. Using Harris-type ergodic theorems, the authors prove that under strong convexity, the coupled system $(\theta^\varepsilon_t, V_{t/\varepsilon})$ converges exponentially fast in Wasserstein distance to a unique invariant measure that concentrates around the true minimizer $\theta^*$ as $\varepsilon \to 0$.
- Decreasing Learning Rate (SGPD): Decreasing step sizes are modeled in continuous time by nonlinearly warping time via an integral $\beta(t) = \int_0^t \mu(s)\,ds$, where $\mu(t)$ grows slower than any polynomial. This yields $d\xi_t = -\nabla_\xi f(\xi_t, V_{\beta(t)})dt$, which provably converges in Wasserstein distance directly to the Dirac measure $\delta(\cdot - \theta^*)$.
- Numerical Discretization: The gradient flow is integrated with schemes like the implicit midpoint rule or Adam, while the continuous index process $(V_t)$ is simulated via Euler–Maruyama with boundary projections (for reflected diffusions) or jump sampling.
Datasets
The authors evaluated the method on two continuous synthetic benchmark problems:
- Noisy Functional Polynomial Regression: Fitting an 8th-degree Legendre polynomial expansion to a continuous target function $\Theta(y) = \sin(\pi y)$ on $S = [-1, 1]$ corrupted by continuous Matérn-type Gaussian process noise.
- Physics-Informed Neural Network (PINN): Solving the 1D linear transport equation $u_t + u_x = 0$ on $(t, x) \in [0, 1] \times [0, 1]$ with periodic boundary conditions, parameterized by a 3-layer MLP (128 neurons/layer, ReLU).
(No pre-existing standard real-world datasets were used; experiments specifically evaluate continuous function domains.)
Key Insights and Ideas
- Decoupling Data Switching from Iterations: Rather than drawing discrete i.i.d. minibatches at fixed clock ticks, continuous-time index trajectories allow continuous tracking of streaming data or exploration via continuous diffusions.
- Reflected Diffusions Induce Favorable Implicit Regularization: Continuous exploration via reflected Brownian motion visits boundary points more frequently than uniform i.i.d. draws. In functional regression, this significantly reduced reconstruction errors near domain boundaries.
- Time-Warping as Learning-Rate Annealing: The transition from constant to decreasing learning rates is naturally framed as speeding up the data process relative to the optimization flow ($\beta(t) \to \infty$), allowing the index process to mix infinitely faster than parameter updates and eliminating asymptotic variance.
Key Results
- Functional Polynomial Regression (100 runs):
- Standard SGD achieved a final relative error of $(1.849 \pm 0.511) \times 10^{-2}$.
- SGPC with a reflected diffusion index process ($\sigma = 5$) improved this to $(1.502 \pm 0.334) \times 10^{-2}$, outperforming both standard SGD and jump-based index processes ($\lambda = 10$ yielded $(2.127 \pm 0.549) \times 10^{-2}$).
- PINN Transport Equation (30 runs):
- SGPD achieved a test mean squared error of $2.8 \times 10^{-4}$, compared to $3.5 \times 10^{-4}$ for SGPC and $4.5 \times 10^{-4}$ for standard discrete SGD, while converging faster in training loss.
Limitations and Future Work
- Compactness and Convexity Assumptions: The theoretical proofs require $S$ to be a compact Polish space and $f(\cdot, y)$ to be uniformly strongly convex. This excludes non-convex architectures (such as PINNs, where it was tested empirically) and unbounded continuous domains.
- Boundary Localization in Diffusions: In PINN experiments, pure Brownian exploration struggled near boundaries, requiring uniform deterministic/random sampling on spatial and temporal boundaries.
- Future Work: The authors propose extending the framework to non-compact spaces (crucial for variational Bayes), studying adversarial robustness, and analyzing parameter-dependent sampling kernels $\Pi(dy \mid \theta)$ common in reinforcement learning and optimal control.
Summary updated