Executive Summary
This paper provides the first rigorous theoretical analysis of the Categorical Compact Genetic Algorithm (ccGA), extending evolutionary computation theory from simple binary strings to complex multi-category variables. By developing novel "drift theorems," the authors derive tight tail bounds on how long the algorithm takes to find optimal solutions for benchmark problems, proving that categorical optimization scales predictably with the number of categories ($K$) and dimensions ($D$).
Introduction
Evolutionary computation theory has traditionally been dominated by binary optimization problems. However, many real-world optimization tasks, such as Neural Architecture Search (NAS) or graph optimization, involve categorical variables where decisions are made among $K > 2$ options. While the Compact Genetic Algorithm (cGA) is well-understood for binary strings, its categorical extension, the ccGA, lacked formal runtime guarantees—specifically "tail bounds" that ensure the algorithm finishes within a certain timeframe with high probability. This work addresses this gap by deriving these bounds and clarifying how the number of categories ($K$) impacts the necessary learning rate ($\eta$).
The Categorical Compact Genetic Algorithm (ccGA)
The ccGA is a probabilistic model-based algorithm. Instead of maintaining a population of individuals, it maintains a probability distribution over the search space. In each iteration, the algorithm samples two candidate solutions, compares them based on an objective function, and updates the probability distribution toward the "winner" using a stochastic natural gradient ascent approach. This mechanism allows the algorithm to efficiently navigate high-dimensional categorical spaces by learning the optimal parameters of the distribution.
Theoretical Framework: Advanced Drift Analysis
To analyze the runtime of the ccGA, the authors utilize Drift Analysis, which measures the expected progress toward the optimum in each step. Categorical spaces introduce complexities not present in binary ones, requiring several mathematical innovations to maintain tractability as $K$ grows:
- Conditional Drift Theorems: These allow for tighter bounds by focusing on the most likely paths of progress, effectively filtering out rare, extreme outliers that might otherwise skew the theoretical results.
- Drift for Skipping Processes: This new methodology handles iterations where no update occurs—a frequent occurrence in categorical domains—ensuring that these "stalled" steps are correctly accounted for in the total runtime analysis.
- Novel Potential Functions: Standard distance-to-optimum metrics used in binary theory fail in categorical spaces. The authors designed specific log-based potential functions that track the algorithm's state effectively even as the number of categories $K$ becomes large.
Benchmark Analysis and Results
The study evaluated the ccGA on two primary benchmark functions designed to test categorical optimization performance:
- Categorical OneMax (COM): A generalization of the classic binary OneMax that counts the number of dimensions where the correct category is selected.
- KVAL: A categorical version of the "BinVal" function. It treats the categorical string like a number in base $K$, making some dimensions significantly more influential than others and representing a more challenging optimization landscape.
Key Findings
- Logarithmic Scaling: On the COM problem, the runtime scales as $O(\sqrt{D} \ln(DK)/\eta)$, where $D$ is the number of dimensions and $\eta$ is the learning rate. Crucially, the complexity grows only logarithmically with the number of categories $K$, suggesting that adding categories does not slow the algorithm as much as previously feared.
- Learning Rate Sensitivity: The analysis reveals that the condition on the learning rate $\eta$ is more sensitive to the number of categories $K$ than to the dimensionality $D$.
- Numerical Validation: The authors conducted 100 independent trials for various configurations of $D$ (up to 128) and $K$ (up to 20). The results confirmed that the actual runtimes follow the predicted theoretical slopes almost perfectly, validating the derived tail bounds.
Conclusion and Future Work
This research provides a solid theoretical foundation for categorical optimization using compact genetic algorithms. By proving that runtime scales predictably with $K$ and $D$, the authors offer high-probability guarantees for the algorithm's efficiency in complex search spaces. Future research will focus on:
- Probability Borders: Incorporating limits on probability parameters (e.g., $1/D$ to $1-1/D$) to prevent premature convergence.
- Non-Linear Landscapes: Extending the analysis to rugged, non-linear fitness landscapes typical of real-world neural networks.
- Sample Size Scaling: Exploring how larger sample sizes (generating more than two candidates per step) affect these theoretical bounds.
Reference: Hamano, R., et al. (2024). Tail Bounds on the Runtime of Categorical Compact Genetic Algorithm. arXiv:2407.07388v1 [cs.NE].
Summary updated