[Paper Review] Explaining Autonomy: Enhancing Human-Robot Interaction through Explanation Generation with Large Language Models
This paper proposes a retrieval-augmented generation (RAG) system enhanced with large language models (LLMs) to generate human-understandable explanations for autonomous robot behaviors in Human-Robot Interaction (HRI). By interpreting robot log data and generating context-aware explanations, the system improves user trust and understanding, with evaluations showing high-quality explanations from technical users during navigation tasks in the European Robotics League framework.
This paper introduces a system designed to generate explanations for the actions performed by an autonomous robot in Human-Robot Interaction (HRI). Explainability in robotics, encapsulated within the concept of an eXplainable Autonomous Robot (XAR), is a growing research area. The work described in this paper aims to take advantage of the capabilities of Large Language Models (LLMs) in performing natural language processing tasks. This study focuses on the possibility of generating explanations using such models in combination with a Retrieval Augmented Generation (RAG) method to interpret data gathered from the logs of autonomous systems. In addition, this work also presents a formalization of the proposed explanation system. It has been evaluated through a navigation test from the European Robotics League (ERL), a Europe-wide social robotics competition. Regarding the obtained results, a validation questionnaire has been conducted to measure the quality of the explanations from the perspective of technical users. The results obtained during the experiment highlight the potential utility of LLMs in achieving explanatory capabilities in robots.
Motivation & Objective
- To address the growing need for explainability in autonomous robots to improve human trust and system transparency in Human-Robot Interaction (HRI).
- To develop a system that transforms low-level robot log data into natural language explanations understandable by users of varying technical expertise.
- To evaluate the quality and usability of LLM-generated explanations in real-world robotic navigation scenarios.
- To formalize an explanation generation pipeline that integrates data interpretation, user-aware explanation construction, and retrieval-augmented generation.
- To validate the system’s effectiveness through user evaluation in a competitive robotics environment (European Robotics League).
Proposed method
- The system collects and logs robot behavior data during autonomous navigation tasks, including waypoint tracking, obstacle detection, and path planning failures.
- It uses a Retrieval-Augmented Generation (RAG) framework to retrieve relevant log segments from a vector database based on user queries.
- A fine-tuned large language model (LLM) interprets the retrieved log data and constructs natural language explanations tailored to the user’s knowledge level.
- The explanation generation pipeline follows a three-step process: data collection, interpretable data interpretation, and user-aware explanation construction.
- The system is evaluated using real navigation executions from the European Robotics League (ERL), with logs processed and explanations generated for technical users.
- User evaluation is conducted via a questionnaire assessing explanation quality, clarity, and relevance, focusing on responses to 'why', 'how', and 'what' questions.
Experimental results
Research questions
- RQ1Can LLMs effectively generate human-understandable explanations from robot log data in autonomous navigation tasks?
- RQ2How does the integration of RAG improve the factual accuracy and relevance of LLM-generated explanations in HRI contexts?
- RQ3To what extent do technical users perceive the generated explanations as clear, accurate, and helpful in understanding robot behavior?
- RQ4How does user-specific knowledge level influence the perceived quality of explanations generated by the system?
- RQ5What types of robot events (e.g., path replanning, obstacle avoidance) are most effectively explained using this LLM-RAG approach?
Key findings
- The LLM-RAG system successfully generated explanations that were rated highly by technical users in terms of clarity, accuracy, and completeness.
- Explanations effectively addressed 'why' and 'how' questions about robot behavior, such as route replanning due to obstacles or invalid paths.
- The system correctly identified and explained key events, including waypoint reception, navigation failures, and goal checker warnings.
- The evaluation revealed that users perceived explanations as improving their understanding of robot decision-making, particularly in complex or failed navigation scenarios.
- The integration of RAG enhanced the factual grounding of explanations, reducing hallucination compared to zero-shot LLM generation.
- The system demonstrated robustness in handling ambiguous or incomplete log data by focusing on interpretable events and contextualizing them in natural language.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.