Training neural networks without backpropagation using particles

Deepak Kumar
12/7/2024
cs.NEcs.AI

Official code: dipkmr/train-nn-wobp (1 star, MIT, last commit 2024-12-12).

Abstract

Neural networks are a group of neurons stacked together in multiple layers to mimic the biological neurons in a human brain. Neural networks have been trained using the backpropagation algorithm based on gradient descent strategy for several decades. Several variants have been developed to improve the backpropagation algorithm. The loss function for the neural network is optimized through backpropagation, but several local minima exist in the manifold of the constructed neural network. We obtain several solutions matching the minima. The gradient descent strategy cannot avoid the problem of local minima and gets stuck in the minima due to the initialization. Particle swarm optimization (PSO) was proposed to select the best local minima among the search space of the loss function. The search space is limited to the instantiated particles in the PSO algorithm, and sometimes it cannot select the best solution. In the proposed approach, we overcome the problem of gradient descent and the limitation of the PSO algorithm by training individual neurons separately, capable of collectively solving the problem as a group of neurons forming a network. Our code and data are available at https://github.com/dipkmr/train-nn-wobp/

View on arXivView PDF

Code Implementations(1)

MIT

Training neural networks without backpropagation using particles

11MATLAB, PythonDec 12, 20241 years agoMIT

Similar Papers

Cite this paper

@article{kumar2024training,
  title  = {Training neural networks without backpropagation using particles},
  author = {Deepak Kumar},
  year   = {2024},
  eprint = {2412.05667},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2412.05667v3}
}

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

Discussion