The Constitutional Controller: Doubt-Calibrated Steering of Compliant Agents

Simon Kohaut, Felix Divo, Navid Hamid, Benedict Flade, Julian Eggert, Devendra Singh Dhami, Kristian KerstingarXiv 2025 · DOI

Abstract

Deploying autonomous agents in human-inhabited environments requires a delicate balance between strict rule-following and the management of physical uncertainty. Traditional approaches often struggle to reconcile rigid symbolic logic with the noisy, high-speed dynamics of real-world robotics. We present the Constitutional Controller (CoCo), a neuro-symbolic framework that enables agents to navigate regulated spaces by accounting for their own execution errors. By integrating a probabilistic "Constitution" with a learned "Doubt Model" based on Conditional Normalizing Flows, CoCo allows drones to quantify the likelihood of rule violations in real-time. Experimental results using quadcopters demonstrate that CoCo eliminates crashes at high velocities where standard probabilistic planners fail, showcasing a robust path toward mindful, compliant autonomy.

1. Introduction

As autonomous systems like delivery drones and mobile robots move from controlled labs to public spaces, they must adhere to complex legal and safety frameworks. However, ensuring compliance is difficult because robots are physically imperfect. A drone may "know" it is forbidden to enter a specific zone, but at high speeds or in windy conditions, its physical momentum may carry it into that zone despite its best efforts to stay clear.

Existing solutions typically fall into two categories: Deep Learning, which handles raw sensor data well but lacks interpretability and formal constraints; and Symbolic Logic, which provides clear rules but often fails to handle the stochastic nature of physical movement. The Constitutional Controller (CoCo) bridges this gap by introducing a "self-doubt" mechanism that allows the agent to understand its own limitations and adjust its behavior accordingly.

2. The CoCo Framework

CoCo is built upon a neuro-symbolic architecture consisting of four integrated pillars designed to transform abstract rules into safe physical trajectories.

2.1 The Constitution

The foundation of the system is a "Constitution" written in probabilistic first-order logic. This symbolic layer defines the legal and operational constraints of the environment, such as no-fly zones, speed limits in specific sectors, and required safety buffers around obstacles.

2.2 Statistical Relational Maps (StaR Maps)

To handle spatial uncertainty, CoCo utilizes StaR Maps. Unlike traditional occupancy grids that treat obstacles as binary (present or absent), StaR Maps represent the environment as a series of probabilistic distributions. This allows the agent to reason about the likelihood of an object's location rather than assuming perfect perception.

2.3 The Doubt Model

The core innovation of this research is the Doubt Model. Using Conditional Normalizing Flows (CNF), the researchers trained the agent to model its own "doubt density"—a statistical representation of its execution errors. This model is conditioned on "doubt features" such as current velocity, heading, and controller tuning parameters. Essentially, the agent learns how much it typically "wobbles" or overshoots under specific conditions.

2.4 Doubt-Calibrated Compliance

CoCo merges the symbolic rules with the statistical doubt model. Instead of evaluating safety based on a single predicted point, the agent calculates the probability of remaining compliant across its entire potential error distribution. If the agent is moving at a speed where its "doubt" is high, the perceived danger zones effectively expand, forcing the agent to take a more conservative path.

3. Experimental Methodology

The framework was validated using Crazyflie 2.1 nano-quadcopters in a controlled indoor environment. The testbed featured various regulated zones identified by color: red for no-fly zones, yellow for safety buffers, and green for speed-limited areas.

To populate the StaR Maps, the researchers employed the Segment Anything Model 2 (SAM2) for object detection and geometry generation. The Doubt Model was calibrated by flying the drones in repetitive figure-eight patterns at varying speeds, recording the L2 norm of the position error to build a robust dataset of execution failures and successes.

4. Results and Discussion

CoCo was benchmarked against ProMis, a state-of-the-art probabilistic planner that understands rules but lacks a self-doubt mechanism.

4.1 Safety at High Velocity

The most striking result occurred at high flight speeds (1.0 m/s). The baseline planner crashed in 73.33% of its flights, primarily because it attempted to optimize for path length by cutting corners near obstacles, failing to account for its own physical overshoot. In contrast, CoCo maintained a 0% crash rate across all tested speeds. By quantifying its doubt, CoCo recognized that high-speed maneuvers near obstacles were too risky and autonomously adjusted its trajectory.

4.2 Emergent Mindful Behavior

CoCo demonstrated sophisticated, autonomous decision-making based on environmental context:

  • Dynamic Deceleration: When approaching speed-restricted "green" zones or narrow corridors, CoCo automatically slowed down to reduce its doubt density and ensure compliance.
  • Path Re-routing: At low speeds, the agent might choose a narrow shortcut. However, as its velocity increased, it would autonomously switch to a longer, wider path that offered a greater margin for error.

5. Conclusion and Future Work

The Constitutional Controller demonstrates that "self-doubt" is a critical feature for safe autonomy. By acknowledging its own potential for error, an agent can navigate complex, rule-bound environments with significantly higher reliability than agents that assume perfect execution.

Future research will focus on reducing the calibration overhead required to train the Doubt Model for new hardware or environments. Additionally, the authors envision integrating Large Language Models (LLMs) to translate natural language laws directly into the probabilistic logic of the Constitution, making the system more accessible for real-world deployment.

Summary updated

BibTeX
@misc{kohaut2025constitutional,
  author = {Simon Kohaut and Felix Divo and Navid Hamid and Benedict Flade and Julian Eggert and Devendra Singh Dhami and Kristian Kersting},
  title = {{The Constitutional Controller: Doubt-Calibrated Steering of Compliant Agents}},
  year = {2025},
  eprint = {2507.15478},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2507.15478},
}
Figure