Randomized Automatic Differentiation
Not on the map. Why?
Abstract (arXiv)
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.
Key facts. Cited by 23 papers in the map (data through 7 Oct 2026). First posted on arXiv 20 Jul 2020.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2021: 6; 2022: 3; 2023: 6; 2024: 2; 2025: 2; 2026: 4.
23 papers.
Sort:
- 2023Fine-Tuning Language Models with Just Forward Passescited by 337
- 2024Flora: Low-Rank Adapters Are Secretly Gradient Compressorscited by 103
- 2021Rectangular Flows for Manifold Learningcited by 49
- 2023Dataset Distillation with Convexified Implicit Gradientscited by 46
- 2021No frame left behind: Full Video Action Recognitioncited by 24
- 2023Hutchinson Trace Estimation for High-Dimensional and High-Order Physics-Informed Neural Networkscited by 23
- 2021L2ight: Enabling On-Chip Learning for Optical Neural Networks via Efficient in-situ Subspace Optimizationcited by 21
- 2021Bias-Free Scalable Gaussian Processes via Randomized Truncationscited by 15
- 2023Winner-Take-All Column Row Sampling for Memory Efficient Adaptation of Language Modelcited by 9
- 2023How to guess a gradientcited by 7
- 2022Memory-Efficient Backpropagation through Large Linear Layerscited by 4
- 2021Scaling Structured Inference with Randomizationcited by 2
11 more
- 2024Lowering PyTorch's Memory Consumption for Selective Differentiationcited by 2
- 2022Data-Driven Influence Functions for Optimization-Based Causal Inferencecited by 1
- 2023Auto-Differentiation of Relational Computations for Very Large Scale Machine Learningcited by 1
- 2025On the Duality between Gradient Transformations and Adapterscited by 1
- 2026Learning to Optimize by Differentiable Programmingcited by 1
- 2021XConv: Low-memory stochastic backpropagation for convolutional layerscited by 0
- 2022Stochastic gradient descent with gradient estimator for categorical featurescited by 0
- 2025BurTorch: Revisiting Training from First Principles by Coupling Autodiff, Math Optimization, and Systemscited by 0
- 2026Stochastic Dimension Zeroth-Order Estimator: Stable and Memory-Efficient Training of PINNscited by 0
- 2026BASIS: Balanced Activation Sketching with Invariant Scalars for "Ghost Backpropagation"cited by 0
- 2026Unbiased and Second-Order-Free Training for High-Dimensional PDEscited by 0
- 2026Unbiased and Second-Order-Free Training for High-Dimensional PDEs14 May 2026
- 2026Stochastic Dimension Zeroth-Order Estimator: Stable and Memory-Efficient Training of PINNs25 Mar 2026
- 2026BASIS: Balanced Activation Sketching with Invariant Scalars for "Ghost Backpropagation"5 Mar 2026
- 2026Learning to Optimize by Differentiable Programming23 Jan 2026
- 2025BurTorch: Revisiting Training from First Principles by Coupling Autodiff, Math Optimization, and Systems18 Mar 2025
- 2025On the Duality between Gradient Transformations and Adapters19 Feb 2025
- 2024Lowering PyTorch's Memory Consumption for Selective Differentiation15 Apr 2024
- 2024Flora: Low-Rank Adapters Are Secretly Gradient Compressors5 Feb 2024
- 2023Hutchinson Trace Estimation for High-Dimensional and High-Order Physics-Informed Neural Networks22 Dec 2023
- 2023How to guess a gradient7 Dec 2023
- 2023Auto-Differentiation of Relational Computations for Very Large Scale Machine Learning31 May 2023
- 2023Fine-Tuning Language Models with Just Forward Passes27 May 2023
11 more
- 2023Winner-Take-All Column Row Sampling for Memory Efficient Adaptation of Language Model24 May 2023
- 2023Dataset Distillation with Convexified Implicit Gradients13 Feb 2023
- 2022Stochastic gradient descent with gradient estimator for categorical features8 Sep 2022
- 2022Data-Driven Influence Functions for Optimization-Based Causal Inference29 Aug 2022
- 2022Memory-Efficient Backpropagation through Large Linear Layers31 Jan 2022
- 2021Scaling Structured Inference with Randomization7 Dec 2021
- 2021L2ight: Enabling On-Chip Learning for Optical Neural Networks via Efficient in-situ Subspace Optimization27 Oct 2021
- 2021XConv: Low-memory stochastic backpropagation for convolutional layers13 Jun 2021
- 2021Rectangular Flows for Manifold Learning2 Jun 2021
- 2021No frame left behind: Full Video Action Recognition29 Mar 2021
- 2021Bias-Free Scalable Gaussian Processes via Randomized Truncations12 Feb 2021
- 2023Fine-Tuning Language Models with Just Forward Passescited by 337
- 2024Flora: Low-Rank Adapters Are Secretly Gradient Compressorscited by 103
- 2021Rectangular Flows for Manifold Learningcited by 49
- 2023Dataset Distillation with Convexified Implicit Gradientscited by 46
- 2021No frame left behind: Full Video Action Recognitioncited by 24
- 2023Hutchinson Trace Estimation for High-Dimensional and High-Order Physics-Informed Neural Networkscited by 23
- 2021L2ight: Enabling On-Chip Learning for Optical Neural Networks via Efficient in-situ Subspace Optimizationcited by 21
- 2021Bias-Free Scalable Gaussian Processes via Randomized Truncationscited by 15
- 2023Winner-Take-All Column Row Sampling for Memory Efficient Adaptation of Language Modelcited by 9
- 2023How to guess a gradientcited by 7
- 2022Memory-Efficient Backpropagation through Large Linear Layerscited by 4
- 2021Scaling Structured Inference with Randomizationcited by 2
12 most cited of 23 All 23 (JSON)
- 2026Unbiased and Second-Order-Free Training for High-Dimensional PDEs14 May 2026
- 2026Stochastic Dimension Zeroth-Order Estimator: Stable and Memory-Efficient Training of PINNs25 Mar 2026
- 2026BASIS: Balanced Activation Sketching with Invariant Scalars for "Ghost Backpropagation"5 Mar 2026
- 2026Learning to Optimize by Differentiable Programming23 Jan 2026
- 2025BurTorch: Revisiting Training from First Principles by Coupling Autodiff, Math Optimization, and Systems18 Mar 2025
- 2025On the Duality between Gradient Transformations and Adapters19 Feb 2025
- 2024Lowering PyTorch's Memory Consumption for Selective Differentiation15 Apr 2024
- 2024Flora: Low-Rank Adapters Are Secretly Gradient Compressors5 Feb 2024
- 2023Hutchinson Trace Estimation for High-Dimensional and High-Order Physics-Informed Neural Networks22 Dec 2023
- 2023How to guess a gradient7 Dec 2023
- 2023Auto-Differentiation of Relational Computations for Very Large Scale Machine Learning31 May 2023
- 2023Fine-Tuning Language Models with Just Forward Passes27 May 2023
12 newest of 23 All 23 (JSON)