arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2211.01835cs.LO
收藏

笛卡尔微分范畴的Jacobi算子和等价算子

Jacobians and Gradients for Cartesian Differential Categories

Jean-Simon Pacaud Lemay

摘要:

笛卡尔微分范畴配备了一个微分组合子,形式化了多变量微积分的方向导数。笛卡尔微分范畴提供了微分微积分的范畴语义,并且在因果计算、增量计算、博弈论、可微编程和机器学习中也有应用。最近有一个愿望,以提供一个(坐标自由)的特征雅可比和梯度在笛卡尔微分范畴。一个人的第一次尝试可能是考虑笛卡尔微分范畴是笛卡尔封闭的,如模型的微分微积分,然后采取咖喱的衍生物。不幸的是,这种方法排除了笛卡尔微分范畴的许多重要例子,例如实光滑函数范畴。本文引入了线性闭的笛卡尔微分范畴,它是具有线性映射的内弧、双线性赋值映射以及能够生成第二个参数为线性的映射的笛卡尔微分范畴.因此,映射的雅可比矩阵被定义为它的导数的curry。许多著名的笛卡尔微分范畴的例子都是线性闭的,特别是实光滑函数范畴。我们还解释了一个笛卡尔闭微分范畴是线性闭的当且仅当一个内孔上的线性幂等元分裂。为了定义映射的梯度,必须能够定义雅可比矩阵的转置,这可以在笛卡尔逆微分范畴中完成。因此,我们定义一个映射的梯度是它的反导数的curry,并证明这等于它的雅可比矩阵的转置。我们还解释了一个线性闭的笛卡尔反微分范畴如何精确地是一个具有适当转置概念的线性闭的笛卡尔微分范畴。

英文摘要:

Cartesian differential categories come equipped with a differential combinator that formalizes the directional derivative from multivariable calculus. Cartesian differential categories provide a categorical semantics of the differential lambda-calculus and have also found applications in causal computation, incremental computation, game theory, differentiable programming, and machine learning. There has recently been a desire to provide a (coordinate-free) characterization of Jacobians and gradients in Cartesian differential categories. One's first attempt might be to consider Cartesian differential categories which are Cartesian closed, such as models of the differential lambda-calculus, and then take the curry of the derivative. Unfortunately, this approach excludes numerous important examples of Cartesian differential categories such as the category of real smooth functions. In this paper, we introduce linearly closed Cartesian differential categories, which are Cartesian differential categories that have an internal hom of linear maps, a bilinear evaluation map, and the ability to curry maps which are linear in their second argument. As such, the Jacobian of a map is defined as the curry of its derivative. Many well-known examples of Cartesian differential categories are linearly closed, such as, in particular, the category of real smooth functions. We also explain how a Cartesian closed differential category is linearly closed if and only if a certain linear idempotent on the internal hom splits. To define the gradient of a map, one must be able to define the transpose of the Jacobian, which can be done in a Cartesian reverse differential category. Thus, we define the gradient of a map to be the curry of its reverse derivative and show this equals the transpose of its Jacobian. We also explain how a linearly closed Cartesian reverse differential category is precisely a linearly closed Cartesian differential category with an appropriate notion of transpose.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