about
How to Guess a Gradient (arxiv.org)
2 points by tbruckner 298 days ago | hide | past | pdf | discuss on HN

In plain words: Gradients mostly point within a small, predictable set of directions set by the network's shape and its inputs, so they can be guessed without a loss or label. This guess speeds up gradient-free training that probes directions, but still trails exact gradients.

Abstract · How to guess a gradient

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.

Utkarsh Singhal, Brian Cheung, Kartik Chandra, Jonathan Ragan-Kelley, Joshua B. Tenenbaum, Tomaso A. Poggio, Stella X. Yu
arXiv:2312.04709 · cs.LG, cs.NE · submitted Dec 7, 2023
abstract · pdf · html

add comment on HN
Also discussed: Jan 2024 (1 point, 0 comments)