Skip to content

Code for simulating collective motion from groups of continuous-time and -space active inference agents.

Notifications You must be signed in to change notification settings

conorheins/collective_motion_actinf

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 

Repository files navigation

Collective motion through multi-agent active inference

This repository provides code for simulating emergent collective motion from groups of continuous-time and -space active inference agents. This code serves as companion for the paper "Collective behavior from surprise minimization" (2024) by Conor Heins, Beren Millidge, Lancelot Da Costa, Richard Mann, Karl Friston, and Iain Couzin.

This codebase contains both JAX and a Julia implementations of a multi-agent active inference algorithm for generating collective motion. The JAX implementation (in the jax folder) is the recommended implementation, especially because all code automatically takes advantage of GPU-support on machines with NVIDIA-capable GPUs (see here for the official instructions).

  • JAX installation/run instructions here
  • Julia installation/run instructions here

About

Code for simulating collective motion from groups of continuous-time and -space active inference agents.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published