paper-with-me

Papers

Randomized Automatic Differentiation

2020-07-20 · ICLR 2021 1 · Deniz Oktay, Nick McGreivy, Joshua Aduol, Alex Beatson, Ryan P. Adams

The successes of deep learning, variational inference, and many other fields have been aided by specialized implementations of reverse-mode automatic differentiation (AD) to compute gradients of mega-dimensional objectives. The AD techniques underlying these tools were designed to compute exact gradients to numerical precision, but modern machine learning models are almost always trained with stochastic gradient descent. Why spend computation and memory on exact (minibatch) gradients only to use them for stochastic optimization? We develop a general framework and approach for randomized automatic differentiation (RAD), which can allow unbiased gradient estimates to be computed with reduced memory in return for variance. We examine limitations of the general approach, and argue that we must leverage problem specific structure to realize benefits. We develop RAD techniques for a variety of simple neural network architectures, and show that for a fixed memory budget, RAD converges in fewer iterations than using a small batch size for feedforward networks, and in a similar number for recurrent networks. We also show that RAD can be applied to scientific computing, and use it to develop a low-memory stochastic gradient method for optimizing the control parameters of a linear reaction-diffusion PDE representing a fission reactor.

📄 PDF Abstract BibTeX arXiv:2007.10412

Code (1)

PrincetonLIPS/RandomizedAutomaticDifferentiation 공식 구현 pytorch

Tasks

Stochastic OptimizationVariational Inference

Similar Papers 제목 키워드 기반

Randomized Forward Mode of Automatic Differentiation For Optimization Algorithms

2023-10-22 · Khemraj Shukla, Yeonjong Shin

We present a randomized forward mode gradient (RFG) as an alternative to backpropagation. RFG is a random estimator for the gradient that is constructed based on the directional derivative along a random vector. The forw…

Collapsing Taylor Mode Automatic Differentiation

2025-05-19 · Felix Dangel, Tim Siebert, Marius Zeinhofer, Andrea Walther

Computing partial differential equation (PDE) operators via nested backpropagation is expensive, yet popular, and severely restricts their utility for scientific machine learning. Recent advances, like the forward Laplac…

Differentiation Strategies for Acoustic Inverse Problems: Admittance Estimation and Shape Optimization

2025-11-14 · Nikolas Borrel-Jensen, Josiah Bjorgaard arxiv

We demonstrate a practical differentiable programming approach for acoustic inverse problems through two applications: admittance estimation and shape optimization for resonance damping. First, we show that JAX-FEM's aut…

Differentiable Quantum Programming with Unbounded Loops

2022-11-08 · Wang Fang, Mingsheng Ying, Xiaodi Wu

The emergence of variational quantum applications has led to the development of automatic differentiation techniques in quantum computing. Recently, Zhu et al. (PLDI 2020) have formulated differentiable quantum programmi…

Probabilistic Programming

Randomized Subspace Nesterov Accelerated Gradient

2026-05-01 · Gaku Omiya, Pierre-Louis Poirion, Akiko Takeda arxiv

Randomized-subspace methods reduce the cost of first-order optimization by using only low-dimensional projected-gradient information, a feature that is attractive in forward-mode automatic differentiation and communicati…