Large language models (LLMs) showed superior performance in many language-related tasks. It is promising to model the individual mobility prediction problem as a language model and use pretrained LLMs to predict the individual next trip information (e.g., time and location) for personalized travel recommendations. Theoretically, it is expected to overcome the common limitations of data-driven prediction models in zero/few shot learning, generalization, and interpretability. The paper proposes a LingoTrip model for predicting individual next trip location by designing the spatiotemporal context prompts for LLMs. The designed prompting strategies enable LLMs to capture implicit land use information (trip purposes), spatiotemporal mobility patterns (choice preferences), and geographical dependencies of the stations used (choice variability). The lingoTrip is validated using Hong Kong Mass Transit Railway trip data by comparing it with the state-of-the-art data-driven mobility prediction models under different training data sizes. Sensitivity analyses are performed for model hyperparameters and their tuning methods to adapt for other datasets. The results show that LingoTrip outperforms data-driven models in terms of prediction accuracy, transferability (between individuals), zero/few shot learning (limited training sample size) and interpretability of predictions. The LingoTrip model can facilitate the effective provision of personalized information for system crowding and disruption contexts (i.e., proactively providing information to targeted individuals).


    Access

    Download


    Export, share and cite



    Title :

    LingoTrip: Spatiotemporal context prompt driven large language model for individual trip prediction


    Contributors:
    Zhenlin Qin (author) / Pengfei Zhang (author) / Leizhen Wang (author) / Zhenliang Ma (author)


    Publication date :

    2025




    Type of media :

    Article (Journal)


    Type of material :

    Electronic Resource


    Language :

    Unknown




    Bus individual trip decision model

    GONG XIAOLIN / CHEN XIAN / SUN SONGSONG | European Patent Office | 2023

    Free access

    DeepTrip: A Deep Learning Model for the Individual Next Trip Prediction With Arbitrary Prediction Times

    Zhang, Pengfei / Koutsopoulos, Haris N. / Ma, Zhenliang | IEEE | 2023

    Free access



    Analysis of Key Commuting Routes Based on Spatiotemporal Trip Chain

    Wenbin Yao / Caijun Chen / Hongyang Su et al. | DOAJ | 2022

    Free access