[Paper Review] Evolving Boolean Functions with Conjunctions and Disjunctions via Genetic Programming
This paper analyzes a modified RLS-GP algorithm that evolves the Boolean conjunction of $n$ variables using both AND and OR operators, with a tree size limit and a subtree deletion mutation operator. It proves that the algorithm efficiently evolves the exact target function in $O(\ell n\log^2 n)$ expected iterations using the complete truth table, and achieves polynomially small generalization error with random sampling of inputs, avoiding unnecessary OR operators.
Recently it has been proved that simple GP systems can efficiently evolve the conjunction of $n$ variables if they are equipped with the minimal required components. In this paper, we make a considerable step forward by analysing the behaviour and performance of the GP system for evolving a Boolean function with unknown components, i.e., the function may consist of both conjunctions and disjunctions. We rigorously prove that if the target function is the conjunction of $n$ variables, then the RLS-GP using the complete truth table to evaluate program quality evolves the exact target function in $O(\\ell n \\log^2 n)$ iterations in expectation, where $\\ell \\geq n$ is a limit on the size of any accepted tree. When, as in realistic applications, only a polynomial sample of possible inputs is used to evaluate solution quality, we show how RLS-GP can evolve a conjunction with any polynomially small generalisation error with probability $1 - O(\\log^2(n)/n)$. To produce our results we introduce a super-multiplicative drift theorem that gives significantly stronger runtime bounds when the expected progress is only slightly super-linear in the distance from the optimum.
Motivation & Objective
- To analyze the performance of RLS-GP when evolving the conjunction of $n$ variables using both AND and OR operators, which better reflects realistic GP systems.
- To address the challenge of bloat and local optima caused by disjunctions in the solution space by introducing a tree size limit and a modified mutation operator.
- To establish theoretical runtime bounds for RLS-GP under both complete truth table evaluation and polynomially sampled input sets.
- To investigate whether the algorithm can avoid inserting redundant OR operators while achieving low generalization error in realistic settings.
- To extend prior theoretical results on GP by incorporating more complex function sets and realistic fitness evaluation mechanisms.
Proposed method
- The RLS-GP algorithm uses a subtree deletion mutation operator that can remove entire subtrees in one step, overcoming limitations of the traditional HVL-Prime operator which could get stuck on local optima.
- A size limit $\ell \geq n$ is imposed on syntax trees to prevent bloat and ensure finite expected runtime.
- Fitness evaluation is performed using either the complete truth table ($2^n$ inputs) or a randomly sampled polynomial-sized subset of inputs.
- The analysis introduces a super-multiplicative drift theorem to derive tighter runtime bounds when progress is only slightly super-linear in distance to the optimum.
- The algorithm is evaluated empirically for varying $n$ and $\ell$, with results reported on average runtime, solution size, and number of OR nodes in the final solution.
- Dynamic Subset Selection is used to simulate realistic fitness evaluation with polynomial computational cost.
Experimental results
Research questions
- RQ1Can RLS-GP efficiently evolve the conjunction of $n$ variables when given access to both AND and OR operators, rather than only AND?
- RQ2Does the introduction of a subtree deletion mutation operator eliminate infinite expected runtime issues caused by local optima due to disjunctions?
- RQ3What is the expected runtime of RLS-GP when fitness is evaluated using a complete truth table versus a randomly sampled subset of inputs?
- RQ4Can RLS-GP achieve polynomially small generalization error with high probability when using only a polynomial number of sampled inputs?
- RQ5To what extent does the algorithm avoid inserting unnecessary OR operators in the presence of both AND and OR in the function set?
Key findings
- The RLS-GP algorithm with subtree deletion and a tree size limit of $\ell = (1+c)n$ evolves the exact conjunction of $n$ variables in $O(\ell n\log^2 n)$ expected iterations when using the complete truth table.
- When fitness is evaluated using a polynomially sized random sample of inputs, RLS-GP achieves any polynomially small generalization error with probability $1 - O(\log^2 n / n)$.
- The algorithm avoids inserting a significant number of OR operators in the solution, as confirmed by experiments showing only a small number of OR nodes survive in the final tree.
- Empirical results show that increasing the tree size limit $\ell$ reduces runtime, suggesting the theoretical bound may be conservative.
- Solutions with larger $\ell$ values tend to include more redundant variables, indicating a trade-off between optimization speed and solution complexity.
- The super-multiplicative drift theorem enables tighter runtime bounds when expected progress is only slightly super-linear in the distance to the optimum.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.