Abstract
As robots transition from controlled laboratory environments to dynamic real-world settings like homes and hospitals, they inevitably encounter failures. For non-expert users, these failures can be opaque and frustrating. This paper presents $\epsilon_{err}$, a system designed to generate natural language explanations for robot failures. By incorporating environmental context and action history, $\epsilon_{err}$ enables "everyday users" to accurately diagnose failures and provide necessary assistance. Our results demonstrate that context-aware, history-informed explanations significantly improve user performance in fault recovery tasks, even for internal system errors lacking visual cues.
1. Introduction
The deployment of robots in domestic and healthcare environments introduces a significant challenge: handling "edge cases" and operational failures. While experts can debug complex robotic systems, non-expert users—such as homeowners or nursing staff—often lack the technical background to understand why a robot has stopped. Existing Explainable AI (XAI) research predominantly targets expert debugging. This work addresses the gap in Explainable AI Planning (XAIP) by focusing on "error explanations" ($\epsilon_{err}$) that empower non-experts to act as effective recovery assistants.
2. The $\epsilon_{err}$ Framework
The researchers developed a two-phase approach to generate useful error explanations. First, they identified the specific types of information that make an explanation actionable for a human user. Second, they built a computational model to generate these explanations autonomously from raw robot state data.
3. Information Taxonomy and Model Architecture
The study explored a taxonomy of information combinations to determine what best aids user recovery:
- Action-Based (AB): Describes only the failed action (e.g., "Robot could not find the object").
- Context-Based (CB): Adds environmental reasoning (e.g., "...because the object is hidden from view").
- History-Based (AB-H/CB-H): Includes the most recent successful action to provide a temporal context.
To automate these explanations, the authors employed a Sequence-to-Sequence (Encoder-Decoder) architecture. The encoder, a Gated Recurrent Unit (GRU), processes continuous environmental features and robot states. The decoder, another GRU with an attention mechanism, translates these vectors into natural language sentences.
4. Experimental Methodology
The system was validated using a Fetch robot in a Gazebo simulation. The researchers created a dataset of 72 simulations across kitchen and office environments, modeling 30 distinct failure combinations in navigation, motion planning, and object detection. User studies were conducted via Amazon Mechanical Turk to measure Failure Identification (FId) and Solution Identification (SId) using F1 scores.
5. Results and Key Insights
The experimental results highlighted several critical findings regarding the efficacy of $\epsilon_{err}$:
- The Power of Context and History: The combination of environmental context and action history (CB-H) proved most effective. History helps users understand the timeline leading to failure, while context provides the "how-to" for the fix.
- Addressing Internal Errors: Explanations are particularly vital for "Internal" errors (e.g., software timeouts) which lack visual cues. Without $\epsilon_{err}$, users are largely unable to diagnose these issues.
- Generalization: The model successfully generalized to an unseen office environment, indicating that the logic of failure explanation is not strictly tied to specific locations.
As shown in Figure 5, participants receiving CB-H explanations demonstrated significant improvements in identifying both the cause of failure ($p=0.0012$) and the correct solution ($p=0.007$) compared to the baseline. Furthermore, the automated system achieved 81.81% accuracy, with model-generated explanations performing as effectively as hand-scripted ones.
6. Conclusion and Future Work
This research demonstrates that natural language explanations can transform non-expert users into capable robot recovery assistants. Future work will focus on optimizing explanation conciseness, personalizing technical detail based on user preference, and improving the model's ability to distinguish between highly similar failure modes.
Summary updated