Applying autonomous hybrid agent-based computing to difficult optimization problems

Mateusz Godzik, Jacek Dajda, Marek Kisiel-Dorohinicki, Aleksander Byrski, Leszek Rutkowski, Patryk Orzechowski, Joost B. Wagenaar, Jason H. MooreJ. Comput. Sci 2022 · DOI

Abstract

Evolutionary multi-agent systems (EMASs) are very good at dealing with difficult, multi-dimensional problems, their efficacy was proven theoretically based on analysis of the relevant Markov-Chain based model. Now the research continues on introducing autonomous hybridization into EMAS. This paper focuses on a proposed hybrid version of the EMAS, and covers selection and introduction of a number of hybrid operators and defining rules for starting the hybrid steps of the main algorithm. Those hybrid steps leverage existing, well-known and proven to be efficient metaheuristics, and integrate their results into the main algorithm. The discussed modifications are evaluated based on a number of difficult continuous-optimization benchmarks.

Introduction

Global optimization—the task of finding the absolute best solution within a complex search space—becomes exponentially more difficult as the number of variables (dimensions) increases. Standard Evolutionary Algorithms (EAs) frequently encounter the challenge of premature convergence. This occurs when a population loses genetic diversity and becomes trapped in a local optimum, unable to explore the broader landscape for the global peak.

While hybridization—the combination of different algorithmic strategies—is a common solution, traditional hybrids often utilize static, fixed sequences. This paper introduces HEMAS (Hybrid Evolutionary Multi-Agent Systems), an autonomous framework where individual agents decentralizedly decide when to trigger powerful metaheuristic "boosts" based on their internal state and environmental conditions.

Methodology

The EMAS Foundation

The proposed system builds upon Evolutionary Multi-Agent Systems (EMAS). In this model, solutions are represented as autonomous agents competing for a non-renewable resource: energy. Agents gain energy through successful competition and lose it over time or through reproduction. High-energy agents are permitted to reproduce, while those with zero energy are removed from the system. This creates a natural selection pressure driven by resource management.

The HEMAS Hybridization Framework

HEMAS introduces a three-phase hybridization step designed to inject diversity or refine solutions when specific conditions are met:

  1. Optimization Conditions (Triggers): The system evaluates specific rules to determine if a "boost" is required. These are categorized into:
  2. Variety-based: Triggers if the population is too homogeneous (Variety Equal 0 - VE0) or excessively diverse (Variety Greater than 0.5 - VG0.5).
  3. Energy-based: Triggers based on agent performance. The "rescue mission" (ELQ1) targets agents in the bottom 25% of energy, while the "refinement" (EGQ3) targets the top 25% to polish high-quality solutions.
  4. Running Optimization: When conditions are met, the system executes a classic metaheuristic—such as Particle Swarm Optimization (PSO) or a Genetic Algorithm (GA)—using the current agent population as the seed.
  5. Energy Redistribution: Following the hybrid step, energy is redistributed proportionally based on the updated fitness of the solutions, ensuring the most improved agents have the resources to persist.

Experimental Setup

To evaluate HEMAS, the researchers utilized four classic continuous-optimization benchmarks known for their difficulty: Rastrigin, Ackley, Griewank, and Sphere. These functions were tested in high-dimensional configurations, ranging from 100D to 2000D.

Experiments were conducted on the Prometheus supercomputer using the jMetal framework. Performance was measured primarily through fitness function evaluations to ensure hardware-independent results.

Key Insights and Results

The Power of Agency

Unlike traditional hybrids that apply secondary algorithms to the entire population at fixed intervals, HEMAS allows for targeted intervention. The "weak" (low energy) seek help to survive, while the "strong" (high energy) seek help to reach the absolute peak. The VE0 (Variety Equal 0) rule proved particularly effective as a safety net; when the algorithm stalled, it triggered PSO to push agents into unexplored regions of the search space.

Performance and Statistical Significance

HEMAS demonstrated superior accuracy across nearly all test cases. In the most challenging 2000-dimensional Ackley and Griewank problems, HEMAS reached significantly lower fitness values than standard EMAS. Statistical validation using Kruskal-Wallis and Dunn’s tests confirmed that these improvements were not the result of stochastic variance but were inherent to the hybrid architecture.

Complexity and Diminishing Returns

The study revealed a "sweet spot" for algorithmic complexity. While employing two hybrid operators (targeting both high and low-energy agents) provided a substantial performance boost, adding a third operator (such as GA for high variety) did not always yield significant further improvements. This suggests that strategic, rather than exhaustive, hybridization is key.

Conclusions and Future Work

HEMAS successfully addresses the limitations of static hybridization by allowing agents to autonomously sense when they are stuck. By maintaining a higher dispersion of results during the middle of the run, the system avoids the early stagnation typical of standard EMAS.

Future research will explore the use of Machine Learning (Neural Networks) as the trigger mechanism. Rather than relying on human-defined rules like energy quartiles, a pre-trained model could observe the population's trajectory in real-time and determine the optimal moment to switch tactics, further enhancing the autonomy and efficiency of the system.

Summary updated

BibTeX
@article{godzik2022applying,
  author = {Mateusz Godzik and Jacek Dajda and Marek Kisiel-Dorohinicki and Aleksander Byrski and Leszek Rutkowski and Patryk Orzechowski and Joost B. Wagenaar and Jason H. Moore},
  title = {{Applying autonomous hybrid agent-based computing to difficult optimization problems}},
  journal = {J. Comput. Sci.},
  year = {2022},
  doi = {10.1016/j.jocs.2022.101858},
}
Figure