Abstract
Embodied AI has been recently gaining attention as it aims to foster the development of autonomous and intelligent agents. In this paper, we devise a novel embodied setting in which an agent needs to explore a previously unknown environment while recounting what it sees during the path. In this context, the agent needs to navigate the environment driven by an exploration goal, select proper moments for description, and output natural language descriptions of relevant objects and scenes. Our model integrates a novel self-supervised exploration module with penalty, and a fully-attentive captioning model for explanation. Also, we investigate different policies for selecting proper moments for explanation, driven by information coming from both the environment and the navigation. Experiments are conducted on photorealistic environments from the Matterport3D dataset and investigate the navigation and explanation capabilities of the agent as well as the role of their interactions.
Introduction
In the realm of Embodied AI, agents are typically trained to perform specific tasks such as point-goal navigation or following complex natural language instructions. However, a significant challenge remains: deploying an autonomous agent into a completely unknown environment without a reference trajectory or external rewards. Standard reinforcement learning often fails in these scenarios due to the sparse nature of rewards in large, complex spaces.
This paper introduces the "Explore and Explain" ($eX^2$) framework, a novel setting where an agent must autonomously explore an unseen photorealistic environment and generate natural language descriptions of its observations. This dual task requires the agent to not only navigate effectively but also to identify significant moments that warrant explanation, making its internal state more interpretable to human observers.
The $eX^2$ Framework
The $eX^2$ framework is composed of three primary modules designed to handle navigation, the decision of when to speak, and the generation of descriptions.
1. Self-Supervised Navigation
The agent explores using a curiosity-driven mechanism based on "surprisal." This is implemented via a forward dynamics model, which predicts the next visual state based on the current state and action, and an inverse dynamics model, which predicts the action taken between two consecutive states. The agent receives an intrinsic reward when the forward model’s prediction error is high, signaling that it has encountered something unexpected.
To address a common failure mode in photorealistic environments—where agents get stuck in local loops to artificially inflate surprisal—the authors introduce a repeated-action penalty. This novelty forces the agent to diversify its movement, preventing it from oscillating between the same two states and significantly improving its ability to traverse complex 3D layouts.
2. Speaker Policies
An intelligent agent should not provide a constant stream of redundant information. The $eX^2$ framework evaluates three distinct policies to trigger the captioning module:
- Object-driven: The agent speaks when a minimum number of distinct objects are detected in its field of view.
- Depth-driven: The agent speaks when the average depth of the scene exceeds a specific threshold, typically indicating a transition into a wide-open area or a new room.
- Curiosity-driven: The agent speaks when its accumulated surprisal score spikes. This policy is particularly notable as it links the agent's internal exploration state directly to its communicative output, triggering descriptions when the agent encounters something "new" relative to its learned world model.
3. Captioning Module
The explanation component utilizes a fully-attentive Transformer model. It processes region features extracted by a Faster R-CNN from the agent’s first-person view. To optimize for the constraints of an embodied agent, the authors found that a lightweight architecture—using only two encoding layers and one decoding layer—outperformed deeper, more traditional Transformer configurations in terms of coverage and diversity.
Experimental Setup
The framework was evaluated using the Matterport3D dataset via the Habitat API, which provides photorealistic indoor environments with semantic instance annotations. The study utilized 61 training, 11 validation, and 18 testing scenes. The Faster R-CNN and Transformer modules were pre-trained on MS COCO and Visual Genome to ensure robust object detection and language generation capabilities before deployment in the 3D environments.
Key Results and Insights
Navigation Performance
The inclusion of the repeated-action penalty proved transformative. The full $eX^2$ model achieved an average surprisal score of 0.697, vastly outperforming a random exploration baseline (0.333). Crucially, the vanilla curiosity model without the penalty reached only 0.439 (using RGB+Depth) and a mere 0.193 when using RGB alone, demonstrating that curiosity alone is insufficient in photorealistic spaces without a mechanism to break local loops.
Explanation and Recounting
In terms of captioning, the Object-driven policy achieved the highest coverage (0.485) and diversity (0.394). However, the Curiosity-driven policy demonstrated remarkable robustness. Even as the threshold for speaking was increased, its coverage scores remained stable (dropping only 0.005%). This suggests that surprisal is a reliable proxy for identifying "interesting" moments without requiring the ground-truth semantic data that the Object-driven policy relies upon.
Architectural Efficiency
A key finding was that "shallower is better" for embodied captioning. While deep Transformers are standard in NLP, the truncated 2-layer encoder/1-layer decoder model provided the best balance of performance and computational efficiency for an agent navigating in real-time. Additionally, agents utilizing multi-modal inputs (RGB and Depth) for their dynamics models explored significantly more effectively than those limited to RGB data.
Conclusion
The $eX^2$ framework establishes a foundational baseline for the coupled tasks of autonomous exploration and recounting. By combining a penalized curiosity-driven navigation strategy with a lightweight, attentive captioning model, the authors demonstrate that agents can effectively map and describe unknown environments. Future work will focus on making speaker policies entirely independent of ground-truth semantic annotations and further refining curiosity-based navigation in visually noisy environments.
Summary updated