arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2104.00219cs.LG
收藏

用于深度网络的快速雅可比向量积

Fast Jacobian-Vector Product for Deep Networks

Rice University(莱斯大学)

Randall Balestriero, Richard Baraniuk

摘要:

雅可比向量积(JVP)构成了深度网络(DN)中许多最新发展的支柱,其应用包括更快的约束优化,具有泛化保证的正则化以及对抗性示例敏感性评估。不幸的是,JVP对于真实世界的DN架构来说在计算上是昂贵的,并且需要使用自动微分来避免在改变DN架构时手动地适配JVP程序。我们提出了一种新的方法来快速计算任何DN的JVP,该DN采用连续分段仿射(例如,leaky-ReLU、max-pooling、maxout等)非线性我们表明,我们的技术是平均$2\times$速度比最快的替代$13$ DN架构和各种硬件。此外,我们的解决方案不需要自动微分,因此易于在软件中部署,只需要修改几行不依赖于DN架构的代码。

英文摘要:

Jacobian-vector products (JVPs) form the backbone of many recent developments in Deep Networks (DNs), with applications including faster constrained optimization, regularization with generalization guarantees, and adversarial example sensitivity assessments. Unfortunately, JVPs are computationally expensive for real world DN architectures and require the use of automatic differentiation to avoid manually adapting the JVP program when changing the DN architecture. We propose a novel method to quickly compute JVPs for any DN that employ Continuous Piecewise Affine (e.g., leaky-ReLU, max-pooling, maxout, etc.) nonlinearities. We show that our technique is on average $2\times$ faster than the fastest alternative over $13$ DN architectures and across various hardware. In addition, our solution does not require automatic differentiation and is thus easy to deploy in software, requiring only the modification of a few lines of codes that do not depend on the DN architecture.

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

↑