This paper focuses on the problem of evolving Boolean functions of odd sizes with high nonlinearity, a property of cryptographic relevance. Despite its simple formulation, this problem turns out to be remarkably difficult. We perform a systematic evaluation by considering three solution encodings and four problem instances, analyzing how well different types of evolutionary algorithms behave in finding a maximally nonlinear Boolean function. Our results show that genetic programming generally outperforms other evolutionary algorithms, although it falls short of the best-known results achieved by ad-hoc heuristics. Interestingly, by adding local search and restricting the space to rotation symmetric Boolean functions, we show that a genetic algorithm with the bitstring encoding manages to evolve a 9-variable Boolean function with nonlinearity 241.
@article{arxiv.2504.17666,
title = {A Systematic Study on the Design of Odd-Sized Highly Nonlinear Boolean Functions via Evolutionary Algorithms},
author = {Claude Carlet and Marko Đurasevic and Domagoj Jakobovic and Stjepan Picek and Luca Mariot},
journal= {arXiv preprint arXiv:2504.17666},
year = {2025}
}
Comments
28 pages, 10 figures, extended version of the conference paper "A Systematic Evaluation of Evolving Highly Nonlinear Boolean Functions in Odd Sizes" published in EuroGP 2025