Papers
Topics
Authors
Recent
Search
2000 character limit reached

Parallel SPSA (PSPO) Optimization

Updated 29 December 2025
  • PSPO is a stochastic optimization algorithm that uses multiple simultaneous perturbations to approximate gradients for noisy, expensive black-box functions.
  • It leverages parallel computing to reduce estimator variance, resulting in faster convergence compared to traditional SPSA.
  • Its applications include complex simulations like epidemiological model calibration, where it efficiently balances computational cost and accuracy.

Parallel Simultaneous Perturbation Optimization (PSPO) is a stochastic gradient-based optimization algorithm tailored for maximizing expected values of expensive, noisy black-box functions. PSPO generalizes the classical Simultaneous Perturbation Stochastic Approximation (SPSA) method by leveraging multiple simultaneous perturbations in each iteration and exploiting parallel computing architectures. Its design addresses high-variance gradient estimates that arise when optimizing complex stochastic systems—such as those found in epidemiology or simulation-driven sciences—where function evaluations are computationally intensive and noise is significant (Alaeddini et al., 2017, Alaeddini et al., 2017).

1. Formulation of the Stochastic Optimization Problem

PSPO is applied to problems of the form: maxθRpL(θ)=E[f(θ)]\max_{\theta \in \mathbb{R}^p} L(\theta) = \mathbb{E}[f(\theta)] where f(θ)f(\theta) is a continuously differentiable mean function and observed outputs are: y(θ)=f(θ)+ϵ(θ),ϵ(θ)N(0,σ2)y(\theta) = f(\theta) + \epsilon(\theta), \qquad \epsilon(\theta) \sim \mathcal{N}(0, \sigma^2) The function ff is accessed only through noisy and costly queries, for example, calls to a Monte Carlo simulator. The optimization is fully derivative-free, using only noisy function-value queries to approximate gradients and (optionally) Hessians.

2. Review of Simultaneous Perturbation Stochastic Approximation (SPSA)

SPSA constructs a first-order estimate of the gradient at each iteration by evaluating two points, perturbed from the current parameter θk\theta_k by a random vector Δk{±1}p\Delta_k \in \{\pm 1\}^p: yk(+)=y(θk+ckΔk),yk()=y(θkckΔk)y_k^{(+)} = y(\theta_k + c_k \Delta_k), \qquad y_k^{(-)} = y(\theta_k - c_k \Delta_k) with ck>0c_k > 0 a perturbation parameter. The stochastic gradient estimate is: g^k(θk)=yk(+)yk()2ckΔk1\hat{g}_k(\theta_k) = \frac{y_k^{(+)} - y_k^{(-)}}{2 c_k} \cdot \Delta_k^{-1} where Δk1\Delta_k^{-1} is the element-wise inverse. Parameter updates use a Robbins–Monro style diminishing step sequence f(θ)f(\theta)0: f(θ)f(\theta)1 SPSA estimator is unbiased but can suffer from high variance when function noise is substantial, resulting in many required iterations for convergence (Alaeddini et al., 2017, Alaeddini et al., 2017).

3. PSPO Algorithmic Structure

PSPO trades SPSA's minimal iteration cost for reduced estimator variance via f(θ)f(\theta)2-way parallelism. In each iteration, f(θ)f(\theta)3 independent random Bernoulli perturbations f(θ)f(\theta)4 are sampled; for each direction, two function values are computed in parallel: f(θ)f(\theta)5 For f(θ)f(\theta)6 and linearly independent f(θ)f(\theta)7, the minimum-variance unbiased gradient estimator is: f(θ)f(\theta)8 where f(θ)f(\theta)9 is the vector of finite-difference ratios y(θ)=f(θ)+ϵ(θ),ϵ(θ)N(0,σ2)y(\theta) = f(\theta) + \epsilon(\theta), \qquad \epsilon(\theta) \sim \mathcal{N}(0, \sigma^2)0. For y(θ)=f(θ)+ϵ(θ),ϵ(θ)N(0,σ2)y(\theta) = f(\theta) + \epsilon(\theta), \qquad \epsilon(\theta) \sim \mathcal{N}(0, \sigma^2)1, a minimum-norm solution is used: y(θ)=f(θ)+ϵ(θ),ϵ(θ)N(0,σ2)y(\theta) = f(\theta) + \epsilon(\theta), \qquad \epsilon(\theta) \sim \mathcal{N}(0, \sigma^2)2 This estimator is unbiased: y(θ)=f(θ)+ϵ(θ),ϵ(θ)N(0,σ2)y(\theta) = f(\theta) + \epsilon(\theta), \qquad \epsilon(\theta) \sim \mathcal{N}(0, \sigma^2)3; its variance decreases rapidly with y(θ)=f(θ)+ϵ(θ),ϵ(θ)N(0,σ2)y(\theta) = f(\theta) + \epsilon(\theta), \qquad \epsilon(\theta) \sim \mathcal{N}(0, \sigma^2)4 and with the invertibility and conditioning of y(θ)=f(θ)+ϵ(θ),ϵ(θ)N(0,σ2)y(\theta) = f(\theta) + \epsilon(\theta), \qquad \epsilon(\theta) \sim \mathcal{N}(0, \sigma^2)5.

