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:33:32
Graham Allen
2 hours agoTold You The War Was FAR From Over… The Blue Wave Just Proved It! Evil Is Fighting Back!
78.4K71 -
LIVE
Badlands Media
8 hours agoBadlands Daily: November 5, 2025
3,693 watching -
LIVE
Wendy Bell Radio
6 hours agoLike Sheep To Slaughter
7,978 watching -
DVR
DML
1 hour agoDML LIVE: NYC Goes Socialist: Mamdani’s Victory
18.9K6 -
1:04:43
Chad Prather
14 hours agoTruth on Trial: When Fear Meets Faith
58.8K29 -
LIVE
LFA TV
13 hours agoLIVE & BREAKING NEWS! | WEDNESDAY 11/5/25
3,377 watching -
1:57:16
The Chris Salcedo Show
13 hours ago $0.09 earnedDems Win In Dem States...And They Celebrate?
26.5K10 -
1:04:43
Crypto Power Hour
11 hours ago $0.03 earnedPsychology Of Crypto Market Cycles
40.2K6 -
9:58
Clintonjaws
12 days ago $0.17 earnedKaroline Leavitt's Response To 'The View' Host's Nasty Attacks Is Perfect
42.6K25 -
24:23
World2Briggs
21 hours ago $0.03 earnedTop 10 Towns You Can Retire on $1900 a month in the Pacific North West.
33.2K9