RL-based Variable Horizon Model Predictive Control of Multi-Robot Systems using Versatile On-Demand Collision Avoidance

Shreyash Gupta, Abhinav Kumar, Niladri Sekhar Tripathy, Suril Vijaykumar ShaharXiv 2023 · DOI

Abstract

Model Predictive Control (MPC) is a cornerstone of robotic path planning, yet its performance is heavily dependent on the choice of prediction horizon. A fixed horizon often leads to a sub-optimal trade-off between computational efficiency and safety. This paper introduces a decentralized framework that utilizes Reinforcement Learning (RL), specifically the Soft Actor-Critic (SAC) algorithm, to dynamically tune the MPC prediction horizon in real-time. To ensure safety during horizon transitions, we propose Versatile On-demand Collision Avoidance (VODCA), a generalized constraint formulation. Our results show that this adaptive approach improves path efficiency by over 7% in complex multi-robot scenarios and significantly reduces collision constraint activations compared to most fixed-horizon alternatives.

Introduction

The effectiveness of Model Predictive Control (MPC) in multi-robot systems hinges on the prediction horizon ($N$). A short horizon can lead to "nearsightedness," where robots fail to anticipate obstacles, while a long horizon imposes a prohibitive computational burden. Traditionally, $N$ is a manually tuned static parameter. While variable horizon MPC offers a theoretical solution, existing collision avoidance methods often struggle with the "constraint infeasibility" that occurs when the horizon length changes abruptly. This work addresses these challenges by learning an optimal, time-varying horizon policy and pairing it with a robust collision avoidance strategy.

Methodology

The proposed framework consists of two integrated components:

1. RL-based Horizon Learning

We employ the Soft Actor-Critic (SAC) algorithm to determine the optimal prediction horizon for each robot at every time step. The RL agent receives the global state of the robot swarm and outputs a discrete horizon length. The reward function is designed to balance multiple objectives, including goal progress, safety, computational efficiency (penalizing large $N$), and consistency in horizon transitions.

2. Versatile On-demand Collision Avoidance (VODCA)

Standard on-demand collision avoidance (ODCA) assumes a constant $N$. When $N$ decreases, a previously identified collision point might fall outside the new horizon, potentially leading to unsafe behavior or solver failure. VODCA generalizes these constraints by partitioning potential collisions into three distinct cases based on their temporal location relative to the current variable horizon. This ensures that safety constraints remain valid and feasible even as the "look-ahead" window fluctuates.

Experimental Evaluation

The framework was evaluated through numerical simulations across various scenarios, including a large-scale 14-robot position exchange task with static obstacles.

Large-scale 14-robot position exchange with static obstacles using the RL-based variable horizon MPC.

Key Results

  • Path Efficiency: In the 14-robot exchange, the RL-based approach achieved a 7.07% reduction in path cost compared to the best-performing fixed-horizon setup.
  • Constraint Activation: The adaptive horizon strategy led to significantly fewer active collision constraints than most fixed-horizon configurations. By looking ahead further only when necessary, the robots adopted a more proactive navigation style, avoiding the reactive maneuvers typical of short-horizon controllers.
Comparison of collision constraint activations across different fixed prediction horizons and the proposed RL-based variable horizon approach.
  • Robustness and Local Minima: The RL-based controller successfully navigated scenarios where fixed-horizon MPCs (e.g., $N=30$ or $N=50$) became trapped in local minima. The ability to dynamically adjust the horizon allows the system to "see" alternative paths that a fixed-length window might overlook.

Conclusion

This research demonstrates that integrating RL with MPC through a variable horizon approach significantly enhances multi-robot navigation. The VODCA strategy provides the necessary mathematical bridge to make variable horizons safe and feasible. Future work will focus on implementing this framework on physical hardware and extending it to handle non-holonomic robot dynamics and more complex environmental constraints.

Summary updated

BibTeX
@misc{gupta2023rl,
  author = {Shreyash Gupta and Abhinav Kumar and Niladri Sekhar Tripathy and Suril Vijaykumar Shah},
  title = {{RL-based Variable Horizon Model Predictive Control of Multi-Robot Systems using Versatile On-Demand Collision Avoidance}},
  year = {2023},
  eprint = {2308.07071},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2308.07071},
}
Figure