Premium Only Content

ActInf ModelStream 015.0: Andrew Pashea "Active Agents: Agent-Based Modeling in the Social Sciences"
"Active Agents" An Active Inference Approach to Agent-Based Modeling in the Social Sciences"
Andrew Pashea
This talk presents the construction of Active Inference agents as discrete-time, discrete state-space, partially-observable Markov decision-making processes (POMDPs) using the pymdp library in Python. This is part of an initiative to develop and provide further learning resources for learning and applying Active Inference. While learning Active Inference, as with any other complex field, can initially seem daunting, learning to apply Active Inference 'in silico' can be enlightening for non-programmers and programmers alike as to the mechanics involved and spur inspiration for designing one's own models and simulations.
Following both the code and verbal explanations, we look at defining states, observations, and actions. Then we relate these three components together via probability distributions representing our agents beliefs. Then we cover some simple code where our agent can receive observations and use them to infer its posteriors over hidden states, as well as infer its posteriors over policies and samples an action, which is sent to the environment to generate a new round of observations. Finally, the agent learns its likelihood model given the new observation. This process defines a simple action-perception (or, perception-action) loop.
The presentation is adapted from materials for three-hour workshop at the International Conference for Computational Social Science held at University of Pennsylvania in July, 2024.
Link to all materials (slides + code) and other growing learning resources:
https://github.com/apashea/IC2S2-Active-Inference-Tutorial
Tutorial script with Markdown explanations:
https://colab.research.google.com/drive/1VWvwZFzQlNdL8w1X8UQ1VWNBESZ32_AW?usp=sharing
Original tutorial description:
https://ic2s2-2024.org/tutorials
----
Active Inference Institute information:
Website: https://activeinference.org/
Twitter: https://twitter.com/InferenceActive
Discord: https://discord.gg/8VNKNp4jtx
YouTube: https://www.youtube.com/c/ActiveInference/
Active Inference Livestreams: https://coda.io/@active-inference-institute/livestreams
-
1:29:23
Nerdrotic
3 hours ago $2.70 earnedThe Turning Point | New UFO Video with Michael Collins | Forbidden Frontier #117
17.6K2 -
LIVE
Sarah Westall
1 hour agoSuicide Pacts forming in Youth Social Media Groups - Discord, Reddit, TikTok w/ John Anthony
405 watching -
2:25:31
vivafrei
11 hours agoEp. 281: Charlie Kirk; Routh Trial; Charlotte Train; Bolsanaro Defense; SCOTUS & MORE!
72.5K81 -
Turning Point USA
2 hours agoWASHINGTON D.C. PRAYER VIGIL FOR CHARLIE KIRK
24.8K11 -
The Mel K Show
2 hours agoMel K & Tim James | Healing is an Inside Job | 9-14-25
6.07K1 -
LIVE
IsaiahLCarter
5 hours agoCharlie Kirk, American Martyr (with Mikale Olson) || APOSTATE RADIO 028
176 watching -
16:43
Mrgunsngear
9 hours ago $0.80 earnedKimber 2K11 Pro Review 🇺🇸
2.77K9 -
13:40
Michael Button
1 day ago $0.17 earnedThe Strangest Theory of Human Evolution
4484 -
10:19
Blackstone Griddles
1 day agoMahi-Mahi Fish Tacos on the Blackstone Griddle
8711 -
23:51
Jasmin Laine
1 day ago“Stop Wasting My Time!”—Trump's BRUTAL WARNING To Canada As Poilievre ROASTS CBC LIVE
1.74K15