Variance-Optimal Control Variates for Learning with Black-box Feedback
Not on the map. Why?
Abstract (arXiv)
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.
Key facts. No citing papers in the map yet (data through 14 Oct 2026). Builds on 30 of its 46 references that are in the map. First posted on arXiv 3 Oct 2026.
Builds on
30 of 46 references.
References · 30
- 2024The Llama 3 Herd of Modelscited by 14,715
- 2024DeepSeekMath: Pushing the Limits of Mathematical Reasoning in Open Language Modelscited by 9,379
- 2025Understanding R1-Zero-Like Training: A Critical Perspectivecited by 1,345
- 2017Counterfactual Multi-Agent Policy Gradientscited by 751
- 2017OptNet: Differentiable Optimization as a Layer in Neural Networkscited by 599
- 2017Smart "Predict, then Optimize"cited by 339
- 2013Black Box Variational Inferencecited by 319
- 2019Monte Carlo Gradient Estimation in Machine Learningcited by 283
- 2018Melding the Data-Decisions Pipeline: Decision-Focused Learning for Combinatorial Optimizationcited by 227
- 2019Differentiation of Blackbox Combinatorial Solverscited by 226
- 2023Decision-Focused Learning: Foundations, State of the Art, Benchmark and Future Opportunitiescited by 130
- 2014Neural Variational Inference and Learning in Belief Networkscited by 117
18 more
- 2017Backpropagation through the Void: Optimizing control variates for black-box gradient estimationcited by 106
- 2021Implicit MLE: Backpropagating Through Discrete Exponential Family Distributionscited by 98
- 2013The Optimal Reward Baseline for Gradient-Based Reinforcement Learningcited by 85
- 2016Variational inference for Monte Carlo objectivescited by 84
- 2016Q-Prop: Sample-Efficient Policy Gradient with An Off-Policy Criticcited by 81
- 2017REBAR: Low-variance, unbiased gradient estimates for discrete latent variable modelscited by 79
- 2018Variance Reduction for Policy Gradient with Action-Dependent Factorized Baselinescited by 68
- 2018The Mirage of Action-Dependent Baselines in Reinforcement Learningcited by 48
- 2015MuProp: Unbiased Backpropagation for Stochastic Neural Networkscited by 37
- 2020DisARM: An Antithetic Gradient Estimator for Binary Latent Variablescited by 28
- 2018Rao-Blackwellized Stochastic Gradients for Discrete Distributionscited by 24
- 2022Gradient Estimation with Discrete Stein Operatorscited by 23
- 2019Trajectory-wise Control Variates for Variance Reduction in Policy Gradient Methodscited by 15
- 2023Differentiable Sampling of Categorical Distributions Using the CatLog-Derivative Trickcited by 14
- 2023Score Function Gradient Estimation to Widen the Applicability of Decision-Focused Learningcited by 11
- 2021ARMS: Antithetic-REINFORCE-Multi-Sample Gradient for Binary Variablescited by 9
- 2021Double Control Variates for Gradient Estimation in Discrete Latent Variable Modelscited by 9
- 2026The Optimal Token Baseline: Variance Reduction for Long-Horizon LLM-RLcited by 6
Built on by
Not cited yet.