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
MattMorseTV
3 hours ago $10.63 earned🔴Revealing his TRUE MOTIVES.🔴
3,897 watching -
DVR
iCkEdMeL
1 hour agoBOMBSHELL: Shooter’s Trans Partner Helped Take Him Down
9.75K8 -
1:42:45
The Big Migâ„¢
6 hours agoThe Islamic Invasion – The EU Has Fallen, A Warning For The USA |EP653
20.3K23 -
LIVE
Joker Effect
1 hour agoRUMBLE IN THE DEN 4 - Hungry fighters and NFL legend fight for respect
584 watching -
44:37
Rebel News
2 hours ago🔴 LIVE NOW: Massive ‘Unite the Kingdom’ Rally in London ft. Tommy Robinson | UKrebels.com
26.2K34 -
17:22
Professor Nez
2 hours ago💣BOMBSHELL: The Biden AutoPen Scandal JUST GOT REAL!
4.22K12 -
2:20:03
I_Came_With_Fire_Podcast
10 hours agoRevelations from the Ukrainian Front Lines
27.5K2 -
52:56
X22 Report
6 hours agoMr & Mrs X - Big Pharma Vaccine/Drug Agenda Is Being Exposed To The People - Ep 7
85.3K50 -
1:41:59
THE Bitcoin Podcast with Walker America
11 hours ago $17.40 earnedThe Assassination of Charlie Kirk | Walker America, American Hodl, Erik Cason, Guy Swann
69K34 -
21:33
marcushouse
6 hours ago $1.19 earnedSpaceX Just Revealed the Plan for Starship Flight 11! 🚀
29.5K9