Relative Position Matters: Trajectory Prediction and Planning with Polar Representation

Bozhou Zhang, Nan Song, Bingzhao Gao, Li ZhangarXiv 2025 · DOI

Abstract

Traditional autonomous driving systems rely heavily on Cartesian coordinates, which can obscure critical relative spatial relationships. We present Polaris, a novel framework that operates entirely within a Polar coordinate system $(r, \theta)$. By explicitly modeling relative distance and direction, Polaris achieves state-of-the-art performance on motion forecasting and trajectory planning benchmarks, including Argoverse 2 and nuPlan, while maintaining high computational efficiency and a reduced parameter count compared to Cartesian counterparts.

Introduction: The Case for Polar Coordinates

Most modern motion prediction models represent the environment using standard $(x, y)$ Cartesian coordinates. While intuitive, this representation requires neural networks to implicitly learn the significance of relative distances—for instance, that a vehicle 5 meters ahead is more critical than one 50 meters away. In Cartesian space, "distance" is a derived feature that the model must calculate internally.

Comparison of Cartesian (a) and Polar (b) representations for scene context.

In a Polar representation, distance $(r)$ and angle $(\theta)$ are primary inputs. This shift makes spatial relationships explicit, allowing the model to naturally prioritize nearby agents. Furthermore, predicting curved trajectories in $(x, y)$ often results in large coordinate swings that are harder for neural networks to regress accurately. In Polar space, a turn often involves a relatively stable radius and a linear change in angle, which is significantly easier for the network to predict with precision.

The Polaris Framework

Polaris is structured around three core pillars designed to leverage the advantages of Polar geometry:

1. Polar Scene Context Encoding

The model processes input features as $(r, \cos\theta, \sin\theta)$. It employs Mamba blocks—a high-efficiency sequence modeling tool—for processing agent histories and PointNet-based encoders for map features like lane centerlines.

2. Relative Embedding Transformer

At the heart of Polaris is the Relative Embedding Transformer. This module calculates the relative distance $(\Delta r)$ and angle $(\Delta \theta)$ between all scene elements, such as agents and lane centerpoints. These relative features serve as weights for the attention mechanism, ensuring the model focuses on the most relevant environmental "anchors."

The Polaris architecture, featuring Polar scene context encoding and relationship refinement.

3. Polar Relationship Refinement

Rather than a single-shot prediction, Polaris utilizes an iterative refinement process. It generates initial proposal trajectories and subsequently refines them by re-encoding predicted endpoints and re-engaging with the scene context through the transformer. To ensure the best of both worlds, Polaris uses a dual-loss strategy, calculating losses in both Polar space (for stability) and Cartesian space (to ensure final $(x, y)$ coordinate precision).

Experimental Results

Polaris was evaluated on two industry-standard benchmarks: Argoverse 2 (motion forecasting) and nuPlan (trajectory planning).

  • Argoverse 2 Leaderboard: Polaris outperformed all published works on the single-agent track, achieving a b-minFDE₆ of 1.71.
  • nuPlan Planning: In the "Test 14 Hard" benchmark, Polaris reached an Open-Loop Score (OLS) of 0.86, surpassing other learning-based planners like PlanTF and BeTopNet. It remained competitive even with rule-based planners that utilize hand-crafted safety logic.
  • Efficiency: Despite the coordinate transformations, Polaris is remarkably efficient. It uses only 4.4M parameters (compared to 7.7M+ in competitors like QCNet) and achieves an inference speed of 48ms, nearly twice as fast as some Cartesian counterparts.

Conclusion

Polaris demonstrates that the choice of coordinate system is a fundamental design decision in autonomous driving. By adopting a Polar representation, the model gains a "spatial awareness" that translates to improved accuracy and efficiency. While challenges remain in modeling driver intent and extremely complex multi-level geometries, the success of Polaris suggests that the next logical step is a fully end-to-end autonomous driving pipeline built entirely on Polar representations.

Summary updated

Abstract

Trajectory prediction and planning in autonomous driving are highly challenging due to the complexity of predicting surrounding agents' movements and planning the ego agent's actions in dynamic environments. Existing methods encode map and agent positions and decode future trajectories in Cartesian coordinates. However, modeling the relationships between the ego vehicle and surrounding traffic elements in Cartesian space can be suboptimal, as it does not naturally capture the varying influence of different elements based on their relative distances and directions. To address this limitation, we adopt the Polar coordinate system, where positions are represented by radius and angle. This representation provides a more intuitive and effective way to model spatial changes and relative relationships, especially in terms of distance and directional influence. Based on this insight, we propose Polaris, a novel method that operates entirely in Polar coordinates, distinguishing itself from conventional Cartesian-based approaches. By leveraging the Polar representation, this method explicitly models distance and direction variations and captures relative relationships through dedicated encoding and refinement modules, enabling more structured and spatially aware trajectory prediction and planning. Extensive experiments on the challenging prediction (Argoverse 2) and planning benchmarks (nuPlan) demonstrate that Polaris achieves state-of-the-art performance.
BibTeX
@misc{zhang2025relative,
  author = {Bozhou Zhang and Nan Song and Bingzhao Gao and Li Zhang},
  title = {{Relative Position Matters: Trajectory Prediction and Planning with Polar Representation}},
  year = {2025},
  eprint = {2508.11492},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2508.11492},
}
Figure