signADAM: Learning Confidences for Deep Neural Networks

Dong Wang, Yicheng Liu, Wenwo Tang, Fanhua Shang, Hongying Liu +2 more
7/21/2019
cs.CVcs.LGmath.OC

Official code: DongWanginxdu/signADAM-Learn-by-Confidence (5 stars, Python, GPL-3.0, last commit 2022-08-14).

Abstract

In this paper, we propose a new first-order gradient-based algorithm to train deep neural networks. We first introduce the sign operation of stochastic gradients (as in sign-based methods, e.g., SIGN-SGD) into ADAM, which is called as signADAM.

Show full abstract

Moreover, in order to make the rate of fitting each feature closer, we define a confidence function to distinguish different components of gradients and apply it to our algorithm. It can generate more sparse gradients than existing algorithms do. We call this new algorithm signADAM++. In particular, both our algorithms are easy to implement and can speed up training of various deep neural networks. The motivation of signADAM++ is preferably learning features from the most different samples by updating large and useful gradients regardless of useless information in stochastic gradients. We also establish theoretical convergence guarantees for our algorithms. Empirical results on various datasets and models show that our algorithms yield much better performance than many state-of-the-art algorithms including SIGN-SGD, SIGNUM and ADAM. We also analyze the performance from multiple perspectives including the loss landscape and develop an adaptive method to further improve generalization. The source code is available at https://github.com/DongWanginxdu/signADAM-Learn-by-Confidence.

View on arXivView PDF

Code Implementations(1)

GPL-3.0

The code for signADAM++: Learn by Confidence

53Python, ShellJun 30, 20194 years agoGPL-3.0

Similar Papers

Cite this paper

@article{wang2019signadam,
  title  = {signADAM: Learning Confidences for Deep Neural Networks},
  author = {Dong Wang and Yicheng Liu and Wenwo Tang and Fanhua Shang and Hongying Liu and Qigong Sun and Licheng Jiao},
  year   = {2019},
  eprint = {1907.09008},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1907.09008}
}

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

Discussion