As I know, the current state of the art methods for training deep learning networks are variants of gradient descent or stochastic gradient descent.

What are the best known gradient-free training methods for deep learning (mostly in visual tasks context)?

  • $\begingroup$ Several algorithms are mentioned in this slide of class of M.Kochenderfer adl.stanford.edu/aa222/Lecture_Notes_files/… (p.s. The problem is more general then Deep Learning) $\endgroup$
    – bruziuz
    Jan 30 '18 at 13:53
  • $\begingroup$ Generally this days ML community use gradient based methods. Even if they don't fully understand "why they do it" but it's because methods are robust and fast as proved by math scientists. p.s. And non-convex optimization is hard and non well solved. There are a lot of approximate methods how to deal with it - welcome to math optimization. $\endgroup$
    – bruziuz
    Jan 30 '18 at 13:59

There are several different algorithms that can be used for gradient free neural network training. Some of these algorithms include particle swarm optimization, genetic algorithms, simulated annealing, and several others. Almost any optimization algorithm can be used to train a neural network. Here is an overview of some of the algorithms I listed:

  • Particle Swarm optimization - I would say that this is one of the better optimization algorithms to train neural networks other than back propagation. I am currently using it and have achieved quite good results.
  • Genetic Algorithms - I have tried to use genetic algorithms to train neural networks in the past and I was not able to get it to work. However, I was using deep neural networks with almost a million parameters and the performance was not that good.
  • Simulated annealing - simulated annealing is based off of metals cooling. I have seen simulated annealing work fairly well but maybe not as well as particle swarm optimization.
  • Derivatives of genetic algorithms - derivatives of genetic algorithms such as NEAT have been shown to work pretty well. I have not personally used them extensively but some of the things that people have used them for are pretty cool.
  • $\begingroup$ Do you have maybe some SW recommendations? (If this is beyond this question, please let me know) $\endgroup$
    – rkellerm
    Sep 24 '17 at 6:50
  • 1
    $\begingroup$ @rursw1 I am currently experimenting with my own custom GPU accelerated CUDA c/C# PSO implementation, but MATLAB would probably be good for this, and there is a library for NEAT. If you want to use my PSO implementation, just let me know. $\endgroup$ Sep 24 '17 at 18:41
  • $\begingroup$ This is very generous, thank you. I'll try to implement a PSO implementation on my own for now. Thanks! $\endgroup$
    – rkellerm
    Sep 25 '17 at 6:24
  • 1
    $\begingroup$ I don't think you need to distinguish between "genetic algorithms" and stuff like NEAT, which is not a "derivative" of a genetic algorithm, it's a GA! $\endgroup$
    – nbro
    Mar 9 '20 at 15:01

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.