{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2025,11,4]],"date-time":"2025-11-04T16:12:54Z","timestamp":1762272774057},"reference-count":69,"publisher":"MIT Press - Journals","issue":"10","content-domain":{"domain":["direct.mit.edu"],"crossmark-restriction":true},"short-container-title":[],"published-print":{"date-parts":[[2021,9,16]]},"abstract":"<jats:title>Abstract<\/jats:title>\n               <jats:p>Active inference is a state-of-the-art framework in neuroscience that offers a unified theory of brain function. It is also proposed as a framework for planning in AI. Unfortunately, the complex mathematics required to create new models can impede application of active inference in neuroscience and AI research. This letter addresses this problem by providing a complete mathematical treatment of the active inference framework in discrete time and state spaces and the derivation of the update equations for any new model. We leverage the theoretical connection between active inference and variational message passing as described by John Winn and Christopher M. Bishop in 2005. Since variational message passing is a well-defined methodology for deriving Bayesian belief update equations, this letter opens the door to advanced generative models for active inference. We show that using a fully factorized variational distribution simplifies the expected free energy, which furnishes priors over policies so that agents seek unambiguous states. Finally, we consider future extensions that support deep tree searches for sequential policy optimization based on structure learning and belief propagation.<\/jats:p>","DOI":"10.1162\/neco_a_01422","type":"journal-article","created":{"date-parts":[[2021,7,19]],"date-time":"2021-07-19T20:44:54Z","timestamp":1626727494000},"page":"2762-2826","update-policy":"http:\/\/dx.doi.org\/10.1162\/mitpressjournals.corrections.policy","source":"Crossref","is-referenced-by-count":8,"title":["Realizing Active Inference in Variational Message Passing: The Outcome-Blind Certainty Seeker"],"prefix":"10.1162","volume":"33","author":[{"given":"Th\u00e9ophile","family":"Champion","sequence":"first","affiliation":[{"name":"University of Kent, School of Computing, Canterbury CT2 7NZ, U.K. tmac3@kent.ac.uk"}],"role":[{"role":"author","vocabulary":"crossref"}]},{"given":"Marek","family":"Grze\u015b","sequence":"additional","affiliation":[{"name":"University of Kent, School of Computing, Canterbury CT2 7NZ, U.K. m.grzes@kent.ac.uk"}],"role":[{"role":"author","vocabulary":"crossref"}]},{"given":"Howard","family":"Bowman","sequence":"additional","affiliation":[{"name":"University of Birmingham, School of Psychology, Birmingham B15 2TT, U.K., and University of Kent, School of Computing, Canterbury CT2 7NZ, U.K. h.bowman@kent.ac.uk"}],"role":[{"role":"author","vocabulary":"crossref"}]}],"member":"281","published-online":{"date-parts":[[2021,9,16]]},"reference":[{"issue":"3","key":"2021091622575417900_B1","doi-asserted-by":"crossref","first-page":"391","DOI":"10.1007\/s00213-006-0578-x","article-title":"The debate over dopamine's role in reward: The case for incentive salience","volume":"191","author":"Berridge","year":"2007","journal-title":"Psychopharmacology"},{"key":"2021091622575417900_B2","unstructured":"Bishop, C., & Winn, J. (2003). Structured variational distributions in VIBES. In Proceedings of Artificial Intelligence and Statistics. Society for Artificial Intelligence and Statistics."},{"issue":"518","key":"2021091622575417900_B3","doi-asserted-by":"crossref","first-page":"859","DOI":"10.1080\/01621459.2017.1285773","article-title":"Variational inference: A review for statisticians","volume":"112","author":"Blei","year":"2017","journal-title":"Journal of the American Statistical Association"},{"issue":"6","key":"2021091622575417900_B4","doi-asserted-by":"crossref","first-page":"377","DOI":"10.1016\/0020-0190(87)90114-1","article-title":"Occam's razor","volume":"24","author":"Blumer","year":"1987","journal-title":"Information Processing Letters"},{"issue":"10","key":"2021091622575417900_B5","doi-asserted-by":"crossref","first-page":"485","DOI":"10.1016\/j.tics.2012.08.006","article-title":"Planning as inference","volume":"16","author":"Botvinick","year":"2012","journal-title":"Trends in Cognitive Sciences"},{"key":"2021091622575417900_B6","unstructured":"Bowman, H., & Li, S. (2011). Cognition, concurrency theory and reverberations in the brain: In search of a calculus of communicating (recurrent) neural systems. In A.Voronkov & M.Korovina (Eds.), Higher-Order Workshop on Automated Runtime Verification and Debugging, Easy Chair Proceedings, Festschrift celebrating Howard Barringer's 60th Birthday, vol. 1. EasyChair."},{"issue":"1","key":"2021091622575417900_B7","doi-asserted-by":"crossref","first-page":"1","DOI":"10.1109\/TCIAIG.2012.2186810","article-title":"A survey of Monte Carlo tree search methods","volume":"4","author":"Browne","year":"2012","journal-title":"IEEE Transactions on Computational Intelligence and AI in Games"},{"key":"2021091622575417900_B8","doi-asserted-by":"crossref","first-page":"55","DOI":"10.1016\/j.jmp.2017.09.004","article-title":"The free energy principle for action and perception: A mathematical review","volume":"81","author":"Buckley","year":"2017","journal-title":"Journal of Mathematical Psychology"},{"key":"2021091622575417900_B9","unstructured":"Champion, T., Bowman, H., & Grze\u015b, M. (2021). Branching time active inference: The theory and its generality. Unpublished manuscript."},{"key":"2021091622575417900_B10","doi-asserted-by":"crossref","first-page":"185","DOI":"10.1016\/j.ijar.2018.11.002","article-title":"A factor graph approach to automated design of Bayesian signal processing algorithms","volume":"104","author":"Cox","year":"2019","journal-title":"Int. J. Approx. Reason."},{"key":"2021091622575417900_B11","unstructured":"Cozman, F. G.\n           (2000). Generalizing variable elimination in Bayesian networks. In Proc. of the Workshop on Probabilistic Reasoning in Artificial Intelligence. https:\/\/www.ime.usp.br\/\u223cjstern\/miscellanea\/General\/cozman00.pdf"},{"key":"2021091622575417900_B12","doi-asserted-by":"crossref","unstructured":"Da Costa, L., Parr, T., Sajid, N., Veselic, S., Neacsu, V., & Friston, K. (2020). Active inference on discrete state-spaces: A synthesis.Journal of Mathematical Psychology, 99.","DOI":"10.1016\/j.jmp.2020.102447"},{"key":"2021091622575417900_B13","unstructured":"Da Costa, L., Sajid, N., Parr, T., Friston, K., & Smith, R. (2020). The relationship between dynamic programming and active inference: The discrete, finite-horizon case. CoRR. abs\/209.08111."},{"key":"2021091622575417900_B14","doi-asserted-by":"crossref","DOI":"10.3389\/fncom.2015.00136","article-title":"Dopamine, reward learning, and active inference","volume":"9","author":"FitzGerald","year":"2015","journal-title":"Frontiers in Computational Neuroscience"},{"issue":"1","key":"2021091622575417900_B15","doi-asserted-by":"crossref","first-page":"3","DOI":"10.1016\/0010-0277(88)90031-5","article-title":"Connectionism and cognitive architecture: A critical analysis","volume":"28","author":"Fodor","year":"1988","journal-title":"Cognition"},{"issue":"2","key":"2021091622575417900_B16","doi-asserted-by":"crossref","first-page":"520","DOI":"10.1109\/18.910573","article-title":"Codes on graphs: Normal realizations","volume":"47","author":"Forney","year":"2001","journal-title":"IEEE Transactions on Information Theory"},{"key":"2021091622575417900_B17","unstructured":"Fountas, Z., Sajid, N., Mediano, Mediano, P., & Friston, K. (2020). Deep active inference agents using Monte-Carlo methods. In H.Larochelle, M.Ranzato, R.Hadsell, M. F.Balcan, & H.Lin (Eds.), Advances in neural information processing systems, 33. Red Hook, NY: Curran."},{"issue":"2","key":"2021091622575417900_B18","doi-asserted-by":"crossref","first-page":"85","DOI":"10.1007\/s10462-011-9236-8","article-title":"A tutorial on variational Bayesian inference","volume":"38","author":"Fox","year":"2012","journal-title":"Artificial Intelligence Review"},{"key":"2021091622575417900_B19","doi-asserted-by":"crossref","unstructured":"Friston, K.\n           (2010). The free-energy principle: A unified brain theory?Nature Reviews Neuroscience, 11(2), 127\u2013138.","DOI":"10.1038\/nrn2787"},{"key":"2021091622575417900_B20","unstructured":"Friston, K.\n           (2019). A free energy principle for a particular physics. arXiv:1906.10184."},{"key":"2021091622575417900_B21","doi-asserted-by":"crossref","unstructured":"Friston, K., Da Costa, L., Hafner, D., Hesp, C., & Parr, T. (2020). Sophisticated inference.Neural Computation, 33, 713\u2013763.","DOI":"10.1162\/neco_a_01351"},{"key":"2021091622575417900_B22","doi-asserted-by":"crossref","first-page":"862","DOI":"10.1016\/j.neubiorev.2016.06.022","article-title":"Active inference and learning","volume":"68","author":"Friston","year":"2016","journal-title":"Neuroscience and Biobehavioral Reviews"},{"issue":"10","key":"2021091622575417900_B23","doi-asserted-by":"crossref","first-page":"2633","DOI":"10.1162\/neco_a_00999","article-title":"Active inference, curiosity and insight","volume":"29","author":"Friston","year":"2017","journal-title":"Neural Computation"},{"issue":"4","key":"2021091622575417900_B24","doi-asserted-by":"crossref","first-page":"381","DOI":"10.1162\/NETN_a_00018","article-title":"The graphical brain: Belief propagation and active inference","volume":"1","author":"Friston","year":"2017","journal-title":"Network Neuroscience"},{"key":"2021091622575417900_B25","unstructured":"Friston, K., Parr, T., & Zeidman, P. (2018). Bayesian model reduction. arXiv:1805.07092."},{"issue":"4","key":"2021091622575417900_B26","doi-asserted-by":"crossref","first-page":"187","DOI":"10.1080\/17588928.2015.1020053","article-title":"Active inference and epistemic value","volume":"6","author":"Friston","year":"2015","journal-title":"Cognitive Neuroscience"},{"key":"2021091622575417900_B27","doi-asserted-by":"crossref","first-page":"486","DOI":"10.1016\/j.neubiorev.2018.04.004","article-title":"Deep temporal models and active inference","volume":"90","author":"Friston","year":"2018","journal-title":"Neuroscience and Biobehavioral Reviews"},{"key":"2021091622575417900_B28","doi-asserted-by":"crossref","DOI":"10.3389\/fnhum.2013.00598","article-title":"The anatomy of choice: Active inference and agency","volume":"7","author":"Friston","year":"2013","journal-title":"Frontiers in Human Neuroscience"},{"key":"2021091622575417900_B29","doi-asserted-by":"crossref","unstructured":"Gabriels, R., Cuccaro, M. L., Hill, D., Ivers, B. J., & Goldson, E. (2005). Repetitive behaviors in autism: Relationships with associated clinical features.Research in Developmental Disabilities, 26, pp. 169\u2013181.","DOI":"10.1016\/j.ridd.2004.05.003"},{"key":"2021091622575417900_B30","doi-asserted-by":"crossref","DOI":"10.3389\/frai.2020.509354","article-title":"Deep active inference and scene construction","volume":"3","author":"Heins","year":"2020","journal-title":"Frontiers in Artificial Intelligence"},{"issue":"10","key":"2021091622575417900_B31","doi-asserted-by":"crossref","first-page":"1295","DOI":"10.1016\/j.visres.2008.09.007","article-title":"Bayesian surprise attracts human attention","volume":"49","author":"Itti","year":"2009","journal-title":"Vision Research"},{"issue":"2","key":"2021091622575417900_B32","doi-asserted-by":"crossref","first-page":"495","DOI":"10.1152\/physrev.00012.2004","article-title":"Ghrelin: Structure and function","volume":"85","author":"Kojima","year":"2005","journal-title":"Physiological Reviews"},{"key":"2021091622575417900_B33","unstructured":"Koller, D., & Friedman, N. (2009). Probabilistic graphical modelsCambridge, MA: MIT Press."},{"issue":"2","key":"2021091622575417900_B34","doi-asserted-by":"crossref","first-page":"498","DOI":"10.1109\/18.910572","article-title":"Factor graphs and the sum- product algorithm","volume":"47","author":"Kschischang","year":"2001","journal-title":"IEEE Transactions on Information Theory"},{"key":"2021091622575417900_B35","doi-asserted-by":"crossref","first-page":"855","DOI":"10.1007\/s10803-006-0213-z","article-title":"The repetitive behavior scale-revised: Independent validation in individuals with autism spectrum disorders","volume":"37","author":"Lam","year":"2007","journal-title":"Journal of Autism and Developmental Disorders"},{"key":"2021091622575417900_B36","unstructured":"Lample, G., & Chaplot, D. S. (2016). Playing FPS games with deep reinforcement learning. In Proceedings of the AAAI Conference on Artificial Intelligence, 31(1)."},{"key":"2021091622575417900_B37","unstructured":"LeCun, Y., & Cortes, C. (2010). MNIST handwritten digit database.https:\/\/www.bibsonomy.org\/bibtex\/2935bad99fa1f65e03c25b315aa3c1032\/slicsid"},{"key":"2021091622575417900_B38","unstructured":"Levine, S.\n           (2018). Reinforcement learning and control as probabilistic inference: Tutorial and review. arXiv:1805,00909."},{"key":"2021091622575417900_B39","unstructured":"Lin, W., Hubacher, N., & Khan, M. E. (2018). Variational message passing with structured inference networks. In Proceedings of the International Conference on Learning Representations."},{"key":"2021091622575417900_B40","doi-asserted-by":"crossref","unstructured":"Markovic, D., Stojic, H., Schwoebel, S., & Kiebel, S. J. (2021). An empirical evaluation of active inference in multi-armed bandits. arXiv:2101.08699.","DOI":"10.1016\/j.neunet.2021.08.018"},{"key":"2021091622575417900_B41","doi-asserted-by":"crossref","unstructured":"Millidge, B., Tschantz, A., & Buckley, C. L. (2020). Whence the expected free energy?Neural Computation, 33, 447\u2013482.","DOI":"10.1162\/neco_a_01354"},{"key":"2021091622575417900_B42","doi-asserted-by":"crossref","DOI":"10.3389\/fncom.2016.00056","article-title":"Scene construction, visual foraging, and active inference","volume":"10","author":"Mirza","year":"2016","journal-title":"Frontiers in Computational Neuroscience"},{"issue":"1","key":"2021091622575417900_B43","doi-asserted-by":"crossref","first-page":"1","DOI":"10.1371\/journal.pone.0190429","article-title":"Human visual exploration reduces uncertainty about the sensed world","volume":"13","author":"Mirza","year":"2018","journal-title":"PLOS One"},{"key":"2021091622575417900_B44","unstructured":"Mnih, V., Kavukcuoglu, K., Silver, D., Graves, A., Antonoglou, I., Wierstra, D., & Riedmiller, M. (2013). Playing Atari with deep reinforcement learning. CoRR. abs\/1312.5602."},{"key":"2021091622575417900_B45","unstructured":"Murphy, K., Weiss, Y., & Jordan, M. I. (2013). Loopy belief propagation for approximate inference: An empirical study. arXiv:1301.6725."},{"issue":"1","key":"2021091622575417900_B46","doi-asserted-by":"crossref","first-page":"3","DOI":"10.1109\/TAMD.2014.2341351","article-title":"Ecological active vision: Four bioinspired principles to integrate bottom\u2013up and adaptive top\u2013down attention tested with a simple camera-arm robot","volume":"7","author":"Ognibene","year":"2015","journal-title":"IEEE Transactions on Autonomous Mental Development"},{"issue":"2164","key":"2021091622575417900_B47","article-title":"Markov blankets, information geometry and stochastic thermodynamics","volume":"378","author":"Parr","year":"2020","journal-title":"Philosophical Transactions of the Royal Society A: Mathematical, Physical and Engineering Sciences"},{"key":"2021091622575417900_B48","doi-asserted-by":"crossref","unstructured":"Parr, T., Dimitrije, M., Kiebel, S. J., & Friston, K. J. (2019). Neuronal message passing using mean-field, Bethe, and marginal approximations.Scientific Reports, 9(1).","DOI":"10.1038\/s41598-018-38246-3"},{"key":"2021091622575417900_B49","doi-asserted-by":"crossref","unstructured":"Parr, T., & Friston, K. J. (2018). Generalised free energy and active inference: can the future cause the past?Biological Cybernetics, 113, 495\u2013513.","DOI":"10.1007\/s00422-019-00805-w"},{"key":"2021091622575417900_B50","doi-asserted-by":"crossref","unstructured":"Rawlik, K., Toussaint, M., & Vijayakumar, S. (2013). On stochastic optimal control and reinforcement learning by approximate inference. In Proceedings of the Twenty-Third International Joint Conference on Artificial Intelligence (pp. 3052\u20133056). Stanford, CA: AAAI Press.","DOI":"10.15607\/RSS.2012.VIII.045"},{"issue":"5306","key":"2021091622575417900_B51","doi-asserted-by":"crossref","first-page":"1593","DOI":"10.1126\/science.275.5306.1593","article-title":"A neural substrate of prediction and reward","volume":"275","author":"Schultz","year":"1997","journal-title":"Science"},{"key":"2021091622575417900_B52","doi-asserted-by":"crossref","DOI":"10.7554\/eLife.41703","article-title":"Computational mechanisms of curiosity and goal- directed exploration","volume":"8","author":"Schwartenbeck","year":"2019","journal-title":"eLife"},{"issue":"7587","key":"2021091622575417900_B53","doi-asserted-by":"crossref","first-page":"484","DOI":"10.1038\/nature16961","article-title":"Mastering the game of go with deep neural networks and tree search","volume":"529","author":"Silver","year":"2016","journal-title":"Nature"},{"key":"2021091622575417900_B54","doi-asserted-by":"crossref","unstructured":"Smith, R., Friston, K. J., & Whyte, C. J. (2021). A step-by-step tutorial on active inference and its application to empirical data. PsyArXiv.","DOI":"10.31234\/osf.io\/b4jm6"},{"key":"2021091622575417900_B55","unstructured":"Solopchuk, O.\n           (2018). Tutorial on active inference. https:\/\/medium.com\/@solopchuk\/tutorial-on-active-inference-30edcf50f5dc"},{"key":"2021091622575417900_B56","doi-asserted-by":"crossref","unstructured":"Sundar Rajagopalan, S., Dhall, A., & Goecke, R. (2013). Self-stimulatory behaviors in the wild for autism diagnosis. In Proceedings of the IEEE International Conference on Computer Vision Workshops. Piscataway, NJ: IEEE.","DOI":"10.1109\/ICCVW.2013.103"},{"key":"2021091622575417900_B57","doi-asserted-by":"crossref","unstructured":"Tschantz, A., Baltieri, M., Seth, A. K., & Buckley, C. L. (2020). Scaling active inference. In Proceedings of the 2020 International Joint Conference on Neural Networks (pp. 1\u20138). Piscataway, NJ: IEEE.","DOI":"10.1109\/IJCNN48605.2020.9207382"},{"issue":"6","key":"2021091622575417900_B58","doi-asserted-by":"crossref","first-page":"547","DOI":"10.1007\/s00422-018-0785-7","article-title":"Deep active inference","volume":"112","author":"Ueltzh\u00f6ffer","year":"2018","journal-title":"Biological Cybernetics"},{"key":"2021091622575417900_B59","article-title":"Simulating active inference processes by message passing","volume":"6","author":"Laar","year":"2019","journal-title":"Front. Robotics and AI"},{"key":"2021091622575417900_B60","doi-asserted-by":"crossref","DOI":"10.3389\/frobt.2019.00020","article-title":"Simulating active inference processes by message passing","volume":"6","author":"van de Laar","year":"2019","journal-title":"Frontiers in Robotics and AI"},{"key":"2021091622575417900_B61","article-title":"Active vision for robot manipulators using the free energy principle","volume":"15","author":"Maele","year":"2021","journal-title":"Frontiers in Neurorobotics"},{"key":"2021091622575417900_B62","unstructured":"van Hasselt, H., Guez, A., & Silver, D. (2015). Deep reinforcement learning with double Q-learning. arXiv:1509.08481v3."},{"key":"2021091622575417900_B63","doi-asserted-by":"crossref","first-page":"72","DOI":"10.1007\/978-3-030-64919-7_9","volume-title":"Active inference","author":"Wauthier","year":"2020"},{"key":"2021091622575417900_B64","first-page":"626","volume-title":"Proceedings of the 16th Conference in Uncertainty in Artificial Intelligence","author":"Wiegerinck","year":"2000"},{"key":"2021091622575417900_B65","first-page":"661","article-title":"Variational message passing","volume":"6","author":"Winn","year":"2005","journal-title":"Journal of Machine Learning Research"},{"key":"2021091622575417900_B66","unstructured":"Xing, E. P., Jordan, M. I., & Russell, S. J. (2012). A generalized mean field algorithm for variational inference in exponential families.CoRR. abs\/1212.2512."},{"issue":"7","key":"2021091622575417900_B67","doi-asserted-by":"crossref","first-page":"2282","DOI":"10.1109\/TIT.2005.850085","article-title":"Constructing free-energy approximations and generalized belief propagation algorithms","volume":"51","author":"Yedidia","year":"2005","journal-title":"IEEE Trans. Information Theory"},{"issue":"4","key":"2021091622575417900_B68","doi-asserted-by":"crossref","first-page":"860","DOI":"10.1007\/s10955-011-0384-7","article-title":"Message-passing algorithms for inference and optimization","volume":"145","author":"Yedidia","year":"2011","journal-title":"Journal of Statistical Physics"},{"key":"2021091622575417900_B69","unstructured":"Yedidia, J. S., Freeman, W. T., & Weiss, Y. (2000). Generalized belief propagation. In J.Lafferty, C.Williams, J. Shawe-Taylor, R.Zemel, & A.Culotta, (Eds.) Advances in neural information processing systems, 23 (pp. 668\u2013674). Cambridge, MA: MIT Press."}],"container-title":["Neural Computation"],"original-title":[],"language":"en","link":[{"URL":"http:\/\/direct.mit.edu\/neco\/article-pdf\/33\/10\/2762\/1963368\/neco_a_01422.pdf","content-type":"application\/pdf","content-version":"vor","intended-application":"syndication"},{"URL":"http:\/\/direct.mit.edu\/neco\/article-pdf\/33\/10\/2762\/1963368\/neco_a_01422.pdf","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2021,9,16]],"date-time":"2021-09-16T22:59:44Z","timestamp":1631833184000},"score":1,"resource":{"primary":{"URL":"https:\/\/direct.mit.edu\/neco\/article\/33\/10\/2762\/103011\/Realizing-Active-Inference-in-Variational-Message"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2021,9,16]]},"references-count":69,"journal-issue":{"issue":"10","published-online":{"date-parts":[[2021,9,16]]},"published-print":{"date-parts":[[2021,9,16]]}},"URL":"https:\/\/doi.org\/10.1162\/neco_a_01422","relation":{},"ISSN":["0899-7667","1530-888X"],"issn-type":[{"value":"0899-7667","type":"print"},{"value":"1530-888X","type":"electronic"}],"subject":[],"published-other":{"date-parts":[[2021,10]]},"published":{"date-parts":[[2021,9,16]]}}}