IDEAS home Printed from https://ideas.repec.org/a/eee/transe/v199y2025ics1366554525001772.html
   My bibliography  Save this article

SPPformer: A transformer-based model with a sparse attention mechanism for comprehensive and interpretable ship price analysis

Author

Listed:
  • Wang, Wenyang
  • Luo, Yuping
  • Xu, Yuqiang
  • Liu, Danzhu
  • Zhou, Jibin
  • Shao, Peng

Abstract

Accurate prediction of vessel prices across multiple ship types is crucial for providing scientific decision-making support to shipping enterprises, investment institutions, and policymakers. However, traditional statistical methods and machine learning models face significant limitations in accuracy, generalization, applicability, interpretability, and data coverage, rendering them inadequate for high-precision forecasting in the complex shipping market. Inspired by the successful application of Transformer-based models like ChatGPT across various domains, this study proposes a novel ship price prediction model based on the Transformer architecture—SPPformer. The model integrates architectural optimization, pre-training, and fine-tuning techniques to enable comprehensive price forecasting for multiple ship types. On the data front, this paper consolidated over one million data variables from 12 maritime-related domains to pre-train the model, forming a Basic Model with foundational time-series processing capabilities. Subsequently, domain-specific maritime data were incorporated through fine-tuning to develop the Sectional Model, enhancing its specialization in the shipping sector. For interpretability, the SHAP method was embedded into the SPPformer prediction framework to visualize the impact of feature variables on target variables during the forecasting process. In terms of efficiency, a sparse attention mechanism was introduced by combining Atrous Self-Attention and Local Self-Attention, replacing the global attention mechanism of traditional Transformer, thereby significantly improving training efficiency and solving overfitting issues. The empirical study focused on predicting newbuilding and secondhand vessel prices for dry bulk, container, tanker, and the overall shipping market. The results demonstrate that the SPPformer model outperforms traditional ones in accuracy and interpretability. At the same time, the introduction of sparse attention reduces training time and memory usage by 22.91 % and 26.12 %, respectively, compared to global attention mechanisms. This research provides essential references for shipping enterprises to enhance economic efficiency and for financial institutions to manage risks. It also offers data-driven support and analytical frameworks for governments to regulate market order and promote the stable development of the shipping industry.

Suggested Citation

  • Wang, Wenyang & Luo, Yuping & Xu, Yuqiang & Liu, Danzhu & Zhou, Jibin & Shao, Peng, 2025. "SPPformer: A transformer-based model with a sparse attention mechanism for comprehensive and interpretable ship price analysis," Transportation Research Part E: Logistics and Transportation Review, Elsevier, vol. 199(C).
  • Handle: RePEc:eee:transe:v:199:y:2025:i:c:s1366554525001772
    DOI: 10.1016/j.tre.2025.104136
    as

    Download full text from publisher

    File URL: http://www.sciencedirect.com/science/article/pii/S1366554525001772
    Download Restriction: Full text for ScienceDirect subscribers only

    File URL: https://libkey.io/10.1016/j.tre.2025.104136?utm_source=ideas
    LibKey link: if access is restricted and if your library uses this service, LibKey will redirect you to where you can use your library subscription to access this item
    ---><---

    As the access to this document is restricted, you may want to search 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:transe:v:199:y:2025:i:c:s1366554525001772. 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.elsevier.com/wps/find/journaldescription.cws_home/600244/description#description .

    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.