
286 IV. COMPUTATIONAL SWARM INTELLIGENCE
Studies of social animals and social insects have resulted in a number of computational
models of swarm intelligence. Biological swarm systems that have inspired computa-
tional models include ants, termites, bees, spiders, fish schools, and bird flocks. Within
these swarms, individuals are relatively simple in structure, but their collective behav-
ior is usually very complex. The complex behavior of a swarm is a result of the pattern
of interactions between the individuals of the swarm over time. This complex behavior
is not a property of any single individual, and is usually not easily predicted or deduced
from the simple behaviors of the individuals. This is referred to as emergence. More
formally defined, emergence is the process of deriving some new and coherent struc-
tures, patterns and properties (or behaviors) in a complex system. These structures,
patterns and behaviors come to existence without any coordinated control system,
but emerge from the interactions of individuals with their local (potentially adaptive)
environment.
The collective behavior of a swarm of social organisms therefore emerges in a non-
linear manner from the behaviors of the individuals of that swarm. There exists a
tight coupling between individual and collective behavior: the collective behavior of
individuals shapes and dictates the behavior of the swarm. On the other hand, swarm
behavior has an influence on the conditions under which each individual performs its
actions. These actions may change the environment, and thus the behaviors of that
individual and its neighbors may also change – which again may change the collective
swarm behavior. From this, the most important ingredient of swarm intelligence, and
facilitator of emergent behavior, is interaction, or cooperation. Interaction among in-
dividuals aids in refining experiential knowledge about the environment. Interaction
in biological swarm systems happens in a number of ways, of which social interaction
is the most prominent. Here, interaction can be direct (by means of physical contact,
or by means of visual, audio, or chemical perceptual inputs) or indirect (via local
changes of the environment). The term stigmergy is used to refer to the indirect form
of communication between individuals.
Examples of emergent behavior from nature are numerous:
• Termites build large nest structures with a complexity far beyond the compre-
hension and ability of a single termite.
• Tasks are dynamically allocated within an ant colony, without any central man-
ager or task coordinator.
• Recruitment via waggle dances in bee species, which results in optimal foraging
behavior. Foraging behavior also emerges in ant colonies as a result of simple
trail-following behaviors.
• Birds in a flock and fish in a school self-organize in optimal spatial patterns.
Schools of fish determine their behavior (such as swimming direction and speed)
based on a small number of neighboring individuals. The spatial patterns of bird
flocks result from communication by sound and visual perception.
• Predators, for example a group of lionesses, exhibit hunting strategies to out-
smart their prey.
• Bacteria communicate using molecules (comparable to pheromones) to collec-
tively keep track of changes in their environment.