Abstract
Building deep reinforcement learning agents that can generalize and adapt to unseen environments remains a fundamental challenge for AI. This paper describes progresses on this challenge in the context of man-made environments, which are visually diverse but contain intrinsic semantic regularities. We propose a hybrid model-based and model-free approach, LEArning and Planning with Semantics (LEAPS), consisting of a multi-target sub-policy that acts on visual inputs, and a Bayesian model over semantic structures. When placed in an unseen environment, the agent plans with the semantic model to make high-level decisions, proposes the next sub-target for the sub-policy to execute, and updates the semantic model based on new observations. LEAPS outperforms strong baselines that do not explicitly plan using the semantic content in visual navigation tasks using House3D.
Introduction
Deep Reinforcement Learning (DRL) has achieved remarkable success in various domains, yet generalization to novel environments remains a significant hurdle. Agents trained in specific virtual settings often struggle when deployed in new, visually distinct locations because they rely on reactive, pixel-to-action mappings. While model-free RL is robust to raw sensory input, it lacks long-term planning capabilities. Conversely, traditional model-based RL, which attempts to predict future pixel states, is computationally prohibitive for complex 3D environments.
LEAPS (LEArning and Planning with Semantics) addresses this by leveraging the inherent semantic regularities of human-designed spaces. Humans do not require a pixel-perfect map to find a bathroom in a new house; we use "common sense" priors—knowing, for instance, that a dining room is likely adjacent to a kitchen.
The LEAPS Framework
The LEAPS architecture bifurcates the navigation problem into high-level planning and low-level execution.
High-Level Semantic Planner
The planner is a Bayesian model that operates on discrete semantic signals (e.g., room types). It maintains a prior distribution of environmental layouts learned from thousands of diverse scenes. As the agent explores, it uses Bayes' rule to update its "belief" about the current environment's connectivity.
Low-Level Visual Executor
The executor is a multi-target sub-policy trained to handle raw visual input. When the planner identifies a target room (e.g., "Go to the Living Room"), the executor processes first-person RGB images to perform the necessary movements. This separation allows the agent to adapt to new layouts without relearning basic navigation or object recognition.
Experimental Evaluation
The model was evaluated using the House3D dataset, which includes 45,000 human-designed indoor scenes. The primary task, RoomNav, requires an agent to find a specific room type in an entirely unseen house. The agent was trained on 200 houses and tested on 50 novel environments.
Key Results and Insights
- Superior Generalization: LEAPS consistently outperformed standard model-free baselines, particularly as the distance to the target increased. For tasks requiring multiple room transitions, LEAPS maintained high success rates where reactive agents failed.
- Efficiency and Interpretability: The semantic model is remarkably lightweight, requiring only 38 parameters. Its graph-based nature makes the agent's decision-making process transparent and interpretable.
- Robustness: The framework remains effective even when using noisy CNN-based room classifiers instead of ground-truth semantic labels.
Conclusion
LEAPS demonstrates that planning with semantic common sense is a powerful tool for generalization in DRL. By modeling environments at a semantic level rather than a pixel level, agents can navigate complex, unseen spaces with human-like efficiency. Future work may extend this hybrid approach to robotic manipulation and more complex architectural layouts.
Summary updated