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
    ---><---

    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.

    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: 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.