mlsanityData to 7 Oct 2026

Hindsight Network Credit Assignment: Efficient Credit Assignment in Networks of Discrete Stochastic Units

arXiv 2110.07700 ↗First posted 14 Oct 2021cs.LG cs.AIcited by 0

Not on the map. Why?

Abstract (arXiv)

Training neural networks with discrete stochastic variables presents a unique challenge. Backpropagation is not directly applicable, nor are the reparameterization tricks used in networks with continuous stochastic variables. To address this challenge, we present Hindsight Network Credit Assignment (HNCA), a novel gradient estimation algorithm for networks of discrete stochastic units. HNCA works by assigning credit to each unit based on the degree to which its output influences its immediate children in the network. We prove that HNCA produces unbiased gradient estimates with reduced variance compared to the REINFORCE estimator, while the computational cost is similar to that of backpropagation. We first apply HNCA in a contextual bandit setting to optimize a reward function that is unknown to the agent. In this setting, we empirically demonstrate that HNCA significantly outperforms REINFORCE, indicating that the variance reduction implied by our theoretical analysis is significant and impactful. We then show how HNCA can be extended to optimize a more general function of the outputs of a network of stochastic units, where the function is known to the agent. We apply this extended version of HNCA to train a discrete variational auto-encoder and empirically show it compares favourably to other strong methods. We believe that the ideas underlying HNCA can help stimulate new ways of thinking about efficient credit assignment in stochastic compute graphs.

Key facts. No citing papers in the map yet (data through 7 Oct 2026). Builds on 16 of its 29 references that are in the map. First posted on arXiv 14 Oct 2021.

Builds on

16 of 29 references.

References · 16

  1. 2014Adam: A Method for Stochastic Optimizationcited by 36,960
  2. 2021Zero-Shot Text-to-Image Generationcited by 4,276
  3. 2016Categorical Reparameterization with Gumbel-Softmaxcited by 2,708
  4. 2013Estimating or Propagating Gradients Through Stochastic Neurons for Conditional Computationcited by 2,031
  5. 2016The Concrete Distribution: A Continuous Relaxation of Discrete Random Variablescited by 1,135
  6. 2020Mastering Atari with Discrete World Modelscited by 990
  7. 2015Importance Weighted Autoencoderscited by 454
  8. 2015Gradient Estimation Using Stochastic Computation Graphscited by 120
  9. 2014Neural Variational Inference and Learning in Belief Networkscited by 116
  10. 2017Backpropagation through the Void: Optimizing control variates for black-box gradient estimationcited by 104
  11. 2016Variational inference for Monte Carlo objectivescited by 83
  12. 2017REBAR: Low-variance, unbiased gradient estimates for discrete latent variable modelscited by 78
4 more
  1. 2019Hindsight Credit Assignmentcited by 74
  2. 2015MuProp: Unbiased Backpropagation for Stochastic Neural Networkscited by 36
  3. 2020DisARM: An Antithetic Gradient Estimator for Binary Latent Variablescited by 27
  4. 2019Credit Assignment Techniques in Stochastic Computation Graphscited by 14

Built on by

Not cited yet.