Runtime Analysis for the NSGA-II: Proving, Quantifying, and Explaining the Inefficiency for Many Objectives

Weijie Zheng, Benjamin Doerr

TL;DR

This paper provides a rigorous mathematical analysis of why the popular NSGA-II algorithm struggles with multi-objective optimization problems that have three or more objectives. The authors demonstrate that NSGA-II's core mechanism, the crowding distance, becomes a bottleneck, preventing it from efficiently finding the complete set of optimal solutions (the Pareto front) when the number of objectives increases.

What Problem Does This Paper Address?

Multi-objective optimization problems involve finding solutions that simultaneously optimize several, often conflicting, objectives. A common goal is to find the "Pareto front," which is the set of all non-dominated solutions. The NSGA-II is a widely used algorithm for this task, but empirical evidence suggests it becomes less effective as the number of objectives grows (often termed "many-objective optimization"). This paper aims to mathematically prove, quantify, and explain this observed inefficiency, particularly focusing on the transition from bi-objective to many-objective scenarios.

Methods

The authors employ mathematical runtime analysis, a theoretical approach to understand how algorithms perform over time. They analyze the NSGA-II's behavior on a specific benchmark problem, the $m$-objective OneMinMax problem. The core of their analysis focuses on the NSGA-II's "crowding distance" calculation, which is used to maintain diversity within the population. They mathematically demonstrate that for three or more objectives, the independent calculation of crowding distance for each objective leads to a situation where many solutions are assigned a crowding distance of zero, making the selection process largely random and inefficient.

Datasets

The paper introduces and uses the $m$-objective OneMinMax benchmark. This benchmark is a generalization of the bi-objective OneMinMax problem, where every solution is Pareto optimal. The authors define it by splitting the input variables into $m/2$ blocks, each contributing to two objectives. This construction ensures that all solutions remain Pareto optimal, simplifying the analysis of the Pareto front coverage.

Key Insights and Ideas

  • The Crowding Distance Bottleneck: The primary insight is that the NSGA-II's crowding distance calculation, which treats each objective independently, is the root cause of its inefficiency in many-objective settings.
  • The Bi-objective Exception: For two objectives, the independent calculation of crowding distance is not problematic because the sorting order for one objective is inversely related to the other. This inherent correlation is lost with three or more objectives.
  • Randomization in Selection: When many solutions have a crowding distance of zero, the NSGA-II's survival selection becomes effectively random, leading to a high probability of discarding valuable solutions and failing to cover the Pareto front.
  • Exponential Time Complexity: The paper proves that for the $m$-objective OneMinMax problem with $m \ge 3$, the NSGA-II requires exponential time to find the full Pareto front, even with large population sizes.

Key Results

  • The NSGA-II, even with large population sizes, cannot compute the full Pareto front of the $m$-objective OneMinMax benchmark in sub-exponential time for $m \ge 3$.
  • The algorithm misses a constant fraction of the Pareto front for at least exponential time.
  • The analysis shows that for $m \ge 4$, at most $4n + 2m$ individuals in a set of pair-wise non-dominated solutions can have a positive crowding distance.
  • For the 3-objective OneMinMax, at most $4n + 6$ individuals can have a positive crowding distance.
  • The paper provides theoretical bounds demonstrating that the NSGA-II's population will cover only a fraction of the Pareto front for a long time, requiring exponential time to cover it fully.

Limitations and Future Work

  • Benchmark Specificity: While the $m$-objective OneMinMax is simple and designed to isolate the crowding distance issue, the authors speculate that similar problems will arise for other benchmarks, but formal proofs for those are left as future work.
  • Alternative Crowding Distances: The paper suggests that understanding the crowding distance's limitations points towards the need for alternative measures that do not treat objectives independently.
  • Analysis of Other MOEAs: The authors propose extending this mathematical runtime analysis to other common multi-objective evolutionary algorithms (MOEAs) to understand their behavior in many-objective scenarios.
  • Convergence Behavior: The paper notes that it does not discuss the convergence to Pareto front points, which is a separate interesting area of research, especially for algorithms that might exhibit divergent behavior.

Summary updated

BibTeX
@article{zheng2024runtime,
  author = {Weijie Zheng and Benjamin Doerr},
  title = {{Runtime Analysis for the NSGA-II: Proving, Quantifying, and Explaining the Inefficiency for Many Objectives}},
  journal = {IEEE Trans. Evol. Comput.},
  year = {2024},
  url = {https://openreview.net/forum?id=lQSx9gasEU},
}
Figure