Skip to main content
QUICK REVIEW

[Paper Review] RAPT: Model-Predictive Out-of-Distribution Detection and Failure Diagnosis for Sim-to-Real Humanoid Robots

Humphrey Munn, Brendan Tidd|arXiv (Cornell University)|Feb 2, 2026
Robotic Locomotion and ControlEngineering0 citations
TL;DR

RAPT is a lightweight, deployment-time monitor for 50 Hz humanoid control that detects out-of-distribution execution and provides interpretable, post-hoc failure diagnosis for sim-to-real transfer.

ABSTRACT

Deploying learned control policies on humanoid robots is challenging: policies that appear robust in simulation can execute confidently in out-of-distribution (OOD) states after Sim-to-Real transfer, leading to silent failures that risk hardware damage. Although anomaly detection can mitigate these failures, prior methods are often incompatible with high-rate control, poorly calibrated at the extremely low false-positive rates required for practical deployment, or operate as black boxes that provide a binary stop signal without explaining why the robot drifted from nominal behavior. We present RAPT, a lightweight, self-supervised deployment-time monitor for 50Hz humanoid control. RAPT learns a probabilistic spatio-temporal manifold of nominal execution from simulation and evaluates execution-time predictive deviation as a calibrated, per-dimension signal. This yields (i) reliable online OOD detection under strict false-positive constraints and (ii) a continuous, interpretable measure of Sim-to-Real mismatch that can be tracked over time to quantify how far deployment has drifted from training. Beyond detection, we introduce an automated post-hoc root-cause analysis pipeline that combines gradient-based temporal saliency derived from RAPT's reconstruction objective with LLM-based reasoning conditioned on saliency and joint kinematics to produce semantic failure diagnoses in a zero-shot setting. We evaluate RAPT on a Unitree G1 humanoid across four complex tasks in simulation and on physical hardware. In large-scale simulation, RAPT improves True Positive Rate (TPR) by 37% over the strongest baseline at a fixed episode-level false positive rate of 0.5%. On real-world deployments, RAPT achieves a 12.5% TPR improvement and provides actionable interpretability, reaching 75% root-cause classification accuracy across 16 real-world failures using only proprioceptive data.

Motivation & Objective

  • Motivate reliable deployment of learned policies on humanoids by addressing silent, high-confidence OOD failures after sim-to-real transfer.
  • Develop a lightweight, online detector that operates at 50 Hz with calibrated per-dimension anomaly signals.
  • Provide interpretable failure diagnosis through gradient-based saliency and an LLM-conditioned semantic classifier.
  • Enable post-hoc root-cause analysis to diagnose Sim-to-Real mismatches using proprioceptive data and occasional visual cues.

Proposed method

  • Train a probabilistic, reconstruction-based detector (RAPT) on nominal simulation data to model a spatio-temporal manifold of valid humanoid behavior.
  • Use a GRU-based latent bridge with a residual encoder and a probabilistic decoder to produce per-dimension NLL (uncertainty-aware) reconstruction scores.
  • Calibrate anomaly thresholds with a Sim-to-Real calibration phase and combine per-dimension and global gates with a bounding-box detector.
  • Perform online detection at ~50 Hz using a three-gate system (per-dimension max, global mean, and range checks) for robust safety.
  • Compute temporal saliency via backpropagation through time Integrated Gradients on the reconstruction NLL to attribute failures across time and sensors.
  • Use a multi-modal LLM to translate structured saliency and kinematic data into semantic root-cause diagnoses in zero-shot fashion.
  • Provide safety responses (e.g., safe stopping, controlled fall) guided by operator-defined policies rather than autonomous controller modification.

Experimental results

Research questions

  • RQ1Does RAPT outperform state-of-the-art baselines in detecting OOD events across simulated and real-world humanoid tasks?
  • RQ2Can RAPT generalize from simulation to real hardware under the sim-to-real gap while maintaining low false positives?
  • RQ3How effective is the gradient-based saliency plus LLM-based reasoning in diagnosing root causes of failures in real deployments?
  • RQ4What is the contribution of each architectural component (temporal recurrence, probabilistic decoding, calibration, saliency, and multi-modal diagnosis) to detection performance?

Key findings

  • In simulation, RAPT achieves the highest Safety Score (TPR @ 0.5% FPR) and AUROC across tasks with very low latency (1.63 ms).
  • RAPT improves safety metrics by +0.34 absolute AUROC over the strongest baseline (LSTM-VAE) at the same fixed FPR.
  • On real hardware, Hybrid RAPT (RAPT plus Range detector) detects 18 of 24 anomalous runs (75% RCA recall) and shows superior recall compared to baselines.
  • RAPT’s proprioceptive saliency-based diagnostics, especially when augmented with a visual frame, improve top-1 and top-3 root-cause classification accuracy.
  • The diagnostic pipeline identifies silent sim-to-real discrepancies (e.g., PD gains) and aids deployment verification beyond simple range checks.
  • The model supports zero-shot semantic failure classification via an LLM conditioned on saliency and kinematics.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.