Genetic programming

This is an old revision of this page, as edited by Artur adib (talk | contribs) at 08:46, 28 November 2004 (removed and rearranged parts of the first two paragraphs; added new wiki links). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

Genetic programming (GP) is an automated methodology inspired by biological evolution to find computer programs that best perform a user-defined task. It is a particular instance of evolutionary algorithms, in which the population is composed of computer programs and the fitness landscape is determined by the ability of a program to perform a given computational task. It was pioneered by Nichael Lynn Cramer in 1985 and first explored in depth by John Koza in his 1992 book Genetic Programming: On the Programming of Computers by Means of Natural Selection.

In the early implementations of GP, the use of declarative languages such as Lisp led naturally to a tree-structure representation of computer programs, and this is still the predominant form of GP. Nonetheless, other forms of GP such as the simpler linear representation which suits the more traditional imperative languages have been suggested and succesfully implemented [see, for example, Banzhaf et al. (1997)]. Linear genetic programming is in fact the basis of the only commercial GP software available, Discipulus.

The application of a tree representation (and required genetic operators) for using genetic algorithms to generate programs was first described in 1985 by Cramer. Koza, though he did not first explore genetic programming, is indisputably the field's most prolific and persuasive author. Koza and other early GP researchers used the artificial inteligence language Lisp to program their GPs.

GPs is very computationally intensive and so in the 1990s it was mainly used to solve relatively simple problems. However, more recently, thanks to various improvements in GP technology and to the well known exponential growth in CPU power, GP has started delivering a number of outstanding results. At the time of writing over 40 human-competitive results have been gathered, in areas such as quantum computing, electronic design, game playing, sorting, searching and many more. These results include the replication or infringement of several post-year-2000 inventions, and the production of two patentable new inventions.

Developing a theory for GP has been very difficult and so in the 1990s genetic programming was considered a sort of pariah amongst the various techniques of search. However, after a series of breakthroughs in the early 2000s, the theory of GP has had a formidable and rapid development. So much so that it has been possible to build exact probabilistic models of GP (schema theories and Markov chain models) and to show that GP is more general than, and in fact includes, genetic algorithms.

Genetic Programming techniques have now been applied to evolvable hardware as well as computer programs.

Bibliography

  • Banzhaf, W., Nording, P., Keller, R.E., Francone, F.D. (1997), Genetic Programming: An Introduction: On the Automatic Evolution of Computer Programs and Its Applications, Morgan Kaufmann
  • Cramer, Nichael Lynn (1985), "A representation for the Adaptive Generation of Simple Sequential Programs" in Proceedings of an International Conference on Genetic Algorithms and the Applications, Grefenstette, John J. (ed.), CMU
  • Koza, J.R. (1992), Genetic Programming: On the Programming of Computers by Means of Natural Selection, MIT Press
  • Koza, J.R. (1994), Genetic Programming II: Automatic Discovery of Reusable Programs, MIT Press
  • Koza, J.R., Bennett, F.H., Andre, D., and Keane, M.A. (1999), Genetic Programming III: Darwinian Invention and Problem Solving, Morgan Kaufmann