Degree is Important: On Evolving Homogeneous Boolean Functions

Claude Carlet, Marko Ðurasevic, Domagoj Jakobovic, Luca Mariot, Stjepan Picek · DOI

Introduction

In the design of symmetric cryptographic primitives, such as stream and block ciphers, the choice of Boolean functions is critical for ensuring security against various forms of cryptanalysis. Two properties are of particular interest to researchers: bentness and homogeneity. A Boolean function is considered "bent" if it possesses maximum nonlinearity, providing optimal resistance to linear cryptanalysis. A function is "homogeneous" if every term in its Algebraic Normal Form (ANF) has the exact same algebraic degree, a property that facilitates efficient hardware and software implementations.

While metaheuristic approaches, specifically Evolutionary Algorithms (EAs), have been successfully employed to evolve standard bent functions, the discovery of functions that are simultaneously bent and homogeneous remains a significant challenge. Mathematically, such functions are rare; currently, only quadratic (degree 2) and cubic (degree 3) homogeneous bent functions are known to exist. This paper investigates the efficacy of EAs in navigating the complex search space required to find these rare cryptographic objects.

Methodology and Encoding Strategies

The authors frame the search for homogeneous bent functions as a combinatorial optimization problem. To address the vast search space of Boolean functions, they evaluate three distinct genotype encodings within a steady-state Evolutionary Algorithm framework:

  1. Bitstring Encoding (BS): This represents the function via its standard truth table. While flexible, it does not inherently favor homogeneity.
  2. Restricted Encoding (GAr): A specialized approach where the bitstring represents only the presence or absence of monomials of a specific target degree $d$. This effectively restricts the search space to perfectly homogeneous functions, removing the need for the algorithm to "learn" the homogeneity constraint.
  3. Symbolic Encoding (GP): A Genetic Programming approach where functions are represented as trees. Internal nodes consist of Boolean operators (AND, XOR, OR), and leaves represent input variables.

To guide the evolution, the authors utilize fitness functions that balance two primary objectives: maximizing nonlinearity (calculated via the Walsh-Hadamard spectrum) and minimizing deviations from homogeneity. In the case of the Restricted Encoding (GAr), the homogeneity penalty is unnecessary, allowing the algorithm to focus entirely on nonlinearity.

Experimental Results

The experiments revealed that finding quadratic ($d=2$) homogeneous bent functions is highly achievable with the right encoding. The Restricted Encoding (GAr) demonstrated a 100% success rate across all tested variable sizes ($n=6, 8, 10, 12, 14$). Genetic Programming (GP) also found these functions for smaller dimensions but saw a sharp decline in performance as the number of variables increased, failing entirely for $n \ge 12$.

The "Degree Cliff" and Cubic Failure

The most striking finding of the research is the total failure of all tested EAs to discover cubic ($d=3$) homogeneous bent functions. Despite testing various encodings and fitness functions, the algorithms could not find a single instance of a cubic homogeneous bent function. This suggests a "difficulty cliff" in the cryptographic search space: while the transition from non-homogeneous to homogeneous is manageable for GP, the intersection of homogeneity and maximum nonlinearity at degree 3 creates a landscape that current metaheuristics cannot successfully navigate.

Discussion and Key Insights

The research highlights several critical aspects of evolving cryptographic functions:

  • Search Space Restriction: Forcing the algorithm to operate within a restricted space (GAr) is significantly more effective than using penalty-based fitness functions to enforce constraints like homogeneity.
  • Landscape Complexity: The difficulty of finding bent functions is not uniform across degrees. The jump from $d=2$ to $d=3$ represents a fundamental shift in the fitness landscape, likely characterized by increased deception or a massive expansion in the combinatorial complexity that exceeds the capabilities of standard steady-state EAs.
  • Homogeneity vs. Nonlinearity: The study confirms that while evolving homogeneous functions is relatively simple for GP, the constraint of maximum nonlinearity (bentness) is the primary driver of difficulty in higher degrees.

Conclusion and Future Work

The study concludes that while EAs are highly efficient at finding quadratic homogeneous bent functions, they hit a hard boundary at degree 3. Future research is required to perform a detailed analysis of the fitness landscapes to determine if this failure is a result of the sheer size of the search space or specific structural properties of cubic functions. Understanding these landscape features will be essential for developing more sophisticated search operators or hybrid algorithms capable of discovering higher-degree homogeneous bent functions.

Summary updated

BibTeX
@inproceedings{carlet2025degree,
  author = {Claude Carlet and Marko Ðurasevic and Domagoj Jakobovic and Luca Mariot and Stjepan Picek},
  title = {{Degree is Important: On Evolving Homogeneous Boolean Functions}},
  booktitle = {Proceedings of the Genetic and Evolutionary Computation Conference Companion},
  year = {2025},
  doi = {10.1145/3712255.3726779},
}
Figure