58 points · by GarethX · 11y ago · 32 comments
However the definition of Tournament Selection[1] is a little bit off. With tournament selection you don't take the fittest "k" individuals but you take a subset of "k" individuals at random and then apply proportionate selection.
1. Choose n individuals at random. 2. Return the individual with best fitness in that set.
i.e. no proportional selection within that set.
http://research.edm.uhasselt.be/jori/phd/phdthesis_jori_web....
Genetic algorithms belong to a family of metaheuristics, algorithms designed to tackle such ill-defined functions where gradient descent is simply impossible to use.
My concern with this webpage is that it is a far too simplistic treatment of genetic algorithms, to the point of being misleading, and has quite a number of outright errors. I wouldn't use it.
You can do random restarts, stochasticism, or population based stuff on gradient methods too.
Yes it does require at least an estimate of the gradient, but that's not too hard to get and it converges much faster. Meta-heuristics are only a last resort when you can't get a gradient.
Although they are a bit simpler so there is nothing wrong with using them if the search space isn't too big.
Well... just as evolutionary algorithms are essentially elaborate versions of hill-climbing which enable global search, likewise there are many well-established forms of gradient descent which are global searchers as well.
I think the key distinguishing feature is that gradient descent makes strong assumptions about the nature of the space being searched; and metaheuristics make much more general assumptions.
Wikipedia seems to confirm this: http://en.wikipedia.org/wiki/Gradient_descent#Limitations
To rephrase this, you might say that "for conventional, well-understood, combinatorial problems, a gradient descent technique may be the best approach."
It's worth noting that in the optimisation community (and often, in the wider Computer Science community) evolutionary algorithms are often looked down upon.
I think the main reason for this is the lack of a solid theoretical foundation. Whilst approaches such as schema theory have proposed some explanations for the way GAs solve problems, they remain somewhat "black-box" and gradient descent methods are much more easily understood.
I'm not an expert in GAs, but I am an expert in Genetic Programming. A simple local search approach to the kind of problems GP is regularly used to solve would be useless in most cases, due to the nature of the search space.
I would imagine the competitiveness of a GA very much depends on the interaction between decision variables in the genome.
As for the domain knowledge - this is not specific to gradient descent either, genetic algorithms and their problem encoding can be adapted to a domain to minimise the search space considered - therefore improving performance of the algorithm.