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

基于参数化透镜的深度学习

Deep Learning with Parametric Lenses

Mount Allison University(蒙特爱立森大学);University of Strathclyde(斯特拉斯克莱德大学);University College London(伦敦大学学院);University of Bologna(博洛尼亚大学)

Geoffrey S. H. Cruttwell, Bruno Gavranovic, Neil Ghani, Paul Wilson, Fabio Zanasi

AI总结:

本文提出以透镜、参数化映射和逆向导数范畴为机器学习算法建立统一范畴语义,覆盖ADAM、AdaGrad、Nesterov动量及MSE、Softmax交叉熵等,并推广到布尔与多项式电路等离散环境。

摘要:

我们提出了一种用于机器学习算法的范畴语义,其以透镜、参数化映射和逆向导数范畴为基础。这一基础提供了一个强大的解释性与统一性框架:它涵盖了多种梯度下降算法,如ADAM、AdaGrad和Nesterov动量,以及多种损失函数,如MSE和Softmax交叉熵,还涵盖不同架构,从而为它们的相似性与差异提供了新的认识。此外,我们的学习方法包含可推广到熟悉的连续域(在光滑映射范畴中建模)之外的示例,并可在布尔电路和多项式电路的离散环境中实现。我们通过在Python中的实现展示了该框架的实际意义。

英文摘要:

We propose a categorical semantics for machine learning algorithms in terms of lenses, parametric maps, and reverse derivative categories. This foundation provides a powerful explanatory and unifying framework: it encompasses a variety of gradient descent algorithms such as ADAM, AdaGrad, and Nesterov momentum, as well as a variety of loss functions such as MSE and Softmax cross-entropy, and different architectures, shedding new light on their similarities and differences. Furthermore, our approach to learning has examples generalising beyond the familiar continuous domains (modelled in categories of smooth maps) and can be realised in the discrete setting of Boolean and polynomial circuits. We demonstrate the practical significance of our framework with an implementation in Python.

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

↑