Fine-Tuning Pre-Trained Large Language Models for Price Prediction on Network Freight Platforms
Various factors influence the formation and adjustment of network freight prices, including transportation costs, cargo characteristics, and policies and regulations. The interaction of these factors increases the difficulty of accurately predicting network freight prices through regressions or other machine learning models, especially when the amount and quality of training data are limited. This paper introduces large language models (LLMs) to predict network freight prices using their inherent prior knowledge. Different data sorting methods and serialization strategies are employed to construct the corpora of LLMs, which are then tested on multiple base models. A few-shot sample dataset is constructed to test the performance of models under insufficient information. The Chain of Thought (CoT) is employed to construct a corpus that demonstrates the reasoning process in freight price prediction. Cross entropy loss with LoRA fine-tuning and cosine annealing learning rate adjustment, and Mean Absolute Error (MAE) loss with full fine-tuning and OneCycle learning rate adjustment to train the models, respectively, are used. The experimental results demonstrate that LLMs are better than or competitive with the best comparison model. Tests on a few-shot dataset demonstrate that LLMs outperform most comparison models in performance. This method provides a new reference for predicting network freight prices.
Authors
- Xiujie Wu (ORCID: https://orcid.org/0000-0003-3134-9259)
- Pengfei Lu (ORCID: https://orcid.org/0000-0001-7465-0418)
- Jun Wu (ORCID: https://orcid.org/0000-0001-6939-3912)
- Tao Liu (ORCID: https://orcid.org/0000-0003-3453-9840)
- Ping Zhang (ORCID: https://orcid.org/0000-0002-0269-104X)
- Y. J. Mao
Institutions
- Anhui Polytechnic University (CN)
Publication Details
- Journal
- Mathematics
- Published
- 2025-08-04
- DOI
- https://doi.org/10.3390/math13152504
- Primary Topic
- Urban and Freight Transport Logistics
- Type
- article
- Field-Weighted Citation Impact
- 0.00