Speeding-Up Back-Propagation in DNN: Approximate Outer Product with Memory

Eduin E. Hernandez, Stefano Rini, Tolga M. Duman
10/18/2021
cs.LG

Official code: HernandezEduin/Mem-AOP-GD (2 stars, Python, PyTorch, last commit 2023-08-08).

Abstract

In this paper, an algorithm for approximate evaluation of back-propagation in DNN training is considered, which we term Approximate Outer Product Gradient Descent with Memory (Mem-AOP-GD). The Mem-AOP-GD algorithm implements an approximation of the stochastic gradient descent by considering only a subset of the outer products involved in the matrix multiplications that encompass backpropagation.

Show full abstract

In order to correct for the inherent bias in this approximation, the algorithm retains in memory an accumulation of the outer products that are not used in the approximation. We investigate the performance of the proposed algorithm in terms of DNN training loss under two design parameters: (i) the number of outer products used for the approximation, and (ii) the policy used to select such outer products. We experimentally show that significant improvements in computational complexity as well as accuracy can indeed be obtained through Mem-AOPGD.

View on arXivView PDF

Code Implementations(1)

PyTorch

Code for the numerical experiment of the paper Speeding-Up Back-Propagation in DNN: Approximate Outer Product with Memory.

20PythonOct 6, 20213 years ago
pytorch

Similar Papers

Cite this paper

@article{hernandez2021speedingup,
  title  = {Speeding-Up Back-Propagation in DNN: Approximate Outer Product with Memory},
  author = {Eduin E. Hernandez and Stefano Rini and Tolga M. Duman},
  year   = {2021},
  eprint = {2110.09164},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2110.09164}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2110.09164.svg)](https://codeofpaper.com/paper/2110.09164)

Discussion