NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Free Energy Risk Metrics for Systemically Safe AI: Gatekeeping Multi-Agent Study

Michael Walters, Rafael Kaufmann, Justice Sefas, Thomas KopinskiarXiv 2025 · DOI

Abstract Ensuring safety in multi-agent autonomous systems remains a significant challenge, often requiring exhaustive datasets or complex rule-based specifications. This paper proposes a novel risk management framework grounded in the Free Energy Principle (FEP). By introducing Cumulative Risk Exposure (CRE) as a mathematically rigorous metric, we demonstrate how "gatekeeper" agents can monitor and intervene in agent policies to ensure collective safety. In autonomous driving simulations, our gatekeeping architecture achieves superior safety outcomes compared to aggressive baselines while maintaining high performance, suggesting that safety can be effectively managed through epistemic and axiological humility.

Introduction

The rapid development of autonomous systems, particularly in multi-agent environments like urban traffic, necessitates robust safety frameworks. Traditional approaches often suffer from two primary limitations: they either require massive amounts of training data to learn safe behaviors or rely on brittle, exhaustive descriptions of every possible world state. Furthermore, individual agents acting optimally for their own goals can inadvertently create systemic risks for the entire collective.

This study addresses these challenges by applying the Free Energy Principle (FEP)—a theory from neuroscience and physics—to AI safety. We propose a system that is both epistemically and axiologically humble, acknowledging the AI's potential misunderstanding of the world and the nuanced, evolving preferences of human stakeholders.

Methodology: Cumulative Risk Exposure and Gatekeeping

Our approach is built upon Active Inference (ActInf), where agents act to minimize "surprisal" or Variational Free Energy. We introduce Cumulative Risk Exposure (CRE), defined as a time-discounted aggregation of expected free energy over a future horizon. CRE serves as a scalar measure of the "risk" an agent is exposed to, balancing goal-seeking with safety-seeking under uncertainty.

To implement this, we utilize a hierarchical Gatekeeping Architecture. A "Gatekeeper" (GK) monitors an agent's policy by running internal Monte Carlo simulations to project future trajectories. If the projected CRE exceeds a predefined threshold ($\rho^*$), the GK intervenes, toggling the agent's policy from an aggressive "Hotshot" mode to a "Defensive" mode. This allows for safety interventions without requiring a complete redesign of the underlying agent.

Extracted figure from page 7 of Free Energy Risk Metrics for Systemically Safe AI: Gatekeeping Multi-Agent Study

Experimental Design

The framework was evaluated using the highway-env simulator, a standard benchmark for autonomous driving. The simulations involved 24 vehicles, categorized into "Alters" (background traffic with static policies) and "Egos" (the vehicles under study). We tested several configurations:

  • Hotshot: A purely aggressive baseline.
  • Defensive: A purely cautious baseline.
  • Online-12: All 12 ego vehicles equipped with gatekeepers.
  • Online-4: Only 4 out of 12 ego vehicles equipped with gatekeepers.

A total of 1,200 simulations were conducted for each configuration to ensure statistical robustness. The primary evaluation metric was "Loss," a composite score accounting for speed, collisions, and defensive driving duration.

Results and Analysis

The experimental results demonstrate the efficacy of the gatekeeping approach. The "Online-12" configuration significantly outperformed both static baselines. It maintained high average speeds comparable to the "Hotshot" policy while achieving crash rates nearly as low as the "Defensive" baseline.

Performance comparison of gatekept agents (Online-4, Online-12) against static baselines (Defensive, Hotshot) across Loss, Risk, and Crash metrics.

A key finding is the "positive externality" of safety. In the "Online-4" configuration, where only a third of the ego vehicles were gatekept, the overall safety of the entire system improved. This suggests that safety is "contagious" in multi-agent environments; a few safe actors can reduce the systemic risk for everyone. Furthermore, the system achieved these results using a single aggregate scalar (Loss) for decision evaluation, demonstrating remarkable parsimony compared to methods requiring high-dimensional sensor processing for every decision.

Discussion and Future Work

The distinction between Expected Free Energy (EFE) and Free Energy of the Future (FEF) is central to our findings. While EFE encourages exploration, FEF-style approaches—which minimize entropy and unexpected behavior—are often superior for safety-critical applications like driving.

Despite these promising results, several limitations remain. The current study assumes full observability, whereas the true utility of CRE may be more pronounced in partially observable environments with higher uncertainty. Additionally, the current binary policy switching could be refined into a "smooth handover" or a linear combination of policies. Future research will also focus on grounding the heuristic risk thresholds in concrete units, such as financial costs or failure probabilities, and improving computational efficiency for higher-dimensional environments.

Conclusion

By grounding AI safety in the Free Energy Principle, we provide a mathematically rigorous and parsimonious way to manage risk in complex multi-agent systems. The gatekeeping architecture offers a practical path toward systemically safe AI, demonstrating that even partial deployment of risk-aware agents can significantly enhance the safety of the entire collective.

Summary updated

BibTeX
@misc{walters2025free,
  author = {Michael Walters and Rafael Kaufmann and Justice Sefas and Thomas Kopinski},
  title = {{Free Energy Risk Metrics for Systemically Safe AI: Gatekeeping Multi-Agent Study}},
  year = {2025},
  eprint = {2502.04249},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2502.04249},
}
Figure