arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2206.01730math.NAcs.AIcs.LGcs.NAmath.OC
收藏

非光滑自动微分的复杂性

On the complexity of nonsmooth automatic differentiation

Toulouse School of Economics(图卢兹经济学院);Université de Toulouse(图卢兹大学);Thales LAS France(法国泰勒斯激光系统公司);IRIT, CNRS(法国国家科学研究中心信息与电信研究所);Institut Universitaire de France (IUF)(法国大学研究院)

Jérôme Bolte, Ryan Boustany, Edouard Pauwels, Béatrice Pesquet-Popescu

摘要:

使用保守梯度的概念,我们提供了一个简单的模型来估计计算成本的向后和向前模式的算法微分为广泛的一类非光滑程序。当使用具有局部Lipschitz半代数或可定义初等函数的程序时,反向模式的开销复杂度与维数无关。这大大扩展了Baur-Strassen的平滑廉价梯度原理。我们说明我们的研究结果通过建立保守梯度的快速反向传播结果,通过前馈神经网络与标准的激活和损失函数。非光滑反向传播的廉价与并发向前方法形成对比,并发向前方法迄今为止具有依赖于维度的最坏情况开销估计。我们提供了进一步的结果表明保守梯度的反向传播的优越性。事实上,我们与计算大量的方向导数的矩阵乘法的复杂性,我们发现,在克拉克次微分的函数中找到两个次梯度是一个NP-困难的问题。

英文摘要:

Using the notion of conservative gradient, we provide a simple model to estimate the computational costs of the backward and forward modes of algorithmic differentiation for a wide class of nonsmooth programs. The overhead complexity of the backward mode turns out to be independent of the dimension when using programs with locally Lipschitz semi-algebraic or definable elementary functions. This considerably extends Baur-Strassen's smooth cheap gradient principle. We illustrate our results by establishing fast backpropagation results of conservative gradients through feedforward neural networks with standard activation and loss functions. Nonsmooth backpropagation's cheapness contrasts with concurrent forward approaches, which have, to this day, dimensional-dependent worst-case overhead estimates. We provide further results suggesting the superiority of backward propagation of conservative gradients. Indeed, we relate the complexity of computing a large number of directional derivatives to that of matrix multiplication, and we show that finding two subgradients in the Clarke subdifferential of a function is an NP-hard problem.

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

↑