PaperScope
LIVE · 2026-10-06 05:40 UTC

Variance-Optimal Control Variates for Learning with Black-box Feedback

Zihao Zhao, Shuhan Zhang, Kai Wang

Latestcs.CLcs.LGcs.AIcs.CV
arXiv ID
2610.04766 v1
Category
Submitted
2026-10-03

Abstract

Modern models increasingly learn through black-box oracles such as humans, optimization solvers, and external tools that provide feedback without exposing their internal mechanisms. A common remedy is to learn an (action-)value function as a control variate. In this paper, we first observe that even an exact action-value function can be arbitrarily far from variance-optimal. We show that this gap arises because the value function minimizes the noise in each action's own gradient term, while an action can still affect the rest of the gradient estimator through shared parameters. A simple unbiased correction, at no extra oracle cost, can still reduce its variance by an arbitrarily large factor. Motivated by this, we then prove that the residual variance can be decomposed exactly by actions with no cross terms. This decomposition yields a closed-form variance-minimizing correction for neural-network parameters, which can be computed by a simple projection. Empirically, our correction consistently reduces the variance left by the value function and improves learning across all tasks. The source code for all experiments is available at https://github.com/Zihao-Kevin/black_box_opt.

arXiv abs page · PDF · same-day batch