Sign inSubmit
computersciencejournal.org is not ours. This journal is published only at thescipub.com/jcs. Report a suspicious emailcomputersciencejournal.org is not ours · Report
ArticleMetrics
Research Article · Open access · Published 10 July 2023

Using Background Knowledge and Random Sampling in Genetic Programming: A Case Study in Learning Boolean Parity Functions

Lappoon R. Tang1

Journal of Computer Science, Volume 19, Issue 7, pp. 900–908 · doi.org/10.3844/jcssp.2023.900.908

5,481 accesses3,171 downloads0 citations (Crossref)Metrics
Cite Check for updates

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 article

Responses (0)

Have a comment on this research? Sign in to respond. Responses are moderated and published with your name and affiliation; the authors are invited to reply. How we use your dataWrite a response

About this article

Cite 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
Using Background Knowledge and Random Sampling in Genetic Programming: A Case Study in Learning Boolean Parity FunctionsJournal of Computer Science · Volume 19, Issue 7 · pp. 900–908 · CC BY 4.0Download