Agent-Based Genetic Algorithm — Distributed Evolutionary Search via Autonomous Agents

Decision Sciences
Introduced by
Adamidis, P. & Petridis, V. (early formal treatment); broader community development in 1990s
Year
1990s
Type
Hybrid evolutionary-agent simulation
Family
Simulation / optimization

What does it do?

An Agent-Based Genetic Algorithm (ABGA) divides a genetic algorithm's population among several agents, each of which holds and evolves its own sub-population through local selection, crossover and mutation.

Agents periodically exchange individuals through migration, governed by a neighborhood topology and a communication policy. The design aims to keep diversity higher than a single panmictic population and to allow parallel search, although its benefits depend on how migration is configured. ABGA is closely related to the island model of distributed genetic algorithms, and that literature is the most useful starting point for formal analysis.

The intuition behind the method

A conventional GA keeps one population, so a single dominant genotype can spread through the whole pool and the search may settle on a local optimum. In an ABGA, sub-populations evolve separately under their own selection pressure, and only a limited set of fit individuals moves between neighboring agents. Because each sub-population can drift toward different regions of the search space, the system explores several niches at once and can recombine solutions found in different niches through migration. Comparing this to geographically separated populations that occasionally exchange migrants is a useful heuristic picture, not a formal result.

History

Distributed and parallel genetic algorithms, including island-model designs, are the relevant background for ABGA, and the agent-based formulation is best read within that literature. A reference on co-operating populations with different evolution behaviors is Adamidis and Petridis (1996), presented at the IEEE International Conference on Evolutionary Computation (ICEC 1996).

When to use it

Consider an ABGA when the fitness landscape appears multimodal and a single-population GA repeatedly converges to similar, suboptimal solutions, and when parallel or distributed hardware can run agent processes concurrently. It also suits problems that decompose naturally into semi-independent parts, such as regional supply chains or sector-specific policy components, and studies of how different operator settings interact across sub-populations. Do not use it when the landscape is unimodal and a simple GA is sufficient, when inter-agent communication costs dominate computation, when sub-populations would be too small to partition meaningfully, or when a single centralized population is required, for example for exact reproducibility.

Limitations and considerations

  • Migration rate, interval, topology and policy are extra hyperparameters; suitable values depend on the problem and are usually found by tuning.
  • Communication between agents adds overhead; in high-latency or loosely coupled computing environments this can reduce or cancel the speed-up from parallel evaluation.
  • Formal convergence results specific to ABGA dynamics are limited, so convergence guarantees should not be assumed to be stronger than those of standard GAs.
  • Replicating a run requires fixing the topology, migration schedule and random seeds for every agent, which makes exact replication more involved than for a single GA.
  • When sub-populations are small, each agent is more exposed to genetic drift, and migration may not fully offset this.

Source conditions do not replace independent scientific review or validation by an analysis engine.

Strengths

  • Separate sub-populations with independent selection pressure may keep more genetic diversity than one panmictic population, which can reduce the risk of early convergence on rugged landscapes.
  • Each agent's evolution loop can run on a separate processor, so the architecture maps directly onto distributed or parallel hardware.
  • Different operator settings or selection schemes can be assigned to different agents, so exploration and exploitation can proceed in parallel.
  • Migration of fit individuals lets solutions discovered in one niche be recombined with those in another, which a single pool does not do.
  • Domain-specific heuristics can be added inside one agent's loop without changing the others, because agents interact only through migration.

Applications

  • Possible use in scheduling and logistics: distributed job-shop or vehicle routing problems in which geographic sub-problems may map onto agents.
  • Possible use in engineering design optimization: structural or aerodynamic design problems with multimodal search spaces, where parallel niche exploration may help.
  • Possible use in policy simulation: tuning policy parameters in social simulation models whose agents represent regional or sectoral actors.
  • Possible use in machine learning hyperparameter search: parallel evolutionary tuning of model configurations on distributed computing clusters.
  • Possible use in bioinformatics: exploratory work on high-dimensional, rugged fitness landscapes, such as protein structure prediction or gene network inference.
  • Possible use in game AI and robotics: evolving behavior strategies in multi-agent environments with co-evolutionary dynamics.

How it works

How it works

1

