Author
Listed:
- Xun Li
(School of Traffic and Transportation, Beijing Jiaotong University, Beijing 100044, China
Beijing Transport Institute, Beijing 100161, China)
- Kai Xian
(Beijing Transport Institute, Beijing 100161, China)
- Huimin Wen
(Beijing Transport Institute, Beijing 100161, China)
- Shengguang Bai
(Bowers College of Computing and Information Science, Cornell University, Ithaca, NY 14850, USA
Learnable.ai, Beijing 100015, China)
- Han Xu
(Beijing Transport Institute, Beijing 100161, China)
- Yun Yu
(Beijing Transport Institute, Beijing 100161, China)
Abstract
Dynamic path generation in complex transportation networks is essential for intelligent transportation systems. Traditional methods, such as shortest path algorithms or heuristic-based models, often fail to capture real-world travel behaviors due to their reliance on simplified assumptions and limited ability to handle long-range dependencies or non-linear patterns. To address these limitations, we propose PathGen-LLM, a large language model (LLM) designed to learn spatial–temporal patterns from historical paths without requiring handcrafted features or graph-specific architectures. Exploiting the structural similarity between path sequences and natural language, PathGen-LLM converts spatiotemporal trajectories into text-formatted token sequences by encoding node IDs and timestamps. This enables the model to learn global dependencies and semantic relationships through self-supervised pretraining. The model integrates a hierarchical Transformer architecture with dynamic constraint decoding, which synchronizes spatial node transitions with temporal timestamps to ensure physically valid paths in large-scale road networks. Experimental results on real-world urban datasets demonstrate that PathGen-LLM outperforms baseline methods, particularly in long-distance path generation. By bridging sequence modeling and complex network analysis, PathGen-LLM offers a novel framework for intelligent transportation systems, highlighting the potential of LLMs to address challenges in large-scale, real-time network tasks.
Suggested Citation
Xun Li & Kai Xian & Huimin Wen & Shengguang Bai & Han Xu & Yun Yu, 2025.
"PathGen-LLM: A Large Language Model for Dynamic Path Generation in Complex Transportation Networks,"
Mathematics, MDPI, vol. 13(19), pages 1-22, September.
Handle:
RePEc:gam:jmathe:v:13:y:2025:i:19:p:3073-:d:1757166
Download full text from publisher
Corrections
All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:gam:jmathe:v:13:y:2025:i:19:p:3073-:d:1757166. See general information about how to correct material in RePEc.
If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.
We have no bibliographic references for this item. You can help adding them by using this form .
If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.
For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: MDPI Indexing Manager (email available below). General contact details of provider: https://www.mdpi.com .
Please note that corrections may take a couple of weeks to filter through
the various RePEc services.