Papers › Backpropagation through the Void: Optimizing control variates for black-box gradient estimation

Backpropagation through the Void: Optimizing control variates for black-box gradient estimation

31 Oct 2017ICLR 2018 1arXiv:1711.00123archive 2025-07-28

Will Grathwohl, Dami Choi, Yuhuai Wu, Geoffrey Roeder, David Duvenaud

Gradient-based optimization is the foundation of deep learning and reinforcement learning. Even when the mechanism being optimized is unknown or not differentiable, optimization using high-variance or biased gradient estimates is still often the best strategy. We introduce a general framework for learning low-variance, unbiased gradient estimators for black-box functions of random variables. Our method uses gradients of a neural network trained jointly with model parameters or policies, and is applicable in both discrete and continuous settings. We demonstrate this framework for training discrete latent-variable models. We also give an unbiased, action-conditional extension of the advantage actor-critic reinforcement learning algorithm.

PaperPDFConference PDFCodeCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="1711.00123")

Code

Syntology Ran 4 of 12 code samples harvested from 3 repositories linked to this paper; 8 have no recorded run. Of those that ran: 3 ran · honoured contract; 1 ran · violated contract.

By repository: official repository: 1 sample from 1 repository, 1 ran; community (archive-listed): 11 samples from 2 repositories, 3 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

duvenaud/relax officialmentioned in papermentioned on GitHubtf report
TalkToTheGAN/REGAN mentioned on GitHubpytorch report
brain-research/mirage-rl mentioned on GitHubtf report
thlautenschlaeger/bpttv-lax mentioned on GitHubpytorch report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

12 samples harvested; 4 ran; 3 honoured the contract we drafted; 8 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

3ran · honoured contract
1ran · violated contract
8unverified

Licence: 12 of the 12 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from 3 repositories linked to this paper, official or community; each sample names its own and says which. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

heaviside duvenaud/relax/relax-autograd/relax.py official repository ran · violated contract fingerprinted no licence file found · pointer only · 3e154795b809f8c9 · report
Adam_Optim ElleryL/gradient_estimator/my_reLAX.py community (archive-listed) ran · honoured contract fingerprinted no licence file found · pointer only · b8a97b9a9a17b91a · report
d_log_q_z_given_x ElleryL/gradient_estimator/my_reLAX.py community (archive-listed) ran · honoured contract fingerprinted no licence file found · pointer only · 4b29bd089ba1c204 · report
prob_mapping ElleryL/gradient_estimator/my_reLAX.py community (archive-listed) ran · honoured contract fingerprinted no licence file found · pointer only · e54e926116f5ce7e · report
cat_entropy wgrathwohl/BackpropThroughTheVoidRL/baselines/a2c/utils.py community (archive-listed) unverified MIT recorded; this copy not marked cleared · pointer only · dafc66df201789e0 · report
cat_entropy_softmax wgrathwohl/BackpropThroughTheVoidRL/baselines/a2c/utils.py community (archive-listed) unverified MIT recorded; this copy not marked cleared · pointer only · 7082b4bbc0d9384f · report
gs wgrathwohl/BackpropThroughTheVoidRL/baselines/a2c/a2c.py community (archive-listed) unverified MIT recorded; this copy not marked cleared · pointer only · 927e1047481e9318 · report
make_samples wgrathwohl/BackpropThroughTheVoidRL/baselines/a2c/policies.py community (archive-listed) unverified MIT recorded; this copy not marked cleared · pointer only · cd68a1f53db269d4 · report
pathlength wgrathwohl/BackpropThroughTheVoidRL/baselines/a2c/a2c_cont.py community (archive-listed) unverified MIT recorded; this copy not marked cleared · pointer only · aad51e2df5a9fb5d · report
read_csv wgrathwohl/BackpropThroughTheVoidRL/baselines/logger.py community (archive-listed) unverified MIT recorded; this copy not marked cleared · pointer only · 68b23feea13c46c8 · report
read_json wgrathwohl/BackpropThroughTheVoidRL/baselines/logger.py community (archive-listed) unverified MIT recorded; this copy not marked cleared · pointer only · 88ef5a17fc986d9a · report
sample wgrathwohl/BackpropThroughTheVoidRL/baselines/a2c/utils.py community (archive-listed) unverified MIT recorded; this copy not marked cleared · pointer only · 178099b1f8fb2b9d · report

Tasks

Reinforcement LearningReinforcement Learning (RL)reinforcement-learning

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections