Modelling Flocks of Birds from the Bottom Up
Paper in proceeding, 2022

We argue that compositional specification based on formal languages can facilitate the modelling of, and reasoning about, sophisticated collective behaviour in many natural systems. One defines a system in terms of individual components and local rules, so that collective behaviours emerge naturally from the combined effect of the different actions of the individual components. With appropriate linguistic constructs, this can yield compact and intuitive models that are easy to refine and extend in small incremental steps. In addition, automated workflows implemented on top of this methodology can provide quick feedback, thereby allowing rapid design iterations. To support our argument, we consider flocking, a well-known example of emergent behaviour in collective adaptive systems. We build a minimalistic bottom-up model of a flock of birds incrementally, discussing specific language constructs as we go along. We then describe a prototype simulator, and use it to validate our model in a controlled experiment, where a flock is attacked by a bird of prey. The flock effectively reacts to the attack by splitting into smaller groups and regathering once the threat subsides, consistently with both natural observations and previous models from the literature.

Author

Rocco De Nicola

IMT School for Advanced Studies

Luca Di Stefano

Chalmers, Computer Science and Engineering (Chalmers), Formal methods

University of Gothenburg

Omar Inverso

Gran Sasso Science Institute (GSSI)

Serenella Valiani

IMT School for Advanced Studies

Lecture Notes in Computer Science

0302-9743 (ISSN) 1611-3349 (eISSN)

Vol. 13703 LNCS 82-96

11th International Symposium on Leveraging Applications of Formal Methods, Verification and Validation, ISoLA 2022
Rhodes, Greece,

Subject Categories (SSIF 2025)

Computer Sciences

DOI

10.1007/978-3-031-19759-8_6

More information

Latest update

11/27/2025