[Paper Review] A Model for Foraging Ants, Controlled by Spiking Neural Networks and Double Pheromones
This paper presents a bio-inspired model of foraging ants using spiking neural networks (SNNs) for individual decision-making and a double pheromone system—positive (food-rewarding) and negative (obstacle-marking)—for collective navigation. The SNN enables ants to learn to avoid harmful stimuli and seek food, while the dual pheromone system reduces search space through stigmergic communication, significantly improving foraging efficiency over traditional ant colony optimization methods.
A model of an Ant System where ants are controlled by a spiking neural circuit and a second order pheromone mechanism in a foraging task is presented. A neural circuit is trained for individual ants and subsequently the ants are exposed to a virtual environment where a swarm of ants performed a resource foraging task. The model comprises an associative and unsupervised learning strategy for the neural circuit of the ant. The neural circuit adapts to the environment by means of classical conditioning. The initially unknown environment includes different types of stimuli representing food and obstacles which, when they come in direct contact with the ant, elicit a reflex response in the motor neural system of the ant: moving towards or away from the source of the stimulus. The ants are released on a landscape with multiple food sources where one ant alone would have difficulty harvesting the landscape to maximum efficiency. The introduction of a double pheromone mechanism yields better results than traditional ant colony optimization strategies. Traditional ant systems include mainly a positive reinforcement pheromone. This approach uses a second pheromone that acts as a marker for forbidden paths (negative feedback). This blockade is not permanent and is controlled by the evaporation rate of the pheromones. The combined action of both pheromones acts as a collective stigmergic memory of the swarm, which reduces the search space of the problem. This paper explores how the adaptation and learning abilities observed in biologically inspired cognitive architectures is synergistically enhanced by swarm optimization strategies. The model portraits two forms of artificial intelligent behaviour: at the individual level the spiking neural network is the main controller and at the collective level the pheromone distribution is a map towards the solution emerged by the colony.
Motivation & Objective
- To develop a biologically plausible model of foraging ants that integrates individual neural control with collective pheromone-based communication.
- To demonstrate how spiking neural networks can enable autonomous, adaptive navigation in response to environmental stimuli (food and obstacles).
- To explore the impact of a dual pheromone system—positive and negative reinforcement—on collective foraging efficiency.
- To create an accessible, educational tool combining SNNs and agent-based modeling for complex systems research.
Proposed method
- Each ant is controlled by a spiking neural network trained via classical conditioning to associate sensory stimuli (food = reward, obstacles = harm) with motor responses (approach or avoid).
- The neural circuit uses a two-layer structure: sensory neurons detect stimuli (green = food, white/red = harmful), and motor neurons drive movement based on learned associations.
- A double pheromone mechanism is implemented: positive pheromone marks productive paths to food, while negative pheromone marks forbidden or dangerous areas.
- Pheromone evaporation rates control the temporary nature of the negative trail, preventing permanent blockades and enabling dynamic adaptation.
- The model is implemented in NetLogo, allowing researchers to simulate and visualize ant behavior, neural learning, and pheromone dynamics in a virtual 2D environment.
- The system uses stigmergy: ants indirectly coordinate via environmental pheromone deposits rather than direct communication.
Experimental results
Research questions
- RQ1Can spiking neural networks enable individual ants to learn and adaptively respond to rewarding and harmful stimuli in a dynamic environment?
- RQ2How does the inclusion of a negative pheromone mechanism improve foraging efficiency compared to traditional positive-only pheromone systems?
- RQ3To what extent does the synergy between individual neural learning and collective pheromone communication enhance swarm problem-solving in foraging tasks?
- RQ4Can a simple, biologically inspired model of ant behavior be effectively implemented and visualized in a widely used agent-based modeling platform like NetLogo?
Key findings
- The spiking neural network successfully enabled ants to learn to avoid white and red patches (harmful stimuli) and approach green patches (food), as evidenced by progressively longer, non-colliding trajectories during training.
- With the double pheromone system active, ants developed complex, non-monotonous trajectories that allowed them to locate and exploit food sources, unlike in the no-pheromone condition.
- The negative pheromone reduced the effective search space over time by marking previously unoccupied areas as forbidden, thereby improving foraging efficiency.
- After 8,000 iterations, the system demonstrated that food sources were largely exhausted, indicating effective collective exploitation of resources.
- The amount of available food over time (Fig. 9) showed a rapid decline after pheromone activation, confirming improved foraging performance.
- The model outperformed traditional ant colony optimization strategies by combining individual learning with dual feedback mechanisms, demonstrating emergent collective intelligence.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.