Formalization of a Stochastic Approximation Theorem

Koundinya Vajjha, Barry Trager, Avraham Shinnar, Vasily Pestun
2/12/2022
cs.LOcs.LGcs.PL

Official code: IBM/FormalML (79 stars, Rocq Prover, Apache-2.0, last commit 2026-09-29).

Abstract

Stochastic approximation algorithms are iterative procedures which are used to approximate a target value in an environment where the target is unknown and direct observations are corrupted by noise. These algorithms are useful, for instance, for root-finding and function minimization when the target function or model is not directly known.

Show full abstract

Originally introduced in a 1951 paper by Robbins and Monro, the field of Stochastic approximation has grown enormously and has come to influence application domains from adaptive signal processing to artificial intelligence. As an example, the Stochastic Gradient Descent algorithm which is ubiquitous in various subdomains of Machine Learning is based on stochastic approximation theory. In this paper, we give a formal proof (in the Coq proof assistant) of a general convergence theorem due to Aryeh Dvoretzky, which implies the convergence of important classical methods such as the Robbins-Monro and the Kiefer-Wolfowitz algorithms. In the process, we build a comprehensive Coq library of measure-theoretic probability theory and stochastic processes.

View on arXivView PDF

Code Implementations(1)

IBM/FormalMLOfficial100%
Apache-2.0

Formalization of Machine Learning Theory with Applications to Program Synthesis

7918Rocq Prover, LeanAug 13, 20202 months agoApache-2.0

Similar Papers

Cite this paper

@article{vajjha2022formalization,
  title  = {Formalization of a Stochastic Approximation Theorem},
  author = {Koundinya Vajjha and Barry Trager and Avraham Shinnar and Vasily Pestun},
  year   = {2022},
  eprint = {2202.05959},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2202.05959}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2202.05959.svg)](https://codeofpaper.com/paper/2202.05959)

Discussion