TLDR: This research introduces a novel method for mobile robots to avoid collisions by using a Long Short-Term Memory (LSTM) model to predict other robots’ future positions. This prediction allows for an “anticipatory reward” that dynamically adjusts the Deep Q-Learning Network (DQN) agent’s behavior, encouraging safer trajectories. Tested in simulations with anonymous robots and low data sampling rates, the approach significantly reduces collisions and improves system stability, making it suitable for resource-limited embedded systems.
In the evolving landscape of mobile robotics, ensuring the safe coexistence of autonomous agents in shared spaces, such as warehouses or urban environments, presents a significant challenge. Often, these robots operate without explicit identifiers, direct communication, or prior knowledge of each other’s intentions or trajectories. This research paper, titled Deep Reinforcement Learning with anticipatory reward in LSTM for Collision Avoidance of Mobile Robots, introduces an innovative approach to tackle this problem by enabling robots to anticipate potential collisions.
The core of the proposed method lies in integrating a short-term prediction of other agents’ positions into the reward system of a Deep Q-Learning Network (DQN) agent. This predictive capability is powered by a Long Short-Term Memory (LSTM) model, which is trained on past trajectories of the robots. By estimating the next position of each robot, the system can define an ‘anticipated collision risk’. This risk then dynamically modulates the reward signal given to the DQN agent, encouraging it to choose safer paths.
One of the notable aspects of this approach is its computational efficiency and suitability for embedded systems, even with a limited data sampling frequency of just 1 Hz. This makes it highly practical for real-world applications where computational resources might be constrained.
The Challenge of Collision Avoidance
Traditional methods for multi-robot coordination often rely on explicit communication or leader-follower dynamics, which are not always feasible in anonymous, decentralized settings. Artificial intelligence, particularly reinforcement learning, offers a robust solution by allowing robots to learn optimal behaviors in dynamic environments. However, the effectiveness of reinforcement learning heavily depends on the design of its ‘reward function’ – the feedback mechanism that guides the agent’s learning process. A poorly designed reward function can lead to inefficient learning or undesirable behaviors.
The concept of ‘reward shaping’ is crucial here. It involves adding an extra component to the reward function that encourages or penalizes specific behaviors, like avoiding risky situations. This paper builds upon this idea by introducing an ‘anticipatory reward’ based on predicted future states, rather than just immediate consequences.
How the Anticipatory Method Works
The system works by having each mobile robot use an LSTM network to predict the next position of other robots at a future time step (t+2). This prediction allows the robot to estimate the inter-robot distance and calculate a ‘collision risk’ (Cr). This anticipated penalty or reward (Cr) is then added to the immediate reward, effectively encouraging the agent to avoid configurations that could lead to a collision even before it physically occurs.
The experimental setup involved simulations using the ‘Webots’ software with Turtlebot3 robots in a 2.5 x 2.5 meter square environment. This relatively confined space ensured frequent collision opportunities for testing. The researchers compared the performance of robots operating without the anticipation algorithm against those using it.
Also Read:
- ME3-BEV: A New Deep Reinforcement Learning Approach for Autonomous Driving with Enhanced Perception
- Balancing Caution and Performance in Offline Reinforcement Learning
Key Findings and Improvements
The results demonstrated significant improvements with the anticipatory reward mechanism:
- Reduced Collisions: By incorporating a squared Euclidean distance as an anticipated penalty, the total number of collisions was reduced by over 55% compared to the baseline without anticipation. This validates the idea that penalizing supposed future risks leads to more cautious trajectories.
- Improved Stability: The addition of anticipation stabilized the overall behavior of the mobile robots, leading to more consistent and relevant decision-making.
- Effective LSTM Model: The LSTM model, trained on recent observations, proved highly efficient in predicting future positions with low computational cost.
- Impact of Distance Metric: Using a continuous metric like the squared Euclidean distance for calculating anticipated risk yielded better performance than the Manhattan distance, suggesting a more refined reward modulation.
This research highlights the power of predictive models in enhancing the safety and stability of multi-robot systems, especially in environments where communication is limited or non-existent. While the current tests were conducted in a restricted environment with two robots, the findings pave the way for future work involving a larger number of agents, more complex environments with obstacles, and even real-world robotic platforms under partially observable conditions.


