Abstract
Obstacle avoidance is a fundamental requirement for autonomous robots which operate in, and interact with, the real world. When perception is limited to monocular vision avoiding collision becomes significantly more challenging due to the lack of 3D information. Conventional path planners for obstacle avoidance require tuning a number of parameters and do not have the ability to directly benefit from large datasets and continuous use. In this paper, a dueling architecture based deep double-Q network (D3QN) is proposed for obstacle avoidance, using only monocular RGB vision. Based on the dueling and double-Q mechanisms, D3QN can efficiently learn how to avoid obstacles in a simulator even with very noisy depth information predicted from RGB image. Extensive experiments show that D3QN enables twofold acceleration on learning compared with a normal deep Q network and the models trained solely in virtual environments can be directly transferred to real robots, generalizing well to various new environments with previously unseen dynamic objects.
Introduction
Obstacle avoidance is a cornerstone of mobile robotics. While sensors like LiDAR and sonar provide direct distance measurements, they are often impractical for small-scale or low-cost platforms due to their weight, power consumption, and cost. Monocular cameras offer a lightweight and inexpensive alternative, but they lack inherent 3D information, making depth estimation a significant computer vision challenge.
Traditional monocular navigation relies on manually tuned geometric pipelines that often struggle in diverse environments. Conversely, Deep Reinforcement Learning (DRL) offers a way to learn control policies directly from data. However, training DRL agents in the real world is risky and time-consuming. This research addresses the "sim-to-real" gap, proposing a system trained entirely in simulation that generalizes to complex, real-world indoor settings.
Methodology
The researchers developed a two-phase neural network architecture designed to bridge the gap between virtual training and real-world execution.
Perception Phase: Depth Prediction
Instead of processing raw RGB images, which contain high-dimensional information irrelevant to navigation (like color and texture), the system first estimates a depth map. A Fully Convolutional Residual Network (FCRN) is used to transform a single RGB image into a depth representation. To ensure robustness, the authors intentionally introduced noise and blur into the simulated depth maps during training. This forced the agent to learn a policy that is resilient to the inaccuracies typical of real-world depth estimation.
Control Phase: Dueling Double Deep Q-Network (D3QN)
The predicted depth maps are stacked (using the four most recent frames to provide temporal context) and fed into the D3QN. This architecture combines two key mechanisms:
- Dueling Architecture: This separates the estimation of state value (how good it is to be in a certain position) from the action advantage (how much better one action is than others). This allows the robot to learn about the safety of a state even if it hasn't explored every possible action within it.
- Double Q-Learning: This addresses the common "over-optimism" problem in standard Q-learning, where the agent overestimates the value of certain actions, leading to unstable training.
Experimental Setup and Training
The model was trained using the Gazebo simulator across two environments: a "Simple" world for basic learning and a "Complex" world for fine-tuning. The robot's actions were discretized into 10 combinations of linear and angular velocities. The reward function was designed to encourage forward motion while penalizing collisions and sharp turns.
Following simulation, the model was evaluated "zero-shot" (no extra training) in various real-world indoor environments, including libraries, museums, and bedrooms. The testing also included dynamic scenarios with moving people and objects to assess the model's ability to generalize beyond static training data.
Key Results
The D3QN approach demonstrated significant improvements over baseline methods:
- Learning Efficiency: D3QN reached peak performance approximately twice as fast as a standard Deep Q-Network (DQN).
- Performance Gains: The average reward for D3QN was significantly higher (approx. 25) compared to standard DQN (approx. 10) and Double DQN (approx. 18).
- Robust Sim-to-Real Transfer: Models trained exclusively in Gazebo successfully navigated real-world corridors and cluttered rooms, avoiding previously unseen objects like specific furniture and dynamic obstacles.
Conclusion
This work demonstrates that a combination of depth prediction and advanced DRL architectures can enable effective monocular obstacle avoidance. By training with noisy simulated data, the D3QN agent becomes robust enough for direct real-world deployment. While the current system can occasionally exhibit jittery steering near novel obstacles, future work aims to incorporate auxiliary loss functions for active exploration and more complex global navigation tasks.
Summary updated