Unpacking Failure Modes of Generative Policies: Runtime Monitoring of Consistency and Progress

Christopher Agia, Rohan Sinha, Jingyun Yang, Ziang Cao, Rika Antonova, Marco Pavone, Jeannette Bohg

Abstract

Generative models like Diffusion Policy have significantly advanced robot imitation learning, yet their "black box" nature leads to unpredictable failures in out-of-distribution (OOD) scenarios. This paper introduces Sentinel, a runtime monitoring framework designed to detect these failures before they escalate. Sentinel employs a dual-monitor approach: a high-frequency statistical check for temporal action consistency (STAC) and a semantic monitor using Vision Language Models (VLMs) to track task progress. By integrating these complementary detectors through a logical OR gate and calibrating them via conformal prediction, Sentinel achieves over 97% detection accuracy across diverse manipulation tasks, identifying up to 18% more failures than single-detector baselines.

Introduction: The Challenge of Generative Policy Failures

Generative policies have revolutionized the handling of complex, multimodal robotic tasks. However, their deployment is hindered by a lack of transparency; they can fail abruptly when encountering states slightly outside their training distribution. Traditional failure detection often focuses on "state atypicality"—identifying unfamiliar visual inputs. Yet, a robot may appear to be in a familiar state while its internal logic has become inconsistent or it has entered a non-progressive loop. Furthermore, generative policies typically output "action chunks" (sequences of future actions). Inconsistency between successive predictions leads to erratic, jerky behavior. Sentinel addresses the critical need for monitors that can assess both high-frequency control stability and long-term semantic progress.

The Sentinel Framework

Sentinel partitions failure detection into two specialized, complementary monitors:

  1. STAC (Statistical measures of Temporal Action Consistency): This "fast" monitor operates at the control frequency. It evaluates the overlap between action chunks predicted at consecutive timesteps. By measuring the statistical distance (e.g., Maximum Mean Discrepancy) between these distributions, STAC identifies "erratic failures" characterized by high temporal error.
  2. VLM Runtime Monitor: This "slow" monitor leverages Vision Language Models (e.g., GPT-4o) for Online Video QA. Prompted with task descriptions and video history, the VLM uses Chain-of-Thought reasoning to determine if the robot is making semantic progress or is stalled.
Figure 1: Overview of the Sentinel framework, illustrating the transition from policy training to deployment-time monitoring using STAC and VLM components.

The system unifies these signals using a Logical OR gate: a warning is triggered if either detector identifies a failure. To minimize false positives, the authors employ conformal prediction to calibrate the detectors based on a small set of successful nominal rollouts, ensuring the monitor understands what "nominal" behavior looks like in the specific deployment environment.

Experimental Evaluation

Sentinel was evaluated across four challenging domains involving mobile manipulators:

  • PushT: A standard benchmark for multimodal action distributions.
  • Close Box: A 14-DoF dual-arm task prone to erratic collisions.
  • Cover Object: A task involving cloth manipulation, susceptible to "progression failures" where the robot misplaces the cloth despite high confidence.
  • Push Chair (Real World): A mobile manipulation hardware experiment testing robustness against real-world sensor noise and dynamic complexity.

Key Results and Insights

  • Superior Detection Performance: Sentinel detected 100% of erratic failures in the Close Box domain and 93% of progression failures in the Cover Object domain. In the Push Chair hardware task, it achieved 95% detection accuracy.
  • Synergistic Gains: By unifying the two detectors, Sentinel identified 18% more failures than using either STAC or the VLM alone.
  • Distributional Stability: A key insight is that comparing the distributions of predicted action chunks provides a much more stable signal for failure than comparing individual action samples.
  • Temporal Context for VLMs: For semantic failure detection, VLMs require video history rather than static images to distinguish between slow progress and total stagnation.
Figure 5: Comparison of Sentinel's temporal consistency method against various baselines on the PushT benchmark, demonstrating superior balanced accuracy.

Limitations and Future Work

While effective, Sentinel faces challenges regarding VLM latency (currently ~14 seconds for cloud-based models), which limits its use in high-speed, safety-critical interventions. Additionally, the requirement for successful calibration rollouts may be a bottleneck for extremely rare tasks. Future work will explore partitioning failure modes further and moving from reactive monitoring to predictive intervention to allow for even earlier safety triggers.

Summary updated

Abstract

Robot behavior policies trained via imitation learning are prone to failure under conditions that deviate from their training data. Thus, algorithms that monitor learned policies at test time and provide early warnings of failure are necessary to facilitate scalable deployment. We propose Sentinel, a runtime monitoring framework that splits the detection of failures into two complementary categories: 1) Erratic failures, which we detect using statistical measures of temporal action consistency, and 2) task progression failures, where we use Vision Language Models (VLMs) to detect when the policy confidently and consistently takes actions that do not solve the task. Our approach has two key strengths. First, because learned policies exhibit diverse failure modes, combining complementary detectors leads to significantly higher accuracy at failure detection. Second, using a statistical temporal action consistency measure ensures that we quickly detect when multimodal, generative policies exhibit erratic behavior at negligible computational cost. In contrast, we only use VLMs to detect modes that are less time-sensitive. We demonstrate our approach in the context of diffusion policies trained on robotic mobile manipulation domains in both simulation and the real world. By unifying temporal consistency detection and VLM runtime monitoring, Sentinel detects 18% more failures than using either of the two detectors alone and significantly outperforms baselines, thus highlighting the importance of assigning specialized detectors to complementary categories of failure. Qualitative results are made available at sites.google.com/stanford.edu/sentinel.
BibTeX
@inproceedings{agia2024unpacking,
  author = {Christopher Agia and Rohan Sinha and Jingyun Yang and Ziang Cao and Rika Antonova and Marco Pavone and Jeannette Bohg},
  title = {{Unpacking Failure Modes of Generative Policies: Runtime Monitoring of Consistency and Progress}},
  booktitle = {Conference on Robot Learning},
  year = {2024},
  url = {https://openreview.net/forum?id=yqLFb0RnDW},
}
Figure