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

On the Easiest and Hardest Fitness Functions

Jun He, Tianshi Chen, Xin YaoIEEE Trans. Evol. Comput 2015

Abstract

This paper provides a rigorous theoretical framework for identifying the absolute "easiest" and "hardest" problems for a specific class of evolutionary algorithms (EAs). By introducing the concept of a time-based fitness landscape, the authors prove that unimodal functions are the easiest to solve while deceptive functions are the hardest. Crucially, they demonstrate that problem hardness is not an intrinsic property of a function alone, but a relative measure dependent on the algorithm's search operators.

Introduction

In the field of Evolutionary Computation, defining "problem hardness" has historically been elusive. Researchers have relied on the "No Free Lunch" (NFL) theorems, which suggest all algorithms perform equally across all possible functions, or intuitive but imprecise labels like "unimodal" and "multimodal." However, these approaches often fail to provide practical guidance for algorithm selection or performance prediction. This paper addresses this gap by focusing on the elitist (1+1) EA and establishing mathematical criteria for best-case and worst-case scenarios.

Methodology: Time-Based Landscapes

The authors analyze the elitist (1+1) EA, a fundamental algorithm that evolves a single parent via mutation and selection. To quantify performance, they move beyond physical distance (e.g., Hamming distance) and propose a time-based fitness landscape.

In this framework:

  • Distance ($d(x)$): Defined as the expected hitting time, or the average number of generations required to reach the optimum from state $x$.
  • Drift: The average progress made toward the optimum in a single step.

By mapping fitness values to these expected hitting times, the authors can rigorously define the "shape" of a problem relative to the algorithm's behavior.

Key Insights: Defining Easy and Hard

The core contribution of the paper is the formalization of "easy" and "hard" problems through the lens of fitness-distance relationships.

The Easiest Problems

A problem is considered "easy" or unimodal if the fitness signal consistently guides the algorithm toward the optimum. In a time-based landscape, this means that as the fitness increases, the expected time to reach the goal decreases.

An 'easy' fitness landscape where fitness $f(x)$ is inversely related to the expected hitting time $d(x)$.

The Hardest Problems

Conversely, "hard" or deceptive problems are those where the fitness signal actively misleads the search. In these cases, states with higher fitness are actually further away from the optimum in terms of expected hitting time.

A deceptive landscape where fitness $f(x)$ increases with the expected hitting time $d(x)$, leading the search away from the optimum.

The authors also prove a "Bad EA" construction: for any problem that is "easiest" for one algorithm, a specific EA can be constructed for which that same problem is the "hardest." This highlights that hardness is a property of the algorithm-function pair.

Results and Runtime Bounds

The theoretical framework allows for the derivation of concrete runtime bounds for the (1+1) EA on bitstrings of length $n$:

  • Easiest functions (e.g., OneMax/TwoMax): Achieve a runtime of $O(n \ln n)$.
  • Hardest functions (Fully Deceptive): Result in a super-exponential runtime of $\Theta(n^{n/2})$.

These results demonstrate that an algorithm optimized for unimodal landscapes (using a $1/n$ mutation rate) will be significantly outperformed by a "blind" search (using a $1/2$ mutation rate) when faced with deceptive or isolated landscapes like "Needle in a Haystack."

Conclusion

While the current proofs are limited to elitist (1+1) EAs, they provide a foundational step toward a more rigorous understanding of evolutionary search. Future work will aim to extend these findings to population-based and non-elitist EAs, which present significantly more complex dynamics.

Summary updated

BibTeX
@article{he2015easiest,
  author = {Jun He and Tianshi Chen and Xin Yao},
  title = {{On the Easiest and Hardest Fitness Functions}},
  journal = {IEEE Trans. Evol. Comput},
  year = {2015},
  doi = {10.1109/tevc.2014.2318025},
}
Figure