TinyProp -- Adaptive Sparse Backpropagation for Efficient TinyML On-device Learning

Marcus Rüb, Daniel Maier, Daniel Mueller-Gritschneder, Axel Sikora
8/17/2023
cs.LGcs.CV

No confident code implementation found for this paper.

Abstract

Training deep neural networks using backpropagation is very memory and computationally intensive. This makes it difficult to run on-device learning or fine-tune neural networks on tiny, embedded devices such as low-power micro-controller units (MCUs). Sparse backpropagation algorithms try to reduce the computational load of on-device learning by training only a subset of the weights and biases. Existing approaches use a static number of weights to train. A poor choice of this so-called backpropagation ratio limits either the computational gain or can lead to severe accuracy losses. In this paper we present TinyProp, the first sparse backpropagation method that dynamically adapts the back-propagation ratio during on-device training for each training step. TinyProp induces a small calculation overhead to sort the elements of the gradient, which does not significantly impact the computational gains. TinyProp works particularly well on fine-tuning trained networks on MCUs, which is a typical use case for embedded applications. For typical datasets from three datasets MNIST, DCASE2020 and CIFAR10, we are 5 times faster compared to non-sparse training with an accuracy loss of on average 1%. On average, TinyProp is 2.9 times faster than existing, static sparse backpropagation algorithms and the accuracy loss is reduced on average by 6 % compared to a typical static setting of the back-propagation ratio.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{rb2023tinyprop,
  title  = {TinyProp -- Adaptive Sparse Backpropagation for Efficient TinyML On-device Learning},
  author = {Marcus Rüb and Daniel Maier and Daniel Mueller-Gritschneder and Axel Sikora},
  year   = {2023},
  eprint = {2308.09201},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2308.09201v1}
}

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/2308.09201.svg)](https://codeofpaper.com/paper/2308.09201)

Discussion