Daniel Vartanian
University of São Paulo
August 15, 2024
This presentation invites you to explore the fascinating world of complex systems, generative science, and agent-based models. Together, we’ll uncover the key principles and tools that bring these systems to life, revealing how they can transform our understanding of socio-ecological dynamics.
We’ll explore the following topics:



(Biological clock illustration by Nobel Prize Outreach | Mechanical clock illustration by Mai/Adobe Stock)
(Photo by Yarek Baranik)


(Artwork by Pérez-Villa et al., 2023)
Stable macroscopic patterns arising from local interaction of agents (Epstein, 1999).
When the aggregate exhibits properties not attained by summation (Holland, 2014).




(Videos by Kurzgesagt – In a Nutshell, Quanta Magazine, and Journey to the Microcosmos)
A aggregate behavior emerges from the interactions of the parts (CAS) (Holland, 2012).
(Artwork by Holland, 2012)
Deterministic nonperiodic flow (Lorenz, 1963).
Systems in which this is the case are said to be sensitively dependent on initial conditions (Lorenz, 2008).
Does the Flap of a Butterfly’s Wings in Brazil Set off a Tornado in Texas? (Lorenz, 2008)
The behavior of some simple, deterministic systems can be impossible, even in principle, to predict in the long term, due to sensitive dependence on initial conditions (Mitchell, 2009).
Order in chaos: You can’t predict how any individual state will evolve, but you can say how a collection of states evolves (Muller, 2019).

(Animation by Jake VanderPlas)
It only looks random (Lorenz, 2008).
Chaoplexologists such as Wolfram assume that much of the noise that seems to pervade nature is actually pseudonoise, the result of some underlying, deterministic algorithm (Horgan, 2004).
Micromotives and macrobehavior (Schelling, 2006).


Simulation is a third
way of doing science.
(Axelrod, 1997, p. 24)



(Artwork by DaViDa S/Shutterstock | Flocking model by (Wilensky, 1998) | Video by National Geographic)
Agent-based models (ABMs) are computational models with the purpose of simulating the behavior of agents and their interactions, allowing us to study emergent phenomena.
Instead of describing a system only with variables representing the state of the whole system (a global approach/top-down), we model its individual agents (a local approach/bottom-up) (Railsback & Grimm, 2019).
Agents often represent people or other animals, but agents can also represent anything from biological cells to economic firms to political municipalities (Smaldino, 2023).


(Image and video by Primer)
Agents
Environment
Interaction


(Artwork by Lewin, 1993, p. 13)
Agent-based model of the ancient Maya social-ecological system (applied archaeology) (NetLogo/Scala-Java).
Multi-scale simulation of LNCaP prostate cancer cell line and combinations of drugs (PhysiBoSS/C++).
Agent-based simulation tool that supports simulation of the evacuation of a city’s population at fine temporal and geographical scales (GAMA/Java).
A simulacrum of hospital with evolvable medical agents.
Here are some resources to help you get started:
🎓 Courses
Introduction to complexity (Santa Fe Institute)
Introduction to agent-based models (Santa Fe Institute)
Introdução à ciência da computação com python - Parte 1 (USP-IME)
Introdução à ciência da computação com python - Parte 2 (USP-IME)
Here are some resources to help you get started:
📝 Articles
Foundational papers in complexity science
Epstein, J. M. (1999). Agent-based computational models and generative social science. Complexity, 4(5), 41–60. https://doi.org/10.1002/(SICI)1099-0526(199905/06)4:5<41::AID-CPLX9>3.0.CO;2-F
Grimm, V., Railsback, S. F., Vincenot, C. E., Berger, U., Gallagher, C., DeAngelis, D. L., Edmonds, B., Ge, J., Giske, J., Groeneveld, J., Johnston, A. S. A., Milles, A., Nabe-Nielsen, J., Polhill, J. G., Radchuk, V., Rohwäder, M.-S., Stillman, R. A., Thiele, J. C., & Ayllón, D. (2020). The ODD protocol for describing agent-based and other simulation models: a second update to improve clarity, replication, and structural realism. Journal of Artificial Societies and Social Simulation, 23(2), 7. https://doi.org/10.18564/jasss.4259
Here are some resources to help you get started:
🎥 Videos
Krakauer, D. (2023, February 17). What is complexity? [YouTube video]. Santa Fe Institute. https://www.youtube.com/watch?v=JR93X7xK05o
📙 Books
Mitchell, M. (2009). Complexity: A guided tour. Oxford University Press.
Wilensky, U., & Rand, W. (2015). An introduction to agent-based modeling: modeling natural, social, and engineered complex systems with NetLogo. The MIT Press.
Railsback, S. F., & Grimm, V. (2019). Agent-based and individual-based modeling: a practical introduction (2. ed.). Princeton University Press.
This presentation was created using the Quarto Publishing System. Code and materials are available on GitHub.
Several of these slides benefited from significant contributions from Bill Rand, Camilo Rodrigues Neto, and others.

(Artwork by Allison Horst)
In accordance with the American Psychological Association (APA) Style, 7th edition.

(Artwork by Allison Horst)