Transformer Semantic Genetic Programming for d -dimensional Symbolic Regression Problems
Open Access
- 9 September 2026
- journal article
- Published by Association for Computing Machinery (ACM) in ACM Transactions on Evolutionary Learning and Optimization
Abstract
Transformer Semantic Genetic Programming (TSGP) is a semantic search approach that uses a pre-trained transformer model as a variation operator to generate offspring programs with high semantic similarity to a given parent. Unlike other semantic GP approaches that rely on fixed syntactic transformations, TSGP aims to learn diverse structural variations that lead to solutions with similar semantics. We find that a single transformer model trained on millions of programs is able to generalize across symbolic regression problems of varying dimension. Evaluated on 24 real-world and synthetic datasets, TSGP significantly outperforms standard GP, SLIM_GSGP, Deep Symbolic Regression, and Denoising Autoencoder GP, achieving an average rank of 1.58 across all benchmarks. Moreover, TSGP produces more compact solutions than SLIM_GSGP, despite its higher accuracy. In addition, the target semantic distance is able to effectively adjust the step size in the semantic space: small values enable consistent improvement in fitness but often lead to larger programs, while larger values promote faster convergence and compactness. Thus, the target semantic distance provides an effective mechanism for balancing exploration and exploitation.Keywords
All Related Versions
This publication has 28 references indexed in Scilit:
- SLIM_GSGP: The Non-bloating Geometric Semantic Genetic Programming2024
- Small Solutions for Real-World Symbolic Regression Using Denoising Autoencoder Genetic Programming2023
- Using Denoising Autoencoder Genetic Programming to Control Exploration and Exploitation in Search2022
- Feature Standardisation in Symbolic Regression2018
- An Introduction to Geometric Semantic Genetic Programming2016
- Geometric Semantic Genetic Programming for Real Life Applications2014
- Geometric Semantic Genetic Programming2012
- Introduction2011
- Semantic Building Blocks in Genetic Programming2008
- Fighting Bloat with Nonparametric Parsimony Pressure2002