Imperative Genetic Programming

被引:0
|
作者
Fajfar, Iztok [1 ]
Rojec, Ziga [1 ]
Burmen, Arpad [1 ]
Kunaver, Matevz [1 ]
Tuma, Tadej [1 ]
Tomazic, Saso [1 ]
Puhan, Janez [1 ]
机构
[1] Univ Ljubljana, Fac Elect Engn, Trzaska 25, Ljubljana 1000, Slovenia
来源
SYMMETRY-BASEL | 2024年 / 16卷 / 09期
关键词
evolutionary algorithms; tree genetic programming; linear genetic programming; imperative programming; OPTIMIZATION;
D O I
10.3390/sym16091146
中图分类号
O [数理科学和化学]; P [天文学、地球科学]; Q [生物科学]; N [自然科学总论];
学科分类号
07 ; 0710 ; 09 ;
摘要
Genetic programming (GP) has a long-standing tradition in the evolution of computer programs, predominantly utilizing tree and linear paradigms, each with distinct advantages and limitations. Despite the rapid growth of the GP field, there have been disproportionately few attempts to evolve 'real' Turing-like imperative programs (as contrasted with functional programming) from the ground up. Existing research focuses mainly on specific special cases where the structure of the solution is partly known. This paper explores the potential of integrating tree and linear GP paradigms to develop an encoding scheme that universally supports genetic operators without constraints and consistently generates syntactically correct Python programs from scratch. By blending the symmetrical structure of tree-based representations with the inherent asymmetry of linear sequences, we created a versatile environment for program evolution. Our approach was rigorously tested on 35 problems characterized by varying Halstead complexity metrics, to delineate the approach's boundaries. While expected brute-force program solutions were observed, our method yielded more sophisticated strategies, such as optimizing a program by restricting the division trials to the values up to the square root of the number when counting its proper divisors. Despite the recent groundbreaking advancements in large language models, we assert that the GP field warrants continued research. GP embodies a fundamentally different computational paradigm, crucial for advancing our understanding of natural evolutionary processes.
引用
收藏
页数:19
相关论文
共 50 条
  • [1] Imperative functional programming
    Reddy, US
    ACM COMPUTING SURVEYS, 1996, 28 (02) : 312 - 314
  • [2] Lazier Imperative Programming
    Douence, Remi
    Tabareau, Nicolas
    PPDP'14: PROCEEDINGS OF THE 16TH INTERNATIONAL SYMPOSIUM ON PRINCIPLES AND PRACTICE OF DECLARATIVE PROGRAMMING, 2014, : 7 - 18
  • [3] Blech, imperative synchronous programming!
    Gretz, Friedrich
    Grosch, Franz-Josef
    PROCEEDINGS OF THE 2018 FORUM ON SPECIFICATION & DESIGN LANGUAGES (FDL), 2018,
  • [4] Blech, Imperative Synchronous Programming!
    Gretz, Friedrich
    Grosch, Franz-Josef
    LANGUAGES, DESIGN METHODS, AND TOOLS FOR ELECTRONIC SYSTEM DESIGN, FDL 2018, 2020, 611 : 161 - 186
  • [5] BLENDING IMPERATIVE AND RELATIONAL PROGRAMMING
    BUDD, TA
    IEEE SOFTWARE, 1991, 8 (01) : 58 - 65
  • [6] Programmable Verifiers in Imperative Programming
    Chen, Yifeng
    UNIFYING THEORIES OF PROGRAMMING, 2010, 6445 : 172 - 187
  • [7] Imperative functional programming with Isabelle/HOL
    Bulwahn, Lukas
    Krauss, Alexander
    Haftmann, Horian
    Erkoek, Levent
    Matthews, John
    THEOREM PROVING IN HIGHER ORDER LOGICS, PROCEEDINGS, 2008, 5170 : 134 - +
  • [8] Turtle:: A constraint imperative programming language
    Grabmüller, M
    Hofstedt, P
    RESEARCH AND DEVELOPMENT IN INTELLIGENT SYSTEMS XX, 2004, : 185 - 198
  • [9] Linear Imperative Programming with Differential Evolution
    Fonlupt, Cyril
    Robilliard, Denis
    Marion-Poty, Virginie
    2011 IEEE SYMPOSIUM ON DIFFERENTIAL EVOLUTION (SDE), 2011, : 135 - 142
  • [10] Reactive Imperative Programming with Dataflow Constraints
    Demetrescu, Camil
    Finocchi, Irene
    Ribichini, Andrea
    ACM SIGPLAN NOTICES, 2011, 46 (10) : 407 - 426