Leveraging Continuously Differentiable Activation Functions for Learning in Quantized Noisy Environments

Vivswan Shah, Nathan Youngblood
2/4/2024
cs.LG

Official code: Vivswan/GeLUReLUInterpolation (0 stars, MIT, last commit 2024-12-09).

Abstract

Real-world analog systems intrinsically suffer from noise that can impede model convergence and accuracy on a variety of deep learning models. We demonstrate that differentiable activations like GELU and SiLU enable robust propagation of gradients which help to mitigate analog quantization error that is ubiquitous to all analog systems. We perform analysis and training of convolutional, linear, and transformer networks in the presence of quantized noise. Here, we are able to demonstrate that continuously differentiable activation functions are significantly more noise resilient over conventional rectified activations. As in the case of ReLU, the error in gradients are 100x higher than those in GELU near zero. Our findings provide guidance for selecting appropriate activations to realize performant and reliable hardware implementations across several machine learning domains such as computer vision, signal processing, and beyond. Code available at: \href{https://github.com/Vivswan/GeLUReLUInterpolation}{https://github.com/Vivswan/GeLUReLUInterpolation}.}

View on arXivView PDF

Code Implementations(1)

MIT

Leveraging Continuously Differentiable Activation for Learning in Analog and Quantized Noisy Environments

00PythonNov 30, 20231 years agoMIT

Similar Papers

Cite this paper

@article{shah2024leveraging,
  title  = {Leveraging Continuously Differentiable Activation Functions for Learning in Quantized Noisy Environments},
  author = {Vivswan Shah and Nathan Youngblood},
  year   = {2024},
  eprint = {2402.02593},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2402.02593v3}
}

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

Discussion