IDEAS home Printed from https://ideas.repec.org/a/gam/jmathe/v13y2025i15p2504-d1716979.html
   My bibliography  Save this article

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

Author

Listed:
  • Pengfei Lu

    (School of Computer and Information, Anhui Polytechnic University, Wuhu 241000, China)

  • Ping Zhang

    (School of Computer and Information, Anhui Polytechnic University, Wuhu 241000, China)

  • Jun Wu

    (School of Computer and Information, Anhui Polytechnic University, Wuhu 241000, China)

  • Xia Wu

    (School of Computer and Information, Anhui Polytechnic University, Wuhu 241000, China)

  • Yunsheng Mao

    (School of Computer and Information, Anhui Polytechnic University, Wuhu 241000, China)

  • Tao Liu

    (School of Computer and Information, Anhui Polytechnic University, Wuhu 241000, China)

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.

Suggested Citation

  • Pengfei Lu & Ping Zhang & Jun Wu & Xia Wu & Yunsheng Mao & Tao Liu, 2025. "Fine-Tuning Pre-Trained Large Language Models for Price Prediction on Network Freight Platforms," Mathematics, MDPI, vol. 13(15), pages 1-28, August.
  • Handle: RePEc:gam:jmathe:v:13:y:2025:i:15:p:2504-:d:1716979
    as

    Download full text from publisher

    File URL: https://www.mdpi.com/2227-7390/13/15/2504/pdf
    Download Restriction: no

    File URL: https://www.mdpi.com/2227-7390/13/15/2504/
    Download Restriction: no
    ---><---

    References listed on IDEAS

    as
    1. Park, Arim & Chen, Roger & Cho, Soohyun & Zhao, Yao, 2023. "The determinants of online matching platforms for freight services," Transportation Research Part E: Logistics and Transportation Review, Elsevier, vol. 179(C).
    2. Budak, Aysenur & Ustundag, Alp & Guloglu, Bulent, 2017. "A forecasting approach for truckload spot market pricing," Transportation Research Part A: Policy and Practice, Elsevier, vol. 97(C), pages 55-68.
    3. Hee-Seon Jang & Tai-Woo Chang & Seung-Han Kim, 2023. "Prediction of Shipping Cost on Freight Brokerage Platform Using Machine Learning," Sustainability, MDPI, vol. 15(2), pages 1-14, January.
    Full references (including those not matched with items on IDEAS)

    Most related items

    These are the items that most often cite the same works as this one and are cited by the same works as this one.
    1. Guo, Jiantao & Zhang, Juliang & Cheng, T.C.E., 2025. "Truthful online bundle double auction mechanisms for a transport market with dynamic demands and supplies," Transportation Research Part E: Logistics and Transportation Review, Elsevier, vol. 195(C).
    2. Wang, Kelly Yujie & Wen, Yuan & Yip, Tsz Leung & Fan, Zuojun, 2021. "Carrier-shipper risk management and coordination in the presence of spot freight market," Transportation Research Part E: Logistics and Transportation Review, Elsevier, vol. 149(C).
    3. Park, Arim & Chen, Roger & Cho, Soohyun & Zhao, Yao, 2023. "The determinants of online matching platforms for freight services," Transportation Research Part E: Logistics and Transportation Review, Elsevier, vol. 179(C).
    4. Sisi Ju & Peng Zhang, 2025. "Carbon Emission Reduction Decision-Making in an Online Freight Platform Service Supply Chain Under Carbon Trading Mechanism," Mathematics, MDPI, vol. 13(12), pages 1-31, June.
    5. Hongyue Guo & Haibo Kuang & Cong Sui & Lidong Wang, 2025. "On predicting ocean freight rates: a novel hybrid model of combined error evaluation and reinforcement learning," Maritime Economics & Logistics, Palgrave Macmillan;International Association of Maritime Economists (IAME), vol. 27(2), pages 350-372, June.
    6. Michael F. Gorman & John-Paul Clarke & René Koster & Michael Hewitt & Debjit Roy & Mei Zhang, 2023. "Emerging practices and research issues for big data analytics in freight transportation," Maritime Economics & Logistics, Palgrave Macmillan;International Association of Maritime Economists (IAME), vol. 25(1), pages 28-60, March.
    7. Peng, Wenxiang & Chen, Xiangsheng & Xue, Zhaojie & Liao, Yubin & You, Jintao, 2024. "Platform-based stable truck matching problem with trailer-swapping mode," Transportation Research Part E: Logistics and Transportation Review, Elsevier, vol. 188(C).
    8. Zhuang, Zheng-Yun & Chung, Cheng-Kung, 2024. "Dissecting the visiting willingness of driving visitors facing a retail market's dual-pricing policy for parking," Journal of Retailing and Consumer Services, Elsevier, vol. 78(C).
    9. Jason W. Miller, 2018. "ARIMA Time Series Models for Full Truckload Transportation Prices," Forecasting, MDPI, vol. 1(1), pages 1-14, September.

    More about this item

    Keywords

    ;
    ;
    ;
    ;
    ;

    Statistics

    Access and download statistics

    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:15:p:2504-:d:1716979. 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.

    If CitEc recognized a bibliographic reference but did not link an item in RePEc to it, you can help with 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.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.