Dynamics of Stochastic Approximation Algorithms 1: Limit Sets of Precompact Asymptotic Pseudotrajectories Are Internally Chain TransitiveResearch Paper
Motivation
A stochastic approximation algorithm updates an estimate by small noisy steps, , with step sizes and noise . Such recursions underlie stochastic gradient descent, adaptive control, reinforcement learning (Q-learning, temporal-difference methods) and learning in games (fictitious play, reinforcement models). The ODE method compares the long-run behaviour of the algorithm with that of the ordinary differential equation . Classical versions of this comparison (Ljung 1977, Kushner and Clark 1978) assume the ODE has a globally asymptotically stable equilibrium, or a Lyapunov function, and cannot describe algorithms whose ODE has periodic orbits, heteroclinic cycles or chaotic sets.
Benaïm and Hirsch (1996) replaced these special assumptions by a single dynamical statement: the interpolated algorithm is an asymptotic pseudotrajectory of the flow of , and the limit set of every precompact asymptotic pseudotrajectory is internally chain transitive. This mission formalizes that limit set theorem as it is presented in Michel Benaïm's lecture notes Dynamics of Stochastic Approximation Algorithms (Séminaire de Probabilités XXXIII, 1999).
Timeline. Bowen (1975) and Conley (1978) introduced -pseudo-orbits and chain recurrence, and Conley proved that the chain recurrent set of a flow on a compact space is internally chain recurrent. Benaïm (1996, SIAM J. Control Optim.) related limit sets of stochastic approximation processes to the chain recurrence of the ODE; Benaïm and Hirsch (1996) introduced asymptotic pseudotrajectories for semiflows on metric spaces and proved the limit set theorem in the form formalized here. The 1999 notes give a self-contained proof through the translation semiflow on a space of curves.
Setting
Let be a metric space. A semiflow on is a continuous map , , with and . A set is invariant if for every ; then denotes the restricted semiflow on .
A continuous curve is an asymptotic pseudotrajectory of if
and it is precompact if has compact closure. Its limit set is .
For , , a -pseudo-orbit from to consists of partial trajectories, given by points (and an endpoint ) and times with , for , and . One writes if such pseudo-orbits exist for all . A nonempty compact invariant set is internally chain transitive if for the restricted semiflow for all , so that all lie in ; it is internally chain recurrent if for for every . An attractor is a nonempty compact invariant set with a neighbourhood such that uniformly in .
Formalization targets
Goal: Theorem 5.7 (i)
For every semiflow on a metric space and every precompact asymptotic pseudotrajectory of ,
Milestones (in the order of the proof)
- Lemma 3.1. is an asymptotic pseudotrajectory iff , where is the translation semiflow on and .
- Theorem 3.2. For precompact continuous : is an asymptotic pseudotrajectory iff is uniformly continuous and every limit point of , , is a trajectory of ; and then is relatively compact.
- Lemma 5.2. A nonempty open with compact closure and for some contains an attractor whose basin contains .
- Proposition 5.3. For nonempty : internally chain transitive connected and internally chain recurrent compact, invariant and has no proper attractor.
- Theorem 5.5. On a nonempty compact , the chain recurrent set is internally chain recurrent.
- Corollary 5.6. If is compact, then is internally chain transitive.
Significance
The result. Theorem 5.7 (i) is the bridge between probability and dynamics in the ODE method. Once a stochastic approximation process is shown to be an asymptotic pseudotrajectory (missions 2 to 4 of this series do that under martingale-noise conditions), every statement about its limit points becomes a statement about internally chain transitive sets of the ODE: convergence to equilibria when a Lyapunov function exists (Proposition 6.4), convergence to attractors with positive probability (Theorem 7.3), and the analysis of learning dynamics in games. The theorem is sharp in the sense that every internally chain transitive set is a limit set of some asymptotic pseudotrajectory (Theorem 5.7 (ii), proved in Benaïm and Hirsch 1996 and not part of this mission).
Formalizing it. The result is proved in the literature; it is not formalized. Mathlib has semiflows (Flow), omega limit sets and the compact-open topology, but no pseudo-orbits, chain recurrence, Conley's theory of attractors, or asymptotic pseudotrajectories. This mission produces that layer for semiflows on general metric spaces, which is reusable for any later formalization of the ODE method, of Conley theory, or of learning in games.
Difficulty
The obvious approach follows from a point to a point : returns near and near infinitely often, and on windows of length it is close to a trajectory, so concatenating windows gives a pseudo-orbit. The pseudo-orbit obtained this way has its points on the curve , not in ; this only shows that is chain transitive for on , a strictly weaker property. Producing pseudo-orbits whose points lie in itself is the central difficulty, and it is where precompactness of is used. Invariance , with equality, also needs a compactness argument, since a semiflow is not invertible.
Formalization scope
A semiflow is Mathlib's Flow ℝ≥0 M on a [MetricSpace M]; is arbitrary, with no compactness, completeness or local compactness. Time is ℝ≥0. Curves are functions ℝ≥0 → M; continuity is part of being an asymptotic pseudotrajectory, and precompactness is IsCompact (closure (Set.range X)). Invariance is equality . Internally chain recurrent and internally chain transitive sets are nonempty by definition, and their pseudo-orbits are those of the restricted semiflow on the subtype , so every point of the pseudo-orbit lies in . Attractors converge uniformly on a neighbourhood. Lemma 3.1 and Theorem 3.2 are stated on (C(ℝ≥0, M), compact-open topology) with the half-line distance; the notes write , but with the convention for that version fails for semiflows (a periodic trajectory is a counterexample), and the notes themselves describe asymptotic pseudotrajectories as points of .
Ruled out: pseudo-orbits with no trajectory piece (), pseudo-orbits allowed to leave , invariance as mere inclusion , and any compactness assumption on . Each of these makes the goal weaker than the theorem of the notes.
A complete development needs: elementary properties of pseudo-orbits (concatenation, continuity estimates), Arzelà–Ascoli on C(ℝ≥0, M), Conley's attractor construction, and the conjugacy between and the translation semiflow on . Proofs of the milestones, alternative direct proofs of the goal (Benaïm 1996), and reusable lemmas about chain recurrence for Flow are all welcome.
Selected references
- M. Benaïm, Dynamics of stochastic approximation algorithms, Séminaire de Probabilités XXXIII, Lecture Notes in Math. 1709, Springer, 1999, pp. 1–68. https://doi.org/10.1007/BFb0096509
- M. Benaïm and M. W. Hirsch, Asymptotic pseudotrajectories and chain recurrent flows, with applications, J. Dynam. Differential Equations 8 (1996), 141–176. https://doi.org/10.1007/BF02218617
- M. Benaïm, A dynamical system approach to stochastic approximations, SIAM J. Control Optim. 34 (1996), 437–472. https://doi.org/10.1137/S0363012993253534
- C. Conley, Isolated Invariant Sets and the Morse Index, CBMS Regional Conference Series in Mathematics 38, AMS, 1978. https://doi.org/10.1090/cbms/038