NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Black-Box Followers, White-Box Leaders: Partial Zeroth-Order Methods for MPECs

Miriam Fischer, Dario PaccagnanNeurIPS 2026

TL;DR

When optimizing a system where your actions trigger unknown reactions from others—like setting highway tolls and watching traffic adapt—standard derivative-free algorithms throw away the math you do know about your own revenue formula. This paper introduces a surgical alternative: keep exact gradients for your known objective, and use black-box approximations only for the unknown human reactions. The result is dramatically lower variance and much faster optimization.

What Problem Does This Paper Address?

Imagine you are a city planner setting highway tolls to maximize revenue. You know your own math down to the penny: revenue equals the toll multiplied by the number of cars, minus some penalty for over-tolling. What you don’t have is an analytical formula for human behavior. You can only set the tolls and observe how drivers reroute themselves into a new traffic equilibrium.

In optimization, this setup is called a Mathematical Program with Equilibrium Constraints (MPEC). Usually, solving it requires knowing the followers' exact mathematical model so you can differentiate through it. When the followers are a black box, researchers turn to zeroth-order (derivative-free) methods, which estimate gradients by poking the system with random perturbations and observing the output.

Here is the catch: existing zeroth-order methods treat the entire composed system—both the unknown traffic response and your known revenue equation—as a single, opaque black box. Throwing away exact calculus that you already possess introduces unnecessary noise, leading to high variance and sluggish convergence, especially as the number of decision variables grows.

Methods

The authors propose Partial Zeroth-Order Smoothing (PZOS). Instead of smoothing and approximating the whole objective function $F(x) = f(x, y^*(x))$, PZOS applies the chain rule to separate the "white-box" leader cost $f$ from the "black-box" follower response $y^*(x)$.

At each step, PZOS:

  1. Computes the exact partial derivatives of the leader's smooth cost function $f$.
  2. Samples a random direction on a unit sphere and queries the follower's response at two perturbed points to estimate only the Jacobian matrix of $y^*(x)$ via finite differences.
  3. Combines the exact gradients and the estimated Jacobian to take a descent step.

Because the follower's response is constrained (e.g., traffic flows can't be negative), $y^*(x)$ often has sharp kinks and is non-differentiable. Standard gradient convergence doesn't apply here. Instead, modern non-smooth optimization relies on $ (\delta, \varepsilon) $-Goldstein stationarity, which looks for a small gradient within the convex hull of gradients in a $\delta$-ball around your current point. Alongside proving convergence to standard Goldstein stationary points, the authors introduce a novel partial Goldstein subdifferential—a stationarity concept that anchors the leader's known smooth gradients at the exact current point while allowing variation only in the uncertain follower's Jacobian across the $\delta$-ball.

Datasets

Rather than static datasets, the algorithms are evaluated on two classes of synthetic, randomly generated game-theoretic simulations:

  • Routing Games: 225 network instances (6 to 25 vertices, 12 to 119 edges, and 2 to 5 user groups with hidden toll sensitivities) where a central authority optimizes edge tolls over Wardrop equilibria.
  • Stackelberg Security Games: 427 instances (ranging from 2 to 300 targets) where a defender allocates security budgets across targets while anticipating an attacker with an unknown valuation and binding attack budget.

Key Insights and Ideas

  • Variance scales much more gently: By isolating zeroth-order estimation to the follower's response, PZOS achieves a provably tighter bound on the second moment (variance) of the gradient estimate. As the problem dimension $d_x$ grows, the noise in full black-box estimation explodes compared to PZOS.
Figure 1: Empirical second moments as a function of problem dimension.
  • Taming unavoidable estimator bias: Because the smoothed follower response isn't known in closed form, the leader's exact gradients must be evaluated at the true response $y^*(x_t)$ rather than the smoothed response. This makes the PZOS gradient estimator statistically biased, and that bias doesn't vanish over time. In standard black-box proofs, the smoothing radius $\mu$ is set equal to the stationarity radius $\delta$, which would cause this bias to blow past the target error $\varepsilon$. The authors cleverly bypass this by decoupling $\mu$ from $\delta$, shrinking $\mu$ relative to $\varepsilon$ to keep the bias safely corralled.
  • A better estimator beats a fancier outer loop: When the authors plugged their partial estimator into a sophisticated variance-reduced outer algorithm (Chen), it barely improved over basic PZOS, while costing 2 to 4 times as many oracle queries per iteration. Fixing the gradient estimator directly leaves very little room—or need—for heavy variance-reduction machinery.

Key Results

Across both problem domains, PZOS outperforms the black-box baseline (ZOS, which uses the exact same outer loop) in speed, final objective value, and stability:

  • Universal win-rate on routing games: Across all 225 routing instances, PZOS outperformed ZOS on every single instance at iterations 10, 25, and 50. The interquartile range of PZOS sits completely above ZOS, with the worst runs of PZOS roughly matching the best runs of ZOS.
Figure 2: Algorithm performance on het- erogeneous routing games. Median nor- malized objective trajectories (higher is better) with interquartile range (dark shad- ing) and 10th–90th percentile range (light shading).
Per-instance comparison of PZOS vs ZOS at iterations 10, 25, and 50, where every single routing instance sits above the diagonal in favor of PZOS.
  • Resilience in high dimensions: In security games up to 300 dimensions, PZOS maintains a low, flat objective value as dimension increases, whereas ZOS degrades noticeably.
  • Query efficiency: Although PZOS uses 3 follower queries per iteration compared to 2 for ZOS, PZOS still decisively outperforms ZOS (and batched ZOS) when measured strictly per oracle call.

Limitations and Future Work

The theoretical convergence guarantees of PZOS assume the leader's decision variable $x$ is unconstrained (even though the follower's response $y^*$ is constrained). While the authors ran preliminary experiments enforcing non-negative tolls via projection—finding that PZOS remained stable and still beat the baseline—formally extending the theory to constrained leader sets $\mathcal{X}$ is left for future work. Doing so will require ensuring the follower's equilibrium is well-defined slightly outside $\mathcal{X}$ to accommodate random smoothing perturbations, alongside adapting partial Goldstein stationarity to constrained geometries.

Summary updated

BibTeX
@inproceedings{fischer2026black,
  author = {Miriam Fischer and Dario Paccagnan},
  title = {{Black-Box Followers, White-Box Leaders: Partial Zeroth-Order Methods for MPECs}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=317Kb0r0vX},
}
Figure