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
-
11:51
MattMorseTV
10 hours ago $20.53 earnedTrump just RIPPED OUT the BRAKES.
45.9K37 -
16:09
Nikko Ortiz
1 day agoMilitary Fails That Got Soldiers In Trouble
6K4 -
2:06:23
Side Scrollers Podcast
18 hours agoStreamer Awards WRECKED + Cloudfare OUTAGE + AI LOVED ONES?! + More | Side Scrollers
57.5K12 -
1:54:13
The Michelle Moore Show
20 hours ago'Three Protocols For Miraculous Healing' Guest, Dr. Margaret Aranda: The Michelle Moore Show (Nov 18, 2025)
11.2K5 -
49:56
GritsGG
14 hours agoCampaign End Game! Leveling & Progressing Into Level 2 Zone!
7.65K -
8:18
The Pascal Show
12 hours ago $0.96 earnedWHOA! Trump ABSOLUTELY LOSES IT On A Reporter Asking About Epstein
5.75K7 -
32:09
Comedy Dynamics
14 hours agoBest of Jesus Trejo: Stay at Home Son - Stand-Up Comedy
6.45K -
55:43
TruthStream with Joe and Scott
1 day agoHoney and Lisa 11/17: How powerful we are, Trauma release, Becoming Sovereign (next healing event 11/20/25 @ noon eastern and 4pm eastern) #513
8.08K10 -
LIVE
Lofi Girl
3 years agolofi hip hop radio 📚 - beats to relax/study to
468 watching -
1:00:27
Coin Stories with Natalie Brunell
1 day agoMike Alfred’s Full Investment Playbook: Inside Bitcoin, Miners & AI
40K2