arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2403.19845math.CTcs.LG
收藏

广义梯度下降是超图函子

Generalized Gradient Descent is a Hypergraph Functor

Department of Computer and Information Science and Engineering(计算机与信息科学与工程系);University of Florida(佛罗里达大学);Information Directorate(信息总局);Air Force Research Lab(空军研究实验室)

Tyler Hanks, James Fairbanks, Matthew Klawonn

AI总结:

本文证明广义梯度下降是超图函子,将优化问题映射到动力系统,并应用于多任务学习的参数共享模型,产生分布式梯度下降算法。

摘要:

笛卡尔反向导数范畴(CRDCs)为反向导数提供了一种公理化推广,使得梯度下降等经典优化算法的广义类比能够应用于广泛的问题类别。在本文中,我们证明,对于给定的CRDC,广义梯度下降会诱导出一个超图函子,该函子从优化问题的超图范畴映射到动力系统的超图范畴。该函子的定义域由目标函数构成,这些目标函数1)在广义意义上是通用的,即它们相对于任意CRDC定义;2)是开放的,即它们是带装饰的跨度(decorated spans),可以通过变量共享与其他此类目标函数组合。余定义域类似地被指定为底层CRDC的广义开放动力系统范畴。我们描述了该超图函子如何为定义域中指定的任意复合问题诱导出分布式优化算法。为了说明我们的框架可以建模的问题类型,我们展示了多任务学习中的参数共享模型(一种流行的机器学习范式)如何针对给定的CRDC产生复合优化问题。然后,我们将梯度下降函子应用于该复合问题,并描述用于训练参数共享模型的所得分布式梯度下降算法。

英文摘要:

Cartesian reverse derivative categories (CRDCs) provide an axiomatic generalization of the reverse derivative, which allows generalized analogues of classic optimization algorithms such as gradient descent to be applied to a broad class of problems. In this paper, we show that generalized gradient descent with respect to a given CRDC induces a hypergraph functor from a hypergraph category of optimization problems to a hypergraph category of dynamical systems. The domain of this functor consists of objective functions that are 1) general in the sense that they are defined with respect to an arbitrary CRDC, and 2) open in that they are decorated spans that can be composed with other such objective functions via variable sharing. The codomain is specified analogously as a category of general and open dynamical systems for the underlying CRDC. We describe how the hypergraph functor induces a distributed optimization algorithm for arbitrary composite problems specified in the domain. To illustrate the kinds of problems our framework can model, we show that parameter sharing models in multitask learning, a prevalent machine learning paradigm, yield a composite optimization problem for a given choice of CRDC. We then apply the gradient descent functor to this composite problem and describe the resulting distributed gradient descent algorithm for training parameter sharing models.

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

↑