Abstract
Standard Embodied Question Answering (EQA) tasks typically require agents to navigate 3D environments to answer explicit queries about visible objects. However, real-world interactions often involve implicit requests requiring external common-sense knowledge and complex logical reasoning. This paper introduces Knowledge-based Embodied Question Answering (K-EQA), a task where agents must bridge the gap between sensory observations and external knowledge. We propose a framework that utilizes neural program synthesis to translate natural language into SQL queries, enabling joint reasoning over 3D scene graphs and external knowledge bases.
Introduction
In traditional EQA, an agent might be asked, "What color is the apple?" While challenging, this task is limited to direct visual recognition. Human communication is often more abstract; for instance, a user might ask, "Are there any objects used to cut food in the room?" To answer this, an agent must possess the external knowledge that a "knife" is used for cutting food and then logically determine if such an object exists in its current environment.
Furthermore, existing EQA models often lack persistent memory, treating every question as a fresh exploration task. This paper addresses these limitations by introducing the K-EQA task and a corresponding framework that integrates external knowledge graphs, logical reasoning, and persistent 3D scene memory for efficient multi-turn and multi-agent interaction.
Methodology
The proposed framework consists of three primary components designed to integrate perception, reasoning, and planning.
1. Scene Graph-based State Memory
As the agent explores the 3D environment, it performs voxel-level reconstruction. Using an instance segmentation model (Mask R-CNN), the agent identifies objects and extracts a 3D scene graph. This graph serves as a persistent memory, mapping objects and their spatial relationships (e.g., "apple on table"), allowing the agent to retain information across multiple queries.
2. Action Planner
Rather than predicting low-level motor commands directly from pixels, the framework employs an attentional LSTM-based text-to-SQL synthesizer. This synthesizer translates the user's natural language question into a structured SQL query. This query is executed against an external knowledge graph (ConceptNet) and scene priors to identify the most probable locations for target objects. For example, if searching for a "cooking utensil," the agent uses knowledge-based pruning to ignore the ceiling or bathroom. A Monte-Carlo Tree Search (MCTS) algorithm then determines the optimal path to explore these high-probability regions.
3. Question Answerer
Following exploration, the agent's 3D scene graph is updated with new visual evidence. A second text-to-SQL program queries the combined 3D scene graph and external knowledge graph to compute the final answer, handling logical operations like counting, comparison, and enumeration.
The K-EQA Dataset
To evaluate this framework, the authors developed the K-EQA Dataset using the AI2Thor simulator and ConceptNet. The dataset includes:
- Scale: 60,000 questions across 6,000 unique room layouts.
- Diversity: Question types include Existence, Counting, Comparison, and Enumeration.
- Complexity: A "K-EQA Extension" subset features highly complex questions with nested logical connectors (e.g., "and/or").
- Bias Mitigation: A two-stage balancing algorithm was implemented to prevent models from exploiting linguistic shortcuts to guess answers without actual environment exploration.
Experimental Results
Overall Performance
The proposed method achieved an overall accuracy of 41.3% on the K-EQA dataset, significantly outperforming baseline models that lacked knowledge graph integration, which typically achieved 30-31% accuracy. This demonstrates the necessity of external knowledge for complex embodied tasks.
The Vision Bottleneck
A notable finding emerged from an ablation study using ground-truth 3D scene graphs. When the errors from the computer vision pipeline (segmentation and reconstruction) were removed, the model's accuracy rose to 90.3%. This indicates that the text-to-SQL reasoning engine is highly robust, and the primary bottleneck for current embodied agents remains visual perception and instance segmentation.
Efficiency and Scalability
The use of persistent memory significantly improved efficiency in multi-turn scenarios. In a sequence of 10 questions about the same environment, the average track length dropped from 82.7 steps for the first question to just 12.5 steps by the tenth. Additionally, the framework supports multi-agent cooperation; deploying five agents simultaneously resulted in a 2.32x speedup in exploration time.
Conclusion and Future Work
This work demonstrates that structured reasoning via SQL provides a powerful bridge between embodied perception and external common-sense knowledge. While the framework shows strong reasoning capabilities, performance declines on the more complex K-EQA Extension (37.1%), and the voxel-based scene reconstruction remains sensitive to small-object segmentation errors. Future research will focus on replacing voxel-based methods with point-cloud-based 3D scene graph generation to improve the fidelity of the agent's internal world model.
Summary updated