{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,6,9]],"date-time":"2026-06-09T08:45:09Z","timestamp":1780994709100,"version":"3.54.1"},"reference-count":53,"publisher":"Association for Computing Machinery (ACM)","issue":"POPL","license":[{"start":{"date-parts":[[2023,1,9]],"date-time":"2023-01-09T00:00:00Z","timestamp":1673222400000},"content-version":"vor","delay-in-days":0,"URL":"https:\/\/creativecommons.org\/licenses\/by\/4.0\/"}],"content-domain":{"domain":["dl.acm.org"],"crossmark-restriction":true},"short-container-title":["Proc. ACM Program. Lang."],"published-print":{"date-parts":[[2023,1,9]]},"abstract":"<jats:p>Optimizing the expected values of probabilistic processes is a central problem in computer science and its applications, arising in fields ranging from artificial intelligence to operations research to statistical computing. Unfortunately, automatic differentiation techniques developed for deterministic programs do not in general compute the correct gradients needed for widely used solutions based on gradient-based optimization.<\/jats:p>\n          <jats:p>In this paper, we present ADEV, an extension to forward-mode AD that correctly differentiates the expectations of probabilistic processes represented as programs that make random choices. Our algorithm is a source-to-source program transformation on an expressive, higher-order language for probabilistic computation, with both discrete and continuous probability distributions. The result of our transformation is a new probabilistic program, whose expected return value is the derivative of the original program\u2019s expectation. This output program can be run to generate unbiased Monte Carlo estimates of the desired gradient, that can be used within the inner loop of stochastic gradient descent. We prove ADEV correct using logical relations over the denotations of the source and target probabilistic programs. Because it modularly extends forward-mode AD, our algorithm lends itself to a concise implementation strategy, which we exploit to develop a prototype in just a few dozen lines of Haskell (https:\/\/github.com\/probcomp\/adev).<\/jats:p>","DOI":"10.1145\/3571198","type":"journal-article","created":{"date-parts":[[2023,1,11]],"date-time":"2023-01-11T21:58:14Z","timestamp":1673474294000},"page":"121-153","update-policy":"https:\/\/doi.org\/10.1145\/crossmark-policy","source":"Crossref","is-referenced-by-count":15,"title":["ADEV: Sound Automatic Differentiation of Expected Values of Probabilistic Programs"],"prefix":"10.1145","volume":"7","author":[{"ORCID":"https:\/\/orcid.org\/0000-0002-9262-4392","authenticated-orcid":false,"given":"Alexander K.","family":"Lew","sequence":"first","affiliation":[{"name":"Massachusetts Institute of Technology, USA"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0000-0002-5294-9088","authenticated-orcid":false,"given":"Mathieu","family":"Huot","sequence":"additional","affiliation":[{"name":"University of Oxford, UK"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0000-0002-0141-8922","authenticated-orcid":false,"given":"Sam","family":"Staton","sequence":"additional","affiliation":[{"name":"University of Oxford, UK"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0000-0003-2507-0833","authenticated-orcid":false,"given":"Vikash K.","family":"Mansinghka","sequence":"additional","affiliation":[{"name":"Massachusetts Institute of Technology, USA"}],"role":[{"vocabulary":"crossref","role":"author"}]}],"member":"320","published-online":{"date-parts":[[2023,1,11]]},"reference":[{"key":"e_1_2_2_1_1","doi-asserted-by":"publisher","DOI":"10.1145\/3371106"},{"key":"e_1_2_2_2_1","doi-asserted-by":"publisher","DOI":"10.1007\/11693024_6"},{"key":"e_1_2_2_3_1","doi-asserted-by":"publisher","DOI":"10.1145\/1190216.1190235"},{"key":"e_1_2_2_4_1","volume-title":"Automatic Differentiation of Programs with Discrete Randomness. CoRR, abs\/2210.08572","author":"Arya Gaurav","year":"2022","unstructured":"Gaurav Arya , Moritz Schauer , Frank Sch\u00e4fer , and Chris Rackauckas . 2022. Automatic Differentiation of Programs with Discrete Randomness. CoRR, abs\/2210.08572 ( 2022 ), https:\/\/doi.org\/10.48550\/arXiv.2210.08572 arXiv:2210.08572. 10.48550\/arXiv.2210.08572 Gaurav Arya, Moritz Schauer, Frank Sch\u00e4fer, and Chris Rackauckas. 2022. Automatic Differentiation of Programs with Discrete Randomness. CoRR, abs\/2210.08572 (2022), https:\/\/doi.org\/10.48550\/arXiv.2210.08572 arXiv:2210.08572."},{"key":"e_1_2_2_5_1","doi-asserted-by":"publisher","DOI":"10.1145\/3450626.3459775"},{"key":"e_1_2_2_6_1","doi-asserted-by":"publisher","DOI":"10.1007\/978-3-030-44914-8_3"},{"key":"e_1_2_2_7_1","article-title":"Pyro: Deep Universal Probabilistic Programming","volume":"20","author":"Bingham Eli","year":"2019","unstructured":"Eli Bingham , Jonathan P. Chen , Martin Jankowiak , Fritz Obermeyer , Neeraj Pradhan , Theofanis Karaletsos , Rohit Singh , Paul A. Szerlip , Paul Horsfall , and Noah D. Goodman . 2019 . Pyro: Deep Universal Probabilistic Programming . J. Mach. Learn. Res. , 20 (2019), 28:1\u201328:6. http:\/\/jmlr.org\/papers\/v20\/18-403.html Eli Bingham, Jonathan P. Chen, Martin Jankowiak, Fritz Obermeyer, Neeraj Pradhan, Theofanis Karaletsos, Rohit Singh, Paul A. Szerlip, Paul Horsfall, and Noah D. Goodman. 2019. Pyro: Deep Universal Probabilistic Programming. J. Mach. Learn. Res., 20 (2019), 28:1\u201328:6. http:\/\/jmlr.org\/papers\/v20\/18-403.html","journal-title":"J. Mach. Learn. Res."},{"key":"e_1_2_2_8_1","doi-asserted-by":"publisher","DOI":"10.1145\/3371132"},{"key":"e_1_2_2_9_1","doi-asserted-by":"publisher","DOI":"10.18637\/jss.v076.i01"},{"key":"e_1_2_2_10_1","unstructured":"Marco Cusumano-Towner Alexander K Lew and Vikash K Mansinghka. 2020. Automating involutive MCMC using probabilistic and differentiable programming. arXiv preprint arXiv:2007.09871. \t\t\t\t  Marco Cusumano-Towner Alexander K Lew and Vikash K Mansinghka. 2020. Automating involutive MCMC using probabilistic and differentiable programming. arXiv preprint arXiv:2007.09871."},{"key":"e_1_2_2_11_1","doi-asserted-by":"publisher","DOI":"10.1145\/3314221.3314642"},{"key":"e_1_2_2_12_1","doi-asserted-by":"publisher","DOI":"10.1109\/TCT.1969.1082967"},{"key":"e_1_2_2_13_1","doi-asserted-by":"publisher","DOI":"10.1145\/3158147"},{"key":"e_1_2_2_14_1","volume-title":"Implicit Reparameterization Gradients. In Advances in Neural Information Processing Systems 31: Annual Conference on Neural Information Processing Systems 2018","author":"Figurnov Mikhail","year":"2018","unstructured":"Mikhail Figurnov , Shakir Mohamed , and Andriy Mnih . 2018 . Implicit Reparameterization Gradients. In Advances in Neural Information Processing Systems 31: Annual Conference on Neural Information Processing Systems 2018 , NeurIPS 2018, December 3-8, 2018, Montr\u00e9al, Canada, Samy Bengio, Hanna M. Wallach, Hugo Larochelle, Kristen Grauman, Nicol\u00f2 Cesa-Bianchi, and Roman Garnett (Eds.). 439\u2013450. https:\/\/proceedings.neurips.cc\/paper\/2018\/hash\/92c8c96e4c37100777c7190b76d28233-Abstract.html Mikhail Figurnov, Shakir Mohamed, and Andriy Mnih. 2018. Implicit Reparameterization Gradients. In Advances in Neural Information Processing Systems 31: Annual Conference on Neural Information Processing Systems 2018, NeurIPS 2018, December 3-8, 2018, Montr\u00e9al, Canada, Samy Bengio, Hanna M. Wallach, Hugo Larochelle, Kristen Grauman, Nicol\u00f2 Cesa-Bianchi, and Roman Garnett (Eds.). 439\u2013450. https:\/\/proceedings.neurips.cc\/paper\/2018\/hash\/92c8c96e4c37100777c7190b76d28233-Abstract.html"},{"key":"e_1_2_2_15_1","volume-title":"Proceedings of the 35th International Conference on Machine Learning, ICML 2018, Stockholmsm\u00e4ssan","author":"Foerster Jakob N.","year":"2018","unstructured":"Jakob N. Foerster , Gregory Farquhar , Maruan Al-Shedivat , Tim Rockt\u00e4schel , Eric P. Xing , and Shimon Whiteson . 2018 . DiCE: The Infinitely Differentiable Monte Carlo Estimator . In Proceedings of the 35th International Conference on Machine Learning, ICML 2018, Stockholmsm\u00e4ssan , Stockholm, Sweden , July 10-15, 2018, Jennifer G. Dy and Andreas Krause (Eds.) (Proceedings of Machine Learning Research, Vol. 80). PMLR, 1524\u20131533. http:\/\/proceedings.mlr.press\/v80\/foerster18a.html Jakob N. Foerster, Gregory Farquhar, Maruan Al-Shedivat, Tim Rockt\u00e4schel, Eric P. Xing, and Shimon Whiteson. 2018. DiCE: The Infinitely Differentiable Monte Carlo Estimator. In Proceedings of the 35th International Conference on Machine Learning, ICML 2018, Stockholmsm\u00e4ssan, Stockholm, Sweden, July 10-15, 2018, Jennifer G. Dy and Andreas Krause (Eds.) (Proceedings of Machine Learning Research, Vol. 80). PMLR, 1524\u20131533. http:\/\/proceedings.mlr.press\/v80\/foerster18a.html"},{"key":"e_1_2_2_16_1","doi-asserted-by":"publisher","DOI":"10.1137\/1.9780898717761"},{"key":"e_1_2_2_17_1","unstructured":"Bernd Heidergott and Felisa J V\u00e1zquez-Abad. 2000. Measure valued differentiation for stochastic processes: The finite horizon case. Eurandom. \t\t\t\t  Bernd Heidergott and Felisa J V\u00e1zquez-Abad. 2000. Measure valued differentiation for stochastic processes: The finite horizon case. Eurandom."},{"key":"e_1_2_2_18_1","doi-asserted-by":"publisher","DOI":"10.1109\/LICS.2017.8005137"},{"key":"e_1_2_2_19_1","doi-asserted-by":"publisher","DOI":"10.1007\/978-3-030-45231-5_17"},{"key":"e_1_2_2_20_1","doi-asserted-by":"publisher","DOI":"10.1016\/j.ic.2012.10.014"},{"key":"e_1_2_2_21_1","volume-title":"Kingma and Max Welling","author":"Diederik","year":"2014","unstructured":"Diederik P. Kingma and Max Welling . 2014 . Auto-Encoding Variational Bayes. In 2nd International Conference on Learning Representations, ICLR 2014, Banff, AB, Canada, April 14-16, 2014, Conference Track Proceedings, Yoshua Bengio and Yann LeCun (Eds .). arxiv:1312.6114 Diederik P. Kingma and Max Welling. 2014. Auto-Encoding Variational Bayes. In 2nd International Conference on Learning Representations, ICLR 2014, Banff, AB, Canada, April 14-16, 2014, Conference Track Proceedings, Yoshua Bengio and Yann LeCun (Eds.). arxiv:1312.6114"},{"key":"e_1_2_2_22_1","doi-asserted-by":"publisher","DOI":"10.1287\/mnsc.45.11.1570"},{"key":"e_1_2_2_23_1","unstructured":"Anders Kock. 2011. Commutative monads as a theory of distributions. arXiv preprint arXiv:1108.5952. \t\t\t\t  Anders Kock. 2011. Commutative monads as a theory of distributions. arXiv preprint arXiv:1108.5952."},{"key":"e_1_2_2_24_1","doi-asserted-by":"publisher","DOI":"10.1145\/3498710"},{"key":"e_1_2_2_25_1","volume-title":"Smoothness Analysis for Probabilistic Programs with Application to Optimised Variational Inference. CoRR, abs\/2208.10530","author":"Lee Wonyeol","year":"2022","unstructured":"Wonyeol Lee , Xavier Rival , and Hongseok Yang . 2022. Smoothness Analysis for Probabilistic Programs with Application to Optimised Variational Inference. CoRR, abs\/2208.10530 ( 2022 ), https:\/\/doi.org\/10.48550\/arXiv.2208.10530 arXiv:2208.10530. 10.48550\/arXiv.2208.10530 Wonyeol Lee, Xavier Rival, and Hongseok Yang. 2022. Smoothness Analysis for Probabilistic Programs with Application to Optimised Variational Inference. CoRR, abs\/2208.10530 (2022), https:\/\/doi.org\/10.48550\/arXiv.2208.10530 arXiv:2208.10530."},{"key":"e_1_2_2_26_1","volume-title":"On Correctness of Automatic Differentiation for Non-Differentiable Functions. In Advances in Neural Information Processing Systems 33: Annual Conference on Neural Information Processing Systems 2020","author":"Lee Wonyeol","year":"2020","unstructured":"Wonyeol Lee , Hangyeol Yu , Xavier Rival , and Hongseok Yang . 2020 . On Correctness of Automatic Differentiation for Non-Differentiable Functions. In Advances in Neural Information Processing Systems 33: Annual Conference on Neural Information Processing Systems 2020 , NeurIPS 2020, December 6-12, 2020, virtual, Hugo Larochelle, Marc\u2019Aurelio Ranzato, Raia Hadsell, Maria-Florina Balcan, and Hsuan-Tien Lin (Eds.). https:\/\/proceedings.neurips.cc\/paper\/2020\/hash\/4aaa76178f8567e05c8e8295c96171d8-Abstract.html Wonyeol Lee, Hangyeol Yu, Xavier Rival, and Hongseok Yang. 2020. On Correctness of Automatic Differentiation for Non-Differentiable Functions. In Advances in Neural Information Processing Systems 33: Annual Conference on Neural Information Processing Systems 2020, NeurIPS 2020, December 6-12, 2020, virtual, Hugo Larochelle, Marc\u2019Aurelio Ranzato, Raia Hadsell, Maria-Florina Balcan, and Hsuan-Tien Lin (Eds.). https:\/\/proceedings.neurips.cc\/paper\/2020\/hash\/4aaa76178f8567e05c8e8295c96171d8-Abstract.html"},{"key":"e_1_2_2_27_1","doi-asserted-by":"publisher","DOI":"10.1145\/3371084"},{"key":"e_1_2_2_28_1","volume-title":"Reparameterization Gradient for Non-differentiable Models. In Advances in Neural Information Processing Systems 31: Annual Conference on Neural Information Processing Systems 2018","author":"Lee Wonyeol","year":"2018","unstructured":"Wonyeol Lee , Hangyeol Yu , and Hongseok Yang . 2018 . Reparameterization Gradient for Non-differentiable Models. In Advances in Neural Information Processing Systems 31: Annual Conference on Neural Information Processing Systems 2018 , NeurIPS 2018, December 3-8, 2018, Montr\u00e9al, Canada, Samy Bengio, Hanna M. Wallach, Hugo Larochelle, Kristen Grauman, Nicol\u00f2 Cesa-Bianchi, and Roman Garnett (Eds.). 5558\u20135568. https:\/\/proceedings.neurips.cc\/paper\/2018\/hash\/b096577e264d1ebd6b41041f392eec23-Abstract.html Wonyeol Lee, Hangyeol Yu, and Hongseok Yang. 2018. Reparameterization Gradient for Non-differentiable Models. In Advances in Neural Information Processing Systems 31: Annual Conference on Neural Information Processing Systems 2018, NeurIPS 2018, December 3-8, 2018, Montr\u00e9al, Canada, Samy Bengio, Hanna M. Wallach, Hugo Larochelle, Kristen Grauman, Nicol\u00f2 Cesa-Bianchi, and Roman Garnett (Eds.). 5558\u20135568. https:\/\/proceedings.neurips.cc\/paper\/2018\/hash\/b096577e264d1ebd6b41041f392eec23-Abstract.html"},{"key":"e_1_2_2_29_1","doi-asserted-by":"publisher","DOI":"10.1145\/3371087"},{"key":"e_1_2_2_30_1","volume-title":"Mansinghka","author":"Lew Alexander K.","year":"2021","unstructured":"Alexander K. Lew , Mathieu Huot , and Vikash K . Mansinghka . 2021 . Towards Denotational Semantics of AD for Higher-Order, Recursive, Probabilistic Languages. CoRR , abs\/2111.15456 (2021), arXiv:2111.15456. arxiv:2111.15456 Alexander K. Lew, Mathieu Huot, and Vikash K. Mansinghka. 2021. Towards Denotational Semantics of AD for Higher-Order, Recursive, Probabilistic Languages. CoRR, abs\/2111.15456 (2021), arXiv:2111.15456. arxiv:2111.15456"},{"key":"e_1_2_2_31_1","doi-asserted-by":"publisher","DOI":"10.1007\/978-3-030-72019-3_16"},{"key":"e_1_2_2_32_1","volume-title":"Perov","author":"Mansinghka Vikash","year":"2014","unstructured":"Vikash Mansinghka , Daniel Selsam , and Yura N . Perov . 2014 . Venture: a higher-order probabilistic programming platform with programmable inference. CoRR , abs\/1404.0099 (2014), arXiv:1404.0099. arxiv:1404.0099 Vikash Mansinghka, Daniel Selsam, and Yura N. Perov. 2014. Venture: a higher-order probabilistic programming platform with programmable inference. CoRR, abs\/1404.0099 (2014), arXiv:1404.0099. arxiv:1404.0099"},{"key":"e_1_2_2_33_1","doi-asserted-by":"publisher","DOI":"10.1145\/3192366.3192409"},{"key":"e_1_2_2_34_1","doi-asserted-by":"publisher","DOI":"10.1145\/3434309"},{"key":"e_1_2_2_35_1","volume-title":"Proceedings of the 31th International Conference on Machine Learning, ICML 2014, Beijing, China, 21-26 June 2014 (JMLR Workshop and Conference Proceedings","volume":"1799","author":"Mnih Andriy","year":"2014","unstructured":"Andriy Mnih and Karol Gregor . 2014 . Neural Variational Inference and Learning in Belief Networks . In Proceedings of the 31th International Conference on Machine Learning, ICML 2014, Beijing, China, 21-26 June 2014 (JMLR Workshop and Conference Proceedings , Vol. 32). JMLR.org, 1791\u2013 1799 . http:\/\/proceedings.mlr.press\/v32\/mnih14.html Andriy Mnih and Karol Gregor. 2014. Neural Variational Inference and Learning in Belief Networks. In Proceedings of the 31th International Conference on Machine Learning, ICML 2014, Beijing, China, 21-26 June 2014 (JMLR Workshop and Conference Proceedings, Vol. 32). JMLR.org, 1791\u20131799. http:\/\/proceedings.mlr.press\/v32\/mnih14.html"},{"key":"e_1_2_2_36_1","article-title":"Monte Carlo Gradient Estimation in Machine Learning","volume":"21","author":"Mohamed Shakir","year":"2020","unstructured":"Shakir Mohamed , Mihaela Rosca , Michael Figurnov , and Andriy Mnih . 2020 . Monte Carlo Gradient Estimation in Machine Learning . J. Mach. Learn. Res. , 21 (2020), 132:1\u2013132:62. http:\/\/jmlr.org\/papers\/v21\/19-346.html Shakir Mohamed, Mihaela Rosca, Michael Figurnov, and Andriy Mnih. 2020. Monte Carlo Gradient Estimation in Machine Learning. J. Mach. Learn. Res., 21 (2020), 132:1\u2013132:62. http:\/\/jmlr.org\/papers\/v21\/19-346.html","journal-title":"J. Mach. Learn. Res."},{"key":"e_1_2_2_37_1","volume-title":"Proceedings of the 20th International Conference on Artificial Intelligence and Statistics, AISTATS 2017","volume":"498","author":"Naesseth Christian A.","year":"2017","unstructured":"Christian A. Naesseth , Francisco J. R. Ruiz , Scott W. Linderman , and David M. Blei . 2017. Reparameterization Gradients through Acceptance-Rejection Sampling Algorithms . In Proceedings of the 20th International Conference on Artificial Intelligence and Statistics, AISTATS 2017 , 20-22 April 2017 , Fort Lauderdale, FL, USA, Aarti Singh and Xiaojin (Jerry) Zhu (Eds.) (Proceedings of Machine Learning Research , Vol. 54). PMLR, 489\u2013 498 . http:\/\/proceedings.mlr.press\/v54\/naesseth17a.html Christian A. Naesseth, Francisco J. R. Ruiz, Scott W. Linderman, and David M. Blei. 2017. Reparameterization Gradients through Acceptance-Rejection Sampling Algorithms. In Proceedings of the 20th International Conference on Artificial Intelligence and Statistics, AISTATS 2017, 20-22 April 2017, Fort Lauderdale, FL, USA, Aarti Singh and Xiaojin (Jerry) Zhu (Eds.) (Proceedings of Machine Learning Research, Vol. 54). PMLR, 489\u2013498. http:\/\/proceedings.mlr.press\/v54\/naesseth17a.html"},{"key":"e_1_2_2_38_1","volume-title":"Torr","author":"Narayanaswamy Siddharth","year":"2017","unstructured":"Siddharth Narayanaswamy , Brooks Paige , Jan-Willem van de Meent , Alban Desmaison , Noah D. Goodman , Pushmeet Kohli , Frank D. Wood , and Philip H. S . Torr . 2017 . Learning Disentangled Representations with Semi-Supervised Deep Generative Models. In Advances in Neural Information Processing Systems 30: Annual Conference on Neural Information Processing Systems 2017, December 4-9, 2017, Long Beach, CA, USA, Isabelle Guyon, Ulrike von Luxburg, Samy Bengio, Hanna M. Wallach, Rob Fergus, S. V. N. Vishwanathan, and Roman Garnett (Eds .). 5925\u20135935. https:\/\/proceedings.neurips.cc\/paper\/2017\/hash\/9cb9ed4f35cf7c2f295cc2bc6f732a84-Abstract.html Siddharth Narayanaswamy, Brooks Paige, Jan-Willem van de Meent, Alban Desmaison, Noah D. Goodman, Pushmeet Kohli, Frank D. Wood, and Philip H. S. Torr. 2017. Learning Disentangled Representations with Semi-Supervised Deep Generative Models. In Advances in Neural Information Processing Systems 30: Annual Conference on Neural Information Processing Systems 2017, December 4-9, 2017, Long Beach, CA, USA, Isabelle Guyon, Ulrike von Luxburg, Samy Bengio, Hanna M. Wallach, Rob Fergus, S. V. N. Vishwanathan, and Roman Garnett (Eds.). 5925\u20135935. https:\/\/proceedings.neurips.cc\/paper\/2017\/hash\/9cb9ed4f35cf7c2f295cc2bc6f732a84-Abstract.html"},{"key":"e_1_2_2_39_1","volume-title":"PyTorch: An Imperative Style","author":"Paszke Adam","year":"2019","unstructured":"Adam Paszke , Sam Gross , Francisco Massa , Adam Lerer , James Bradbury , Gregory Chanan , Trevor Killeen , Zeming Lin , Natalia Gimelshein , Luca Antiga , Alban Desmaison , Andreas K\u00f6pf , Edward Z. Yang , Zachary DeVito , Martin Raison , Alykhan Tejani , Sasank Chilamkurthy , Benoit Steiner , Lu Fang , Junjie Bai , and Soumith Chintala . 2019. PyTorch: An Imperative Style , High-Performance Deep Learning Library . 8024\u20138035. https:\/\/proceedings.neurips.cc\/paper\/ 2019 \/hash\/bdbca288fee7f92f2bfa9f7012727740-Abstract.html Adam Paszke, Sam Gross, Francisco Massa, Adam Lerer, James Bradbury, Gregory Chanan, Trevor Killeen, Zeming Lin, Natalia Gimelshein, Luca Antiga, Alban Desmaison, Andreas K\u00f6pf, Edward Z. Yang, Zachary DeVito, Martin Raison, Alykhan Tejani, Sasank Chilamkurthy, Benoit Steiner, Lu Fang, Junjie Bai, and Soumith Chintala. 2019. PyTorch: An Imperative Style, High-Performance Deep Learning Library. 8024\u20138035. https:\/\/proceedings.neurips.cc\/paper\/2019\/hash\/bdbca288fee7f92f2bfa9f7012727740-Abstract.html"},{"key":"e_1_2_2_40_1","doi-asserted-by":"publisher","DOI":"10.1109\/LICS.2019.8785683"},{"key":"e_1_2_2_41_1","doi-asserted-by":"publisher","DOI":"10.1007\/3-540-10861-0"},{"key":"e_1_2_2_42_1","volume-title":"Proceedings of the Seventeenth International Conference on Artificial Intelligence and Statistics, AISTATS 2014, Reykjavik, Iceland, April 22-25, 2014 (JMLR Workshop and Conference Proceedings","volume":"822","author":"Ranganath Rajesh","unstructured":"Rajesh Ranganath , Sean Gerrish , and David M. Blei . 2014. Black Box Variational Inference . In Proceedings of the Seventeenth International Conference on Artificial Intelligence and Statistics, AISTATS 2014, Reykjavik, Iceland, April 22-25, 2014 (JMLR Workshop and Conference Proceedings , Vol. 33). JMLR.org, 814\u2013 822 . http:\/\/proceedings.mlr.press\/v33\/ranganath14.html Rajesh Ranganath, Sean Gerrish, and David M. Blei. 2014. Black Box Variational Inference. In Proceedings of the Seventeenth International Conference on Artificial Intelligence and Statistics, AISTATS 2014, Reykjavik, Iceland, April 22-25, 2014 (JMLR Workshop and Conference Proceedings, Vol. 33). JMLR.org, 814\u2013822. http:\/\/proceedings.mlr.press\/v33\/ranganath14.html"},{"key":"e_1_2_2_43_1","unstructured":"John Schulman. 2016. Optimizing Expectations: From Deep Reinforcement Learning to Stochastic Computation Graphs. Ph.D. Dissertation. University of California Berkeley USA. https:\/\/www.escholarship.org\/uc\/item\/9z908523 \t\t\t\t  John Schulman. 2016. Optimizing Expectations: From Deep Reinforcement Learning to Stochastic Computation Graphs. Ph.D. Dissertation. University of California Berkeley USA. https:\/\/www.escholarship.org\/uc\/item\/9z908523"},{"key":"e_1_2_2_44_1","volume-title":"Gradient Estimation Using Stochastic Computation Graphs. In Advances in Neural Information Processing Systems 28: Annual Conference on Neural Information Processing Systems 2015","author":"Schulman John","year":"2015","unstructured":"John Schulman , Nicolas Heess , Theophane Weber , and Pieter Abbeel . 2015 . Gradient Estimation Using Stochastic Computation Graphs. In Advances in Neural Information Processing Systems 28: Annual Conference on Neural Information Processing Systems 2015 , December 7-12, 2015, Montreal, Quebec, Canada, Corinna Cortes, Neil D. Lawrence, Daniel D. Lee, Masashi Sugiyama, and Roman Garnett (Eds.). 3528\u20133536. https:\/\/proceedings.neurips.cc\/paper\/ 2015\/hash\/de03beffeed9da5f3639a621bcab5dd4-Abstract.html John Schulman, Nicolas Heess, Theophane Weber, and Pieter Abbeel. 2015. Gradient Estimation Using Stochastic Computation Graphs. In Advances in Neural Information Processing Systems 28: Annual Conference on Neural Information Processing Systems 2015, December 7-12, 2015, Montreal, Quebec, Canada, Corinna Cortes, Neil D. Lawrence, Daniel D. Lee, Masashi Sugiyama, and Roman Garnett (Eds.). 3528\u20133536. https:\/\/proceedings.neurips.cc\/paper\/2015\/hash\/de03beffeed9da5f3639a621bcab5dd4-Abstract.html"},{"key":"e_1_2_2_45_1","doi-asserted-by":"publisher","DOI":"10.1145\/3158148"},{"key":"e_1_2_2_46_1","volume-title":"Differentiable Particle Filtering without Modifying the Forward Pass. CoRR, abs\/2106.10314","author":"\u015acibior Adam","year":"2021","unstructured":"Adam \u015acibior , Vaden Masrani , and Frank Wood . 2021. Differentiable Particle Filtering without Modifying the Forward Pass. CoRR, abs\/2106.10314 ( 2021 ), arXiv:2106.10314. arxiv:2106.10314 Adam \u015acibior, Vaden Masrani, and Frank Wood. 2021. Differentiable Particle Filtering without Modifying the Forward Pass. CoRR, abs\/2106.10314 (2021), arXiv:2106.10314. arxiv:2106.10314"},{"key":"e_1_2_2_47_1","doi-asserted-by":"publisher","DOI":"10.1145\/3434284"},{"key":"e_1_2_2_48_1","unstructured":"Matthijs V\u00e1k\u00e1r. 2020. Denotational Correctness of Forward-Mode Automatic Differentiation for Iteration and Recursion. arXiv preprint arXiv:2007.05282. \t\t\t\t  Matthijs V\u00e1k\u00e1r. 2020. Denotational Correctness of Forward-Mode Automatic Differentiation for Iteration and Recursion. arXiv preprint arXiv:2007.05282."},{"key":"e_1_2_2_49_1","doi-asserted-by":"publisher","DOI":"10.1145\/3290349"},{"key":"e_1_2_2_50_1","volume-title":"Storchastic: A Framework for General Stochastic Automatic Differentiation. In Advances in Neural Information Processing Systems 34: Annual Conference on Neural Information Processing Systems 2021","author":"van Krieken Emile","year":"2021","unstructured":"Emile van Krieken , Jakub M. Tomczak , and Annette ten Teije . 2021 . Storchastic: A Framework for General Stochastic Automatic Differentiation. In Advances in Neural Information Processing Systems 34: Annual Conference on Neural Information Processing Systems 2021 , NeurIPS 2021, December 6-14, 2021, virtual, Marc\u2019Aurelio Ranzato, Alina Beygelzimer, Yann N. Dauphin, Percy Liang, and Jennifer Wortman Vaughan (Eds.). 7574\u20137587. https:\/\/proceedings.neurips.cc\/paper\/2021\/hash\/3dfe2f633108d604df160cd1b01710db-Abstract.html Emile van Krieken, Jakub M. Tomczak, and Annette ten Teije. 2021. Storchastic: A Framework for General Stochastic Automatic Differentiation. In Advances in Neural Information Processing Systems 34: Annual Conference on Neural Information Processing Systems 2021, NeurIPS 2021, December 6-14, 2021, virtual, Marc\u2019Aurelio Ranzato, Alina Beygelzimer, Yann N. Dauphin, Percy Liang, and Jennifer Wortman Vaughan (Eds.). 7574\u20137587. https:\/\/proceedings.neurips.cc\/paper\/2021\/hash\/3dfe2f633108d604df160cd1b01710db-Abstract.html"},{"key":"e_1_2_2_51_1","volume-title":"Credit Assignment Techniques in Stochastic Computation Graphs. In The 22nd International Conference on Artificial Intelligence and Statistics, AISTATS 2019","volume":"2660","author":"Weber Th\u00e9ophane","year":"2019","unstructured":"Th\u00e9ophane Weber , Nicolas Heess , Lars Buesing , and David Silver . 2019 . Credit Assignment Techniques in Stochastic Computation Graphs. In The 22nd International Conference on Artificial Intelligence and Statistics, AISTATS 2019 , 16-18 April 2019, Naha, Okinawa, Japan, Kamalika Chaudhuri and Masashi Sugiyama (Eds.) (Proceedings of Machine Learning Research , Vol. 89). PMLR, 2650\u2013 2660 . http:\/\/proceedings.mlr.press\/v89\/weber19a.html Th\u00e9ophane Weber, Nicolas Heess, Lars Buesing, and David Silver. 2019. Credit Assignment Techniques in Stochastic Computation Graphs. In The 22nd International Conference on Artificial Intelligence and Statistics, AISTATS 2019, 16-18 April 2019, Naha, Okinawa, Japan, Kamalika Chaudhuri and Masashi Sugiyama (Eds.) (Proceedings of Machine Learning Research, Vol. 89). PMLR, 2650\u20132660. http:\/\/proceedings.mlr.press\/v89\/weber19a.html"},{"key":"e_1_2_2_52_1","volume-title":"Advances in Neural Information Processing Systems 24: 25th Annual Conference on Neural Information Processing Systems","author":"Wingate David","year":"2011","unstructured":"David Wingate , Noah D. Goodman , Andreas Stuhlm\u00fcller , and Jeffrey Mark Siskind . 2011. Nonstandard Interpretations of Probabilistic Programs for Efficient Inference . In Advances in Neural Information Processing Systems 24: 25th Annual Conference on Neural Information Processing Systems 2011 . Proceedings of a meeting held 12-14 December 2011, Granada, Spain, John Shawe-Taylor, Richard S. Zemel, Peter L. Bartlett, Fernando C. N. Pereira, and Kilian Q. Weinberger (Eds .). 1152\u20131160. https:\/\/proceedings.neurips.cc\/paper\/2011\/hash\/0d7de1aca9299fe63f3e0041f02638a3-Abstract.html David Wingate, Noah D. Goodman, Andreas Stuhlm\u00fcller, and Jeffrey Mark Siskind. 2011. Nonstandard Interpretations of Probabilistic Programs for Efficient Inference. In Advances in Neural Information Processing Systems 24: 25th Annual Conference on Neural Information Processing Systems 2011. Proceedings of a meeting held 12-14 December 2011, Granada, Spain, John Shawe-Taylor, Richard S. Zemel, Peter L. Bartlett, Fernando C. N. Pereira, and Kilian Q. Weinberger (Eds.). 1152\u20131160. https:\/\/proceedings.neurips.cc\/paper\/2011\/hash\/0d7de1aca9299fe63f3e0041f02638a3-Abstract.html"},{"key":"e_1_2_2_53_1","doi-asserted-by":"publisher","DOI":"10.1145\/3498677"}],"container-title":["Proceedings of the ACM on Programming Languages"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/dl.acm.org\/doi\/10.1145\/3571198","content-type":"unspecified","content-version":"vor","intended-application":"text-mining"},{"URL":"https:\/\/dl.acm.org\/doi\/pdf\/10.1145\/3571198","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2025,6,17]],"date-time":"2025-06-17T18:08:21Z","timestamp":1750183701000},"score":1,"resource":{"primary":{"URL":"https:\/\/dl.acm.org\/doi\/10.1145\/3571198"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2023,1,9]]},"references-count":53,"journal-issue":{"issue":"POPL","published-print":{"date-parts":[[2023,1,9]]}},"alternative-id":["10.1145\/3571198"],"URL":"https:\/\/doi.org\/10.1145\/3571198","relation":{},"ISSN":["2475-1421"],"issn-type":[{"value":"2475-1421","type":"electronic"}],"subject":[],"published":{"date-parts":[[2023,1,9]]},"assertion":[{"value":"2023-01-11","order":2,"name":"published","label":"Published","group":{"name":"publication_history","label":"Publication History"}}]}}