Specify the number of agents, the neighborhood structure among them (for example ring, grid, small-world or fully connected), and the communication protocol that sets when and how individuals are exchanged. Each agent is an autonomous computational entity that holds its own chromosome pool. Suitable numbers of agents, topologies and migration settings depend on the problem and are normally chosen by tuning; no general defaults are assumed here.

2

Create each agent's sub-population from randomly generated chromosomes or from seeded solutions. Set the local population size, crossover type and rate, mutation rate and selection mechanism (tournament, roulette or rank-based), either separately for each agent or identically across agents. Different per-agent settings are what allow agents to follow different evolutionary behaviors.

3

Each agent runs several generations of selection, crossover and mutation on its own sub-population, without reference to the others between migration events. When agents run in parallel, or in pseudo-parallel within a sequential simulation, each explores its own region of the search space under its own operator configuration. In outline, the loop for one agent is: evaluate its sub-population; for each generation, select parents, apply crossover and mutation, evaluate the offspring and form the next generation; at each migration interval, send and receive individuals and integrate immigrants; repeat until the global stopping criterion is met.

4

At each migration interval, an agent sends a subset of its fittest individuals to its neighbors according to the migration policy (for example, send-best with replace-worst on receipt). Migration policies are commonly defined by two rules: which individuals are sent (best or random) and which incumbents they replace (worst or random). Random choices are less selective and may keep sub-populations more distinct. The migration rate, interval and topology together control the balance between local exploitation and global exploration. Frequent migration tends to make the sub-populations similar to one another, while very rare migration reduces the effect of the distributed structure.

5

All received and locally evolved chromosomes are evaluated against the shared fitness function. After migration, each agent applies its selection step to integrate immigrants, which may remove less-fit incumbents. Fitness evaluation is often the largest share of run time when the objective is expensive to compute, although this depends on the problem.

6

Stop when a global criterion is met, such as a maximum number of generations, convergence of the best fitness across agents, or an elapsed time limit. Report the best solution found across all agents as the output. Per-agent convergence curves help check sub-population diversity and whether migration is having an effect.

Common pitfalls

  • A high migration rate can merge sub-populations into what is effectively one pool, removing the diversity benefit that motivates the architecture.
  • Topology choice matters: a fully connected topology may converge quickly, while a ring with infrequent migration can leave agents isolated and stagnant.
  • Fitness must be a shared global function. If each agent scores individuals with its own local objective, the agents optimize incompatible goals and migrated individuals are not comparable.
  • ABGA describes an architecture for search, not a multi-objective method. A multi-objective ABGA needs additional Pareto ranking or equivalent machinery inside the agents.
  • Stopping when one agent converges, rather than when the global best has stabilized, can end the run while other agents are still improving.

Frequently asked questions

How is an ABGA different from a standard parallel GA?

A standard parallel GA typically distributes fitness evaluation of a single centralized population across processors. An ABGA gives each agent an autonomous sub-population with its own evolutionary loop; interaction happens only through explicit migration, not through a shared pool. This distinction can keep selective pressure independent for each agent.

What migration topology should I choose?

Ring and grid topologies are often used as starting points because they restrict the flow of migrants, which may help preserve diversity. Small-world topologies, in which a ring has a few long-range links added, are another option whose effect on convergence depends on the problem. Fully connected topologies tend to converge quickly, which may be undesirable when diversity is the goal.

How many agents and what sub-population size is appropriate?

There is no fixed rule. Sub-populations should be large enough that genetic drift does not dominate each agent, and the number of agents should be balanced against the diversity benefit and the communication cost. Choose values by empirical tuning on the problem at hand.

Can ABGA be used for multi-objective optimization?

Yes, but Pareto-based ranking or an equivalent mechanism must be added inside the agents. The agent structure may then help maintain a more diverse approximation of the Pareto front.

Is an ABGA guaranteed to find the global optimum?

No. Like all GAs, ABGAs are heuristic and do not guarantee the global optimum. Better diversity preservation may reduce the chance of stagnating in local optima in practice, but ABGA-specific convergence guarantees are not well established, so results should be judged empirically.

Related methods

Sources

  1. Adamidis, P., & Petridis, V. (1996). Co-operating populations with different evolution behaviors. Proceedings of the IEEE International Conference on Evolutionary Computation (ICEC 1996), 188-191. IEEE.

    Open publication reference
  2. Genetic algorithm. Wikipedia.

    Open publication reference