Abstract
Despite being the "industry standard" for multi-objective optimization for two decades, the theoretical properties of the Non-dominated Sorting Genetic Algorithm II (NSGA-II) remained largely unproven. This work, presented at AAAI-2022, provides the first rigorous mathematical runtime analysis of NSGA-II. We demonstrate that NSGA-II efficiently finds the entire Pareto front of standard benchmark problems, provided the population size is sufficiently large—specifically, at least four times the size of the Pareto front. Conversely, we prove that setting the population size equal to the front size leads to an exponential failure to cover the full front.
Introduction
In multi-objective optimization, the goal is to identify the Pareto front: a set of solutions where no single objective can be improved without degrading another. NSGA-II has achieved massive success in engineering and AI by utilizing two key mechanisms: non-dominated sorting for ranking and crowding distance for maintaining diversity. However, until this study, mathematical proofs for its convergence time (runtime analysis) were missing, with theoretical focus remaining on simpler algorithms like SEMO.
Methodology
The authors employ mathematical runtime analysis to estimate the expected number of fitness evaluations required for NSGA-II to find the full Pareto front. The study analyzes variants of NSGA-II across different parent selection methods (Uniform vs. Binary Tournament) and mutation types (One-bit vs. Standard bit-wise).
A central focus of the analysis is the relationship between the population size ($N$) and the size of the Pareto front ($M$). The core proofs utilize "drift" and "waiting time" arguments to calculate the probability of creating and retaining better individuals within the population.
Benchmark Problems
The analysis utilizes two classic theoretical benchmarks:
- ONEMINMAX: A bi-objective version of OneMax where the goal is to maximize both the number of 1s and 0s in a bit-string. In this problem, every possible bit-string configuration is on the Pareto front.
- LOTZ (Leading Ones, Trailing Zeros): A harder problem where one objective counts leading 1s and the other counts trailing 0s, resulting in many solutions that are not on the Pareto front.
Key Theoretical Insights
The "Buffer" Requirement
The most critical finding is that NSGA-II requires "breathing room" to function efficiently. If the population size $N$ is at least $4 \times$ the size of the Pareto front ($M$), the algorithm is guaranteed to be efficient. This buffer prevents the algorithm from discarding optimal solutions prematurely during the selection process.
The Failure of $N=M$
A common practice is to set the population size equal to the desired number of points on the front ($N=M$). The authors prove this is mathematically flawed for NSGA-II. Due to the crowding distance mechanism, the algorithm can enter a "leaky" state where discovering a new Pareto-optimal point causes the loss of an existing one, leading to an exponential wait time to achieve full coverage.
Results and Discussion
The theoretical predictions were confirmed through extensive simulations.
As shown in Figure 1, when the population size is sufficiently large (e.g., $N \ge 4(n+1)$), NSGA-II achieves efficient scaling, finding the full front in $O(n \log n)$ iterations for OneMinMax and $O(n^2)$ for LOTZ.
In contrast, the failure at $N=M$ is starkly visible in the coverage ratios over time.
Figure 4 illustrates that when $N=n+1$, the algorithm consistently fails to find the full front, plateauing at roughly 80% for OneMinMax and 60% for LOTZ. This confirms the theoretical proof of exponential runtime for full coverage in these configurations.
Conclusion
This work bridges the gap between complex practical algorithms and rigorous theory. It highlights that while NSGA-II is asymptotically as efficient as simpler algorithms when properly configured, its performance is highly sensitive to population size. Future research will aim to incorporate crossover effects and analyze performance on more complex, higher-dimensional objective spaces.
Summary updated