A Matter of Representation: Evolving Partial Spreads for Bent Functions
Authors: Claude Carlet, Marko Đurasevic, Domagoj Jakobovic, Luca Manzoni, Luca Mariot, Stjepan Picek
Organizations: Department of Mathematics, Université Paris 8, 2 rue de la liberté, 93526 Saint-Denis Cedex, France · University of Bergen, Bergen, Norway · Faculty of Electrical Engineering and Computing, University of Zagreb, Unska 3, Zagreb, Croatia · Department of Mathematics, Informatics and Geosciences, University of Trieste, Via Alfonso Valerio 12/1, 34127 Trieste, Italy · Semantics, Cybersecurity and Services Group, University of Twente, Drienerlolaan 5, 7522 NB Enschede, The Netherlands · Digital Security Group, Radboud University, Postbus 9010, 6500 GL Nijmegen, The Netherlands
Partial spread (PS) bent functions are Boolean functions of maximum nonlinearity built from families of subspaces that pairwise intersect only in the null vector. We design an Evolution Strategy (ES) to construct such partial spread families, comparing two encodings: one based on generator matrices of the subspaces, and one based on spread sets. With the latter, combined with a ruin-and-rebuild operator, the ES finds PS functions up to n=10 variables. An ablation study shows that mutation is necessary, while the population size is not, and that a restarted look-ahead greedy heuristic outperforms the ES on the hardest instance. We investigate this finding with a landscape analysis of the stagnation points, and we also introduce a quality-diversity variant of the ES which finds PS functions of low algebraic degree for 8 variables. Interestingly, the bent functions evolved by the ES have higher 2-ranks and mostly higher degrees than those obtained by a baseline Genetic Programming optimizer.
Figures & tables
n=8
n=10
Encoding and second step
Budget
PS−
PS+
PS−
PS+
Subspace, repair step
106 evals
100
100
0 (9)
0 (13)
Subspace, repair step
1800 s
–
–
0 (5)
0 (8)
Spread-set, no ruin-and-rebuild
1800 s
–
–
0 (8)
0 (12)
Spread-set, ruin-and-rebuild
106 evals / 1800 s
100
100
100
74 (2)
Table 1: Runs solved out of 100 by the (3+7) -ES under the two encodings (E1).
Method
PS−
PS+
Look-ahead greedy, restarted
100 (1.8)
52 (122.7)
Random greedy, restarted
99 (40.7)
2 (139.1)
(1+1) -ES
100 (3.4)
23 (109.0)
(3+7) -ES
100 (3.7)
20 (119.2)
(1+1) -ES, no mutation
97 (5.2)
4 (54.2)
(3+7) -ES, no mutation
98 (3.6)
0 (–)
Table 2: Runs solved out of 100 within 300 seconds, for n=10 (E2).
Monotone Boolean functions are a structurally important class of Boolean functions, but their restricted form imposes strong limitations on achievable nonlinearity. In this paper, we investigate whether evolutionary computation can evolve monotone Boolean functions with high nonlinearity, both in the balanced and imbalanced settings. We consider three solution encodings: the standard truth table representation, a balanced truth table encoding that preserves Hamming weight, and a symbolic tree-based genetic programming representation. To guide the search toward monotone increasing functions, we introduce a non-monotonicity penalty and combine it with fitness functions targeting balancedness and nonlinearity. Experimental results are reported for dimensions from n=5 to n=14. The results show that evolutionary search can discover monotone Boolean functions with nonlinearities clearly exceeding those of majority functions, and in several cases approaching the best currently known values for monotone functions. At the same time, the experiments reveal substantial differences between encodings: the balanced truth table encoding performs poorly for larger dimensions, while the standard truth table and genetic programming encodings remain competitive, with genetic programming becoming especially relevant in the largest tested dimensions.
Claude Carlet, Marko Čupić, Marko Ðurasevic +3
University of Paris 8, 2 rue de la liberté, 93526 Saint-Denis Cedex, France · University of Bergen, Bergen, Norway · Faculty of Electrical Engineering and Computing, University of Zagreb, Unska 3, Zagreb, Croatia +2
We study the (μ+1) EA on the Binary Value function BinVal. We show that it needs at most O(μlogμ⋅nlogn) function evaluations to find the optimum when μ=o(n/logn). This substantially improves upon the recent upper bound of O(μ5nlog(n/μ4)) by Krejca, Neumann and Witt. Our results hold for several mutation operators including standard bit mutation. In particular, our bound implies that the (μ+1) EA is at most a factor O(logμ⋅logn) slower on BinVal than on OneMax.
Biological neurons achieve computational diversity through specialized types: tonic, bursting, adapting, and fast-spiking cells coexist within the same circuit. Artificial neural networks, by contrast, apply a single activation function uniformly to all nodes, which limits what they can represent. We show that this uniformity creates hard limits for evolutionary search: across sparse evolved substrates, monotonic functions fail to solve parity beyond its smallest instance, XOR, while a single oscillatory unit suffices at all tested scales. The gap is one of search and sparsity, not representation: monotonic networks can represent parity with a modest number of hidden units, and gradient descent recovers that solution. We evolve, to our knowledge for the first time in indirect encoding, per-node activation function assignments from an 18-function palette across more than 4,500 experimental runs spanning Boolean logic, regression, and spatial classification. Testing each of the 18 functions individually on Parity-4 reveals a three-tier solvability structure: oscillatory functions achieve 100%, intermediate functions 6.7-80%, and all 9 monotonic functions 0%. This divide is not universal. Recurrence collapses it, and gradient descent inverts it entirely, showing that the barrier is specific to evolutionary search in sparse substrates. What activation functions a network can use, beyond its topology and weights, determines what evolutionary search can solve. Indirect encoding discovers heterogeneous per-node activation assignments unlikely to be chosen by hand.
Romain Claret, Michael O'Neill, Paul Cotofrei +1
University of Neuchâtel, Switzerland · University College Dublin, Ireland