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

如何猜测梯度

How to guess a gradient

UC Berkeley(加州大学伯克利分校);MIT(麻省理工学院);University of Michigan(密歇根大学)

Utkarsh Singhal, Brian Cheung, Kartik Chandra, Jonathan Ragan-Kelley, Joshua B. Tenenbaum, Tomaso A. Poggio, Stella X. Yu

AI总结:

本文发现神经网络梯度处于依赖架构与输入特征的可预测低维子空间,并利用该结构改进基于方向导数的无梯度优化,缩小其与精确梯度优化的性能差距。

摘要:

在不计算损失或不知道标签的情况下,你能对神经网络的梯度说出多少信息?这听起来可能是个奇怪的问题:答案无疑是“极少”。然而,本文表明,梯度比此前认为的更具结构。梯度位于一个可预测的低维子空间中,该子空间取决于网络架构和输入特征。利用这种结构可以显著改进基于方向导数的无梯度优化方案;此前这类方案一直难以扩展到在玩具数据集上训练的小型网络之外。我们研究如何缩小计算精确梯度的方法与使用方向导数的方法之间的优化性能差距。此外,我们强调了在克服使用精确梯度进行优化与猜测梯度之间的巨大差距时面临的新挑战。

英文摘要:

How much can you say about the gradient of a neural network without computing a loss or knowing the label? This may sound like a strange question: surely the answer is "very little." However, in this paper, we show that gradients are more structured than previously thought. Gradients lie in a predictable low-dimensional subspace which depends on the network architecture and incoming features. Exploiting this structure can significantly improve gradient-free optimization schemes based on directional derivatives, which have struggled to scale beyond small networks trained on toy datasets. We study how to narrow the gap in optimization performance between methods that calculate exact gradients and those that use directional derivatives. Furthermore, we highlight new challenges in overcoming the large gap between optimizing with exact gradients and guessing the gradients.

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

↑