可微规划的运算演算
Operational Calculus for Differentiable Programming
摘要:
在这项工作中,我们提出了一个理论模型的可微规划。我们构造了一个代数语言,封装形式的可微程序的运算演算的方式语义。运算演算的代数性质可以改变语言中表达的程序的属性,并将它们转换为解决方案。在我们的模型中,程序是编程空间的元素,被看作是从虚拟内存空间到其自身的映射。虚拟内存空间是程序的代数,是一种可以用来计算的代数数据结构。我们定义了程序空间上的微分算子($\partial$),并利用它的能力实现了一般的移位算子和程序合成算子。本文给出了可微程序按$\partial$的幂展开成无限张量级数的公式。我们用广义移位算子和$\partial$来表示程序组合的算子,从而在语言中实现了可微组合。这些操作符作为张量级数代数的抽象,作为我们语言中的主要演员。我们证明了我们的模型在可微编程中的有用性,通过使用它来分析迭代器,推导分数迭代及其迭代速度,并明确解决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.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。