Introduction
As robots transition from controlled laboratory settings into dynamic human environments like homes and hospitals, they inevitably encounter operational failures. These range from physical obstructions and unreachable objects to sensor glitches and localization errors. To maintain robot functionality, non-expert users must often provide "recovery assistance." However, a significant barrier to effective human-robot collaboration is the user's inability to understand why a failure occurred.
Current Explainable AI (XAI) research predominantly focuses on justifying a robot's successful decisions rather than diagnosing its failures. Without clear diagnostic information, a human assistant may struggle to distinguish whether a robot requires a software reboot, the removal of a physical obstacle, or the repositioning of a target object. This paper investigates what information makes an explanation useful for fault recovery and proposes a method for automating the generation of these explanations.
Methods
The researchers explored the impact of different explanation types on human recovery performance and developed a computational model to generate these explanations automatically.
Information Type and User Study
The study defined three levels of error explanations ($E_{err}$):
- None (Baseline): No explanation provided.
- Action-Based (AB): Identifies the failed action (e.g., "Could not move its arm to the desired object").
- Context-Based (CB): Combines the failed action with environmental reasoning (e.g., "...because the desired object is too far away").
A between-subjects study was conducted with 45 participants using a Gazebo-simulated Fetch robot performing pick-and-place tasks in a kitchen environment. Participants viewed videos of six distinct failure scenarios across three categories: Motion Planning (distance issues), Detection (occlusion or absence), and Navigation (localization or controller failures).
Automated Generation Model
To automate explanation generation, the authors developed a sequence-to-sequence (seq2seq) architecture using Gated Recurrent Units (GRUs) with an attention mechanism. The model maps high-level "semantic features" from the robot’s state—such as relative distances, velocities, and task status—directly into natural language explanations. This approach avoids the complexity of end-to-end reasoning from raw pixels, favoring a more robust mapping of state variables to language.
Results and Discussion
The study revealed a critical distinction between identifying a failure and resolving it. While Action-Based explanations helped users identify where a plan failed, they were insufficient for determining how to fix it.
Human Performance and Perception
Context-Based explanations proved to be the most effective for recovery. Participants in the CB group were significantly more accurate in selecting the correct recovery strategy compared to the Baseline and AB groups. Interestingly, the study found that any explanation (AB or CB) boosted user confidence and lowered perceived difficulty. This suggests a potential risk in XAI design: users may feel confident in their understanding of a failure even when they lack the specific information needed to correct it.
Model Performance
The automated explanation generator achieved an overall accuracy of 89.7% across the tested failure scenarios. Analysis of the model's confusion matrix shows strong generalization within failure categories. For example, when the model misidentified a "not present" error, it frequently categorized it as an "occluded" error. This indicates that the model correctly identifies the high-level failure type (Detection) even when it struggles with specific sub-types.
Conclusion and Future Work
This research demonstrates that providing context-based natural language explanations significantly improves a non-expert's ability to assist robots in fault recovery. The proposed seq2seq model offers a viable path for automating these explanations using high-level robot state data.
Future work will focus on expanding the variety of failure scenarios to better reflect the noise of real-world environments. Additionally, the authors plan to explore interactive explanation models that allow users to ask follow-up questions and investigate personalized explanations tailored to a user's specific level of expertise. Validating these findings with physical robots in real-time human-robot interactions remains a primary goal for future research.
Summary updated