AdaSwarm: Augmenting Gradient-Based optimizers in Deep Learning with Swarm Intelligence

Rohan Mohapatra, Snehanshu Saha, Carlos A. Coello Coello, Anwesh Bhattacharya, Soma S. Dhavala +1 more
5/19/2020
25 citations
cs.NEcs.LGstat.ML

Official code: anuwu/PSO-Stuff (3 stars, Jupyter Notebook, last commit 2023-03-08).

Abstract

This paper introduces AdaSwarm, a novel gradient-free optimizer which has similar or even better performance than the Adam optimizer adopted in neural networks. In order to support our proposed AdaSwarm, a novel Exponentially weighted Momentum Particle Swarm Optimizer (EMPSO), is proposed.

Show full abstract

The ability of AdaSwarm to tackle optimization problems is attributed to its capability to perform good gradient approximations. We show that, the gradient of any function, differentiable or not, can be approximated by using the parameters of EMPSO. This is a novel technique to simulate GD which lies at the boundary between numerical methods and swarm intelligence. Mathematical proofs of the gradient approximation produced are also provided. AdaSwarm competes closely with several state-of-the-art (SOTA) optimizers. We also show that AdaSwarm is able to handle a variety of loss functions during backpropagation, including the maximum absolute error (MAE).

View on arXivView PDF

Code Implementations(1)

anuwu/PSO-StuffOfficial100%

Various PSO implementations. Check https://arxiv.org/abs/2006.09875

32Jupyter Notebook, PythonJun 3, 20203 years ago
chaosclassificationlogisticlorenzneural-networks+1 more

Similar Papers

Cite this paper

@article{mohapatra2020adaswarm,
  title  = {AdaSwarm: Augmenting Gradient-Based optimizers in Deep Learning with Swarm Intelligence},
  author = {Rohan Mohapatra and Snehanshu Saha and Carlos A. Coello Coello and Anwesh Bhattacharya and Soma S. Dhavala and Sriparna Saha},
  year   = {2020},
  eprint = {2006.09875},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2006.09875}
}

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

Discussion