Author
Abstract
With the continuous development of urban rail transit systems, passenger flow prediction has become a crucial component for optimizing operational scheduling. This paper proposes a metro passenger flow prediction method based on Large Language Model (LLM), incorporating hyperparameter tuning, pre-training, and multi-source spatiotemporal data fusion to enhance prediction accuracy. Firstly, the generative pre-trained transformer 2 (GPT-2) model is employed for passenger flow prediction, with fine-tuning strategies applied to adjust the pre-trained model to meet the specific requirements of the prediction task. During the fine-tuning process, some pre-trained parameters are frozen, and the Cosine Annealing Learning Rate strategy is used to gradually adjust the learning rate, effectively preventing overfitting and achieving efficient optimization. Secondly, the self-attention mechanism is utilized to fuse multi-source data, including air quality, weather conditions, and spatiotemporal passenger flow data, enhancing the model’s ability to capture complex fluctuations in passenger flow. The experimental results indicate that the proposed prediction model outperforms other models by achieving the lowest prediction error and demonstrating better capability in capturing complex passenger flow fluctuations. Ablation studies further validate the importance of multi-source data fusion in metro passenger flow prediction, as well as the effectiveness of fine-tuning in enhancing model performance. In addition, short-term prediction experiments investigate the model’s ability to handle immediate, near-future passenger flow forecasts. Furthermore, few-shot learning experiments analyze the impact of the training data sample ratio on prediction error and training efficiency. This paper offers a new perspective on applying LLM to metro passenger flow prediction.
Suggested Citation
Download full text from publisher
As the access to this document is restricted, you may want to
for a different version of it.
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:eee:phsmap:v:675:y:2025:i:c:s0378437125004753. 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: Catherine Liu (email available below). General contact details of provider: http://www.journals.elsevier.com/physica-a-statistical-mechpplications/ .
Please note that corrections may take a couple of weeks to filter through
the various RePEc services.