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
Russell Brand
1 hour agoPfizer Agrees $70 Million Deal With Trump As Study Links Covid Vax to CANCER!! - SF644
2,424 watching -
LIVE
Sean Unpaved
2 hours agoOctober Blitz: Wild Card Game 3s, CFB Coaching Chaos, & TNF Fireworks
288 watching -
LIVE
Dr Disrespect
3 hours ago🔴LIVE - DR DISRESPECT - BLACK OPS 7 MULTIPLAYER GAMEPLAY - NEW!
1,753 watching -
1:01:36
Dear America
1 hour agoEpisode 2 Graham Allen Show
6.93K18 -
1:59:01
The Charlie Kirk Show
2 hours agoCancel Netflix? + The Secret Service Disaster + Turning Point Everywhere | Tatum, Cocca, Gaffrey
50.4K30 -
LIVE
ahdedazs
1 hour agoBlack Ops 7 EARLY ACCESS BETA! First Stream on RUMBLE!
72 watching -
LIVE
ZENNY
1 hour agoBO7 IS HERE BOT POV MF HAHAHAHA 6v6 PG18+ | UNFILTERED CHAT | CURSES AND BAD
101 watching -
LIVE
qixso
2 hours ago $0.26 earnedBO7 IS HERE TAP IN !! | @qixso
100 watching -
1:37:49
Tucker Carlson
15 hours agoBlackmail, Bribes, and Fear: Netanyahu Claims He Controls Donald Trump and America. Tucker Responds.
58.3K236 -
1:37:29
The Mel K Show
2 hours agoMORNINGS WITH MEL K - Information Warfare & Common Sense 10-2-25
8.16K5