PSPO incorporates a nonlinear conjugate-gradient (NCG) update as its outer loop. The residual y(θ)=f(θ)+ϵ(θ),ϵ(θ)N(0,σ2)y(\theta) = f(\theta) + \epsilon(\theta), \qquad \epsilon(\theta) \sim \mathcal{N}(0, \sigma^2)6 and daggered direction y(θ)=f(θ)+ϵ(θ),ϵ(θ)N(0,σ2)y(\theta) = f(\theta) + \epsilon(\theta), \qquad \epsilon(\theta) \sim \mathcal{N}(0, \sigma^2)7 are updated by: y(θ)=f(θ)+ϵ(θ),ϵ(θ)N(0,σ2)y(\theta) = f(\theta) + \epsilon(\theta), \qquad \epsilon(\theta) \sim \mathcal{N}(0, \sigma^2)8 A reduced-Hessian estimate in direction y(θ)=f(θ)+ϵ(θ),ϵ(θ)N(0,σ2)y(\theta) = f(\theta) + \epsilon(\theta), \qquad \epsilon(\theta) \sim \mathcal{N}(0, \sigma^2)9 is constructed for line search: ff0 The step size is: ff1 yielding the updated parameters: ff2 (Alaeddini et al., 2017).

4. Error Tolerance, Step Size, and Theoretical Guarantees

PSPO allows explicit control of the stochastic gradient error per iteration. To enforce ff3, the required number of parallel perturbations is: ff4 Step-size sequences for ff5 diminish as ff6 and ff7 with ff8 and ff9; θk\theta_k0 stabilizes initial steps. Under these conditions, PSPO converges almost surely to a local maximum of θk\theta_k1 (Alaeddini et al., 2017).

The variance of the PSPO gradient estimator is: θk\theta_k2 With the recommended construction of θk\theta_k3, θk\theta_k4 for θk\theta_k5, implying variance scales as θk\theta_k6 (Alaeddini et al., 2017).

5. Computational Complexity and Parallel Scalability

Each PSPO iteration incurs θk\theta_k7 function evaluations but, when θk\theta_k8 parallel compute resources are available, the wall-clock time per iteration matches that of SPSA's two serial function calls. The reduced variance of the PSPO estimator yields fewer required outer iterations, providing a speedup proportional to θk\theta_k9 up to the regime where gradient noise no longer limits convergence. Communication and data aggregation overheads are negligible for moderate Δk{±1}p\Delta_k \in \{\pm 1\}^p0 (e.g., Δk{±1}p\Delta_k \in \{\pm 1\}^p1) and Δk{±1}p\Delta_k \in \{\pm 1\}^p2. As Δk{±1}p\Delta_k \in \{\pm 1\}^p3 grows and the aggregation of Δk{±1}p\Delta_k \in \{\pm 1\}^p4 becomes significant, additional efficiency analysis is necessary (Alaeddini et al., 2017).

6. Applications and Benchmarks

