ORIGINAL RESEARCH article

Front. Sustain. Cities

Sec. Smart Technologies and Cities

Volume 7 - 2025 | doi: 10.3389/frsc.2025.1571613

This article is part of the Research TopicUrban Economic Aspects of Energy, Exergy, and Environmental SustainabilityView all articles

Agentic rulebooks using active inference: An artificial intelligence application for environmental sustainability

Provisionally accepted
Axel  ConstantAxel Constant1*Mahault  AlbarracinMahault Albarracin2,3Marco  PerinMarco Perin3Hari  ThiruvengadaHari Thiruvengada3,4Karl  FristonKarl Friston3,5*
  • 1University of Sussex, Brighton, United Kingdom
  • 2Université du Québec à Montréal, Montreal, Quebec, Canada
  • 3VERSES Research Lab, Los Angeles, United States
  • 4The Pennsylvania State University (PSU), University Park, Pennsylvania, United States
  • 5Wellcome Centre for Human Neuroimaging, University College London, London, England, United Kingdom

The final, formatted version of the article will be published soon.

Artificial intelligence (AI) is increasingly proposed as a solution to environmental sustainability challenges, with applications aimed at optimizing resource utilization and energy consumption. However, AI technologies also have significant negative environmental impacts. This duality underscores the need to critically evaluate AI's role in sustainable practices. One example of AI's application in sustainability is the Occupant Controlled Smart Thermostat (OCST). These systems optimize indoor temperature management by responding to dynamic signals, such as energy price fluctuations, which reflect power grid stress. Accordingly, regulatory frameworks have mandated performance standards for such technologies to ensure effective demand responsiveness. While OCSTs are effective in managing energy demand through predefined norms like price signals, their current designs often fail to accommodate the complex interplay of conflicting priorities, such as user comfort and grid optimization, particularly in uncertain climatic conditions. For instance, extreme weather events can amplify energy demands and user needs, necessitating a more context sensitive approach. This adaptability requires OCSTs to dynamically shift between multiple normative constraints (i.e., norms), such as prioritizing userdefined temperature settings over price-based energy restrictions when contextually appropriate. In this paper, we propose an innovative approach that combines the theory of active inference from theoretical neuroscience and robotics with a rulebook formalism to enhance the decision-making capabilities of autonomous AI agents.Using simulation studies, we demonstrate how these AI agents can resolve conflicts among norms under environmental uncertainty. A minimal use case is presented, where an OCST must decide whether to warm a room based on two conflicting rules: a "price" rule that restricts energy use above a cost threshold and a "need" rule that prioritizes maintaining the user's desired temperature. Our findings illustrate the potential for advanced AI-driven OCST systems to navigate conflicting norms, enabling more resilient and user-centered solutions to sustainable energy challenges.

Keywords: artificial intelligence, Environmental sustainability, active inference, Occupant Controlled Thermostats, Internet of Things

Received: 05 Feb 2025; Accepted: 14 Apr 2025.

Copyright: © 2025 Constant, Albarracin, Perin, Thiruvengada and Friston. This is an open-access article distributed under the terms of the Creative Commons Attribution License (CC BY). The use, distribution or reproduction in other forums is permitted, provided the original author(s) or licensor are credited and that the original publication in this journal is cited, in accordance with accepted academic practice. No use, distribution or reproduction is permitted which does not comply with these terms.

* Correspondence:
Axel Constant, University of Sussex, Brighton, United Kingdom
Karl Friston, Wellcome Centre for Human Neuroimaging, University College London, London, WC1N 3BG, England, United Kingdom

Disclaimer: All claims expressed in this article are solely those of the authors and do not necessarily represent those of their affiliated organizations, or those of the publisher, the editors and the reviewers. Any product that may be evaluated in this article or claim that may be made by its manufacturer is not guaranteed or endorsed by the publisher.