Using Background Knowledge and Random Sampling in Genetic Programming: A Case Study in Learning Boolean Parity Functions
Lappoon R. Tang1 Show affiliations
- Department of Engineering, Roborn Technology Limited 8/F, Core F, Cyberport 3, 100. Cyberport Road, Hong Kong
Journal of Computer Science, Volume 19, Issue 7, pp. 900–908 · doi.org/10.3844/jcssp.2023.900.908
Abstract
The Boolean even-N-parity function returns T (i.e., true) if an even number of its Boolean arguments for N arguments are T and otherwise returns NIL (i.e., false). Learning Boolean even-N-parity functions has been recognized as a difficult problem for evolutionary computation (such as genetic programming) especially when N is large (e.g., 20+). A number of approaches have been proposed for solving the benchmark problem of even-N-parity. Most approaches focus on improving the representation of individuals and/or improving the effectiveness of crossover. So far, no approach has attempted to use high-arity background knowledge/functions for automating problem decomposition in the course of evolution. Our current approach combines the use of high-arity background functions, automatically defined functions, and random sampling of fitness cases to (1) Automate problem decomposition for high-arity even-N-parity problems and (2) Promote diversity in the retainment of genetic materials across generations by using random samples of fitness cases in fitness evaluation. Experimental evaluation shows that such an approach can dramatically reduce the total number of individuals needed to be processed by genetic programming. Therefore, such an approach to genetic programming can significantly improve computational efficiency.
Licence and reuse
Open access. This article is licensed under a Creative Commons Attribution 4.0 International Licence (CC BY 4.0), as printed on the article, which permits use, sharing, adaptation, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original authors and the source. No permission is needed.
How to reuse this articleResponses (0)
About this article
Tang, L. R. (2023). Using Background Knowledge and Random Sampling in Genetic Programming: A Case Study in Learning Boolean Parity Functions. Journal of Computer Science, 19(7), 900–908. https://doi.org/10.3844/jcssp.2023.900.908
- Licence
- CC BY 4.0
- Issue
- Volume 19, Issue 7
- Policies
- Editorial independenceUse of generative AIData availabilityAppeals and complaints
- Version
- Version of record
