FLNEFAOAOct 25, 2016

Operational Calculus for Differentiable Programming

arXiv:1610.07690v63 citations
Originality Incremental advance
AI Analysis

This work provides a theoretical foundation for differentiable programming, which could benefit researchers and practitioners in machine learning and AI, though it appears incremental as it builds on existing calculus concepts.

The authors tackled the challenge of formalizing differentiable programming by constructing an algebraic language based on Operational Calculus, which transforms programs into their solutions and enables analysis of iterators and explicit solutions like ReduceSum.

In this work we present a theoretical model for differentiable programming. We construct an algebraic language that encapsulates formal semantics of differentiable programs by way of Operational Calculus. The algebraic nature of Operational Calculus can alter the properties of the programs that are expressed within the language and transform them into their solutions. In our model programs are elements of programming spaces and viewed as maps from the virtual memory space to itself. Virtual memory space is an algebra of programs, an algebraic data structure one can calculate with. We define the operator of differentiation ($\partial$) on programming spaces and, using its powers, implement the general shift operator and the operator of program composition. We provide the formula for the expansion of a differentiable program into an infinite tensor series in terms of the powers of $\partial$. We express the operator of program composition in terms of the generalized shift operator and $\partial$, which implements a differentiable composition in the language. Such operators serve as abstractions over the tensor series algebra, as main actors in our language. We demonstrate our models usefulness in differentiable programming by using it to analyse iterators, deriving fractional iterations and their iterating velocities, and explicitly solve the special case of ReduceSum.

Code Implementations1 repo
Foundations

The foundational work for this paper's niche, ranked by how specifically the neighbourhood builds on it — not by global fame.

Your Notes