Reverse derivative categories
Reverse derivative categories
复制标题
反向导数类别
DOI:
10.4230/lipics.csl.2020.18
复制
发表时间:
2019
期刊:
影响因子:
20.3
通讯作者:
D. Pronk
中科院分区:
文献类型:
--
作者:
Robin Cockett;G. Cruttwell;J. Gallagher;J. Lemay;Benjamin MacAdam;G. Plotkin;D. Pronk
The reverse derivative is a fundamental operation in machine learning and automatic differentiation. This paper gives a direct axiomatization of a category with a reverse derivative operation, in a similar style to that given by Cartesian differential categories for a forward derivative. Intriguingly, a category with a reverse derivative also has a forward derivative, but the converse is not true. In fact, we show explicitly what a forward derivative is missing: a reverse derivative is equivalent to a forward derivative with a dagger structure on its subcategory of linear maps. Furthermore, we show that these linear maps form an additively enriched category with dagger biproducts.