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

Multi-Representation Genetic Programming: A Case Study on Tree-based and Linear Representations

Zhixing Huang, Yi Mei, Fangfang Zhang, Mengjie Zhang, Wolfgang Banzhaf

TL;DR

This paper introduces a novel "Multi-Representation Genetic Programming" (MRGP) framework that simultaneously evolves programs using both tree-based and linear representations. By developing a new "cross-representation crossover operator," they enable these diverse representations to share knowledge, leading to improved performance in symbolic regression and dynamic job shop scheduling tasks compared to traditional single-representation GP methods.

What Problem Does This Paper Address?

Genetic Programming (GP) is a powerful technique for evolving computer programs, but its effectiveness often hinges on choosing the right program representation (e.g., tree-based or linear). Each representation has its strengths and weaknesses, and the "fitness landscape" – the landscape of solution quality – can vary dramatically depending on the representation. This makes it challenging for users to pick the optimal representation for a given problem, especially in new or complex domains. The authors identify a gap in existing research: the lack of exploration into how different GP representations can cooperate to improve search performance. They propose that by allowing multiple representations to evolve simultaneously and share information, GP can leverage the diverse search spaces and potentially find better solutions than any single representation could alone.

Methods

The core of this work is the Multi-Representation Genetic Programming (MRGP) framework. MRGP evolves multiple sub-populations, each dedicated to a distinct GP representation, all working on the same problem. The key innovation is the cross-representation adjacency list-based crossover (CALX) operator.

Here's how it works:

  • Simultaneous Evolution: MRGP maintains separate populations for tree-based GP (TGP) and linear GP (LGP). These populations evolve concurrently.
  • Adjacency Lists as Intermediaries: To facilitate knowledge transfer, both tree structures and linear instruction sequences are converted into a common, high-level representation: adjacency lists. These lists capture the relationships between program components (primitives).
  • CALX Operator: This operator allows for the exchange of "building blocks" between the TGP and LGP sub-populations. It selects a portion of one representation (e.g., a sub-tree or an instruction segment), converts it to an adjacency list, and then uses this list to construct a new component in the other representation's individual. This process is designed to create valid offspring while transferring useful genetic material.
  • Elitism and Tournament Selection: Standard evolutionary computation techniques like elitism (preserving the best individuals) and tournament selection (for parent selection) are used within each sub-population.

Datasets

The authors evaluated their MRGP-TL (Multi-Representation Genetic Programming with Tree-based and Linear representations) on two main application domains:

  • Symbolic Regression:
    • Synthetic Benchmarks: Nguyen4, Keijzer11, R1.
  • Real-world Benchmarks: Airfoil, BHouse, Tower, Concrete, Redwine.
  • Dynamic Job Shop Scheduling (DJSS):
    • The paper describes a simulated DJSS environment with specific parameters for job arrivals, machine operations, and performance objectives. They tested on twelve scenarios defined by different optimization objectives (e.g., maximum tardiness, mean flowtime) and machine utilization levels (0.85 and 0.95).

Key Insights and Ideas

  • Synergy of Representations: The most significant insight is that combining different GP representations isn't just additive; it creates a synergistic effect. By allowing representations to "talk" to each other, the overall search becomes more effective.
  • Bridging the Gap: The adjacency list acts as a crucial intermediary, translating the structural information from one representation into a format usable by another. This overcomes the inherent differences between tree and linear structures.
  • Fitness Landscape Exploration: Different representations explore different "fitness landscapes." MRGP allows the algorithm to sample from multiple landscapes simultaneously, reducing the risk of getting stuck in local optima specific to a single representation.
  • Reduced Dependency on Domain Knowledge: The success of MRGP suggests that it can automatically discover effective solutions without requiring users to have deep prior knowledge about which representation is best for a particular problem.
  • CALX is Key: The effectiveness of MRGP is directly tied to the novel CALX operator. Without it, simply running two independent GP populations (as in their TLGP baseline) yields less impressive results.

Key Results

  • Symbolic Regression: MRGP-TL consistently outperformed baseline TGP and LGP methods, achieving better relative square error (RSE) on most datasets.
  • Dynamic Job Shop Scheduling: MRGP-TL demonstrated very competitive performance, often outperforming baseline methods and even state-of-the-art approaches in certain scenarios.
  • Knowledge Sharing Benefits: Experiments showed that MRGP-TL individuals were less dependent on one representation dominating the best-of-run solutions over time, indicating a more balanced and collaborative evolution compared to non-sharing methods.
  • Parameter Robustness: The knowledge transfer rate parameter ($\theta_t$) showed robust performance across various settings, though fine-tuning could offer marginal improvements.
  • Program Size: The MRGP approach did not lead to significantly larger program sizes compared to single-representation methods.

Limitations and Future Work

  • Symbolic Regression vs. DJSS: While MRGP-TL showed strong results in DJSS, its performance against the "LATEST" (state-of-the-art) methods in symbolic regression was mixed, suggesting that the multi-representation mechanism might need further refinement to fully leverage the latest GP techniques in all domains.
  • More Representations: The authors plan to extend MRGP to a wider range of GP representations (e.g., gene expression programming, Cartesian GP, graph-based GP).
  • Adaptive Representation Selection: Future work will explore adaptively and selectively evolving GP representations, rather than evolving all simultaneously.
  • Collaboration Methods: Developing more sophisticated collaboration methods among different GP representations is a key future direction.

Summary updated

BibTeX
@inproceedings{huang2025multi,
  author = {Zhixing Huang and Yi Mei and Fangfang Zhang and Mengjie Zhang and Wolfgang Banzhaf},
  title = {{Multi-Representation Genetic Programming: A Case Study on Tree-based and Linear Representations}},
  booktitle = {Evolutionary},
  year = {2025},
  doi = {10.1162/evco.a.25},
}
Figure