PSPO's performance has been demonstrated on both synthetic and applied benchmarks:

  • Quadratic Toy Problem: For Δk{±1}p\Delta_k \in \{\pm 1\}^p5 with Δk{±1}p\Delta_k \in \{\pm 1\}^p6 and Δk{±1}p\Delta_k \in \{\pm 1\}^p7, PSPO reduced the number of required optimization iterations by approximately 50% compared to SPSA, with near-linear wall-clock speedup for Δk{±1}p\Delta_k \in \{\pm 1\}^p8 up to 8 (Alaeddini et al., 2017).
  • Stochastic Epidemiological Model Calibration: PSPO was used to fit a two-parameter SIR model Δk{±1}p\Delta_k \in \{\pm 1\}^p9 to 1861 Hagelloch measles outbreak data (188 cases). PSPO with yk(+)=y(θk+ckΔk),yk()=y(θkckΔk)y_k^{(+)} = y(\theta_k + c_k \Delta_k), \qquad y_k^{(-)} = y(\theta_k - c_k \Delta_k)0 achieved convergence in about 10 iterations, compared to SPSA's 24, corresponding to a yk(+)=y(θk+ckΔk),yk()=y(θkckΔk)y_k^{(+)} = y(\theta_k + c_k \Delta_k), \qquad y_k^{(-)} = y(\theta_k - c_k \Delta_k)1 reduction in iteration count and near-linear speedup in wall-clock time given 8 parallel cores. The final parameter estimates and uncertainty quantification (via Monte Carlo averaged Hessian) matched those of SPSA, with yk(+)=y(θk+ckΔk),yk()=y(θkckΔk)y_k^{(+)} = y(\theta_k + c_k \Delta_k), \qquad y_k^{(-)} = y(\theta_k - c_k \Delta_k)2 dayyk(+)=y(θk+ckΔk),yk()=y(θkckΔk)y_k^{(+)} = y(\theta_k + c_k \Delta_k), \qquad y_k^{(-)} = y(\theta_k - c_k \Delta_k)3, yk(+)=y(θk+ckΔk),yk()=y(θkckΔk)y_k^{(+)} = y(\theta_k + c_k \Delta_k), \qquad y_k^{(-)} = y(\theta_k - c_k \Delta_k)4 dayyk(+)=y(θk+ckΔk),yk()=y(θkckΔk)y_k^{(+)} = y(\theta_k + c_k \Delta_k), \qquad y_k^{(-)} = y(\theta_k - c_k \Delta_k)5, and 95% confidence intervals [0.43,0.47] and [0.14,0.16] respectively (Alaeddini et al., 2017, Alaeddini et al., 2017).
Algorithm Per-iteration evals Minimum wall-time (with yk(+)=y(θk+ckΔk),yk()=y(θkckΔk)y_k^{(+)} = y(\theta_k + c_k \Delta_k), \qquad y_k^{(-)} = y(\theta_k - c_k \Delta_k)6 workers) Convergence (iterations)
SPSA 2 yk(+)=y(θk+ckΔk),yk()=y(θkckΔk)y_k^{(+)} = y(\theta_k + c_k \Delta_k), \qquad y_k^{(-)} = y(\theta_k - c_k \Delta_k)7 24–26
PSPO (yk(+)=y(θk+ckΔk),yk()=y(θkckΔk)y_k^{(+)} = y(\theta_k + c_k \Delta_k), \qquad y_k^{(-)} = y(\theta_k - c_k \Delta_k)8) 5 yk(+)=y(θk+ckΔk),yk()=y(θkckΔk)y_k^{(+)} = y(\theta_k + c_k \Delta_k), \qquad y_k^{(-)} = y(\theta_k - c_k \Delta_k)9 10–12

7. Practical Considerations and Extensions

PSPO's effectiveness depends on balancing ck>0c_k > 00, ck>0c_k > 01, and the observed noise ck>0c_k > 02. The Chebyshev-based lower bound for ck>0c_k > 03 ensures that the gradient estimator achieves a prescribed error tolerance without excessive cost. Step-size and perturbation schedule parameters (ck>0c_k > 04) are best tuned via grid search on a coarse surrogate model.

PSPO lends itself to second-order variants by estimating the Hessian matrix efficiently in parallel, and by projecting the estimate onto the negative-definite cone to guarantee robust Newton-like steps. It can deliver natural Fisher-matrix-based uncertainty quantification with little additional computational overhead (Alaeddini et al., 2017).

The approach scales nearly linearly in ck>0c_k > 05 for ck>0c_k > 06 and ck>0c_k > 07 modest, further supported by advances in high-performance cloud computing infrastructures.

References

Definition Search Book Streamline Icon: https://streamlinehq.com
References (2)

Topic to Video (Beta)

No one has generated a video about this topic yet.

Whiteboard

No one has generated a whiteboard explanation for this topic yet.

Follow Topic

Get notified by email when new papers are published related to Parallel SPSA (PSPO).