Lifelong Multi-Agent Path Finding

Enhanced Follower Framework for Lifelong Multi-Agent Path Finding: A Hierarchical Turn Penalty Approach

Yihan Zhang1, Zhaokai Liu1, Ling Yao1, Jurong Chen2, Lin Wang1, Guanglin Zhang3

1 School of Automation and Intelligent Sensing, Shanghai Jiao Tong University

2 Technology R&D Department, Guangzhou Saite Intelligent Technology Co., Ltd.

3 Department of Communication Engineering, College of Information Science and Technology, Donghua University

45th Chinese Control Conference · CCC 2026

The original framework diagram: Poisson task generation, POGEMA simulation, an A-star planner with a weak turn penalty, an RL policy with turn and stop penalties, and operational evaluation.
Figure 1. System architecture of the kinematics-aware LMAPF framework, including Poisson-distributed task sequence generation, POGEMA-based simulation, the hierarchical controller, and task-normalized operational evaluation.

Problem formulation

AGV-Inspired Time-Kinematic Model

The objective of LMAPF is to dynamically assign conflict-free paths to a fleet of automated guided vehicles (AGVs) as they continuously receive new goals.

Conventional LMAPF evaluations mainly count discrete steps and therefore treat straight moves, turns, and waiting as comparable unit actions. This abstraction misses a key physical effect in warehouse AGVs: changing direction requires deceleration, rotation, and re-acceleration. We therefore introduce a lightweight time-kinematic model as an evaluation-level surrogate.

We assume synchronized grid execution. At each simulator step, an AGV either moves to a four-neighboring cell or executes a stop action. A straight one-cell move consumes a base traversal time, a direction change adds a turn-induced delay, and a stop action occupies one control step.

Table I. Kinematic parameters and derived time costs.
Symboldcellvmaxatrottbasetturntstop
Value1.0 m2.0 m/s0.6 m/s²1.5 s0.50 s4.83 s0.50 s

Evaluation Metrics

Throughput
Throughput measures the number of completed tasks per evaluation step.
Turns per Task (TPT)
Turns per Task (TPT) measures the average number of executed turns per completed task.
Operational Time per Task (OTT)
Operational Time per Task (OTT) measures the average cumulative robot-time required for each completed task after accounting for both physical motion and waiting.
Stop Ratio
Stop Ratio is the number of stop actions divided by the total number of executed actions.

Method

Hierarchical Turn Penalty Mechanism

Our framework is built upon the Follower architecture, a decentralized hybrid pipeline that synergizes global planning with local reactive control.

The Global Planner employs an A* algorithm to generate individual paths which are decomposed into sequences of waypoints for localized navigation. Within this hierarchy, multi-agent conflicts are resolved at the local level through reactive RL actions such as yielding or detouring.

  1. Turn Penalty in the Planning Component

    The original implementation penalizes nodes that are heavily occupied by other agents to avoid congestion. We extend this heuristic by modifying the edge cost function during the node expansion phase to mildly penalize tortuous routes.

    The planner slightly biases the waypoint prior toward smoother paths without dominating the original congestion-aware cost.

  2. Turn Penalty in the Learning Component

    Unlike a blanket turn penalty, our local reward distinguishes efficient turns from inefficient turns. A turn that moves the agent closer to its current waypoint is treated as an efficient turn; otherwise, it is treated as an inefficient turn. A waiting-aware stop penalty increases with consecutive stop actions, up to a fixed cap.

    The planning-level penalty shapes a smoother waypoint prior, while the RL-level reward decides whether to follow, wait, or detour under local conflicts. This loose coupling preserves local flexibility while still making the executed trajectory sensitive to the physical cost of turns.

Poisson-Distributed Task Sequence Generation

To emulate variable order-batch sizes in warehouse operations, we use a Poisson-distributed task sequence generator. This generator controls the number of targets assigned to each agent during an episode.

Targets are sampled from traversable cells adjacent to storage racks, which represent pick/replenishment access points. This creates localized task hotspots and variable task-list lengths while preserving a simple reproducible task-generation process.

Experiments

Experimental Setup

Experiments are conducted using POGEMA, a benchmark platform for cooperative multi-agent reinforcement learning (MARL) and MAPF.

