Learning Semantics-aware Search Operators for Genetic Programming

Piotr Wyrwiński, Krzysztof Krawiec
2/6/2025
cs.LGcs.NE

No confident code implementation found for this paper.

Abstract

Fitness landscapes in test-based program synthesis are known to be extremely rugged, with even minimal modifications of programs often leading to fundamental changes in their behavior and, consequently, fitness values. Relying on fitness as the only guidance in iterative search algorithms like genetic programming is thus unnecessarily limiting, especially when combined with purely syntactic search operators that are agnostic about their impact on program behavior. In this study, we propose a semantics-aware search operator that steers the search towards candidate programs that are valuable not only actually (high fitness) but also only potentially, i.e. are likely to be turned into high-quality solutions even if their current fitness is low. The key component of the method is a graph neural network that learns to model the interactions between program instructions and processed data, and produces a saliency map over graph nodes that represents possible search decisions. When applied to a suite of symbolic regression benchmarks, the proposed method outperforms conventional tree-based genetic programming and the ablated variant of the method.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{wyrwiski2025learning,
  title  = {Learning Semantics-aware Search Operators for Genetic Programming},
  author = {Piotr Wyrwiński and Krzysztof Krawiec},
  year   = {2025},
  eprint = {2502.04568},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2502.04568v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2502.04568.svg)](https://codeofpaper.com/paper/2502.04568)

Discussion