학술

Does This Gradient Spark Joy?

arXiv CS.AI
CC BY
이 매체는 공공·자유 라이선스로 본문을 직접 표시합니다.

Abstract

Policy gradient computes a backward pass for every sample, although the backward pass is expensive and most samples carry little learning value.

The Delightful Policy Gradient (DG) scores learning value in the forward pass with \emph{delight}, the product of advantage and surprisal (negative log-probability).

We introduce the \emph{Kondo gate}, which compares delight against a compute price and pays for a backward pass only when the sample is worth it; sweeping the price traces a quality--cost trade-off.

On MNIST, keeping 3\% of gradient terms learns faster than standard policy gradient even when backward passes are free, and nearly matches full DG.

In bandits, zero-price gating preserves the expected gradient direction and removes its perpendicular noise, delight ranks samples more reliably than additive mixes of value and surprise, and a rare action with high reward variance marks where delight fails.

On transformer token reversal, the gate's advantage grows with sequence length and vocabulary size.

Because delight tolerates moderate noise, a cheap approximate forward pass could screen samples before expensive backpropagation, a training analogue of speculative decoding.

관련 뉴스