Spsa#
SPSA Optimizer (Antithetic + Adaptive)#
Simultaneous Perturbation Stochastic Approximation with antithetic sampling and simple power-law decays for learning rate and perturbation magnitude. Cost: ~2 evaluations per step, independent of parameter dimension.
- Interface:
initialize(params) -> state
step_params(model, params, context) -> (new_params, state)