Learners' Languages

被引:4
作者
Spivak, David I. [1 ]
机构
[1] Topos Inst, Berkeley, CA 94704 USA
关键词
D O I
10.4204/EPTCS.372.2
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
In "Backprop as functor", the authors show that the fundamental elements of deep learning-gradient descent and backpropagation-can be conceptualized as a strong monoidal functor Para(Euc)& RARR; Learn from the category of parameterized Euclidean spaces to that of learners, a category developed explicitly to capture parameter update and backpropagation. It was soon realized that there is an isomorphism Learn & SIM;= Para(SLens), where SLens is the symmetric monoidal category of simple lenses as used in functional programming.In this note, we observe that SLens is a full subcategory of Poly, the category of polynomial functors in one variable, via the functor A 7 & RARR; AyA. Using the fact that (Poly, & OTIMES;) is monoidal closed, we show that a map A & RARR; B in Para(SLens) has a natural interpretation in terms of dynamical systems (more precisely, generalized Moore machines) whose interface is the internal-hom type [AyA,ByB].Finally, we review the fact that the category p-Coalg of dynamical systems on any p & ISIN; Poly forms a topos, and consider the logical propositions that can be stated in its internal language. We give gradient descent as an example, and we conclude by discussing some directions for future work.
引用
收藏
页码:14 / 28
页数:15
相关论文
共 12 条
[1]  
Adamek J., 2005, THEORY APPL CATEGORI, V14, P157
[2]   Directed Containers as Categories [J].
Ahman, Danel ;
Uustalu, Tarmo .
ELECTRONIC PROCEEDINGS IN THEORETICAL COMPUTER SCIENCE, 2016, (207) :89-98
[3]   PARAMETRIZED DATA-TYPES DO NOT NEED HIGHLY CONSTRAINED PARAMETERS [J].
ARBIB, MA ;
MANES, EG .
INFORMATION AND CONTROL, 1982, 52 (02) :139-158
[4]  
Fong B., 2019, An Invitation to Applied Category Theory: Seven Sketches in Compositionality
[5]  
Fong B, 2019, Arxiv, DOI arXiv:1711.10455
[6]   Polynomial functors and polynomial monads [J].
Gambino, Nicola ;
Kock, Joachim .
MATHEMATICAL PROCEEDINGS OF THE CAMBRIDGE PHILOSOPHICAL SOCIETY, 2013, 154 (01) :153-192
[7]  
Gavranovic B, 2019, Arxiv, DOI arXiv:1907.08292
[8]   Compositional Game Theory [J].
Ghani, Neil ;
Hedges, Jules ;
Winschel, Viktor ;
Zahn, Philipp .
LICS'18: PROCEEDINGS OF THE 33RD ANNUAL ACM/IEEE SYMPOSIUM ON LOGIC IN COMPUTER SCIENCE, 2018, :472-481
[9]  
Spivak DI, 2020, Arxiv, DOI [arXiv:2005.01894, DOI 10.48550/ARXIV.2005.01894]
[10]  
Jacobs B, 2016, Introduction to Coalgebra: Towards Mathematics of States and Observation, DOI [DOI 10.1017/CBO9781316823187, 10.1017/CBO9781316823187]