Abstract
Obstacle avoidance is a fundamental and challenging problem for autonomous navigation of mobile robots. In this paper, we consider the problem of obstacle avoidance in simple 3D environments where the robot has to solely rely on a single monocular camera. In particular, we are interested in solving this problem without relying on localization, mapping, or planning techniques. Most of the existing work consider obstacle avoidance as two separate problems, namely obstacle detection, and control. Inspired by the recent advantages of deep reinforcement learning in Atari games and understanding highly complex situations in Go, we tackle the obstacle avoidance problem as a data-driven end-to-end deep learning approach. Our approach takes raw images as input and generates control commands as output. We show that discrete action spaces are outperforming continuous control commands in terms of expected average reward in maze-like environments. Furthermore, we show how to accelerate the learning and increase the robustness of the policy by incorporating predicted depth maps by a generative adversarial network.
Introduction
Traditional robotic navigation typically employs a modular "divide and conquer" strategy, separating tasks into simultaneous localization and mapping (SLAM), obstacle detection, and path planning. However, hand-crafting features that remain robust across diverse environments is a significant engineering challenge. This research explores an end-to-end learning paradigm, aiming for a biological-like approach where a robot maps raw sensory pixels directly to motor commands. Specifically, the study focuses on monocular vision, which lacks the explicit depth information found in LiDAR or stereo camera systems.
Methodology
The obstacle avoidance task is formulated as a Markov Decision Process (MDP). The authors evaluate two primary Deep Reinforcement Learning (DRL) algorithms: Deep Q-Network (DQN) and Proximal Policy Optimization (PPO).
A significant innovation in this work is the use of a conditional Generative Adversarial Network (GAN), based on the pix2pix architecture, to "hallucinate" depth information from monocular grayscale images. This predicted depth is then fused with the original grayscale input to provide the DRL agent with a richer spatial representation.
Experiments were conducted in simulation using the gym-gazebo toolkit, featuring a TurtleBot2 in two environments: Circuit2-v0 (track-like) and Maze-v0 (complex maze with sharp turns). The GAN was pre-trained on a dataset of 1,313 RGB-depth image pairs to learn the mapping from color to distance.
Results and Discussion
The experimental results highlight several key insights. Most notably, discrete action spaces (pre-defined commands) outperformed continuous control in maze-like environments. This suggests that the complex coordination between linear and angular velocities required for sharp maneuvers is more effectively captured through discrete primitives.
As shown in the learning curves, PPO with discrete actions emerged as the superior algorithm, achieving significantly higher average rewards than its continuous counterpart or DQN. Furthermore, the "Fused" input modality (Grayscale + Predicted Depth) proved highly effective, reaching a reward of 1619 compared to 1455 for grayscale alone. The inclusion of depth information, even when predicted by a GAN, led to smoother learning and increased policy robustness.
Conclusion
This work demonstrates the feasibility of end-to-end DRL for monocular obstacle avoidance. While the use of GAN-predicted depth significantly improves performance and generalization, challenges remain regarding the "sim-to-real" gap and the high sample complexity of DRL, which required 2 million frames of experience to converge. Future work will investigate imitation learning to improve sample efficiency and facilitate deployment on physical robotic platforms.
Summary updated