{"id":"https://openalex.org/W4221159596","doi":"https://doi.org/10.21105/joss.04098","title":"pymdp: A Python library for active inference in discrete state spaces","display_name":"pymdp: A Python library for active inference in discrete state spaces","publication_year":2022,"publication_date":"2022-05-04","ids":{"openalex":"https://openalex.org/W4221159596","doi":"https://doi.org/10.21105/joss.04098"},"language":"en","primary_location":{"id":"doi:10.21105/joss.04098","doi":"https://doi.org/10.21105/joss.04098","is_oa":true,"landing_page_url":"https://doi.org/10.21105/joss.04098","pdf_url":"https://joss.theoj.org/papers/10.21105/joss.04098.pdf","source":{"id":"https://openalex.org/S4210214273","display_name":"The Journal of Open Source Software","issn_l":"2475-9066","issn":["2475-9066"],"is_oa":true,"is_in_doaj":true,"is_core":true,"listed_in":["cwts-core","ddh","doaj","jufo-1","ki-jl-1","norway-1","vabb-shw"],"host_organization":"https://openalex.org/P4310315853","host_organization_name":"Open Journals","host_organization_lineage":["https://openalex.org/P4310315853"],"host_organization_lineage_names":["Open Journals"],"type":"journal"},"license":"cc-by","license_id":"https://openalex.org/licenses/cc-by","version":"publishedVersion","is_accepted":true,"is_published":true,"raw_source_name":"Journal of Open Source Software","raw_type":"journal-article"},"volume":null,"type":"article","is_traditional":true,"indexed_in":["arxiv","crossref","datacite","doaj"],"open_access":{"is_oa":true,"oa_status":"diamond","oa_url":"https://joss.theoj.org/papers/10.21105/joss.04098.pdf","any_repository_has_fulltext":true},"authorships":[{"author_position":"first","author":{"id":"https://openalex.org/A5026661010","display_name":"Conor Heins","orcid":"https://orcid.org/0000-0002-5884-7728","observed_orcids":["https://orcid.org/0000-0002-5884-7728"]},"institutions":[],"countries":[],"is_corresponding":false,"raw_author_name":"Conor Heins","raw_affiliation_strings":[],"raw_orcid":null,"affiliations":[]},{"author_position":"middle","author":{"id":"https://openalex.org/A5048239223","display_name":"Beren Millidge","orcid":"https://orcid.org/0000-0003-1872-5635","observed_orcids":["https://orcid.org/0000-0003-1872-5635"]},"institutions":[{"id":"https://openalex.org/I40120149","display_name":"University of Oxford","ror":"https://ror.org/052gg0110","country_code":"GB","type":"education","lineage":["https://openalex.org/I40120149"]},{"id":"https://openalex.org/I4210108304","display_name":"Brain Network Dynamics Unit","ror":"https://ror.org/01tfjyv98","country_code":"GB","type":"facility","lineage":["https://openalex.org/I40120149","https://openalex.org/I4210108304"]},{"id":"https://openalex.org/I4394709236","display_name":"VERSES (United States)","ror":"https://ror.org/026svqy15","country_code":"US","type":"company","lineage":["https://openalex.org/I4394709236"]}],"countries":["GB","US"],"is_corresponding":false,"raw_author_name":"Beren Millidge","raw_affiliation_strings":["MRC Brain Networks Dynamics Unit , University of Oxford , Oxford , UK","VERSES Research Lab , Los Angeles , California , USA"],"raw_orcid":null,"affiliations":[{"raw_affiliation_string":"MRC Brain Networks Dynamics Unit , University of Oxford , Oxford , UK","institution_ids":["https://openalex.org/I40120149","https://openalex.org/I4210108304"]},{"raw_affiliation_string":"VERSES Research Lab , Los Angeles , California , USA","institution_ids":["https://openalex.org/I4394709236"]}]},{"author_position":"middle","author":{"id":"https://openalex.org/A5020413791","display_name":"Daphne Demekas","orcid":"https://orcid.org/0000-0003-4974-9242","observed_orcids":["https://orcid.org/0000-0003-4974-9242"]},"institutions":[{"id":"https://openalex.org/I47508984","display_name":"Imperial College London","ror":"https://ror.org/041kmwe10","country_code":"GB","type":"education","lineage":["https://openalex.org/I47508984"]}],"countries":["GB"],"is_corresponding":false,"raw_author_name":"Daphne Demekas","raw_affiliation_strings":["Department of Computing , Imperial College London , London , UK"],"raw_orcid":null,"affiliations":[{"raw_affiliation_string":"Department of Computing , Imperial College London , London , UK","institution_ids":["https://openalex.org/I47508984"]}]},{"author_position":"middle","author":{"id":"https://openalex.org/A5034550396","display_name":"Brennan Klein","orcid":"https://orcid.org/0000-0001-8326-5044","observed_orcids":["https://orcid.org/0000-0001-8326-5044"]},"institutions":[],"countries":[],"is_corresponding":false,"raw_author_name":"Brennan Klein","raw_affiliation_strings":[],"raw_orcid":"https://orcid.org/0000-0001-8326-5044","affiliations":[]},{"author_position":"middle","author":{"id":"https://openalex.org/A5086852785","display_name":"Karl John Friston","orcid":"https://orcid.org/0000-0001-7984-8909","observed_orcids":["https://orcid.org/0000-0001-7984-8909"]},"institutions":[{"id":"https://openalex.org/I165524941","display_name":"Wellcome Centre for Human Neuroimaging","ror":"https://ror.org/02704qw51","country_code":"GB","type":"facility","lineage":["https://openalex.org/I124357947","https://openalex.org/I165524941","https://openalex.org/I45129253","https://openalex.org/I87048295"]},{"id":"https://openalex.org/I4405260083","display_name":"UCL Queen Square Institute of Neurology","ror":"https://ror.org/0370htr03","country_code":"GB","type":"education","lineage":["https://openalex.org/I124357947","https://openalex.org/I4405260083","https://openalex.org/I45129253"]},{"id":"https://openalex.org/I45129253","display_name":"University College London","ror":"https://ror.org/02jx3x895","country_code":"GB","type":"education","lineage":["https://openalex.org/I124357947","https://openalex.org/I45129253"]}],"countries":["GB"],"is_corresponding":false,"raw_author_name":"Karl Friston","raw_affiliation_strings":["Wellcome Centre for Human Neuroimaging , Queen Square Institute of Neurology , University College London , London WC1N 3AR , UK"],"raw_orcid":null,"affiliations":[{"raw_affiliation_string":"Wellcome Centre for Human Neuroimaging , Queen Square Institute of Neurology , University College London , London WC1N 3AR , UK","institution_ids":["https://openalex.org/I165524941","https://openalex.org/I4405260083","https://openalex.org/I45129253"]}]},{"author_position":"middle","author":{"id":"https://openalex.org/A5008389022","display_name":"Iain D. Couzin","orcid":"https://orcid.org/0000-0001-8556-4558","observed_orcids":["https://orcid.org/0000-0001-8556-4558"]},"institutions":[],"countries":[],"is_corresponding":false,"raw_author_name":"Iain D. Couzin","raw_affiliation_strings":[],"raw_orcid":null,"affiliations":[]},{"author_position":"last","author":{"id":"https://openalex.org/A5027042078","display_name":"Alexander Tschantz","orcid":"https://orcid.org/0000-0002-9751-5929","observed_orcids":["https://orcid.org/0000-0002-9751-5929"]},"institutions":[],"countries":[],"is_corresponding":false,"raw_author_name":"Alexander Tschantz","raw_affiliation_strings":[],"raw_orcid":null,"affiliations":[]}],"institutions":[],"countries_distinct_count":2,"institutions_distinct_count":7,"corresponding_author_ids":[],"corresponding_institution_ids":[],"apc_list":null,"apc_paid":null,"fwci":7.7518,"has_fulltext":true,"cited_by_count":101,"citation_normalized_percentile":{"value":0.98711332,"is_in_top_1_percent":false,"is_in_top_10_percent":true},"cited_by_percentile_year":{"min":98,"max":100},"biblio":{"volume":"7","issue":"73","first_page":"4098","last_page":"4098"},"is_retracted":false,"is_paratext":false,"is_xpac":false,"primary_topic":{"id":"https://openalex.org/T11883","display_name":"Embodied and Extended Cognition","score":0.8095999956130981,"subfield":{"id":"https://openalex.org/subfields/2805","display_name":"Cognitive Neuroscience"},"field":{"id":"https://openalex.org/fields/28","display_name":"Neuroscience"},"domain":{"id":"https://openalex.org/domains/1","display_name":"Life Sciences"}},"topics":[{"id":"https://openalex.org/T11883","display_name":"Embodied and Extended Cognition","score":0.8095999956130981,"subfield":{"id":"https://openalex.org/subfields/2805","display_name":"Cognitive Neuroscience"},"field":{"id":"https://openalex.org/fields/28","display_name":"Neuroscience"},"domain":{"id":"https://openalex.org/domains/1","display_name":"Life Sciences"}},{"id":"https://openalex.org/T10462","display_name":"Reinforcement Learning in Robotics","score":0.1753000020980835,"subfield":{"id":"https://openalex.org/subfields/1702","display_name":"Artificial Intelligence"},"field":{"id":"https://openalex.org/fields/17","display_name":"Computer Science"},"domain":{"id":"https://openalex.org/domains/3","display_name":"Physical Sciences"}},{"id":"https://openalex.org/T11303","display_name":"Bayesian Modeling and Causal Inference","score":0.002199999988079071,"subfield":{"id":"https://openalex.org/subfields/1702","display_name":"Artificial Intelligence"},"field":{"id":"https://openalex.org/fields/17","display_name":"Computer Science"},"domain":{"id":"https://openalex.org/domains/3","display_name":"Physical Sciences"}}],"keywords":[{"id":"https://openalex.org/keywords/active-inference","display_name":"active inference","score":0.9909999966621399},{"id":"https://openalex.org/keywords/partially-observable-markov-decision-processes","display_name":"partially observable Markov decision processes","score":0.8270000219345093},{"id":"https://openalex.org/keywords/bayesian-agents","display_name":"Bayesian agents","score":0.5690000057220459},{"id":"https://openalex.org/keywords/generative-models","display_name":"generative models","score":0.8740000128746033},{"id":"https://openalex.org/keywords/discrete-state-space","display_name":"discrete state space","score":0.7059999704360962},{"id":"https://openalex.org/keywords/openai-gym","display_name":"OpenAI Gym","score":0.5830000042915344},{"id":"https://openalex.org/keywords/python-library","display_name":"Python library","score":0.5820000171661377},{"id":"https://openalex.org/keywords/reinforcement-learning","display_name":"reinforcement learning","score":0.46299999952316284}],"concepts":[{"id":"https://openalex.org/C2776214188","wikidata":"https://www.wikidata.org/wiki/Q408386","display_name":"Inference","level":2,"score":0.830696702003479},{"id":"https://openalex.org/C519991488","wikidata":"https://www.wikidata.org/wiki/Q28865","display_name":"Python (programming language)","level":2,"score":0.8284516930580139},{"id":"https://openalex.org/C41008148","wikidata":"https://www.wikidata.org/wiki/Q21198","display_name":"Computer science","level":0,"score":0.7322210073471069},{"id":"https://openalex.org/C199360897","wikidata":"https://www.wikidata.org/wiki/Q9143","display_name":"Programming language","level":1,"score":0.5505004525184631},{"id":"https://openalex.org/C2777655017","wikidata":"https://www.wikidata.org/wiki/Q1501161","display_name":"Toolbox","level":2,"score":0.5105639696121216},{"id":"https://openalex.org/C160234255","wikidata":"https://www.wikidata.org/wiki/Q812535","display_name":"Bayesian inference","level":3,"score":0.48737603425979614},{"id":"https://openalex.org/C43126263","wikidata":"https://www.wikidata.org/wiki/Q128751","display_name":"Source code","level":2,"score":0.44948890805244446},{"id":"https://openalex.org/C154945302","wikidata":"https://www.wikidata.org/wiki/Q11660","display_name":"Artificial intelligence","level":1,"score":0.43974828720092773},{"id":"https://openalex.org/C119857082","wikidata":"https://www.wikidata.org/wiki/Q2539","display_name":"Machine learning","level":1,"score":0.39975374937057495},{"id":"https://openalex.org/C107673813","wikidata":"https://www.wikidata.org/wiki/Q812534","display_name":"Bayesian probability","level":2,"score":0.24407503008842468}],"mesh":[],"locations_count":5,"locations":[{"id":"doi:10.21105/joss.04098","doi":"https://doi.org/10.21105/joss.04098","is_oa":true,"landing_page_url":"https://doi.org/10.21105/joss.04098","pdf_url":"https://joss.theoj.org/papers/10.21105/joss.04098.pdf","source":{"id":"https://openalex.org/S4210214273","display_name":"The Journal of Open Source Software","issn_l":"2475-9066","issn":["2475-9066"],"is_oa":true,"is_in_doaj":true,"is_core":true,"listed_in":["cwts-core","ddh","doaj","jufo-1","ki-jl-1","norway-1","vabb-shw"],"host_organization":"https://openalex.org/P4310315853","host_organization_name":"Open Journals","host_organization_lineage":["https://openalex.org/P4310315853"],"host_organization_lineage_names":["Open Journals"],"type":"journal"},"license":"cc-by","license_id":"https://openalex.org/licenses/cc-by","version":"publishedVersion","is_accepted":true,"is_published":true,"raw_source_name":"Journal of Open Source Software","raw_type":"journal-article"},{"id":"pmh:oai:arXiv.org:2201.03904","doi":null,"is_oa":true,"landing_page_url":"http://arxiv.org/abs/2201.03904","pdf_url":"https://arxiv.org/pdf/2201.03904","source":{"id":"https://openalex.org/S4306400194","display_name":"arXiv (Cornell University)","issn_l":"2331-8422","issn":["2331-8422"],"is_oa":true,"is_in_doaj":false,"is_core":false,"listed_in":[],"host_organization":"https://openalex.org/I205783295","host_organization_name":"Cornell University","host_organization_lineage":["https://openalex.org/I205783295"],"host_organization_lineage_names":[],"type":"repository"},"license":null,"license_id":null,"version":"submittedVersion","is_accepted":false,"is_published":false,"raw_source_name":null,"raw_type":"text"},{"id":"pmh:oai:zenodo.org:6484849","doi":null,"is_oa":true,"landing_page_url":"https://zenodo.org/record/6484849","pdf_url":null,"source":{"id":"https://openalex.org/S4306400562","display_name":"Zenodo (CERN European Organization for Nuclear Research)","issn_l":null,"issn":null,"is_oa":true,"is_in_doaj":false,"is_core":false,"listed_in":[],"host_organization":"https://openalex.org/I67311998","host_organization_name":"European Organization for Nuclear Research","host_organization_lineage":["https://openalex.org/I67311998"],"host_organization_lineage_names":[],"type":"repository"},"license":"other-oa","license_id":"https://openalex.org/licenses/other-oa","version":"submittedVersion","is_accepted":false,"is_published":false,"raw_source_name":"","raw_type":"software"},{"id":"doi:10.48550/arxiv.2201.03904","doi":"https://doi.org/10.48550/arxiv.2201.03904","is_oa":true,"landing_page_url":"https://doi.org/10.48550/arxiv.2201.03904","pdf_url":null,"source":{"id":"https://openalex.org/S4306400194","display_name":"arXiv (Cornell University)","issn_l":"2331-8422","issn":["2331-8422"],"is_oa":true,"is_in_doaj":false,"is_core":false,"listed_in":[],"host_organization":"https://openalex.org/I205783295","host_organization_name":"Cornell University","host_organization_lineage":["https://openalex.org/I205783295"],"host_organization_lineage_names":[],"type":"repository"},"license":null,"license_id":null,"version":null,"is_accepted":false,"is_published":false,"raw_source_name":null,"raw_type":"article-journal"},{"id":"doi:10.5281/zenodo.6484849","doi":"https://doi.org/10.5281/zenodo.6484849","is_oa":true,"landing_page_url":"https://doi.org/10.5281/zenodo.6484849","pdf_url":null,"source":{"id":"https://openalex.org/S4306400562","display_name":"Zenodo (CERN European Organization for Nuclear Research)","issn_l":null,"issn":null,"is_oa":true,"is_in_doaj":false,"is_core":false,"listed_in":[],"host_organization":"https://openalex.org/I67311998","host_organization_name":"European Organization for Nuclear Research","host_organization_lineage":["https://openalex.org/I67311998"],"host_organization_lineage_names":[],"type":"repository"},"license":null,"license_id":null,"version":null,"is_accepted":false,"is_published":false,"raw_source_name":null,"raw_type":"Software"}],"best_oa_location":{"id":"doi:10.21105/joss.04098","doi":"https://doi.org/10.21105/joss.04098","is_oa":true,"landing_page_url":"https://doi.org/10.21105/joss.04098","pdf_url":"https://joss.theoj.org/papers/10.21105/joss.04098.pdf","source":{"id":"https://openalex.org/S4210214273","display_name":"The Journal of Open Source Software","issn_l":"2475-9066","issn":["2475-9066"],"is_oa":true,"is_in_doaj":true,"is_core":true,"listed_in":["cwts-core","ddh","doaj","jufo-1","ki-jl-1","norway-1","vabb-shw"],"host_organization":"https://openalex.org/P4310315853","host_organization_name":"Open Journals","host_organization_lineage":["https://openalex.org/P4310315853"],"host_organization_lineage_names":["Open Journals"],"type":"journal"},"license":"cc-by","license_id":"https://openalex.org/licenses/cc-by","version":"publishedVersion","is_accepted":true,"is_published":true,"raw_source_name":"Journal of Open Source Software","raw_type":"journal-article"},"sustainable_development_goals":[],"study_designs":[],"awards":[{"id":"https://openalex.org/G1974967467","display_name":null,"funder_award_id":"Excellence Strategy-EXC 2117-422037984","funder_id":"https://openalex.org/F4320320879","funder_display_name":"Deutsche Forschungsgemeinschaft"},{"id":"https://openalex.org/G203253094","display_name":null,"funder_award_id":"EXC 2117422037984","funder_id":"https://openalex.org/F4320320879","funder_display_name":"Deutsche Forschungsgemeinschaft"},{"id":"https://openalex.org/G2038046918","display_name":null,"funder_award_id":"2117_422037984","funder_id":"https://openalex.org/F4320320879","funder_display_name":"Deutsche Forschungsgemeinschaft"},{"id":"https://openalex.org/G2088408388","display_name":null,"funder_award_id":"EXC2117","funder_id":"https://openalex.org/F4320320879","funder_display_name":"Deutsche Forschungsgemeinschaft"},{"id":"https://openalex.org/G2463333092","display_name":null,"funder_award_id":"422037984","funder_id":"https://openalex.org/F4320320879","funder_display_name":"Deutsche Forschungsgemeinschaft"},{"id":"https://openalex.org/G3944801088","display_name":"Advanced simulation, analysis and interpretation of network structures in biological data","funder_award_id":"860949","funder_id":"https://openalex.org/F4320320300","funder_display_name":"European Commission"},{"id":"https://openalex.org/G434337789","display_name":null,"funder_award_id":"HORIZON2020","funder_id":"https://openalex.org/F4320320300","funder_display_name":"European Commission"},{"id":"https://openalex.org/G8188088470","display_name":null,"funder_award_id":"N00014-64019-1-2556","funder_id":"https://openalex.org/F4320337345","funder_display_name":"Office of Naval Research"},{"id":"https://openalex.org/G8876996369","display_name":null,"funder_award_id":"N00014","funder_id":"https://openalex.org/F4320337345","funder_display_name":"Office of Naval Research"}],"funders":[{"id":"https://openalex.org/F4320320300","display_name":"European Commission","ror":"https://ror.org/00k4n6c32"},{"id":"https://openalex.org/F4320320879","display_name":"Deutsche Forschungsgemeinschaft","ror":"https://ror.org/018mejw64"},{"id":"https://openalex.org/F4320322434","display_name":"Max-Planck-Gesellschaft","ror":"https://ror.org/01hhn8329"},{"id":"https://openalex.org/F4320337345","display_name":"Office of Naval Research","ror":"https://ror.org/00rk2pe57"}],"has_content":{"pdf":true,"grobid_xml":true},"content_urls":{"pdf":"https://content.openalex.org/works/W4221159596.pdf","grobid_xml":"https://content.openalex.org/works/W4221159596.grobid-xml"},"referenced_works_count":38,"referenced_works":["https://openalex.org/W2040891197","https://openalex.org/W2059320470","https://openalex.org/W2091405003","https://openalex.org/W2128918015","https://openalex.org/W2137411342","https://openalex.org/W2168359464","https://openalex.org/W2552810632","https://openalex.org/W2753555157","https://openalex.org/W2899947052","https://openalex.org/W2918957485","https://openalex.org/W2919878953","https://openalex.org/W2929539807","https://openalex.org/W2959937473","https://openalex.org/W2960216878","https://openalex.org/W2991094223","https://openalex.org/W3001808890","https://openalex.org/W3003886363","https://openalex.org/W3004207351","https://openalex.org/W3008513355","https://openalex.org/W3017990858","https://openalex.org/W3033115783","https://openalex.org/W3036730253","https://openalex.org/W3047532509","https://openalex.org/W3095328678","https://openalex.org/W3111356495","https://openalex.org/W3128268019","https://openalex.org/W3132290407","https://openalex.org/W3152046960","https://openalex.org/W3160040699","https://openalex.org/W3179281125","https://openalex.org/W3184873312","https://openalex.org/W3191819586","https://openalex.org/W3195969453","https://openalex.org/W3201399965","https://openalex.org/W4226023986","https://openalex.org/W4245880239","https://openalex.org/W6780559895","https://openalex.org/W6964161895"],"related_works":["https://openalex.org/W4406304597","https://openalex.org/W4311659464","https://openalex.org/W4404147602","https://openalex.org/W7151948468","https://openalex.org/W2135681007","https://openalex.org/W7101090405","https://openalex.org/W7100048234","https://openalex.org/W4403754174","https://openalex.org/W7095232061","https://openalex.org/W7196989606"],"abstract_inverted_index":{"pymdp":[0,111],"offers":[1],"a":[2,24,27,52,71,75,100],"suite":[3],"of":[4,54,63,77,103,110,119],"robust,":[5],"tested,":[6],"and":[7,39,56,61,79,85,106,129,135],"modular":[8],"routines":[9],"for":[10],"simulating":[11],"active":[12,95],"inference":[13,96],"agents":[14],"equipped":[15],"with":[16],"partially-observable":[17],"Markov":[18],"Decision":[19],"Process":[20],"(POMDP)":[21],"generative":[22,65,72],"models.Mathematically,":[23],"POMDP":[25],"comprises":[26],"joint":[28,47],"distribution":[29,48],"over":[30,137],"observations":[31,134],"o,":[32],"hidden":[33],"states":[34,37],"s,":[35,44],"control":[36],"u":[38],"hyperparameters":[40],"\u03c6:":[41],"P":[42],"(o,":[43],"u,":[45],"\u03c6).This":[46],"further":[49],"factorizes":[50],"into":[51],"set":[53,76],"categorical":[55],"Dirichlet":[57],"distributions:":[58],"the":[59,64,116],"likelihoods":[60],"priors":[62],"model.With":[66],"pymdp,":[67],"one":[68],"can":[69],"build":[70],"model":[73],"using":[74],"prior":[78],"likelihood":[80],"distributions,":[81],"initialize":[82],"an":[83,90,127],"agent,":[84],"then":[86],"link":[87],"it":[88],"to":[89,93,115],"external":[91],"environment":[92,130],"run":[94],"processes":[97],"-all":[98],"in":[99,123],"few":[101],"lines":[102],"code.The":[104],"Agent":[105],"Env":[107],"(environment)":[108],"APIs":[109],"are":[112],"built":[113],"according":[114],"standardized":[117],"framework":[118],"OpenAIGym":[120],"commonly":[121],"used":[122],"reinforcement":[124],"learning,":[125],"where":[126],"agent":[128],"object":[131],"recursively":[132],"exchange":[133],"actions":[136],"time":[138],"(Brockman":[139],"et":[140],"al.,":[141],"2016).":[142]},"counts_by_year":[{"year":2026,"cited_by_count":31},{"year":2025,"cited_by_count":17},{"year":2024,"cited_by_count":25},{"year":2023,"cited_by_count":20},{"year":2022,"cited_by_count":8}],"updated_date":"2026-11-08T12:12:28.789561","created_date":"2022-04-03T00:00:00"}
