Abstract
Active inference helps us simulate adaptive behavior and decision-making in biological and artificial agents. Building on our previous work exploring the relationship between active inference, well-being, resilience, and sustainability, we present a computational model of an agent learning sustainable resource management strategies in both static and dynamic environments. The agent’s behavior emerges from optimizing its own well-being, represented by prior preferences, subject to beliefs about environmental dynamics. In a static environment, the agent learns to consistently consume resources to satisfy its needs. In a dynamic environment where resources deplete and replenish based on the agent’s actions, the agent adapts its behavior to balance immediate needs with long-term resource availability. This demonstrates how active inference can give rise to sustainable and resilient behaviors in the face of changing environmental conditions. We discuss the implications of our model, its limitations, and suggest future directions for integrating more complex agent-environment interactions. Our work highlights active inference’s potential for understanding and shaping sustainable behaviors.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Similar content being viewed by others
References
Parr, T., Pezzulo, G., Friston, K.J.: Active Inference: The Free Energy Principle in Mind, Brain, and Behavior. MIT Press, Cambridge (2022)
Parr, T., Friston, K.J.: Generalised free energy and active inference. Biol. Cybern. 113(5), 495–513 (2019)
Stubbs, G., Friston, K.: The police hunch: the bayesian brain, active inference, and the free energy principle in action. Front. Psychol. 15, 1368265 (2024)
Friston, K., FitzGerald, T., Rigoli, F., Schwartenbeck, P., Pezzulo, G.: Active inference: a process theory. Neural Comput. 29(1), 1–49 (2017)
Friston, K., et al.: The free energy principle made simpler but not too simple. Phys. Rep. 1024, 1–29 (2023)
Parr, T., Friston, K., Pezzulo, G.: Generative models for sequential dynamics in active inference. Cogn. Neurodyn. 1–14 (2023)
Ramstead, M.J.D., Badcock, P.B., Friston, K.J.: Answering schrödinger’s question: a free-energy formulation. Phys. Life Rev. 24, 1–16 (2018)
Kirchhoff, M., Parr, T., Palacios, E., Friston, K., Kiverstein, J.: The markov blankets of life: autonomy, active inference and the free energy principle. J. R. Soc. Interface 15(138), 20170792 (2018)
Karl, F.: A free energy principle for biological systems. Entropy 14(11), 2100–2121 (2012)
Da Costa, L., Sajid, N., Parr, T., Friston, K., Smith, R.: Reward maximization through discrete active inference. Neural Comput. 35(5), 807–852 (2023)
Pezzulo, G., Parr, T., Friston, K.: Active inference as a theory of sentient behavior. Biol. Psychol. 108741 (2024)
Friston, K.J., Daunizeau, J., Kilner, J., Kiebel, S.J.: Action and behavior: a free-energy formulation. Biol. Cybern. 102, 227–260 (2010)
Da Costa, L., Tenka, S., Zhao, D., Sajid, N.: Active inference as a model of agency. arXiv preprint arXiv:2401.12917 (2024)
Solymosi, T., Schulkin, J.: Creative resilience. flourishing and valuation through social allostasis and active inference. Eur. J. Pragmat. Am. Phil. 16(XVI-1) (2024)
Albarracin, M., Bouchard-Joly, G., Sheikhbahaee, Z., Miller, M., Pitliya, R.J., Poirier, P.: Feeling our place in the world: an active inference account of self-esteem. Neurosci. Consc. 2024(1), niae007 (2024a)
Matsumura, T., Esaki, K., Yang, S., Yoshimura, C., Mizuno, H.: Active inference with empathy mechanism for socially behaved artificial agents in diverse situations. Artif. Life 30(2), 277–297 (2024)
Montgomery, C., Hipólito, I.: Resurrecting gaia: harnessing the free energy principle to preserve life as we know it. Front. Psychol. 14, 1206963 (2023)
Ramstead, M.J., Friston, K.J., Hipólito, I.: Is the free-energy principle a formal theory of semantics? from variational density dynamics to neural and phenotypic representations. Entropy 22(8), 889 (2020)
Friston, K., Brown, H.R., Siemerkus, J., Stephan, K.E.: The dysconnection hypothesis (2016). Schizophr. Res. 176(2–3), 83–94 (2016)
Harikumar, A., et al.: Revisiting functional dysconnectivity: a review of three model frameworks in schizophrenia. Curr. Neurol. Neurosci. Rep. 23(12), 937–946 (2023)
Zarghami, T.S., Zeidman, P., Razi, A., Bahrami, F., Hossein-Zadeh, G.A.: Dysconnection and cognition in schizophrenia: a spectral dynamic causal modeling study. Hum. Brain Mapp. 44(7), 2873–2896 (2023)
Heins, C., et al.: pymdp: a python library for active inference in discrete state spaces (2022). arXiv:2201.03904
Albarracin, M., et al.: Sustainability under active inference. Systems 12(5), 163 (2024b)
Collis, P., Singh, R., Kinghorn, P., Buckley, C.: Learning in hybrid active inference model. ArXiv preprint (2024)
Friston, K., et al.: Supervised structure learning. arXiv:2311.10300 (2023)
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Appendix 1 Figures
Appendix 1 Figures
Example run from Case 2 without learning enabled on the left and with learning enabled on the right, but starting with an extreme B matrix setting (probabilities set to 1 or 0, on the left three plots and middle three plots, and high but non-extreme values on the right). The agent dies quickly, just as the randomly set values of the B matrix in plot 6, and is able to learn on the right.
Case 2 with strong prior preferences on both high satiety and high food left states. On the three top left plots, the agent has no learning, and on the top right, the agent has learning. On the bottom, we can see that survival time is vastly different with and without learning, as the preferences affect the behavior of the agent.
Case 2 in a changing environment where food and satiety change at different time rates. The three top left plots show the results without learning off, and the three top right plots show the results with learning on. The bottom plot represents the comparison between the survival time over 10 time steps. Food increases at a slower rate (0.5 units per step) when not eating and decreases at a faster rate (1 unit per step) when eating. Satiety decreases faster when not eating (0.2 units per step) and increases at a different rate when eating (0.8 units per step).
Case 2 in a changing environment with seasonal simulation. The environment is built to simulate switching seasons summer/winter. With learning off the agent is not able to survive throughout the first season (top left plot and bottom plot). With learning on, it survives but then quickly dies throughout winter (top right plot).
Rights and permissions
Copyright information
© 2025 The Author(s), under exclusive license to Springer Nature Switzerland AG
About this paper
Cite this paper
Albarracin, M., Hipolito, I., Raffa, M., Kinghorn, P. (2025). Modeling Sustainable Resource Management Using Active Inference. In: Buckley, C.L., et al. Active Inference. IWAI 2024. Communications in Computer and Information Science, vol 2193. Springer, Cham. https://doi.org/10.1007/978-3-031-77138-5_16
Download citation
DOI: https://doi.org/10.1007/978-3-031-77138-5_16
Published:
Publisher Name: Springer, Cham
Print ISBN: 978-3-031-77137-8
Online ISBN: 978-3-031-77138-5
eBook Packages: Artificial Intelligence (R0)