[Paper Review] Using evolutionary computation to create vectorial Boolean functions with low differential uniformity and high nonlinearity
This paper applies simulated annealing, memetic algorithms, and ant colony optimization to evolve vectorial Boolean functions (S-boxes) with low differential uniformity and high nonlinearity—critical criteria for cryptographic security. Ant System outperformed other metaheuristics, achieving 68% of S-boxes with differential uniformity 2 for 5×5 functions, matching theoretical bounds.
The two most important criteria for vectorial Boolean functions used as S-boxes in block ciphers are differential uniformity and nonlinearity. Previous work in this field has focused only on nonlinearity and a different criterion, autocorrelation. In this paper, we describe the results of experiments in using simulated annealing, memetic algorithms, and ant colony optimisation to create vectorial Boolean functions with low differential uniformity. Keywords: Metaheuristics, simulated annealing, memetic algorithms, ant colony optimization, cryptography, Boolean functions, vectorial Boolean functions.
Motivation & Objective
- To develop and evaluate metaheuristic algorithms for constructing S-boxes with optimal differential uniformity and nonlinearity.
- To investigate whether evolutionary computation can match or exceed theoretical bounds for S-box design in block ciphers.
- To compare the effectiveness of simulated annealing, memetic algorithms, and ant colony optimization on this NP-hard combinatorial problem.
- To explore parameter tuning and cost function design for improved convergence and solution quality.
- To assess the feasibility of scaling these methods to larger S-boxes (n ≥ 6), where search space explosion occurs.
Proposed method
- Employed simulated annealing with a fitness function that minimizes deviations from zero in the linear approximation table and later optimizes for nonlinearity via hill-climbing.
- Used memetic algorithms with a custom crossover function and no mutation, focusing on local search refinement after global exploration.
- Applied Ant System and Luke ACS (ant colony optimization) with pheromone update rules and heuristic information based on differential uniformity and nonlinearity.
- Defined a dynamic cost function that evaluates edges in the S-box truth table based on partial solutions, adjusting for cumulative impact on uniformity and nonlinearity.
- Used parameter tuning for key variables: cooling rate in simulated annealing, crossover and mutation rates in memetic algorithms, and pheromone evaporation rate ρ = 0.1 in ant algorithms.
- Restricted S-box output values using Theorem 1.21 to reduce search space, though this was later abandoned due to performance degradation.
Experimental results
Research questions
- RQ1Can metaheuristic search match the best-known theoretical results for S-boxes with differential uniformity 2 and high nonlinearity?
- RQ2Which metaheuristic—simulated annealing, memetic algorithm, or ant colony optimization—performs best on the S-box construction problem?
- RQ3How do different cost functions and parameter settings affect convergence speed and solution quality?
- RQ4Does imposing truth table constraints via Theorem 1.21 improve search efficiency and solution quality?
- RQ5Can a divide-and-conquer approach using subfunctions with low differential uniformity lead to better overall S-box construction?
Key findings
- Ant System achieved 68% of S-boxes with differential uniformity 2 for 5×5 functions, outperforming both memetic algorithms and simulated annealing.
- The Ant System method found solutions in just over 19 hours, compared to 34 hours for the best memetic algorithm run.
- The use of a two-phase cost function—first flattening the linear approximation table, then maximizing nonlinearity—improved solution quality significantly.
- Restricting S-box outputs using Theorem 1.21 degraded performance across all metaheuristics and was abandoned in later experiments.
- For n ≥ 6, no method achieved differential uniformity 2, indicating exponential search space growth limits current approaches.
- Luke ACS and Ant System showed similar performance trends, but Ant System consistently outperformed Luke ACS across all parameter sets.
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.