Stochastic Riemannian optimization and rates
State unbiased tangent-noise and retraction-regularity assumptions before deriving finite-horizon stationary-point bounds.
On this page
The question for today
What you’ll understand
- Define conditional unbiasedness and variance within the current tangent space.
- Derive an average squared-gradient bound from a uniform pullback descent inequality.
- Separate finite-horizon rates from almost-sure stochastic-approximation conclusions.
A stochastic manifold method replaces an exact gradient by a noisy tangent estimate and retracts the resulting step. Geometry does not remove the need for conditional unbiasedness, variance control, a safe step range or bounded objective decrease. Nor does a nonconvex stationary-point rate imply that an iterate is a global minimizer. This lesson gives a self-contained finite-horizon argument under explicit uniform assumptions, then contrasts it with classical decreasing-step convergence statements whose conclusions and hypotheses are different.
Noise lives in the current tangent space
At iteration k, let the history determine x_k and let G_k belong to TₓₖM. Conditional unbiasedness means its expectation given that history equals grad f(x_k), using the linear structure of this fixed tangent space. Bound its conditional squared deviation by σ². Also assume ∥G_k∥≤B almost surely and that all iterates lie in a fixed compact region. The bounded-sample condition gives a safe retraction step size; compactness supplies uniform local regularity constants only when the objective and retraction are smooth on a surrounding neighborhood.
A sphere example projects a bounded random ambient vector a onto the current tangent plane. For the linear sample objective aᵀx, this is its induced-metric sample gradient. If a has the appropriate mean, projection preserves conditional unbiasedness when the sample law given the history has that mean. Fresh independent samples are one sufficient construction, while dependent data require an explicit conditional analysis. Unbiasedness of the tangent estimate does not say the retracted next point is an unbiased ambient average, because the retraction is nonlinear.
A pullback descent bound gives a finite-horizon rate
Assume f is bounded below by f_inf along the region of interest. Require the uniform pullback inequality f(Rₓ(v))≤f(x)+gₓ(grad f,v)+(L/2)∥v∥² for every trial vector of norm at most r at the relevant iterates. Choose a constant step η≤1/L with ηB≤r. Conditioning on the history and using the variance decomposition bounds expected one-step change by minus η/2 times the squared gradient norm plus Lη²σ²/2. This argument requires the bound for the actual sampled steps, not just for the deterministic mean direction.
Summing over T transitions telescopes the objective and gives the displayed average-gradient estimate, with Δ_f=f(x₀)−f_inf. Choosing η=η₀/√T, where η₀>0 is fixed and T is large enough for the stated step restrictions, yields order T⁻¹/² in expected squared gradient norm. Equivalently, a uniformly selected output iterate has that expectation bound. To make it at most ε² therefore needs order ε⁻⁴ transitions under these nonconvex bounded-variance assumptions. This is not a bound on distance to a minimizer or on objective suboptimality without additional geometry.
Asymptotic statements require different step schedules
Classical stochastic approximation instead uses positive decreasing steps whose sum diverges while their squared sum converges. For a C³ objective on a connected manifold with uniformly positive injectivity radius, independent data samples giving bounded unbiased tangent estimates and compact containment, Bonnabel’s manifold results give almost-sure convergence of objective values and decay of gradient norms, for the exponential update and suitable twice continuously differentiable retractions. Those conclusions do not by themselves prove convergence of the full point sequence to one selected minimizer. Extra assumptions are needed to exclude wandering among critical points or to identify a desired solution.
A finite-horizon constant step chosen from T is a different schedule, so its rate should not be presented as the same theorem. Mini-batching independent tangent estimates reduces conditional variance by the batch size, while correlation can spoil that factor. Strong geodesic convexity, variance reduction or special quotient structure can support sharper conclusions, but only on domains and under regularity assumptions that are actually verified. Reporting the target quantity, sampling model, metric and step policy makes a stochastic guarantee interpretable and prevents a stationary-point certificate from being mistaken for global learning success.
Work it through
Read a nonconvex rate with its constants
Suppose the stated assumptions hold with L=2,σ²=1,Δ_f=1,B=3,r=1 and η₀=1/2. For T=10000, check the step restrictions and bound the average expected squared gradient norm. Find the horizon sufficient for the bound 1/100.
The horizon-dependent constant step is η=(1/2)/100=1/200. It satisfies η≤1/L=1/2 and ηB=3/200≤r.
The numerator in the rate is 2Δ_f/η₀+Lη₀σ²=4+1=5. At T=10000 the bound is 5/100=1/20.
For a bound at most 1/100, require 5/√T≤1/100, hence √T≥500 and T≥250000. At that horizon η=1/1000 still satisfies both step restrictions.
The guarantee is on an average expected squared gradient norm, or the same quantity for a uniformly chosen output iterate. It does not certify an objective error of 1/100 or a global minimum.
The living notebook
Explore the model
Interactive lab · sampling
Independent averaging reduces a scalar noise variance
Pause and Reset, then set success probability p=0.50,sample size n=25. Predict mean 0.50 and sample-mean variance 0.01, with standard deviation 0.10. For a fresh comparison Reset and set p=0.50,n=100; predict variance 0.0025 and standard deviation 0.05. This instrument displays exact binomial sampling distributions; playback highlights possible outcomes rather than collecting random samples. It illustrates independent averaging, not tangent-gradient updates or a Riemannian convergence trajectory.
- Mean sample proportion
- 0.5
- Sample-mean variance
- 0.0125
- Uniform CDF error bound
- ≤ 0.1062
Exact binomial masses for the mean of n independent Bernoulli trials, compared with normal mass between adjacent half-count boundaries; normal tails outside the finite support remain outside the bars. Playback highlights outcomes, not random samples. The Berry–Esseen bound applies to standardized CDFs, not individual bars or continuity-corrected errors. At p = 0 or 1, normal comparison and that bound are disabled. Normal-CDF evaluation uses a numerical approximation with absolute error below 7.5×10⁻⁸ (at most 1.5×10⁻⁷ per interval, before rounding). Parameter changes pause playback and recompute the model at the current elapsed time. Reset restores both parameters and returns time to zero. Playback starts paused. Adjust either parameter, then choose Play or Step.
Look forThe inverse-batch variance reduction used in a rate needs independent samples or another justified covariance bound.
Pause & reason
Check your understanding
Your turn
Try it yourself
On S¹ at x=(1,0), draw ambient a=(0,1) or (0,3) with equal probabilities and use the linear sample objective aᵀx. Compute the mean tangent gradient, its variance and the two normalization-retraction updates with η=1/10.
Take a moment to make a prediction or work it out on paper. Open a hint when you need one.
Give me a hint
Both sampled vectors are already tangent at x. Subtract one tenth of each, then normalize the resulting ambient point.
Compare with the solution
The sample gradients are (0,1) and (0,3), with mean (0,2). Their deviations are (0,−1) and (0,1), so the conditional squared-noise expectation is one. Their norms are bounded by three. The two updated points are (10,−1)/√101 and (10,−3)/√109. Averaging the tangent samples is linear, but averaging these normalized points is not the same operation as retracting the mean gradient. The unbiasedness condition applies before the nonlinear retraction.
Keep the idea
Take it with you
- Conditional unbiasedness and variance are measured in the current tangent metric.
- A finite-horizon stationary-point rate needs uniform pullback and safe-step assumptions.
- Almost-sure decreasing-step results and finite-horizon rates have different schedules and conclusions.
Read further
Original sources and deeper explanations to follow at your own pace.
Optional progress, saved in this browser when available. Revisit any lesson at any time.
Lesson not marked complete.