Differentiable Scripting

12/03/2021
by   Uwe Naumann, et al.
0

In Computational Science, Engineering and Finance (CSEF) scripts typically serve as the "glue" between potentially highly complex and computationally expensive external subprograms. Differentiability of the resulting programs turns out to be essential in the context of derivative-based methods for error analysis, uncertainty quantification, optimization or training of surrogates. We argue that it should be enforced by the scripting language itself through exclusive support of differentiable (smoothed) external subprograms and differentiable intrinsics combined with prohibition of nondifferentiable branches in the data flow. Illustration is provided by a prototype adjoint code compiler for a simple Python-like scripting language.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
10/19/2021

The Creation of Puffin, the Automatic Uncertainty Compiler

An uncertainty compiler is a tool that automatically translates original...
research
04/27/2023

Lowering the Entry Bar to HPC-Scale Uncertainty Quantification

Treating uncertainties in models is essential in many fields of science ...
research
02/02/2022

Dr.Jit: A Just-In-Time Compiler for Differentiable Rendering

Dr.Jit is a new just-in-time compiler for physically based rendering and...
research
12/15/2020

AsyncTaichi: Whole-Program Optimizations for Megakernel Sparse Computation and Differentiable Programming

We present a whole-program optimization framework for the Taichi program...
research
02/08/2022

A general framework for quantifying uncertainty at scale and its application to fusion research

In many fields of science, remarkably comprehensive and realistic comput...
research
12/13/2017

Differentiable lower bound for expected BLEU score

In natural language processing tasks performance of the models is often ...

Please sign up or login with your details

Forgot password? Click here to reset