Next Article in Journal
Research on Financial Stock Market Prediction Based on the Hidden Quantum Markov Model
Next Article in Special Issue
A Hybrid Harmony Search Algorithm for Distributed Permutation Flowshop Scheduling with Multimodal Optimization
Previous Article in Journal
A Gray Predictive Evolutionary Algorithm with Adaptive Threshold Adjustment Strategy for Photovoltaic Model Parameter Estimation
Previous Article in Special Issue
A Local Pareto Front Guided Microscale Search Algorithm for Multi-Modal Multi-Objective Optimization
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Fine-Tuning Pre-Trained Large Language Models for Price Prediction on Network Freight Platforms

School of Computer and Information, Anhui Polytechnic University, Wuhu 241000, China
*
Author to whom correspondence should be addressed.
Mathematics 2025, 13(15), 2504; https://doi.org/10.3390/math13152504
Submission received: 30 June 2025 / Revised: 28 July 2025 / Accepted: 1 August 2025 / Published: 4 August 2025

Abstract

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.
Keywords: network freight; price prediction; LLMs; few-shot learning; transfer learning network freight; price prediction; LLMs; few-shot learning; transfer learning

Share and Cite

MDPI and ACS Style

Lu, P.; Zhang, P.; Wu, J.; Wu, X.; Mao, Y.; Liu, T. Fine-Tuning Pre-Trained Large Language Models for Price Prediction on Network Freight Platforms. Mathematics 2025, 13, 2504. https://doi.org/10.3390/math13152504

AMA Style

Lu P, Zhang P, Wu J, Wu X, Mao Y, Liu T. Fine-Tuning Pre-Trained Large Language Models for Price Prediction on Network Freight Platforms. Mathematics. 2025; 13(15):2504. https://doi.org/10.3390/math13152504

Chicago/Turabian Style

Lu, Pengfei, Ping Zhang, Jun Wu, Xia Wu, Yunsheng Mao, and Tao Liu. 2025. "Fine-Tuning Pre-Trained Large Language Models for Price Prediction on Network Freight Platforms" Mathematics 13, no. 15: 2504. https://doi.org/10.3390/math13152504

APA Style

Lu, P., Zhang, P., Wu, J., Wu, X., Mao, Y., & Liu, T. (2025). Fine-Tuning Pre-Trained Large Language Models for Price Prediction on Network Freight Platforms. Mathematics, 13(15), 2504. https://doi.org/10.3390/math13152504

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop