Abstract
Robot manipulation policies frequently fail due to environmental variations that are difficult to predict during training. We present RoboMD (Robot Manipulation Diagnosis), a systematic framework that employs deep reinforcement learning and vision-language embeddings to proactively identify and rank failure modes. By treating failure diagnosis as an exploration problem, RoboMD uncovers vulnerabilities in both seen and unseen environmental configurations, providing a data-driven pathway for policy hardening. Our results show that RoboMD significantly outperforms existing vision-language models and standard RL baselines in failure detection and ranking accuracy.
Introduction
Robot manipulation policies—the neural networks that govern robotic interactions with physical objects—often exhibit fragility when deployed in real-world settings. A policy trained in a controlled lab environment may fail due to subtle changes in lighting, table color, or object geometry. Currently, identifying these breaking points relies on manual testing or human intuition, which is labor-intensive and often fails to uncover "unknown unknowns." There is a critical need for systematic frameworks that can explore the vast space of environmental variations to find exactly where and why a robot will fail.
The RoboMD Framework
RoboMD introduces a systematic approach to failure diagnosis by treating it as an exploration problem. The framework consists of three primary stages: observation, uncovering, and adaptation.
1. The RL "Probe"
RoboMD utilizes a Proximal Policy Optimization (PPO) agent as a diagnostic probe. Unlike traditional RL agents designed to succeed, this agent's goal is to modify the environment (e.g., changing object colors or lighting) to induce a failure in a pre-trained "victim" policy. The reward function is inverted: the agent receives a positive reward when the robot fails and a penalty when it succeeds.
2. Vision-Language Embeddings
To generalize beyond a fixed set of perturbations, RoboMD employs a dual-backbone embedding system. It uses a Vision Transformer (ViT) for image processing and a CLIP encoder for text descriptions. Through contrastive loss, the model learns to map similar environmental changes into a continuous "failure space," allowing it to predict failures for objects or conditions it has never encountered during training.
3. Failure Ranking and Fine-Tuning
Once high-risk configurations are identified, RoboMD quantifies the probability of failure for each mode. These failure-inducing samples are then used to fine-tune the original policy, effectively "patching" the vulnerabilities discovered during the diagnosis phase.
Experimental Evaluation
The researchers evaluated RoboMD across both simulated and real-world environments. In simulation, the framework was tested using the RoboSuite environment on tasks such as Lift, Square, Pick & Place, Threading, and Stack. Real-world validation was conducted using a UR5e robotic arm interacting with common household objects like milk cartons and soda bottles.
RoboMD was benchmarked against standard RL algorithms (A2C, SAC) and state-of-the-art Vision-Language Models (VLMs), including GPT-4o and Gemini 1.5 Pro.
Key Insights and Results
Semantic Generalization
By anchoring the action space in a vision-language embedding, RoboMD gains semantic awareness of failures. It understands that if a robot fails due to a specific color or shape, similar variations are likely to cause similar issues. This allows the system to rank failure probabilities even for unseen objects.
Performance Metrics
- Superior Detection: RoboMD achieved an average accuracy of 80.7% in ranking failure modes, significantly outperforming A2C (75%) and SAC (52.2%).
- Outperforming VLMs: RoboMD identified 23.3% more failures than Gemini 1.5 Pro. Most proprietary VLMs struggled to reach 60% accuracy in predicting failure configurations, likely because they are passive observers rather than active participants.
- Effective Hardening: Fine-tuning policies on RoboMD-identified failures reduced the "failure gap" (measured via Wasserstein distance) from 0.0051 to 0.0014, indicating a substantial increase in robotic robustness.
Conclusion
RoboMD demonstrates that reinforcement learning is an effective tool for "red-teaming" robotic policies. By closing the loop between failure diagnosis and policy adaptation, the framework provides a scalable, data-driven method for improving robotic reliability. Future work will focus on developing generalist models capable of handling multiple tasks simultaneously and exploring non-visual failure modes such as sensor noise and internal state errors.
Summary updated