We vary the fleet size N ∈ {32, 64, 128} over the three warehouse layouts in Fig. 3. Task sequences use Ki = max(1, Xi) with Xi ∼ Poisson(3). Each model is evaluated over five random seeds that vary task sampling and initial configurations.

Original Figure 3: the three benchmark warehouse grid layouts, labeled Map A, Map B, and Map C.
Figure 3. Illustration of the three benchmark grid layouts used in experiments.

Training Details and Throughput Stability

We kept the same neural network architecture and the same Proximal Policy Optimization (PPO)-style hyperparameters (via Sample Factory) across all four models to ensure a fair comparison.

  • Baseline: the original Follower-style configuration without planning or learning-level turn awareness (λP = 0, λR = 0, λS = 0).
  • Ablation-P: planning-only weak turn awareness, using λP = 0.01 and disabling the learning-level turn and stop terms (λR = 0, λS = 0).
  • Ablation-R: learning-only turn awareness, using λP = 0, λR = 0.02, α = 0.25, λS = 0.003, β = 0.002, and λSmax = 0.02.
  • Main: the full hierarchical design, combining Ablation-P and Ablation-R with λP = 0.01, λR = 0.02, α = 0.25, λS = 0.003, β = 0.002, and λSmax = 0.02.
Original Figure 2: average-throughput training curves for Baseline, Ablation-P, Ablation-R, and Main over environment steps.
Figure 2. Average-throughput training curves of the four LMAPF configurations over environment steps. The comparable convergence trends indicate that the turn-aware terms do not introduce observable training instability.

Experimental results

Main Performance Comparison

Averaged over the nine map-scale configurations, Main increases throughput by 7.0%, reduces TPT by 24.4%, and reduces OTT by 20.3%.

Original Figure 4: relative changes in throughput, Turns per Task, and Operational Time per Task for three maps and fleet sizes of 32, 64, and 128 agents.
Figure 4. Relative changes compared with the Baseline. Positive values indicate higher throughput; negative values indicate lower TPT and OTT.
Table II. Main performance comparison across different maps and densities. Results are averaged over five random seeds. Thr denotes Throughput. Higher Thr is better; lower TPT and OTT are better.
MapNBaselineAblation-PAblation-RMain
ThrTPTOTTThrTPTOTTThrTPTOTTThrTPTOTT
Map A32 4.252.8417.624.242.8217.534.292.5616.224.332.4315.54
Map A64 9.552.9517.719.632.9317.589.642.6015.979.692.4515.24
Map A128 22.372.8416.6222.182.8816.8122.832.4714.7623.262.2913.85
Map B32 4.412.5216.024.462.5216.004.772.1514.004.712.1614.10
Map B64 9.152.8117.279.422.7716.989.672.3714.939.632.2914.55
Map B128 19.033.1118.4219.123.0618.1419.952.4715.1420.282.2714.12
Map C32 3.472.9219.613.592.6518.133.902.1815.323.902.0514.94
Map C64 5.673.7124.315.723.3822.806.272.6518.526.362.3617.05
Map C128 11.424.2326.1311.613.6923.4212.902.7418.2512.862.4416.83

Result Analysis

The ablation results show that Ablation-P alone produces only small changes, whereas Ablation-R yields much larger TPT and OTT reductions. This indicates that many inefficient turns arise from local reactive decisions during waypoint following and collision avoidance.

Main consistently outperforms the Baseline, while Ablation-R occasionally achieves comparable or slightly higher throughput. Overall, Main provides the strongest balance between throughput, TPT reduction, and OTT reduction, showing that the global waypoint prior and local reward shaping are complementary.

Table III. Average Stop Ratio over all settings.
ConfigurationBaselineAblation-PAblation-RMain
Stop Ratio8.08%9.35%10.53%12.82%

Conclusion

Conclusion and Future Work

We further proposed a Hierarchical Turn Penalty Mechanism: the planning layer injects a weak directional cost into A*, while the learning layer uses an efficient/inefficient turn-aware reward and a waiting-aware stop penalty. Experiments show that Main improves throughput over the Baseline and consistently reduces both TPT and OTT.

We also plan to calibrate the lightweight time-cost model with higher-fidelity robot simulations and physical AGV logs, especially for stop-and-go behavior, acceleration profiles, and continuous turning dynamics. Finally, extending this framework from discrete grid representations to continuous state and action spaces will further enhance its applicability to non-holonomic robotic systems in physical fulfillment centers.