NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

On Monotonic Hamming Sphere Landscapes

Dominic WilsonarXiv 2026

Ever wondered why some optimization problems feel like a smooth downhill stroll while others are a jagged, deceptive nightmare? In the world of Evolutionary Algorithms (EAs), we call these "fitness landscapes." This paper by Dominic A. Wilson introduces a specific class of these maps—Monotonic Hamming Sphere Landscapes (MHSL)—and proves that they are essentially the "Easy Mode" of the binary optimization world.

TL;DR

If you want to know what makes a problem easy for a genetic algorithm, look at the distance to the goal. This paper identifies a class of landscapes where fitness perfectly tracks the number of bit-flips needed to reach the optimum; these are mathematically proven to be the easiest possible problems for common algorithms at standard mutation rates, but they paradoxically become the hardest when mutation rates are pushed too high.

What Problem Does This Paper Address?

In evolutionary computation, we often talk about "ruggedness" or "deception" to explain why an algorithm struggles. We know that OneMax (a simple problem where you just try to get all 1s) is easy. But OneMax is very restrictive—every bit has the same weight.

The author asks a deeper question: How does the arrangement of fitness values on the hypercube govern difficulty? Specifically, if we have a fixed set of fitness values, which assignments of those values to bit-strings make the problem easiest for population-based algorithms using crossover and mutation?

The paper fills a gap in the theory of "easiness" by moving beyond simple functions to a broader class of landscapes that share a fundamental structural property.

Methods

The author introduces Monotonic Hamming Sphere Landscapes (MHSL). In these landscapes, fitness is non-increasing as you move away from the global optimum (measured by Hamming distance—the number of bits you'd have to flip to get there).

To test how "easy" these are, the author used:

  • Markov Chain Models: These provide exact mathematical "hitting times" (how many generations it takes to find the optimum) for small problems.
  • Exhaustive Evaluation: For a 3-bit problem, there are 40,320 possible one-to-one landscapes. The author calculated the performance of every single one of them.
  • Symmetry Analysis: Using group theory (specifically hypercube automorphisms), the author grouped these tens of thousands of landscapes into a smaller number of "symmetry classes" to see which structures were truly unique.
  • Targeted Experiments: For larger problems (up to 6 bits), where exhaustive search is impossible, the author used local search and targeted sampling.

Datasets

While not a traditional machine learning paper with external datasets, the "data" here consists of:

  • The 3-bit Universe: All 40,320 possible permutations of fitness values $\{0, \dots, 7\}$ on a 3-dimensional hypercube.
  • Hamming Sphere Encodings (HSE): A specific subset of MHSLs where every point has a unique fitness value.
  • Targeted 5-bit Encodings: A set of 1,034 encodings used to verify if the 3-bit insights hold as the search space grows.

Key Insights and Ideas

  • The Distance Equivalence: For simple EAs, any MHSL where spheres don't share fitness values behaves exactly like OneMax. This means the algorithm's progress is purely a function of distance, ignoring the "noise" of how values are distributed within a sphere.
  • The $p < 0.5$ Threshold: These landscapes are the "easiest" only when the mutation rate ($p$) is below 0.5. At low rates, mutation mostly moves you small distances. Since MHSLs always reward moving closer, the algorithm is never "tricked."
  • The Great Inversion: When the mutation rate exceeds 0.5, the easiest landscapes become the hardest. Why? Because at high mutation rates, you are more likely to flip most of your bits. In an MHSL, the "best" move (flipping many bits) likely lands you far away from the optimum, turning the gradient into a trap.
  • Symmetry is the Secret Sauce: The paper shows that standard binary and Gray codes aren't inherently special. What makes an encoding "good" is how well it respects the hypercube's symmetry.
Table 1: Standard binary code, binary reflected Gray code and the 6 classes of Hamming sphere encodings for n = 3. Each of the 6

Key Results

  • HSE Dominance: In the exhaustive 3-bit study, the fastest landscapes were always from the HSE class for all tested mutation rates below 0.5.
  • Vanishing Fraction: HSEs represent a "vanishing fraction" of all possible landscapes. As the number of bits ($n$) increases, the probability of a random landscape being an HSE drops to near zero, yet they remain the gold standard for easiness.
  • Predictive Power: The author defined a measure called "sphere-order violations" ($v$). There is a near-perfect correlation between $v$ and the time it takes to solve a problem. The fewer violations (the closer to an MHSL), the faster the GA.

Limitations and Future Work

  • Small Scale: Most exhaustive results are limited to $n=3$ bits due to the combinatorial explosion of possible landscapes. While 5-bit and 6-bit tests were performed, they weren't exhaustive.
  • Population Size: The study focused on a two-member genetic algorithm. Larger populations might exhibit different dynamics, especially regarding how crossover interacts with "neutral" areas (plateaus) in the landscape.
  • Unique Optimum: The current definition of MHSL requires a unique global optimum. The author suggests that relaxing this to allow for "flat peaks" (threshold functions) would be a natural and valuable extension.

In short, if you're designing a representation for a problem, you want your fitness to look like an MHSL. It’s the mathematical equivalent of making sure the "Hot or Cold" game actually tells you when you're getting warmer.

Summary updated

BibTeX
@misc{wilson2026monotonic,
  author = {Dominic Wilson},
  title = {{On Monotonic Hamming Sphere Landscapes}},
  year = {2026},
  eprint = {2611.28510},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.28510},
}
Figure