TL;DR
This paper introduces a novel self-supervised framework for embodied agents to generate spatially coherent and accurate descriptions of objects in complex environments. By combining exploration, pseudo-caption generation using LLMs, and contrastive learning for fine-tuning, the method significantly improves caption consistency across different viewpoints, outperforming existing approaches.
What Problem Does This Paper Address?
Autonomous agents, like robots, need to understand and describe their surroundings to navigate and interact effectively. While image captioning models have advanced, they often struggle when deployed on an agent. Specifically, when an agent observes the same object from multiple viewpoints, especially with occlusions or challenging angles, existing captioning models tend to produce inconsistent or inaccurate descriptions. This lack of spatial coherence in descriptions hinders the agent's ability to build a reliable understanding of its environment. The paper aims to bridge this gap by enabling agents to generate descriptions that are not only accurate but also consistent, regardless of the viewing angle.
Methods
The proposed solution is a three-phase framework:
- Exploration and Data Collection: An agent equipped with an object detector and a captioner navigates a 3D environment. During exploration, it collects RGB-D images and associated object captions. Simultaneously, it builds a 3D semantic voxel map of the scene and clusters detected object instances. A key aspect here is the development of a "Caption-Look Around" (CLA) exploration policy. This policy is guided by maximizing the "disagreement" between captions of the same object across different views, encouraging the agent to seek out informative viewpoints.
- Pseudo-Caption Generation (LD-CPS): For each identified 3D object instance, the collected noisy captions are fed into a Large Language Model (LLM). The LLM, prompted with caption frequencies and in-context learning examples, generates a single, consistent "pseudo-caption." This process effectively distills a reliable description from potentially erroneous and varied raw captions. The method is named Language-Driven Consistent Pseudo-captioner (LD-CPS).
- Captioner Fine-tuning: The generated pseudo-captions are then used as ground truth labels to fine-tune an off-the-shelf image captioning model (like CoCa or BLIP2). This fine-tuning is enhanced with contrastive learning, specifically a triplet loss. This loss encourages the model to learn similar representations for different views of the same object while pushing representations of different objects apart, further improving spatial coherence.
Datasets
The framework is evaluated on two widely used datasets for embodied AI:
- Gibson: A dataset of simulated indoor environments.
- Habitat-Matterport (HM3D): Another dataset of simulated indoor environments, known for its diverse and realistic scenes.
The authors also mention creating a manually annotated test set composed of over 8800 images, specifically collected to assess performance with different object views.
Key Insights and Ideas
- Disagreement as a Signal for Exploration: The core idea of using "disagreement" between captions as a curiosity reward for exploration is a clever way to guide agents towards viewpoints that are most informative for improving object descriptions. This moves beyond simple coverage or object detection to focus on descriptive quality.
- LLMs for Pseudo-Labeling: Leveraging LLMs to synthesize consistent pseudo-captions from noisy, multi-view data is a powerful self-supervised approach. It circumvents the need for expensive manual annotation for large-scale training.
- Contrastive Learning for Consistency: Applying contrastive learning (specifically triplet loss) during fine-tuning directly targets the problem of viewpoint inconsistency, forcing the model to learn a more robust and spatially coherent representation.
- Modularity: The three-phase framework is designed to be modular, allowing for the integration of future advancements in exploration, pseudo-captioning, or captioning models, fostering fair comparisons and continuous improvement.
Key Results
- Improved Pseudo-Captioning: The proposed LD-CPS method significantly outperforms existing pseudo-captioning methods (ECO and IC3) across various metrics (BLEU-4, METEOR, ROUGE-L, CIDEr, SPICE, and cosine similarity) on both Gibson and HM3D datasets.
- Effective Exploration Policy: The CLA exploration policy, guided by disagreement, generally leads to higher pseudo-captioning performance compared to random or frontier exploration policies.
- Enhanced Caption Consistency: Fine-tuning with pseudo-captions and contrastive learning demonstrably improves caption consistency. For example, in Gibson, the cosine similarity between SBERT embeddings of captions for the same object instance is significantly increased after fine-tuning, especially with the triplet loss.
- Competitive Performance: After fine-tuning, the models (CoCa and BLIP2) achieve captioning scores that are competitive with, and in many cases surpass, general-purpose models like ChatGPT, highlighting the effectiveness of specialized fine-tuning.
Limitations and Future Work
- Majority of Inaccurate Captions: The pseudo-captioning method might struggle if the initial set of collected captions for an object consists of a majority of inaccurate descriptions, as the prompt relies on caption frequency.
- Point Cloud Aggregation Errors: Inaccurate camera pose or depth estimation during point cloud generation can lead to errors in clustering and aggregating object instances.
- Real-time Performance: The current framework is not optimized for real-time operation on a standalone robot.
Future work will focus on extending the approach to dynamic scenarios, validating it on a real robot, and addressing the limitations related to handling predominantly erroneous initial captions and improving point cloud accuracy.
Summary updated