6–9 Nov 2023
ECAP (Erlangen Centre for Astroparticle Physics)
Europe/Zurich timezone

StochasticAD.jl: Derivatives of discrete randomness

8 Nov 2023, 10:15
15m
ECAP (Erlangen Centre for Astroparticle Physics)

ECAP (Erlangen Centre for Astroparticle Physics)

Nikolaus-Fiebiger-Straße 2 91058 Erlangen Germany
Light talk - 10min

Speaker

Gaurav Arya

Description

Automatic differentiation (AD), a technique for constructing new programs which compute the derivative of an original program, has become ubiquitous in science due to the improved performance afforded by gradient-based optimization. However, a lot of scientific simulations, e.g. in particle physics, are discrete random. This motivates extending AD to handle discrete stochastic behaviors governed by distribution parameters, such as flipping a coin with probability p of being heads. These pose a challenge because the connection between the result (heads vs tails) and the parameters (p) is fundamentally discrete. This talk introduces StochasticAD.jl, a Julia AD system for handling discrete stochastic behaviours, and its application to discrete stochastic simulations in the sciences.

Author

Gaurav Arya

Presentation materials