NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Repeated patterns in genetic programming

William B. Langdon, Wolfgang BanzhafNat. Comput 2008

Abstract

Evolved genetic programming trees contain many repeated code fragments. Size fair crossover limits bloat in automatic programming, preventing the evolution of recurring motifs. We examine these complex properties in detail using depth vs. size Catalan binary tree shape plots, subgraph and subtree matching, information entropy, sensitivity analysis, syntactic and semantic fitness correlations. Programs evolve in a self-similar fashion, akin to fractal random trees, with diffuse introns. Data mining frequent patterns reveals that as software is progressively improved a large proportion of it is exactly repeated subtrees as well as exactly repeated subgraphs. We relate this emergent phenomenon to building blocks in GP and suggest GP works by jumbling subtrees which already have high fitness on the whole problem to give incremental improvements and create complete solutions with multiple identical components of different importance.
BibTeX
@inproceedings{langdon2008repeated,
  author = {William B. Langdon and Wolfgang Banzhaf},
  title = {{Repeated patterns in genetic programming}},
  booktitle = {Nat. Comput},
  year = {2008},
  url = {https://openreview.net/forum?id=5FIyjDjsZO},
}

Loading related content...

Figure