arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2304.11663cs.LGcs.AI
收藏

深度均衡模型的高效训练

Efficient Training of Deep Equilibrium Models

Sony Europe B.V.(索尼欧洲公司)

Bac Nguyen, Lukas Mauch

AI总结:

针对 DEQ 反向传播需昂贵求解 Jacobian 方程的问题,本文复用前向传播中 Broyden 方法的 Jacobian 近似计算梯度,在不损失性能的前提下显著提升训练速度。

摘要:

深度均衡模型(DEQ)已被证明在学习数据表示方面非常强大。其思想是用隐式不动点方程取代传统的(显式)前馈神经网络,从而使前向传播和反向传播得以解耦。具体而言,借助隐函数定理,训练 DEQ 层在内存方面变得非常高效。然而,通过 DEQ 层进行反向传播仍需求解一个代价高昂的基于 Jacobian 的方程。本文提出一种简单而有效的策略来避免这一计算负担。该方法在前向传播之后利用 Broyden 方法的 Jacobian 近似,在反向传播期间计算梯度。实验表明,仅复用这一近似即可显著加快训练速度,且不会造成任何性能下降。

英文摘要:

Deep equilibrium models (DEQs) have proven to be very powerful for learning data representations. The idea is to replace traditional (explicit) feedforward neural networks with an implicit fixed-point equation, which allows to decouple the forward and backward passes. In particular, training DEQ layers becomes very memory-efficient via the implicit function theorem. However, backpropagation through DEQ layers still requires solving an expensive Jacobian-based equation. In this paper, we introduce a simple but effective strategy to avoid this computational burden. Our method relies on the Jacobian approximation of Broyden's method after the forward pass to compute the gradients during the backward pass. Experiments show that simply re-using this approximation can significantly speed up the training while not causing any performance degradation.

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

↑