MH-GIN: Multi-scale Heterogeneous Graph-based Imputation Network for AIS Data (Extended Version)

Hengyu Liu, Tianyi Li, Yuqiang He, Kristian Torp, Yushuai Li, Christian S. JensenarXiv 2025 · DOI

Overview

Missing data in maritime tracking (AIS) systems is a critical challenge for safety, logistics, and monitoring. This paper introduces MH-GIN, a graph-based neural network designed to accurately fill these gaps by modeling the multi-scale dependencies of ship attributes. By recognizing that different attributes (e.g., GPS vs. vessel dimensions) update at vastly different frequencies, MH-GIN reduces imputation errors by an average of 57% compared to state-of-the-art methods while remaining computationally lightweight.

The Challenge of Heterogeneous AIS Data

Ships utilize the Automatic Identification System (AIS) to broadcast location, speed, and status. However, real-world AIS data is often incomplete due to sensor failures, signal interference, or intentional transponder deactivation, with missing value rates ranging from 8% to 83%.

Imputing this data is difficult because AIS attributes are heterogeneous and update at diverse rates:

  • High frequency: GPS coordinates and Speed Over Ground (SOG) update constantly.
  • Medium frequency: Navigation status (e.g., "anchored") updates occasionally.
  • Static/Low frequency: Vessel type and dimensions rarely change.
AIS data characteristics: heterogeneous attributes with varying update rates and mutual dependencies.

Existing methods often treat these variables homogeneously, ignoring the physical constraints that slow-updating attributes (like "Anchored" status) impose on fast-updating ones (like GPS coordinates).

Methodology: The MH-GIN Architecture

To address these challenges, the authors propose the Multi-scale Heterogeneous Graph-based Imputation Network (MH-GIN). The architecture consists of four primary phases:

  1. Feature Extraction: Specialized encoders handle different data types—spherical projections for GPS, trigonometric functions for cyclical headings, and adaptive normalization for continuous data.
  2. Intra-scale Propagation: This phase connects attributes that update at the same speed. Relationships are dynamic and modulated by higher-level, slower-updating features.
  3. Cross-scale Propagation: This ensures temporal consistency by connecting the same attribute across different time scales.
  4. Missing Attribute Imputation: The final phase decodes the refined features to predict missing values.
The four-phase MH-GIN architecture: Feature Extraction, Intra-scale Propagation, Cross-scale Propagation, and Imputation.

MH-GIN utilizes Deep Echo State Networks (DeepESN) for feature extraction, which naturally produces multi-scale representations while maintaining low computational costs.

Evaluation and Key Results

The model was evaluated on two massive datasets: AIS-DK (Danish Maritime Authority) and AIS-US (NOAA), each containing over 10 million records.

  • Accuracy: MH-GIN achieved a 57% average reduction in imputation errors across all attribute types compared to top baselines like CSDI and ImputeFormer.
  • Efficiency: Inference takes approximately 11 seconds on the test sets—25% faster than ImputeFormer—with a memory footprint under 2 MB.
  • Robustness: The model maintained high performance even with 50% data masking or significant Gaussian noise.

Key Insights

  • Physical Hierarchy: Slow-updating attributes act as physical constraints. Explicitly modeling this hierarchy is more effective than generic attention mechanisms.
  • Dynamic Graphs: Standard GNNs struggle when missing data corrupts graph structure. MH-GIN solves this by dynamically adjusting edge weights based on high-level contextual features.
  • Geometric Integrity: Preserving the spherical geometry of Earth and the circular nature of compass headings prevents physically impossible predictions.

Conclusion and Future Work

While MH-GIN is currently tailored to the specific physics of maritime data, its success demonstrates the power of multi-scale dependency mining. Future work aims to generalize this framework for other domains with heterogeneous, multi-rate data, such as financial markets, electronic health records, and IoT sensor networks.

Summary updated

BibTeX
@misc{liu2025mh,
  author = {Hengyu Liu and Tianyi Li and Yuqiang He and Kristian Torp and Yushuai Li and Christian S. Jensen},
  title = {{MH-GIN: Multi-scale Heterogeneous Graph-based Imputation Network for AIS Data (Extended Version)}},
  year = {2025},
  eprint = {2507.20362},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2507.20362},
}
Figure