Input Normalized Stochastic Gradient Descent Training of Deep Neural Networks

Salih Atici, Hongyi Pan, Ahmet Enis Cetin
12/20/2022
cs.LGeess.SP

Official code: SalihFurkan/Normalized-SGD (0 stars, Python, last commit 2023-07-27).

Abstract

In this paper, we propose a novel optimization algorithm for training machine learning models called Input Normalized Stochastic Gradient Descent (INSGD), inspired by the Normalized Least Mean Squares (NLMS) algorithm used in adaptive filtering. When training complex models on large datasets, the choice of optimizer parameters, particularly the learning rate, is crucial to avoid divergence.

Show full abstract

Our algorithm updates the network weights using stochastic gradient descent with $\ell_1$ and $\ell_2$-based normalizations applied to the learning rate, similar to NLMS. However, unlike existing normalization methods, we exclude the error term from the normalization process and instead normalize the update term using the input vector to the neuron. Our experiments demonstrate that our optimization algorithm achieves higher accuracy levels compared to different initialization settings. We evaluate the efficiency of our training algorithm on benchmark datasets using ResNet-18, WResNet-20, ResNet-50, and a toy neural network. Our INSGD algorithm improves the accuracy of ResNet-18 on CIFAR-10 from 92.42\% to 92.71\%, WResNet-20 on CIFAR-100 from 76.20\% to 77.39\%, and ResNet-50 on ImageNet-1K from 75.52\% to 75.67\%.

View on arXivView PDF

Code Implementations(1)

00PythonDec 16, 20223 years ago

Similar Papers

Cite this paper

@article{atici2022input,
  title  = {Input Normalized Stochastic Gradient Descent Training of Deep Neural Networks},
  author = {Salih Atici and Hongyi Pan and Ahmet Enis Cetin},
  year   = {2022},
  eprint = {2212.09921},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2212.09921}
}

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

Discussion