Abstract
For real-world deployments, it is critical to allow robots to navigate in complex environments autonomously. Traditional methods usually maintain an internal map of the environment, and then design several simple rules, in conjunction with a localization and planning approach, to navigate through the internal map. These approaches often involve a variety of assumptions and prior knowledge. In contrast, recent reinforcement learning (RL) methods can provide a model-free, self-learning mechanism as the robot interacts with an initially unknown environment, but are expensive to deploy in real-world scenarios due to inefficient exploration. In this paper, we focus on efficient navigation with the RL technique and combine the advantages of these two kinds of methods into a rule-based RL (RuRL) algorithm for reducing the sample complexity and cost of time. First, we use the rule of wall-following to generate a closed-loop trajectory. Second, we employ a reduction rule to shrink the trajectory, which in turn effectively reduces the redundant exploration space. Besides, we give the detailed theoretical guarantee that the optimal navigation path is still in the reduced space. Third, in the reduced space, we utilize the Pledge rule to guide the exploration strategy for accelerating the RL process at the early stage. Experiments conducted on real robot navigation problems in hex-grid environments demonstrate that RuRL can achieve improved navigation performance.
1. Introduction
Autonomous robot navigation in complex, unknown environments remains a significant challenge in robotics. While traditional rule-based methods are computationally efficient, they often lack the flexibility to find optimal paths in varied scenarios. Conversely, Reinforcement Learning (RL) offers a robust framework for self-learning but is frequently hindered by the "curse of dimensionality" and the sparse reward problem, where an agent may wander aimlessly before finding a goal.
This paper introduces RuRL (Rule-based Reinforcement Learning), a framework designed to bridge the gap between rigid rule-based systems and flexible but slow RL agents. By utilizing geometric rules to prune the search space and guide early exploration, RuRL significantly reduces the number of learning steps required—by up to 72% in complex environments—while theoretically guaranteeing that the optimal path is preserved.
2. The RuRL Framework
The RuRL algorithm operates within a hexagonal grid (hex-grid) environment. Hex-grids are preferred over traditional square grids because they offer six degrees of movement, leading to smoother trajectories that better align with biological navigation models and reduce the mechanical strain of frequent rotations.
The framework consists of three primary stages: closed-loop trajectory generation, space reduction, and rule-guided exploration.
2.1 Closed-Loop Trajectory Generation
The process begins by generating two initial paths from the start (B) to the goal (G) using simple "left-hand" and "right-hand" wall-following rules. These two paths together form a closed loop that encapsulates the feasible search space for the robot. This initial bounding provides a coarse definition of the environment's navigable areas.
2.2 Space Reduction
To further optimize the learning process, RuRL applies a reduction rule to the initial closed-loop trajectory. The algorithm identifies $K$-step shortcuts to prune redundant states and shrink the exploration loop. This step effectively discards large portions of the map that are irrelevant to finding the optimal path.
Crucially, the authors provide a theoretical guarantee that the global optimal path remains within this reduced space, ensuring that efficiency gains do not come at the cost of path quality.
2.3 Rule-Guided Exploration (The Pledge Rule)
During the early stages of RL, when an agent typically relies on random exploration (e.g., $\epsilon$-greedy), RuRL employs the Pledge algorithm. This classic maze-solving technique guides the robot toward the goal more purposefully in the first few episodes. This "warm-start" provides the RL agent with high-quality initial data, allowing it to transition from coarse-grained exploration to fine-grained policy optimization much faster than standard methods.
3. Experimental Evaluation
The RuRL framework was evaluated in simulated environments derived from real-world Lidar and IMU data collected by a mobile robot. The test cases ranged from simple obstacle-free rooms to complex, multi-room layouts.
Key results include:
- Efficiency: In complex multi-room tasks, RuRL reduced total learning steps by 61% to 72% compared to standard RL baselines.
- Convergence: RuRL reached an optimal policy significantly faster than other advanced exploration strategies like Count-based exploration or UCB.
- Path Quality: The resulting paths were not only optimal in length but also smoother. For instance, in a multi-room environment, RuRL required only 14 direction switches compared to 29 for the A* algorithm, representing a significant energy saving for physical hardware.
4. Conclusion
RuRL demonstrates that human-like "rules of thumb" can be effectively integrated into Reinforcement Learning to overcome the limitations of sparse rewards and large state spaces. By constraining the "where" and "how" of exploration through wall-following and the Pledge rule, RuRL enables efficient, high-quality navigation. Future work will focus on adapting these rules for dynamic environments with moving obstacles and extending the framework to 3D continuous action spaces.
Summary updated