DiCE: The Infinitely Differentiable Monte-Carlo Estimator
Not on the map. Why?
Abstract (arXiv)
The score function estimator is widely used for estimating gradients of stochastic objectives in stochastic computation graphs (SCG), eg, in reinforcement learning and meta-learning. While deriving the first-order gradient estimators by differentiating a surrogate loss (SL) objective is computationally and conceptually simple, using the same approach for higher-order derivatives is more challenging. Firstly, analytically deriving and implementing such estimators is laborious and not compliant with automatic differentiation. Secondly, repeatedly applying SL to construct new objectives for each order derivative involves increasingly cumbersome graph manipulations. Lastly, to match the first-order gradient under differentiation, SL treats part of the cost as a fixed sample, which we show leads to missing and wrong terms for estimators of higher-order derivatives. To address all these shortcomings in a unified way, we introduce DiCE, which provides a single objective that can be differentiated repeatedly, generating correct estimators of derivatives of any order in SCGs. Unlike SL, DiCE relies on automatic differentiation for performing the requisite graph manipulations. We verify the correctness of DiCE both through a proof and numerical evaluation of the DiCE derivative estimates. We also use DiCE to propose and evaluate a novel approach for multi-agent learning. Our code is available at https://www.github.com/alshedivat/lola.
Key facts. Cited by 46 papers in the map (data through 7 Oct 2026). First posted on arXiv 14 Feb 2018.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2021: 11; 2022: 11; 2023: 6; 2024: 10; 2025: 4; 2026: 4.
46 papers.
Sort:
By area:
- 2022Model-Free Opponent Shapingcited by 43
- 2025Language Self-Play For Data-Free Trainingcited by 42
- 2022COLA: Consistent Learning with Opponent-Learning Awarenesscited by 38
- 2022Robust Task Representations for Offline Meta-Reinforcement Learning via Contrastive Learningcited by 33
- 2021Robust Predictable Controlcited by 29
- 2025Think Smarter not Harder: Adaptive Reasoning with Inference Aware Optimizationcited by 29
- 2022Sparse Graph Learning from Spatiotemporal Time Seriescited by 22
- 2021Model-Based Opponent Modelingcited by 21
- 2022Proximal Learning With Opponent-Learning Awarenesscited by 20
- 2021Differentiable Particle Filtering without Modifying the Forward Passcited by 18
- 2022Influencing Long-Term Behavior in Multiagent Reinforcement Learningcited by 18
- 2021ROMAX: Certifiably Robust Deep Multiagent Reinforcement Learning via Convex Relaxationcited by 17
34 more
- 2022Critic Sequential Monte Carlocited by 16
- 2024Imperative Learning: A Self-supervised Neuro-Symbolic Learning Framework for Robot Autonomycited by 16
- 2021A unified view of likelihood ratio and reparameterization gradientscited by 12
- 2021Storchastic: A Framework for General Stochastic Automatic Differentiationcited by 11
- 2021A Theoretical Understanding of Gradient Bias in Meta-Reinforcement Learningcited by 11
- 2023Incentivizing honest performative predictions with proper scoring rulescited by 9
- 2024ULLER: A Unified Language for Learning and Reasoningcited by 9
- 2024LOQA: Learning with Opponent Q-Learning Awarenesscited by 8
- 2023Differentiable Simulations for Enhanced Sampling of Rare Eventscited by 7
- 2024Advantage Alignment Algorithmscited by 7
- 2024Enabling Realtime Reinforcement Learning at Scale with Staggered Asynchronous Inferencecited by 7
- 2023Meta-Value Learning: a General Framework for Learning with Learning Awarenesscited by 6
- 2021Unifying Gradient Estimators for Meta-Reinforcement Learning via Off-Policy Evaluationcited by 5
- 2021Biased Gradient Estimate with Drastic Variance Reduction for Meta Reinforcement Learningcited by 5
- 2022Designing Biological Sequences via Meta-Reinforcement Learning and Bayesian Optimizationcited by 4
- 2022An Investigation of the Bias-Variance Tradeoff in Meta-Gradientscited by 4
- 2024Probabilistic Programming with Programmable Variational Inferencecited by 4
- 2024Multi-agent cooperation through learning-aware policy gradientscited by 4
- 2021Neural Auto-Curriculacited by 2
- 2023Learning to Influence Human Behavior with Offline Reinforcement Learningcited by 2
- 2024Differentiable and Stable Long-Range Tracking of Multiple Posterior Modescited by 2
- 2025PyDPF: A Python Package for Differentiable Particle Filteringcited by 2
- 2025Robust and Diverse Multi-Agent Learning via Rational Policy Gradientcited by 2
- 2026End-to-end Differentiable Calibration and Reconstruction for Optical Particle Detectorscited by 2
- 2021Meta-CPR: Generalize to Unseen Large Number of Agents with Communication Pattern Recognition Modulecited by 1
- 2022Enhanced Meta Reinforcement Learning using Demonstrations in Sparse Reward Environmentscited by 1
- 2026Position: Collusion Risks Among AI Reasoning Agents Justify Certification Requirements for Making Market Decisionscited by 1
- 2022Reusable Options through Gradient-based Meta Learningcited by 0
- 2023Off-Policy Action Anticipation in Multi-Agent Reinforcement Learningcited by 0
- 2023Leading the Pack: N-player Opponent Shapingcited by 0
- 2024Evolution of Societies via Reinforcement Learningcited by 0
- 2024Hierarchical Multi-agent Meta-Reinforcement Learning for Cross-channel Biddingcited by 0
- 2026Meta-Learning and Meta-Reinforcement Learning -- Tracing the Path towards DeepMind's Adaptive Agentcited by 0
- 2026Equilibrium Selection in Multi-Agent Policy Gradients via Opponent-Aware Basin Entrycited by 0
- 2026Position: Collusion Risks Among AI Reasoning Agents Justify Certification Requirements for Making Market Decisions29 May 2026
- 2026Equilibrium Selection in Multi-Agent Policy Gradients via Opponent-Aware Basin Entry18 May 2026
- 2026End-to-end Differentiable Calibration and Reconstruction for Optical Particle Detectors27 Feb 2026
- 2026Meta-Learning and Meta-Reinforcement Learning -- Tracing the Path towards DeepMind's Adaptive Agent23 Feb 2026
- 2025Robust and Diverse Multi-Agent Learning via Rational Policy Gradient12 Nov 2025
- 2025PyDPF: A Python Package for Differentiable Particle Filtering29 Oct 2025
- 2025Language Self-Play For Data-Free Training9 Sep 2025
- 2025Think Smarter not Harder: Adaptive Reasoning with Inference Aware Optimization29 Jan 2025
- 2024Hierarchical Multi-agent Meta-Reinforcement Learning for Cross-channel Bidding26 Dec 2024
- 2024Enabling Realtime Reinforcement Learning at Scale with Staggered Asynchronous Inference18 Dec 2024
- 2024Multi-agent cooperation through learning-aware policy gradients24 Oct 2024
- 2024Evolution of Societies via Reinforcement Learning22 Oct 2024
34 more
- 2024Imperative Learning: A Self-supervised Neuro-Symbolic Learning Framework for Robot Autonomy23 Jun 2024
- 2024Probabilistic Programming with Programmable Variational Inference22 Jun 2024
- 2024Advantage Alignment Algorithms20 Jun 2024
- 2024LOQA: Learning with Opponent Q-Learning Awareness2 May 2024
- 2024ULLER: A Unified Language for Learning and Reasoning1 May 2024
- 2024Differentiable and Stable Long-Range Tracking of Multiple Posterior Modes12 Apr 2024
- 2023Leading the Pack: N-player Opponent Shaping19 Dec 2023
- 2023Meta-Value Learning: a General Framework for Learning with Learning Awareness17 Jul 2023
- 2023Incentivizing honest performative predictions with proper scoring rules28 May 2023
- 2023Off-Policy Action Anticipation in Multi-Agent Reinforcement Learning4 Apr 2023
- 2023Learning to Influence Human Behavior with Offline Reinforcement Learning3 Mar 2023
- 2023Differentiable Simulations for Enhanced Sampling of Rare Events9 Jan 2023
- 2022Reusable Options through Gradient-based Meta Learning22 Dec 2022
- 2022Proximal Learning With Opponent-Learning Awareness18 Oct 2022
- 2022Enhanced Meta Reinforcement Learning using Demonstrations in Sparse Reward Environments26 Sep 2022
- 2022An Investigation of the Bias-Variance Tradeoff in Meta-Gradients22 Sep 2022
- 2022Designing Biological Sequences via Meta-Reinforcement Learning and Bayesian Optimization13 Sep 2022
- 2022Robust Task Representations for Offline Meta-Reinforcement Learning via Contrastive Learning21 Jun 2022
- 2022Critic Sequential Monte Carlo30 May 2022
- 2022Sparse Graph Learning from Spatiotemporal Time Series26 May 2022
- 2022Model-Free Opponent Shaping3 May 2022
- 2022COLA: Consistent Learning with Opponent-Learning Awareness8 Mar 2022
- 2022Influencing Long-Term Behavior in Multiagent Reinforcement Learning7 Mar 2022
- 2021A Theoretical Understanding of Gradient Bias in Meta-Reinforcement Learning31 Dec 2021
- 2021Biased Gradient Estimate with Drastic Variance Reduction for Meta Reinforcement Learning14 Dec 2021
- 2021Meta-CPR: Generalize to Unseen Large Number of Agents with Communication Pattern Recognition Module14 Dec 2021
- 2021ROMAX: Certifiably Robust Deep Multiagent Reinforcement Learning via Convex Relaxation14 Sep 2021
- 2021Robust Predictable Control7 Sep 2021
- 2021Model-Based Opponent Modeling4 Aug 2021
- 2021Unifying Gradient Estimators for Meta-Reinforcement Learning via Off-Policy Evaluation24 Jun 2021
- 2021Differentiable Particle Filtering without Modifying the Forward Pass18 Jun 2021
- 2021Neural Auto-Curricula4 Jun 2021
- 2021A unified view of likelihood ratio and reparameterization gradients31 May 2021
- 2021Storchastic: A Framework for General Stochastic Automatic Differentiation1 Apr 2021
- 2025Language Self-Play For Data-Free Trainingcited by 42
- 2025Language Self-Play For Data-Free Training9 Sep 2025
- 2022Model-Free Opponent Shapingcited by 43
- 2022COLA: Consistent Learning with Opponent-Learning Awarenesscited by 38
- 2021Robust Predictable Controlcited by 29
- 2022Sparse Graph Learning from Spatiotemporal Time Seriescited by 22
- 2021Model-Based Opponent Modelingcited by 21
- 2022Proximal Learning With Opponent-Learning Awarenesscited by 20
- 2021Differentiable Particle Filtering without Modifying the Forward Passcited by 18
- 2022Influencing Long-Term Behavior in Multiagent Reinforcement Learningcited by 18
- 2021ROMAX: Certifiably Robust Deep Multiagent Reinforcement Learning via Convex Relaxationcited by 17
- 2022Critic Sequential Monte Carlocited by 16
- 2021A unified view of likelihood ratio and reparameterization gradientscited by 12
- 2021Storchastic: A Framework for General Stochastic Automatic Differentiationcited by 11
12 most cited of 40 All 40 (JSON)
- 2026Equilibrium Selection in Multi-Agent Policy Gradients via Opponent-Aware Basin Entry18 May 2026
- 2026End-to-end Differentiable Calibration and Reconstruction for Optical Particle Detectors27 Feb 2026
- 2026Meta-Learning and Meta-Reinforcement Learning -- Tracing the Path towards DeepMind's Adaptive Agent23 Feb 2026
- 2025Robust and Diverse Multi-Agent Learning via Rational Policy Gradient12 Nov 2025
- 2025PyDPF: A Python Package for Differentiable Particle Filtering29 Oct 2025
- 2024Hierarchical Multi-agent Meta-Reinforcement Learning for Cross-channel Bidding26 Dec 2024
- 2024Enabling Realtime Reinforcement Learning at Scale with Staggered Asynchronous Inference18 Dec 2024
- 2024Multi-agent cooperation through learning-aware policy gradients24 Oct 2024
- 2024Evolution of Societies via Reinforcement Learning22 Oct 2024
- 2024Probabilistic Programming with Programmable Variational Inference22 Jun 2024
- 2024Advantage Alignment Algorithms20 Jun 2024
- 2024LOQA: Learning with Opponent Q-Learning Awareness2 May 2024
12 newest of 40 All 40 (JSON)