Swarm Chemistry: A Decade-Long Quest to Emergent Creativity in Artificial "Nature"
1. Swarm Chemistry:
A Decade-Long Quest to
Emergent Creativity in
Artificial “Nature”
Hiroki Sayama
Binghamton University, State University of New York
sayama@binghamton.edu
2. About the Speaker
• D.Sc. in Information Science, University of Tokyo,
Japan (1999)
• Postdoctoral Fellow, New England Complex Systems
Institute (1999-2002)
• Assistant/Associate Professor of Human Communication,
University of Electro-Communications, Tokyo, Japan (2002-2005)
• Assistant/Associate Professor of Bioengineering -> Associate/Full
Professor of Systems Science and Industrial Engineering,
Binghamton University, State University of New York (2006-)
• Associate/Full Professor of Commerce, Waseda University, Tokyo,
Japan (2017-)
• Research areas: Complex systems, network science, organization
science, artificial life/chemistry, evolutionary computation,
complex systems education, etc.
2
3. Artificial Life
(1987-)
• Interdisciplinary field founded
by Christopher Langton
• International Society for
Artificial Life (ISAL; 2001-)
http://alife.org
• Artificial Life journal (MIT
Press)
• ALIFE/ECAL conferences
• IEEE ALIFE, AROB conferences
3
4. “Artificial Life”
• “... is a field of study devoted to
understanding life by attempting to
abstract the fundamental dynamical
principles underlying biological
phenomena, and recreating these
dynamics in other physical media ― such
as computers ― making them accessible
to new kinds of experimental
manipulation and testing.”
• “... In addition to providing new ways to
study the biological phenomena
associated with life here on Earth, life-as-
we-know-it, Artificial Life allows us to
extend our studies to the larger domain of
"bio-logic" of possible life, life-as-it-could-
be.”
• C. G. Langton, "Preface", In C. G. Langton, C. Taylor, J. D. Farmer,
and S. Rasmussen, eds., Artificial Life II, vol. X of SFI Studies in the
Sciences of Complexity, pp. xiii-xviii, Addison-Wesley, 1992.
5. 14 Themes of Artificial Life
(Aguiar et al. 2014)
5
Origins of life Autonomy
Self-
organization
Adaptation Ecology
Artificial
societies
Behavior
Computational
biology
Artificial
chemistries
Information
Living
technology
Art Philosophy
9. Craig Reynolds,
Academy Award
Winner (Scientific
and Engineering
Award, 1998)
For his pioneering
contributions to the
development of
three-dimensional
computer animation
for motion picture
production
9
13. Artificial Chemistry
•A sub-field of Artificial
Life where models of
artificial chemical
reactions are used to
study the emergence
and evolution of life
from non-living
elements
13
18. i
• Particles in a continuous open 2-D space
• Kinetic interactions with local neighbors
• No capability to distinguish different types
Model Assumptions
18
20. • If no particles are found within local perception range, steer
randomly (Straying)
• Otherwise:
• Steer to move toward the average position of local neighbors
(Cohesion)
• Steer towards the average velocity of local neighbors (Alignment)
• Steer to avoid collision with neighbors (Separation)
• Steer randomly with a given probability (Randomness)
• Approximate its speed to its normal speed (Self-propulsion)
Behavioral Rules (Detail)
20
22. • Similar to those reported in earlier literature
Stationary
clustering
Coherent linear
motion
Amoeba-like
structure
Dispersal
[simulation]
Behavior of Homogeneous Swarms
22
23. Dependence on Kinetic Parameters
• Phase transitions observed
• Effect of c3 not so significant
c1: strength of cohesion
c2:strengthofalignment
c1: strength of cohesion c1: strength of cohesion
c2:strengthofalignment
c2:strengthofalignment
<|v|> : av. absolute vel. <r>: av. distance from CoM
(Results with c3 ~ 50 ± 5)
<v>: average velocity
Coherent linear
motion
Random
swarming
Oscill-
ation
Dispersal
23
29. Hyper-Interactive
Evolutionary
Computation
(Bush & Sayama 2011)
• Evolutionary operators act on
each swarm locally and visually
• Continuous generation changes
• Number of swarms on a
screen dynamically changes
with no predetermined
bound
[demo]
37. Do We Really
Need Human
Users?
• No we don’t, if:
• The system can
spontaneously evolve new
potentially innovative designs
and if
• We know what kind of
quantitative properties we
are looking for
37
39. Making Swarm Chemistry
Evolvable (Sayama 2010,
2011)
• Recipe transmission
between active particles
• Mutation of recipes in
local transmission
• Environmental
perturbation to break
status quo
39
45. Competition
Functions
• “Faster”, “Slower”, “Behind”
• “Majority”: The particle surrounded by
more of the same species wins
• Deterministic, probabilistic, relative
(density-based)
• “Recipe length”: The particle with a
longer recipe wins
• Length only, length then majority,
length times majority
45
46. Emergent Ecology and Evolution of Swarms
faster slower behind majority
random
designed
46
47. Introducing
Environmental
Perturbations
• Perturbation I:
Competition function
switched from “majority-
relative” to either “faster”
or “slower” for 50 time
steps in every 5000 time
steps
• Perturbation II:
Competition function
switched from “majority-
relative” to either “faster”
or “slower” for 50 time
steps in every 2000 time
steps only in either left or
right half of the space
47
48. Automatic Identification of “Interesting”
Results (Sayama & Wong 2011)
People are looking for:
Clear macroscopic
structures
Continuous changes
Can “interesting results” be identified automatically
without human intervention?
48
49. Measurement 1: Macroscopic Structuredness
Actual snapshotRandom distribution
Pairwise distance distribution
P(d) Q(d)
Kullback-Leibler Divergence
= 0.1184
49
51. Measurement 2: Evolutionary Exploration
Time
Colors that appeared
in this 500-step
period
Colors that appeared
in this 500-step
period
Colors that
appeared in this
500-step period
# of new colors
=151
# of new
colors =96
51
64. Environmental Perturbations
• Competition function switched from
“majority-relative” to either “faster”
or “slower” for T steps in every 2000
steps in either half of the space
T = 50 (short, moderate)
T = 500 (long, severe)
64
65. Detailed Object Tracking (Object Size)
With moderate environmental perturbations
Objects tend
to get bigger
over time
65
66. Detailed Object Tracking (Object Size)
With moderate environmental perturbations With severe environmental perturbations
But it also depends on the
severity of perturbations
66
67. Detailed Object Tracking (Color Diversity)
With moderate environmental perturbations With severe environmental perturbations
Severe perturbations may increase
color entropy of objects
67
73. Conclusions
Artificial life/chemistry study
hypothetical life-like dynamical
systems in creative ways
Simple swarm chemistry
models can demonstrate
surprisingly rich behaviors
Evolutionary swarm chemistry
shows long-term evolutionary
creativity autonomously
Open-endedness in artificial
evolution may be utilized to
achieve creative machines