Differentiable Causal Computations via Delayed Trace

03/04/2019
by   David Sprunger, et al.
0

We investigate causal computations taking sequences of inputs to sequences of outputs where the nth output depends on the first n inputs only. We model these in category theory via a construction taking a Cartesian category C to another category St(C) with a novel trace-like operation called "delayed trace", which misses yanking and dinaturality axioms of the usual trace. The delayed trace operation provides a feedback mechanism in St(C) with an implicit guardedness guarantee. When C is equipped with a Cartesian differential operator, we construct a differential operator for St(C) using an abstract version of backpropagation through time, a technique from machine learning based on unrolling of functions. This obtains a swath of properties for backpropagation through time, including a chain rule and Schwartz theorem. Our differential operator is also able to compute the derivative of a stateful network without requiring the network to be unrolled.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
08/13/2023

Cartesian Differential Kleisli Categories

Cartesian differential categories come equipped with a differential comb...
research
04/24/2019

The differential calculus of causal functions

Causal functions of sequences occur throughout computer science, from th...
research
04/11/2020

Steps and Traces

In the theory of coalgebras, trace semantics can be defined in various d...
research
05/08/2018

Decidability of the existential fragment of some infinitely generated trace monoids: an application to ordinals

Diekert, Matiyasevich and Muscholl proved that the existential first-ord...
research
04/25/2023

Dynamic Tracing: a graphical language for rewriting protocols

The category Set_* of sets and partial functions is well-known to be tra...
research
05/22/2020

Polynomial traces and elementary symmetric functions in the latent roots of a non-central Wishart matrix

Hypergeometric functions and zonal polynomials are the tools usually add...
research
10/27/2019

Computer-supported Exploration of a Categorical Axiomatization of Modeloids

A modeloid, a certain set of partial bijections, emerges from the idea t...

Please sign up or login with your details

Forgot password? Click here to reset