M-Unit EigenAnt: An Ant Algorithm to Find the M Best Solutions

Sameena Shah, Jayadeva, Ravi Kothari, Suresh ChandraAAAI 2011

Abstract

In this paper, we shed light on how powerful congestion control based on local interactions may be obtained. We show how ants can use repellent pheromones and incorporate the effect of crowding to avoid traffic congestion on the optimal path. Based on these interactions, we propose an ant algorithm, the M-unit EigenAnt algorithm, that leads to the selection of the M shortest paths. The ratio of selection of each of these paths is also optimal and regulated by an optimal amount of pheromone on each of them. To the best of our knowledge, the M-unit EigenAnt algorithm is the first ant algorithm that explicitly ensures the selection of the M shortest paths and regulates the amount of pheromone on them such that it is asymptotically optimal. In fact, it is in contrast with most ant algorithms that aim to discover just a single best path. We provide its convergence analysis and show that the steady state distribution of pheromone aligns with the eigenvectors of the cost matrix, and thus is related to its measure of quality. We also provide analysis to show that this property ensues even when the food is moved or path lengths change during foraging. We show that this behavior is robust in the presence of fluctuations and quickly reflects the change in the M optimal solutions. This makes it suitable for not only distributed applications but also dynamic ones as well. Finally, we provide simulation results for the convergence to the optimal solution under different initial biases, dynamism in lengths of paths, and discovery of new paths.

Introduction

In nature, ants find the shortest path to food via stigmergy: they drop pheromones that attract other ants, creating a positive feedback loop. While efficient, this "winner-take-all" approach has two major flaws in engineering applications like network routing:

  1. Congestion: If every packet (ant) takes the absolute shortest path, that path becomes a bottleneck. We often need the $M$ best paths to distribute traffic effectively.
  2. Stagnation: Once a path is established, the pheromone trail is so strong that the "colony" becomes blind to new, better paths that might appear later.

Traditional Ant Colony Optimization (ACO) algorithms often use heuristics like "evaporation" or "pheromone limits" to mitigate these issues, but these lack a rigorous theoretical guarantee of optimality. The M-Unit EigenAnt algorithm addresses these challenges by introducing repellent pheromones and a novel update rule mathematically grounded in eigenvalue analysis.

The M-Unit EigenAnt Algorithm

The core innovation of the M-Unit EigenAnt algorithm is the inclusion of repellent pheromones—a negative feedback mechanism observed in real ant species to signal crowding or poor food quality. This mechanism allows the system to simultaneously identify and maintain the $M$ best solutions.

Mathematical Formulation

The algorithm maintains a pheromone matrix $C$ of size $N \times M$ (where $N$ is the number of paths and $M$ is the number of desired solutions). The update rule for the pheromone on path $i$ for the $j$-th "winner" is defined as:

$$\Delta C_{i,j}^t = -\alpha \sum_{k=1}^j C_{i,k}^t + \beta d_i \frac{C_{i,j}^t}{V_j^t}$$

  • Positive Feedback ($\beta$ term): Ants add pheromone proportional to the path's quality ($d_i$).
  • Negative Feedback ($\alpha$ term): Ants remove pheromone based on current concentration, preventing "runaway" growth.

The authors prove that this rule causes the pheromone distribution to align with the eigenvectors of the cost matrix. This ensures the algorithm performs a distributed version of a well-understood mathematical operation rather than relying solely on heuristics.

Experimental Evaluation

The paper evaluates the algorithm using two primary simulation scenarios:

  1. Static 10-Path Network: A setup with 10 alternative paths of lengths 1 through 10. This was used to test the algorithm's ability to overcome massive initial "misleading" biases.
  2. Dynamic Routing Scenario: A 5-path network where path lengths change or links go down entirely, simulating a real-world telecommunications network.

Key Results and Adaptation

The researchers demonstrated that EigenAnt succeeds where traditional ACO fails. In tests where the longest path was initially given 10x more pheromone than the shortest path, EigenAnt successfully rebalanced. As seen in Figure 1, the pheromone on short paths rose while long paths decreased, eventually settling into a distribution proportional to path quality.

Pheromone distribution over time showing recovery from initial bias and stabilization on multiple paths.

In the dynamic routing simulation (Figure 2), the algorithm demonstrated high plasticity. When the best path (L1) failed or became congested, the algorithm immediately shifted to L2 and eventually utilized L3 to balance the load. This natural regulation of ant density ensures that if a path is too "full," the repellent effect balances the attractive effect, forcing subsequent ants to choose the next-best available path.

Probability of choosing paths in a dynamic environment where links fail and congestion occurs.

Conclusion

M-Unit EigenAnt provides a robust, mathematically rigorous framework for multi-path discovery and congestion control. By utilizing repellent pheromones, the system remains "plastic," allowing it to "forget" previously optimal paths if better ones are discovered or if current ones become crowded.

Future work remains in scaling the algorithm to complex, multi-hop mesh networks and further analyzing parameter sensitivity. Specifically, the ratio of repulsion ($\alpha$) to attraction ($\beta$) is critical for maintaining the balance between system plasticity and consensus on the best paths.

Summary updated

BibTeX
@inproceedings{shah2011m,
  author = {Sameena Shah and Jayadeva and Ravi Kothari and Suresh Chandra},
  title = {{M-Unit EigenAnt: An Ant Algorithm to Find the M Best Solutions}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2011},
  url = {https://openreview.net/forum?id=S1bsCReuZB},
}
Figure