Accelerating evolutionary exploration through language model-based transfer learning
Maximilian Reissmann, Yuan Fang, Andrew S. H. Ooi, Richard D. Sandberg
TL;DR
This work tackles symbolic regression via Gene Expression Programming (GEP) by introducing a language-model–based transfer-learning framework to create a biased, knowledge-informed starting population. An encoder–decoder transformer, built on a small, efficient architecture, learns from source-task representations of prior equations (tokenized as Karva strings) and informs the target task through a latent vector that guides GEP initialization and early exploration. Empirical results on eight UCI datasets and a CFD flow problem show that transferring a modest fraction of start-population building blocks (e.g., 25%) can improve early fitness and speed up convergence in several cases, though higher transfer can be detrimental when task similarity is limited. The approach reduces search-time overhead in symbolic regression and suggests promising extensions to other combinatorial or boolean domains, with practical implications for faster, more scalable evolutionary search.
Abstract
Gene expression programming is an evolutionary optimization algorithm with the potential to generate interpretable and easily implementable equations for regression problems. Despite knowledge gained from previous optimizations being potentially available, the initial candidate solutions are typically generated randomly at the beginning and often only include features or terms based on preliminary user assumptions. This random initial guess, which lacks constraints on the search space, typically results in higher computational costs in the search for an optimal solution. Meanwhile, transfer learning, a technique to reuse parts of trained models, has been successfully applied to neural networks. However, no generalized strategy for its use exists for symbolic regression in the context of evolutionary algorithms. In this work, we propose an approach for integrating transfer learning with gene expression programming applied to symbolic regression. The constructed framework integrates Natural Language Processing techniques to discern correlations and recurring patterns from equations explored during previous optimizations. This integration facilitates the transfer of acquired knowledge from similar tasks to new ones. Through empirical evaluation of the extended framework across a range of univariate problems from an open database and from the field of computational fluid dynamics, our results affirm that initial solutions derived via a transfer learning mechanism enhance the algorithm's convergence rate towards improved solutions.
