Zobrist hash-based duplicate detection in symbolic regression

Read full text
Authors: Bogdan Burlacu
Cited by: 0

Abstract

Symbolic regression encompasses a family of search algorithms that aim to discover the best-fitting function for a set of data without requiring an a priori specification of the model structure. The most successful and commonly used technique for symbolic regression is genetic programming (GP), an evolutionary search method that evolves a population of mathematical expressions through the mechanism of natural selection. In this work, we analyse the efficiency of the evolutionary search in GP and show that many points in the search space are revisited and re-evaluated multiple times by the algorithm, leading to wasted computational effort. We address this issue by introducing a caching mechanism based on the Zobrist hash, a type of hashing frequently used in abstract board games for the efficient construction and subsequent update of transposition tables. We implement our caching approach using the open-source framework Operon and demonstrate its performance on a selection of real-world regression problems, where we observe up to 34% speedups without any detrimental effects on search quality. The hashing approach represents a straightforward way of improving runtime performance while also offering some interesting possibilities for adjusting the search strategy based on cached information. This article is part of the discussion meeting issue 'Symbolic regression in the physical sciences'.

Fields of Study & Subjects

Advanced Malware Detection Techniques Machine Learning and Data Classification Chaos-based Image/Signal Encryption

Publication details

Journal / source
Philosophical Transactions of the Royal Society A Mathematical Physical and Engineering Sciences
Volume
384
Issue
2317
Publication date
9 April 2026
Language
EN