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

    for a different version of it.

    References listed on IDEAS

    as
    1. Rio Olympias Sujarwanta & Ulil Afidah & Edi Suryanto & Rusman & Endy Triyannanto & Louwrens Christiaan Hoffman, 2024. "Review: Goat and Sheep Meat Production in Indonesia," Sustainability, MDPI, vol. 16(11), pages 1-20, May.
    2. Zhijie Li & Changhui Zhai & Xiaoxiao Zeng & Kui Shi & Xinbo Wu & Tianwei Ma & Yunliang Qi, 2024. "Review of Pre-Ignition Research in Methanol Engines," Energies, MDPI, vol. 18(1), pages 1-27, December.
    3. Gao, Jie & Fan, Chunguo & Liu, Ting & Bai, Xiuran & Li, Wenyong & Tan, Huimin, 2025. "Embracing market dynamics in the post-COVID era: A data-driven analysis of investor sentiment and behavioral characteristics in stock index futures returns," Omega, Elsevier, vol. 131(C).
    4. Wu, Tangjie & Ling, Qiang, 2024. "STELLM: Spatio-temporal enhanced pre-trained large language model for wind speed forecasting," Applied Energy, Elsevier, vol. 375(C).
    5. Yuan Ren, 2024. "Book Review: Research Handbook on Digital Strategy," International Journal of Information Systems in the Service Sector (IJISSS), IGI Global Scientific Publishing, vol. 15(1), pages 1-8, January.
    6. ., 2024. "The peer review process," Chapters, in: Publish or Perish, chapter 8, pages 141-164, Edward Elgar Publishing.
    7. Chris Stokel-Walker, 2023. "ChatGPT listed as author on research papers: many scientists disapprove," Nature, Nature, vol. 613(7945), pages 620-621, January.
    8. Ma, Xuejiao & Che, Tianqi & Jiang, Qichuan, 2025. "A three-stage prediction model for firm default risk: An integration of text sentiment analysis," Omega, Elsevier, vol. 131(C).
    9. Wang, Jujie & Zhuang, Zhenzhen & Gao, Dongming, 2023. "An enhanced hybrid model based on multiple influencing factors and divide-conquer strategy for carbon price prediction," Omega, Elsevier, vol. 120(C).
    10. Sariyer, Gorkem & Mangla, Sachin Kumar & Sozen, Mert Erkan & Li, Guo & Kazancoglu, Yigit, 2024. "Leveraging explainable artificial intelligence in understanding public transportation usage rates for sustainable development," Omega, Elsevier, vol. 127(C).
    11. Chen, Yanhui & Zhou, Xiaoyu & Chen, Shun & Mi, Jackson Jinhong, 2024. "LNG freight rate and LNG price, carbon price, geopolitical risk: A dynamic connectedness analysis," Energy, Elsevier, vol. 302(C).
    12. Wang, Yadong & Gu, Yuyun & Wang, Tingsong & Zhang, Jun, 2022. "A risk-averse approach for joint contract selection and slot allocation in liner container shipping," Transportation Research Part E: Logistics and Transportation Review, Elsevier, vol. 164(C).
    13. Taylor, James W. & Snyder, Ralph D., 2012. "Forecasting intraday time series with multiple seasonal cycles using parsimonious seasonal exponential smoothing," Omega, Elsevier, vol. 40(6), pages 748-757.
    14. Theodore Syriopoulos & Michael Tsatsaronis & Ioannis Karamanos, 2021. "Support Vector Machine Algorithms: An Application to Ship Price Forecasting," Computational Economics, Springer;Society for Computational Economics, vol. 57(1), pages 55-87, January.
    15. Wenkai Wang & Chenjie Feng & Renmin Han & Ziyi Wang & Lisha Ye & Zongyang Du & Hong Wei & Fa Zhang & Zhenling Peng & Jianyi Yang, 2023. "trRosettaRNA: automated prediction of RNA 3D structure with transformer network," Nature Communications, Nature, vol. 14(1), pages 1-13, December.
    16. Scher, Vinícius T. & Cribari-Neto, Francisco & Bayer, Fábio M., 2024. "Generalized βARMA model for double bounded time series forecasting," International Journal of Forecasting, Elsevier, vol. 40(2), pages 721-734.
    17. Gomez, William & Wang, Fu-Kwun & Chou, Jia-Hong, 2024. "Li-ion battery capacity prediction using improved temporal fusion transformer model," Energy, Elsevier, vol. 296(C).
    18. Misiunas, Nicholas & Oztekin, Asil & Chen, Yao & Chandra, Kavitha, 2016. "DEANN: A healthcare analytic methodology of data envelopment analysis and artificial neural networks for the prediction of organ recipient functional status," Omega, Elsevier, vol. 58(C), pages 46-54.
    19. Wang, Wenyang & Luo, Yuping & Ma, Mingrui & Wang, Jinglin & Sui, Cong, 2025. "A novel forecasting framework leveraging large language model and machine learning for methanol price," Energy, Elsevier, vol. 320(C).
    20. Hwarng, H. Brian, 2001. "Insights into neural-network forecasting of time series corresponding to ARMA(p,q) structures," Omega, Elsevier, vol. 29(3), pages 273-289, June.
    21. Jingqi Wang & Jiapeng Liu & Hongshuai Wang & Musen Zhou & Guolin Ke & Linfeng Zhang & Jianzhong Wu & Zhifeng Gao & Diannan Lu, 2024. "A comprehensive transformer-based approach for high-accuracy gas adsorption predictions in metal-organic frameworks," Nature Communications, Nature, vol. 15(1), pages 1-14, December.
    22. Xiao Ning, 2024. "Literature Review," Springer Books, in: Performance Evaluation of Financial Holding Companies, chapter 0, pages 13-44, Springer.
    23. Mo, Jixian & Gao, Ruobin & Fai Yuen, Kum & Bai, Xiwen, 2024. "Predictive analysis of sell-and-purchase shipping market: A PIMSE approach," Transportation Research Part E: Logistics and Transportation Review, Elsevier, vol. 185(C).
    24. Patrick M. LeBlanc & David Banks & Linhui Fu & Mingyan Li & Zhengyu Tang & Qiuyi Wu, 2024. "Recommender Systems: A Review," Journal of the American Statistical Association, Taylor & Francis Journals, vol. 119(545), pages 773-785, January.
    25. Safari, Ali & Davallou, Maryam, 2018. "Oil price forecasting using a hybrid model," Energy, Elsevier, vol. 148(C), pages 49-58.
    26. Erzo F.P. Luttmer, 2024. "Report of the Editor, American Economic Review," AEA Papers and Proceedings, American Economic Association, vol. 114, pages 734-750, May.
    27. Zhichao Yang & Avijit Mitra & Weisong Liu & Dan Berlowitz & Hong Yu, 2023. "TransformEHR: transformer-based encoder-decoder generative model to enhance prediction of disease outcomes using electronic health records," Nature Communications, Nature, vol. 14(1), pages 1-10, December.
    28. Tan, Jinghua & Li, Zhixi & Zhang, Chuanhui & Shi, Long & Jiang, Yuansheng, 2024. "A multiscale time-series decomposition learning for crude oil price forecasting," Energy Economics, Elsevier, vol. 136(C).
    29. Jayarathne S.D.Y & Nahallage C.A.D & Huffman M.A., 2024. "A Review: Human – Macaque Conflict in Sri Lanka," International Journal of Research and Scientific Innovation, International Journal of Research and Scientific Innovation (IJRSI), vol. 11(2), pages 147-162, February.
    30. Tay, Francis E. H. & Cao, Lijuan, 2001. "Application of support vector machines in financial time series forecasting," Omega, Elsevier, vol. 29(4), pages 309-317, August.
    31. Loizidis, Stylianos & Kyprianou, Andreas & Georghiou, George E., 2024. "Electricity market price forecasting using ELM and Bootstrap analysis: A case study of the German and Finnish Day-Ahead markets," Applied Energy, Elsevier, vol. 363(C).
    32. Lim, Bryan & Arık, Sercan Ö. & Loeff, Nicolas & Pfister, Tomas, 2021. "Temporal Fusion Transformers for interpretable multi-horizon time series forecasting," International Journal of Forecasting, Elsevier, vol. 37(4), pages 1748-1764.
    33. Micro & Macro Marketing, 2024. "Reviewers 2023," Micro & Macro Marketing, Società editrice il Mulino, issue 1, pages 7-10.
    34. Engle, Robert F, 1982. "Autoregressive Conditional Heteroscedasticity with Estimates of the Variance of United Kingdom Inflation," Econometrica, Econometric Society, vol. 50(4), pages 987-1007, July.
    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. Ollila, Saana & Bratt Börjesson, Maria & Proost, Stef, 2025. "Climate agreements in the international shipping sector," Working Papers 2025:2, Swedish National Road & Transport Research Institute (VTI).
    2. Wang, Wenyang & Luo, Yuping & Ma, Mingrui & Wang, Jinglin & Sui, Cong, 2025. "A novel forecasting framework leveraging large language model and machine learning for methanol price," Energy, Elsevier, vol. 320(C).
    3. Frank, Johannes, 2023. "Forecasting realized volatility in turbulent times using temporal fusion transformers," FAU Discussion Papers in Economics 03/2023, Friedrich-Alexander University Erlangen-Nuremberg, Institute for Economics.
    4. Shafiqah Azman & Dharini Pathmanathan & Aerambamoorthy Thavaneswaran, 2022. "Forecasting the Volatility of Cryptocurrencies in the Presence of COVID-19 with the State Space Model and Kalman Filter," Mathematics, MDPI, vol. 10(17), pages 1-15, September.
    5. Marius Lux & Wolfgang Karl Härdle & Stefan Lessmann, 2020. "Data driven value-at-risk forecasting using a SVR-GARCH-KDE hybrid," Computational Statistics, Springer, vol. 35(3), pages 947-981, September.
    6. Ernie Hendrawaty & Rialdi Azhar & Fajrin Satria Dwi Kesumah & Sari Indah Oktanti Sembiring & Mega Metalia, 2021. "Modelling and Forecasting Crude Oil Prices during COVID-19 Pandemic," International Journal of Energy Economics and Policy, Econjournals, vol. 11(2), pages 149-154.
    7. Jha, Nimish & Kumar Tanneru, Hemanth & Palla, Sridhar & Hussain Mafat, Iradat, 2024. "Multivariate analysis and forecasting of the crude oil prices: Part I – Classical machine learning approaches," Energy, Elsevier, vol. 296(C).
    8. Hyejung Chung & Kyung-shik Shin, 2018. "Genetic Algorithm-Optimized Long Short-Term Memory Network for Stock Market Prediction," Sustainability, MDPI, vol. 10(10), pages 1-18, October.
    9. Frédy Pokou & Jules Sadefo Kamdem & François Benhmad, 2024. "Hybridization of ARIMA with Learning Models for Forecasting of Stock Market Time Series," Computational Economics, Springer;Society for Computational Economics, vol. 63(4), pages 1349-1399, April.
    10. Monira Essa Aloud, 2020. "The role of attribute selection in Deep ANNs learning framework for high‐frequency financial trading," Intelligent Systems in Accounting, Finance and Management, John Wiley & Sons, Ltd., vol. 27(2), pages 43-54, April.
    11. Seyed Mehrzad Asaad Sajadi & Pouya Khodaee & Ehsan Hajizadeh & Sabri Farhadi & Sohaib Dastgoshade & Bo Du, 2022. "Deep Learning-Based Methods for Forecasting Brent Crude Oil Return Considering COVID-19 Pandemic Effect," Energies, MDPI, vol. 15(21), pages 1-23, October.
    12. Gupta, Abhijit, 2025. "Decoding Futures Price Dynamics: A Regularized Sparse Autoencoder for Interpretable Multi-Horizon Forecasting and Factor Discovery," OSF Preprints 4rzky_v1, Center for Open Science.
    13. Bundzel, Marek & Kasanický, Tomáš & Pinčák, Richard, 2016. "Using string invariants for prediction searching for optimal parameters," Physica A: Statistical Mechanics and its Applications, Elsevier, vol. 444(C), pages 680-688.
    14. Philippe Goulet Coulombe, 2022. "A Neural Phillips Curve and a Deep Output Gap," Papers 2202.04146, arXiv.org, revised Oct 2024.
    15. Vogl, Markus & Kojić, Milena & Sharma, Abhishek & Stanisic, Nikola, 2025. "Decoding financial markets: Empirical DGPs as the key to model selection and forecasting excellence – A proof of concept," Physica A: Statistical Mechanics and its Applications, Elsevier, vol. 666(C).
    16. Harris, Richard D.F. & Mazibas, Murat & Rambaccussing, Dooruj, 2024. "Bitcoin replication using machine learning," International Review of Financial Analysis, Elsevier, vol. 93(C).
    17. Pincak, R., 2013. "The string prediction models as invariants of time series in the forex market," Physica A: Statistical Mechanics and its Applications, Elsevier, vol. 392(24), pages 6414-6426.
    18. Liu, Longlong & Zhou, Suyu & Jie, Qian & Du, Pei & Xu, Yan & Wang, Jianzhou, 2024. "A robust time-varying weight combined model for crude oil price forecasting," Energy, Elsevier, vol. 299(C).
    19. Petropoulos, Fotios & Apiletti, Daniele & Assimakopoulos, Vassilios & Babai, Mohamed Zied & Barrow, Devon K. & Ben Taieb, Souhaib & Bergmeir, Christoph & Bessa, Ricardo J. & Bijak, Jakub & Boylan, Joh, 2022. "Forecasting: theory and practice," International Journal of Forecasting, Elsevier, vol. 38(3), pages 705-871.
      • Fotios Petropoulos & Daniele Apiletti & Vassilios Assimakopoulos & Mohamed Zied Babai & Devon K. Barrow & Souhaib Ben Taieb & Christoph Bergmeir & Ricardo J. Bessa & Jakub Bijak & John E. Boylan & Jet, 2020. "Forecasting: theory and practice," Papers 2012.03854, arXiv.org, revised Jan 2022.
    20. Işık, Cem & Kuziboev, Bekhzod & Ongan, Serdar & Saidmamatov, Olimjon & Mirkhoshimova, Mokhirakhon & Rajabov, Alibek, 2024. "The volatility of global energy uncertainty: Renewable alternatives," Energy, Elsevier, vol. 297(C).

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

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