paper-with-me

Papers

Nesting Forward Automatic Differentiation for Memory-Efficient Deep Neural Network Training

2022-09-22 · Cong Guo, Yuxian Qiu, Jingwen Leng, Chen Zhang, Ying Cao, Quanlu Zhang, Yunxin Liu, Fan Yang, Minyi Guo

An activation function is an element-wise mathematical function and plays a crucial role in deep neural networks (DNN). Many novel and sophisticated activation functions have been proposed to improve the DNN accuracy but also consume massive memory in the training process with back-propagation. In this study, we propose the nested forward automatic differentiation (Forward-AD), specifically for the element-wise activation function for memory-efficient DNN training. We deploy nested Forward-AD in two widely-used deep learning frameworks, TensorFlow and PyTorch, which support the static and dynamic computation graph, respectively. Our evaluation shows that nested Forward-AD reduces the memory footprint by up to 1.97x than the baseline model and outperforms the recomputation by 20% under the same memory reduction ratio.

📄 PDF Abstract BibTeX arXiv:2209.10778

Code (0)

등록된 구현이 없습니다.

Similar Papers 제목 키워드 기반

Learning in Integer Latent Variable Models with Nested Automatic Differentiation

2018-06-08 · ICML 2018 7 · Daniel Sheldon, Kevin Winner, Debora Sujono

We develop nested automatic differentiation (AD) algorithms for exact inference and learning in integer latent variable models. Recently, Winner, Sujono, and Sheldon showed how to reduce marginalization in a class of int…

DrMAD: Distilling Reverse-Mode Automatic Differentiation for Optimizing Hyperparameters of Deep Neural Networks

2016-01-05 · Jie Fu, Hongyin Luo, Jiashi Feng, Kian Hsiang Low 외

The performance of deep neural networks is well-known to be sensitive to the setting of their hyperparameters. Recent advances in reverse-mode automatic differentiation allow for optimizing hyperparameters with gradients…

Randomized Automatic Differentiation

2020-07-20 · ICLR 2021 1 · Deniz Oktay, Nick McGreivy, Joshua Aduol, Alex Beatson 외

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 objectiv…

Stochastic OptimizationVariational Inference

Archimedean Copula Inference via Taylor-Mode AD

2026-05-22 · Cambridge Yang, Dongdong Li arxiv

No existing nested Archimedean copula tool handles all three of (a) arbitrary per-variable (right-)censoring in survival analysis, (b) arbitrary nesting trees, and (c) exact parameter gradients. Existing implementations …

Fixed-Point Automatic Differentiation of Forward--Backward Splitting Algorithms for Partly Smooth Functions

2022-08-05 · Sheheryar Mehmood, Peter Ochs

A large class of non-smooth practical optimization problems can be written as minimization of a sum of smooth and partly smooth functions. We examine such structured problems which also depend on a parameter vector and s…

DenoisingImage Denoising