G2LTraj: A Global-to-Local Generation Approach for Trajectory Prediction
Zhanwei Zhang, Zishuo Hua, Minghao Chen, Wei Lu, Binbin Lin, Deng Cai, Wenxiao Wang
TL;DR
G2LTraj tackles trajectory prediction by bridging simultaneous and recursive approaches through a global-to-local generation framework. It first generates globally distributed key steps with spatial constraints, then recursively fills intermediate steps within local sections while incorporating agent features for stronger temporal consistency, and finally selects an optimal granularity via a learnable confidence mechanism. The method yields consistent improvements across ETH, UCY, and nuScenes over multiple baselines and exhibits robust ablations, with insights into latency, hyper-parameter sensitivity, and the benefit of adaptive granularity for diverse motion patterns. This approach advances kinematically feasible, multi-step trajectory forecasting with practical applicability for autonomous driving and real-time systems.
Abstract
Predicting future trajectories of traffic agents accurately holds substantial importance in various applications such as autonomous driving. Previous methods commonly infer all future steps of an agent either recursively or simultaneously. However, the recursive strategy suffers from the accumulated error, while the simultaneous strategy overlooks the constraints among future steps, resulting in kinematically infeasible predictions. To address these issues, in this paper, we propose G2LTraj, a plug-and-play global-to-local generation approach for trajectory prediction. Specifically, we generate a series of global key steps that uniformly cover the entire future time range. Subsequently, the local intermediate steps between the adjacent key steps are recursively filled in. In this way, we prevent the accumulated error from propagating beyond the adjacent key steps. Moreover, to boost the kinematical feasibility, we not only introduce the spatial constraints among key steps but also strengthen the temporal constraints among the intermediate steps. Finally, to ensure the optimal granularity of key steps, we design a selectable granularity strategy that caters to each predicted trajectory. Our G2LTraj significantly improves the performance of seven existing trajectory predictors across the ETH, UCY and nuScenes datasets. Experimental results demonstrate its effectiveness. Code will be available at https://github.com/Zhanwei-Z/G2LTraj.
