CAMAR: Continuous Actions Multi-Agent Routing

Artem Pshenitsyn, Aleksandr Panov, Alexey Skrynnik

TL;DR

The paper introduces CAMAR, a high-performance Multi-Agent Reinforcement Learning (MARL) benchmark designed specifically for multi-agent pathfinding in continuous action spaces. Leveraging JAX for GPU acceleration, CAMAR achieves simulation speeds exceeding 100,000 steps per second, enabling rapid training and scaling up to hundreds of agents. It bridges the gap between classical robotics planning and MARL by integrating algorithms like RRT* and establishing a rigorous three-tier evaluation protocol to test policy generalization.

What Problem Does This Paper Address?

Multi-Agent Pathfinding (MAPF) is a foundational challenge for real-world autonomous systems like warehouse robots and drone swarms. However, most existing MARL benchmarks simplify this problem by using discrete grid worlds. Real robots operate in continuous physical spaces, follow complex dynamics, and must plan smooth trajectories while avoiding both static and dynamic obstacles.

High-fidelity physics simulators (such as Gazebo or Isaac Sim) offer realistic continuous environments, but they are computationally heavy and slow, making them impractical for the millions of training steps required by MARL. Conversely, existing fast MARL environments either lack continuous control, fail to scale beyond a few agents, or offer oversimplified tasks that don't require strong coordination. CAMAR addresses these gaps by providing a continuous-space, highly scalable, and ultra-fast simulation environment.

An example scenario from the CAMAR benchmark showing agents, goals, and RRT* guidance.

Methods

  • GPU Acceleration via JAX: Built entirely on JAX, CAMAR utilizes fully vectorized environment operations, eliminating the typical CPU-GPU data transfer bottlenecks that slow down training.
  • Circle-Based Discretization: To maintain high-speed collision checking on the GPU, every agent and obstacle is modeled as a circle. Complex structures like walls and mazes are procedurally generated by clustering smaller circles together.
  • Smooth Contact Model: Instead of rigid, discontinuous collisions, CAMAR uses a force-based system where overlapping objects experience smooth, mathematically continuous repulsive forces.
  • Heterogeneous Dynamics: The environment natively supports multiple dynamic models simultaneously, including HolonomicDynamic (force-controlled movement) and DiffDriveDynamic (differential-drive robots).
  • LIDAR-Inspired Vector Observations: Rather than using computationally expensive ray tracing, agents sense their surroundings via smooth, penetration-based vector representations of nearby objects.
  • Algorithmic Hybridization: CAMAR allows classical path planners (RRT and RRT*) to be integrated directly into MARL pipelines, either as standalone baselines or as auxiliary features providing approximate cost-to-go guidance to reinforcement learning agents.
LIDAR-inspired vector observations in CAMAR.

Datasets

The paper introduces a suite of procedurally generated and benchmark-derived maps to evaluate agent performance:

  • random_grid: Maps with randomly placed rectangular obstacle clusters, evaluated at various densities.
  • labmaze_grid: Procedural mazes featuring connected rooms and narrow corridors to test complex navigation.
  • caves_cont: Continuous cave-like environments generated using Perlin noise.
  • movingai: Two-dimensional street and game maps adapted from the classic MovingAI pathfinding benchmark to evaluate real-world generalization.
A rich collection of map types supported in CAMAR.

Key Insights and Ideas

  • Centralized Critics Struggle at Scale: A surprising finding was that off-policy MARL algorithms utilizing a single centralized critic (such as MADDPG and MASAC) perform poorly as agent counts grow. The high-dimensional input space and blurred credit assignment targets make training unstable, often causing them to be outperformed by independent learning variants (IPPO, ISAC).
  • The Planning vs. Learning Trade-off: Pure MARL methods excel at local coordination and dynamic collision avoidance but fail in sparse-reward, narrow-corridor environments like mazes. Classical planners (RRT*+PD) guarantee global path reliability but lack the ability to coordinate fluidly with other moving agents.
  • Hybridization is a Double-Edged Sword: Providing RRT* path features to RL agents significantly improves path efficiency for on-policy methods (MAPPO). However, it can further destabilize off-policy centralized critics due to the added complexity of the input space.

Key Results

  • Exceptional Simulation Speed: CAMAR regularly achieves around 50,000 steps per second (SPS) in complex 32-agent scenarios and can scale up to 562,000 SPS for a single agent in dense obstacle environments. It maintains a robust 1,400 SPS even when scaling up to 800 agents.
  • Algorithmic Performance: On the random_grid map, MAPPO achieved the highest success rate (0.830). However, on the more restrictive labmaze_grid, the classical baseline RRT*+PD outperformed all pure MARL methods, achieving a success rate of 0.692 compared to MAPPO's 0.568.

Limitations and Future Work

  • Static Obstacles Only: Currently, all built-in map generators feature static obstacles; the environment does not yet support fully dynamic scenes with moving obstacles.
  • Basic Numerical Integration: The simulator relies on simple Euler integration schemes. To maintain stability with larger time steps, users must apply high frameskipping. Implementing more stable integration methods, such as Runge-Kutta, is planned for future releases.
  • Lack of Explicit Communication: There is currently no built-in message-passing framework for agents, limiting the ability to study explicit inter-agent communication protocols.

Summary updated

BibTeX
@inproceedings{pshenitsyn2026camar,
  author = {Artem Pshenitsyn and Aleksandr Panov and Alexey Skrynnik},
  title = {{CAMAR: Continuous Actions Multi-Agent Routing}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2026},
  doi = {10.1609/aaai.v40i35.40209},
}
Figure