Saved in:
Bibliographic Details
Main Authors: Shah, Vivswan, Youngblood, Nathan
Format: Preprint
Published: 2024
Subjects:
Online Access:https://arxiv.org/abs/2402.02593
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866912242905120768
author Shah, Vivswan
Youngblood, Nathan
author_facet Shah, Vivswan
Youngblood, Nathan
contents 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}.}
format Preprint
id arxiv_https___arxiv_org_abs_2402_02593
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Leveraging Continuously Differentiable Activation Functions for Learning in Quantized Noisy Environments
Shah, Vivswan
Youngblood, Nathan
Machine Learning
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}.}
title Leveraging Continuously Differentiable Activation Functions for Learning in Quantized Noisy Environments
topic Machine Learning
url https://arxiv.org/abs/2402.02593