学习者的语言
Learners' Languages
AI总结:
本文从范畴论视角出发,证明学习者范畴同构于参数化简单透镜范畴,并将其嵌入多项式函子范畴,从而为梯度下降与反向传播提供动力学系统语义,进而探讨其拓扑斯内部逻辑。
摘要:
在《作为函子的反向传播》一文中,作者证明了深度学习的基本要素——梯度下降与反向传播——可以被概念化为一个强幺半群函子 Para(Euc)$\to$Learn,从参数化欧几里得空间范畴映射到学习者范畴,后者是为刻画参数更新与反向传播而专门发展出来的范畴。人们很快意识到存在同构 Learn$\cong$Para(Slens),其中 Slens 是函数式编程中所使用的简单透镜构成的对称幺半群范畴。在本文中,我们观察到 Slens 通过函子 $A\mapsto Ay^A$ 是 Poly——单变量多项式函子范畴——的一个全子范畴。利用 (Poly,$\otimes$) 是幺半群闭的这一事实,我们证明 Para(Slens) 中的映射 $A\to B$ 具有一种自然的动力学系统解释(更准确地说,是广义 Moore 机),其接口为内部 hom 类型 $[Ay^A,By^B]$。最后,我们回顾了如下事实:对任意 $p \in$ Poly,其上的动力学系统范畴 p-Coalg 构成一个拓扑斯,并考察了可以在其内部语言中陈述的逻辑命题。我们以梯度下降为例加以说明,并在结尾讨论了未来工作的一些方向。
英文摘要:
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)$\to$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$\cong$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\mapsto Ay^A$. Using the fact that (Poly,$\otimes$) is monoidal closed, we show that a map $A\to 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 $[Ay^A,By^B]$. Finally, we review the fact that the category p-Coalg of dynamical systems on any $p \in$ 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.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。