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
-
LIVE
TimcastIRL
1 hour agoVP Says No Unity With Democrats Celebrating Charlie Kirk Assassination, Left Confirmed | Timcast IRL
23,090 watching -
LIVE
Katie Miller Pod
18 minutes agoEpisode 6 - Attorney General Pam Bondi | The Katie Miller Podcast
489 watching -
LIVE
Barry Cunningham
1 hour agoFOR PRESIDENT TRUMP WILL TAKE NO PRISONERS AND THE LIBS SHOULD EXPECT NO MERCY!
2,546 watching -
1:09:26
Glenn Greenwald
3 hours agoTrump's Shifting Immigration and H-1B Policies: With Journalist Lee Fang and Political Science Professor Ron Hira | SYSTEM UPDATE #515
112K7 -
LIVE
The Jimmy Dore Show
2 hours agoEmmy Winners DEMAND Israel Stop the Genocide! Charlie Kirk’s LAST INTERVIEW Before His Death!
5,168 watching -
LIVE
LFA TV
22 hours agoLFA TV ALL DAY STREAM - MONDAY 9/15/25
911 watching -
54:12
Donald Trump Jr.
2 hours agoCharlie's Vision. Our Future. | TRIGGERED Ep274
143K93 -
1:03:35
BonginoReport
3 hours agoKirk’s Alleged Killer Dating Hateful Transgender??? - Nightly Scroll w/ Hayley Caronia (Ep.134)
80.4K90 -
1:01:12
The Nick DiPaolo Show Channel
5 hours agoKirk Assassination Exposes Insane Left | The Nick Di Paolo Show #1793
50.7K15 -
LIVE
The Mike Schwartz Show
4 hours agoTHE MIKE SCHWARTZ SHOW Evening Edition 09-15-2025
5,090 watching