A Framework for Knowledge Integrated Evolutionary Algorithms

Ahmed Hallawa, Anil Yaman, Giovanni Iacca, Gerd AscheidEvoApplications 2017 · DOI

Abstract

One of the main reasons for the success of Evolutionary Algorithms (EAs) is their general-purposeness, i.e. the fact that they can be applied in a straight forward manner to a broad range of optimization problems, without any specific prior knowledge. On the other hand, it has been shown that incorporating a priori knowledge, such as expert knowledge or empirical findings, can significantly improve the performance of an EA. However, integrating knowledge in EAs poses numerous challenges. It is often the case that the features of the search space are unknown, hence any knowledge associated with the search space properties can be hardly used. In addition, a priori knowledge is typically problem-specific and hard to generalize. In this paper, we propose a framework, called Knowledge Integrated Evolutionary Algorithm (KIEA), which facilitates the integration of existing knowledge into EAs. Notably, the KIEA framework is EA-agnostic, i.e. it works with any evolutionary algorithm, problem-independent, i.e. it is not dedicated to a specific type of problems and expandable, i.e. its knowledge base can grow over time. Furthermore, the framework integrates knowledge while the EA is running, thus optimizing the consumption of computational power. In the preliminary experiments shown here, we observe that the KIEA framework produces in the worst case an 80% improvement on the converge time, w.r.t. the corresponding “knowledge-free” EA counterpart.

Introduction

Evolutionary Algorithms (EAs) are robust metaheuristic optimization techniques widely employed in fields ranging from engineering design to complex scheduling. Their primary advantage lies in their "black-box" nature, allowing them to tackle problems where the underlying mathematical landscape is unknown. However, this generality comes at a cost: EAs typically begin each optimization task tabula rasa, lacking any prior intuition about the problem structure.

The "No Free Lunch" theorem highlights that no single set of EA parameters is universally optimal. While researchers often resort to trial-and-error or expensive hyper-heuristics to tune parameters like mutation rates or population sizes, these methods are often computationally prohibitive and lack generalizability. This paper introduces the Knowledge Integrated Evolutionary Algorithm (KIEA) framework, designed to bridge the gap between general-purpose optimization and problem-specific efficiency. KIEA is designed to be EA-agnostic and problem-independent, allowing it to integrate prior expert knowledge and empirical findings dynamically.

Methodology: The KIEA Framework

The fundamental innovation of KIEA is the "EA Fingerprint." Rather than attempting to analyze the complex mathematical landscape of an unknown function directly—which is often impossible in black-box scenarios—the framework observes the behavioral dynamics of the EA population during the initial stages of a run.

The KIEA process operates in two distinct stages:

  1. Observation Stage: The EA is initiated with a default strategy and runs for a limited number of generations ($G_C$). During this period, the framework extracts fingerprint data categorized into Clusters Emergence Characteristics (CEC) and Clusters Constellation Characteristics (CCC). CEC metrics focus on population trends and cluster formation, while CCC metrics analyze the geometric relationships and Euclidean distances between these clusters.
  2. Adaptation Stage: The live fingerprint is compared against a pre-existing Knowledge Base of "Pilot Functions"—benchmark problems with known optimal search strategies. Using a weighted similarity score, the framework identifies the closest match and immediately switches the EA's parameters (e.g., population size, mutation probability) to the strategy associated with that pilot function.
The KIEA conceptual scheme showing the transition from fingerprint extraction to strategy adaptation.

Mathematical Formalization

The framework relies on a rigorous mathematical foundation to define these fingerprints. The authors utilize a variety of parameters to track population movement and clustering behavior, as detailed in the following table of symbols. These variables allow the system to quantify similarity using logic operators on population trends and normalized ratios of cluster counts.

Table of symbols used in the KIEA mathematical formalization.

Experimental Results

The KIEA framework was evaluated using classic benchmark functions. Pilot functions in the knowledge base included Ackley and Gaussian functions, while Rastrigin and Rosenbrock functions served as "unknown" test cases. Experiments were conducted across 25 runs per function in 10 dimensions, using a termination error threshold of $10^{-6}$.

The results demonstrate the framework's efficacy:

  • Classification Accuracy: The fingerprinting method correctly identified function types with a success rate between 90% and 98%.
  • Convergence Speed: In preliminary tests, KIEA achieved up to an 80% improvement in convergence time compared to standard, "knowledge-free" EAs.
  • Reliability: The framework significantly reduced the variance in convergence times, leading to more predictable performance across different runs.

Discussion and Conclusion

The KIEA framework introduces the novel concept of treating an EA population as a "sensor" for the fitness landscape. This approach bypasses the need for explicit mathematical knowledge of the objective function, relying instead on observable population dynamics.

While the current prototype shows significant promise, future work will focus on expanding the Knowledge Base beyond the initial pilot functions and investigating the computational overhead in extremely high-dimensional spaces. Furthermore, the authors intend to validate the framework's EA-agnostic claim by testing it with state-of-the-art algorithms such as CMA-ES and Differential Evolution. Ultimately, KIEA represents a significant step toward more intelligent, self-adaptive evolutionary optimization systems.

Summary updated

BibTeX
@inproceedings{hallawa2017framework,
  author = {Ahmed Hallawa and Anil Yaman and Giovanni Iacca and Gerd Ascheid},
  title = {{A Framework for Knowledge Integrated Evolutionary Algorithms}},
  booktitle = {EvoApplications},
  year = {2017},
  doi = {10.1007/978-3-319-55849-3\_42},
}
Figure