IDEAS home Printed from https://ideas.repec.org/a/eee/transe/v207y2026ics1366554525006271.html

LLM4STP: A large language model-driven multi-feature fusion method for ship trajectory prediction

Author

Listed:
  • Jiao, Hang
  • Gong, Jincheng
  • Li, Huanhuan
  • Lam, Jasmine Siu Lee
  • Shu, Yaqing
  • Wang, Jin
  • Yang, Zaili

Abstract

Ship trajectory prediction (STP) is a critical research focus for enhancing maritime traffic situational awareness and supporting navigational decision-making in intelligent transportation systems. The accuracy and robustness of prediction models significantly affect maritime safety and shipping efficiency. Despite advances driven by Automatic Identification System (AIS) data and deep learning techniques, key challenges remain unresolved, including dynamic multi-ship interaction modelling in complex marine environments, multi-scale temporal dependency reasoning, trajectory uncertainty quantification, and effective integration of maritime domain knowledge. Existing methods based on Large Language Models (LLMs) improve generalisation through pre-trained knowledge but fall short in real-time interaction topology modelling, geospatial semantic representation, and uncertainty estimation. To address these limitations, this paper proposes LLM4STP, a novel LLM-driven multi-feature fusion method for STP. LLM4STP establishes a new paradigm by deeply integrating LLMs with maritime domain knowledge to collaboratively predict ship trajectories. The model features an adaptive graph-masked Transformer to dynamically capture ship interaction topologies, hierarchical temporal reasoning to jointly model local manoeuvring behaviours and macroscopic navigational intent, and an innovative fusion of Gaussian probability distribution heatmaps with GeoHash-based geospatial encoding to quantify trajectory uncertainty while preserving semantic continuity. Experiments on three representative water areas demonstrate that LLM4STP consistently outperforms nine state-of-the-art (SOTA) methods, as validated by key metrics including Average Displacement Error (ADE), Fréchet Distance (FD), and Final Displacement Error (FDE). Moreover, the few-shot learning experiments demonstrate that LLM4STP can match the performance of models trained on the full dataset using only 20 % of the training data, highlighting its efficiency and strong adaptability in data-scarce environments. The ablation studies empirically validate the significance and distinct contribution of each component within the proposed model architecture. This study integrates LLM into maritime traffic scenarios, making significant contributions to enhancing the robustness, accuracy, and interpretability of STP in high-interference environments. The source code is openly accessible at https://github.com/Joker-hang/LLM4STP.

Suggested Citation

  • Jiao, Hang & Gong, Jincheng & Li, Huanhuan & Lam, Jasmine Siu Lee & Shu, Yaqing & Wang, Jin & Yang, Zaili, 2026. "LLM4STP: A large language model-driven multi-feature fusion method for ship trajectory prediction," Transportation Research Part E: Logistics and Transportation Review, Elsevier, vol. 207(C).
  • Handle: RePEc:eee:transe:v:207:y:2026:i:c:s1366554525006271
    DOI: 10.1016/j.tre.2025.104599
    as

    Download full text from publisher

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

    File URL: https://libkey.io/10.1016/j.tre.2025.104599?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.

    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:207:y:2026:i:c:s1366554525006271. 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.