Expand description
Classical stochastic approximation algorithms.
This submodule implements the three canonical stochastic approximation (SA) methods from the 1950s–1960s together with a modern SPSA variant:
| Algorithm | Reference | Use case |
|---|---|---|
| Robbins-Monro | Robbins & Monro (1951) | Root-finding under noise |
| Kiefer-Wolfowitz | Kiefer & Wolfowitz (1952) | Gradient-free stochastic minimisation |
| SPSA | Spall (1992) | High-dimensional gradient-free SA |
§Notation
- xₖ : current iterate
- aₖ : gain sequence for update step (must satisfy Σ aₖ = ∞, Σ aₖ² < ∞)
- cₖ : gain sequence for finite-difference width (must → 0)
Structs§
- Kiefer
Wolfowitz Options - Options for the Kiefer-Wolfowitz algorithm.
- Kiefer
Wolfowitz Result - Result from the Kiefer-Wolfowitz algorithm.
- Robbins
Monro Options - Options for the Robbins-Monro algorithm.
- Robbins
Monro Result - Result from Robbins-Monro root finding.
- Spsa
Options - Options for the SPSA optimizer.
- Spsa
Result - Result from the SPSA algorithm.
Functions§
- kiefer_
wolfowitz - Kiefer-Wolfowitz gradient-free stochastic approximation.
- robbins_
monro - Robbins-Monro stochastic root-finding algorithm.
- spsa_
minimize - Simultaneous Perturbation Stochastic Approximation (SPSA) optimizer.
- spsa_
step - Compute one SPSA gradient-estimate step.