Paper  ·  Dataset  ·  Benchmark

TransitLM

Map-Free, End-to-End Public Transit Route Planning with Large Language Models

Abstract

Public transit route planning traditionally depends on structured map infrastructure and complex routing engines, and no existing dataset supports training models to bypass this dependency. We present TransitLM, a large-scale dataset of over 13 million transit route planning records from four Chinese cities covering 120,845 stations and 13,666 lines, released as a continual pre-training corpus and benchmark data for three evaluation tasks with complementary metrics. Experiments show that an LLM trained on TransitLM produces structurally valid routes at high accuracy and implicitly grounds arbitrary GPS coordinates to appropriate stations without any explicit mapping. These results demonstrate that transit route planning can be learned entirely from data, enabling end-to-end, map-free route generation directly from origin–destination information.

Try the Demo 🤗 Dataset ⌘ Code
13M+
Route Records
4
Cities
120,845
Stations
13,666
Lines