[Paper Review] Towards Explainable Deep Learning for Ship Trajectory Prediction in Inland Waterways
The paper proposes three variants of an interaction-aware LSTM-based multi-ship trajectory prediction model for inland waterways that separates ship domain-based weighting from attention, analyzes the explainability of learned ship domain values, and shows comparable accuracy to baselines with around 40 m FDE at 5 minutes.
Accurate predictions of ship trajectories in crowded environments are essential to ensure safety in inland waterways traffic. Recent advances in deep learning promise increased accuracy even for complex scenarios. While the challenge of ship-to-ship awareness is being addressed with growing success, the explainability of these models is often overlooked, potentially obscuring an inaccurate logic and undermining the confidence in their reliability. This study examines an LSTM-based vessel trajectory prediction model by incorporating trained ship domain parameters that provide insight into the attention-based fusion of the interacting vessels' hidden states. This approach has previously been explored in the field of maritime shipping, yet the variety and complexity of encounters in inland waterways allow for a more profound analysis of the model's interpretability. The prediction performance of the proposed model variants are evaluated using standard displacement error statistics. Additionally, the plausibility of the generated ship domain values is analyzed. With an final displacement error of around 40 meters in a 5-minute prediction horizon, the model performs comparably to similar studies. Though the ship-to-ship attention architecture enhances prediction accuracy, the weights assigned to vessels in encounters using the learnt ship domain values deviate from the expectation. The observed accuracy improvements are thus not entirely driven by a causal relationship between a predicted trajectory and the trajectories of nearby ships. This finding underscores the model's explanatory capabilities through its intrinsically interpretable design. Future work will focus on utilizing the architecture for counterfactual analysis and on the incorporation of more sophisticated attention mechanisms.
Motivation & Objective
- Motivate accurate trajectory prediction for crowded inland waterways to enhance safety and traffic management.
- Investigate interaction-aware prediction approaches and their interpretability in inland contexts.
- Develop models that separate interaction weighting from attention to enable explainability and counterfactual analysis.
- Assess whether improved prediction arises from true interaction awareness rather than incidental correlations.
Proposed method
- Formulate multi-ship trajectory prediction as a function with an LSTM encoder-decoder and global Luong-style attention.
- Incorporate a trainable ship-domain parameter tensor S(Γ,Θ,Φ) to weight hidden-state fusion based on discretized encounter types.
- Define ship-to-ship relation values Γ, Θ, Φ from lateral distance, relative direction, and distance-change rate.
- Develop three model variants: EA-DA, E-DA, and E-DDA, separating interaction weighting and attention, with E-DDA further separating blind and attentive decoders.
- Evaluate using final displacement error (FDE) across prediction horizons on Rhine AIS data (3 years, 2021–2024).
- Compare against an interaction-agnostic baseline and analyze ship-domain parameters for interpretability.
Experimental results
Research questions
- RQ1Can learnable ship domain parameters effectively indicate which encounter types influence a target vessel's future trajectory?
- RQ2Does separating interaction weighting from the attention mechanism improve explainability without sacrificing prediction accuracy?
- RQ3How do different model variants (EA-DA, E-DA, E-DDA) perform in indoor waterway scenarios with varying encounter types?
- RQ4Are improvements in prediction attributable to actual interaction awareness or to other model factors?
- RQ5What do the learned ship-domain values reveal about attention to opposing versus same-direction vessels in inland contexts?
Key findings
- Final 5-step horizon FDE is about 40 meters, with the proposed models achieving competitive accuracy relative to similar studies.
- The E-DA variant yields lower errors than EA-DA and the interaction-agnostic baseline across horizons.
- E-DDA outperforms EA-DA, illustrating benefits of separating target vs. neighbor processing in attention.
- Learned ship-domain parameters do not consistently align with intuitive interaction importance, indicating accuracy gains are not solely due to interaction awareness.
- Analysis suggests the architecture offers explanatory capabilities, enabling potential counterfactual analyses, though attention mechanisms warrant further refinement.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.