# XTraj: A Coarse-to-Fine Autoregressive Framework for Transferable Trajectory Generation

*wang chao, ZHIQUAN LAI, Xinwei Fang, Yuanshao Zhu, Xun Zhou, James Yu*

[NeurIPS page](https://neurips.cc/virtual/2026/poster/153554) · [OpenReview](https://openreview.net/forum?id=KXGb143xQb) · [Open on the map](../papers.html#p153554)

Category: [Robotics, VLA & World Models](../pcat/4.md) › [Trajectory and Road Geometry Generation](../pgroup/261.md) · Type: new method · Keywords: trajectory generation, road network constraints, transfer learning, autoregressive models, urban mobility simulation

Areas: [Robotics & Embodied AI](../areas/robotics.md) › Robotic Autonomy › Trajectory Planning

## Summary
XTraj introduces a coarse-to-fine autoregressive framework that learns transferable road-segment representations and generates variable-length, road-consistent trajectories by refining routes in a progress space, enabling zero-shot transfer across cities.

## Explained to a 5-year-old
People want to draw realistic paths for cars or walkers that look natural. The system first learns what roads look like and how busy they are in different places. Then it draws step-by-step routes that follow the road connections and can be any length. After that, it refines those routes to make exact GPS points that always stay on the road. This helps simulate traffic and planning in new cities without making mistakes.

## Explained to a 5-year-old, longer
When we want to make computer simulations that show how people or cars move, we need paths that look real. Right now, most computer models only work well in the city they were built for. This makes them fail when we try to use them in a different town or country. The problem is that the paths can be too short, too long, or even go off the road. To fix this, the researchers created a new way to think about drawing paths. First, they teach the computer to understand road shapes, nearby places, how busy the road is, and how roads connect. Using this knowledge, the computer builds a route step by step, making sure each step follows a real road. The route can be any length, so it can match real trips that vary in distance. After the route is drawn, the computer refines it by moving along the road in small, steady steps. From these steps, it creates exact GPS points that always stay on the road. This design makes sure the final path is realistic and safe, even in a city the system has never seen before. As a result, simulations become more reliable for planning traffic, designing streets, and testing self-driving cars.

## For a technical reader
XTraj learns compact road-segment embeddings that capture geometry, POI context, traffic history, and graph topology, enabling knowledge transfer across cities. It then autoregressively constructs variable-length routes respecting connectivity constraints, followed by a progress-space refinement that predicts monotonic increments for precise GPS interpolation. This two-stage design guarantees road-geometry consistency and supports zero-shot deployment to unseen urban environments. Experiments on two real-world vehicle trajectory datasets demonstrate superior spatial fidelity and robust cross-city transfer without additional map matching.

## Problem
Generating realistic human trajectories that generalize across cities while respecting road network constraints remains challenging, as existing methods often overfit to specific geographic areas, produce fixed-length outputs, and can drift off the road when directly regressing GPS coordinates.

## Method
The approach learns transferable road-segment representations that combine road geometry, point-of-interest context, historical traffic intensity, and graph topology. It then autoregressively generates variable-length road-segment routes under connectivity constraints and refines them in a route-progress space by predicting monotonic progress increments, from which GPS points are interpolated.

## Results
The approach achieves higher spatial fidelity than baselines, transfers zero-shot to unseen cities, and maintains road-geometry consistency without post-hoc map matching.

## Contributions
The paper presents a transferable coarse-to-fine autoregressive framework that learns road-segment representations and generates variable-length, road-consistent trajectories via a route-progress refinement, enabling zero-shot transfer across cities.

## Practical relevance
The method enables safer and more realistic trajectory simulation for urban planning, autonomous driving, and traffic management.

## Research questions this paper is counted under

- [How can we generate realistic trajectories that generalize across environments while respecting constraints and enabling controllable, evaluable outputs?](../q/366.md)

This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. [Suggest a correction](../feedback/?on=p/153554)
