Modularity Metrics for Genetic Programming

被引:2
作者
Saini, Anil Kumar [1 ]
Spector, Lee [2 ]
机构
[1] Univ Massachusetts, Amherst, MA 01003 USA
[2] Hampshire Coll, Amherst, MA 01002 USA
来源
PROCEEDINGS OF THE 2019 GENETIC AND EVOLUTIONARY COMPUTATION CONFERENCE COMPANION (GECCCO'19 COMPANION) | 2019年
关键词
Genetic Programming; PushGP; Modularity; Reuse; Repetition;
D O I
10.1145/3319619.3326908
中图分类号
O1 [数学];
学科分类号
0701 ; 070101 ;
摘要
With improvements in selection methods and genetic operators, Genetic Programming (GP) has been able to solve many software synthesis problems. However, so far, the primary focus of GP has been on improving success rates (fraction of the runs that succeeds in finding a solution). Less attention has been paid to other important characteristics and quality measures of human-written programs. One such quality measure is modularity. Since the introduction of Automatically Defined Functions (ADFs) by John Koza, most of efforts involving modularity in GP have been directed towards pre-programming modularity into the GP system, rather than measuring it for evolved programs. Modularity has played a central role in evolutionary biology. To study its effects on the evolution of software, however, we need a quantitative formulation of modularity. In this paper, we present two platform-independent modularity metrics, namely, reuse and repetition, that make use of the information contained in the execution traces of the programs. We describe the process of calculating these metrics for any evolved program, using problems that have been solved with the PushGP system as examples. We also discuss some mechanisms for integrating these metrics into the evolution framework itself.
引用
收藏
页码:2056 / 2059
页数:4
相关论文
共 15 条
[1]   The evolutionary origins of modularity [J].
Clune, Jeff ;
Mouret, Jean-Baptiste ;
Lipson, Hod .
PROCEEDINGS OF THE ROYAL SOCIETY B-BIOLOGICAL SCIENCES, 2013, 280 (1755)
[2]   Specialization Can Drive the Evolution of Modularity [J].
Espinosa-Soto, Carlos ;
Wagner, Andreas .
PLOS COMPUTATIONAL BIOLOGY, 2010, 6 (03)
[3]  
Gerules G, 2016, IEEE C EVOL COMPUTAT, P5034, DOI 10.1109/CEC.2016.7748328
[4]   General Program Synthesis Benchmark Suite [J].
Helmuth, Thomas ;
Spector, Lee .
GECCO'15: PROCEEDINGS OF THE 2015 GENETIC AND EVOLUTIONARY COMPUTATION CONFERENCE, 2015, :1039-1046
[5]   Modularity, reuse, and hierarchy: Measuring complexity by measuring structure and organization [J].
Hornby, Gregory S. .
COMPLEXITY, 2007, 13 (02) :50-61
[6]   Spontaneous evolution of modularity and network motifs [J].
Kashtan, N ;
Alon, U .
PROCEEDINGS OF THE NATIONAL ACADEMY OF SCIENCES OF THE UNITED STATES OF AMERICA, 2005, 102 (39) :13773-13778
[7]  
KOZA JR, 1994, STAT COMPUT, V4, P87, DOI 10.1007/BF00175355
[8]  
Krawiec K., 2009, P 11 ANN C GENETIC E, P995
[9]   Modularity and community structure in networks [J].
Newman, M. E. J. .
PROCEEDINGS OF THE NATIONAL ACADEMY OF SCIENCES OF THE UNITED STATES OF AMERICA, 2006, 103 (23) :8577-8582
[10]   Finding and evaluating community structure in networks [J].
Newman, MEJ ;
Girvan, M .
PHYSICAL REVIEW E, 2004, 69 (02) :026113-1