TL;DR
This paper introduces a novel approach to ship type classification by combining deep learning with fuzzy logic rules, leveraging both vessel imagery and Automatic Identification System (AIS) data. This hybrid model achieves improved accuracy and offers greater explainability compared to traditional deep learning methods, making it valuable for maritime monitoring and safety.
What Problem Does This Paper Address?
The shipping industry plays a crucial role in global trade and economy, but it also presents challenges for law compliance and safety due to the potential for illegal activities. Effective monitoring requires accurate identification and classification of vessels. While deep learning excels at processing unstructured data like images, its "black box" nature often hinders explainability. Conversely, logic-based approaches offer interpretability but struggle with complex, unstructured data. This paper addresses the gap by proposing a method that merges the strengths of both: the data processing power of deep learning with the interpretability of logic rules, specifically for ship type classification using a combination of visual and structured data.
Methods
The core of the proposed methodology is a "Neuro-Fuzzy" model that integrates two key components:
- Faster R-CNN for Deep Feature Extraction: A pre-trained Faster R-CNN model is used to extract deep convolutional features from vessel images. This network is adept at object detection and provides rich visual representations.
- Neuro-Fuzzy System with Logic Rules: Logic rules are first extracted from Decision Trees (specifically, CART classifiers) trained on AIS data. These rules, in Disjunctional Normal Form (DNF), are then "fuzzified" using sigmoidal membership functions to handle continuous values. The logical connectives (AND/OR) within these rules are approximated using Weighted Exponential Means (WEM). This fuzzy logic system then takes the extracted deep features from the images and structured AIS data as input to classify the ship type.
The model is designed such that the deep features and AIS data are processed through separate branches of a neural network, and their outputs are combined using a bilinear layer before the final classification. This allows the model to learn from both modalities simultaneously.
Datasets
The authors utilize a maritime dataset containing AIS records. Specifically, they use static AIS messages including fields like 'MMSI', 'to_bow', 'to_stern', 'to_starboard', 'to_port', 'width', 'length', and 'draught'. To complement this, they collect vessel imagery from the IHS Markit World Register of Ships and the ShipScape photographic library, linking images to AIS records via the 'MMSI' field. This results in two types of datasets for evaluation:
- Image Centred (IC) dataset: This dataset is formed by joining image data with AIS data, where each record represents an image with its associated AIS information.
- Vessel Centred (VC) dataset: This dataset is created by grouping and averaging deep features per vessel MMSI, focusing on the vessel as the primary entity.
The dataset includes several ship types: Cargo, Tanker, Other, Passenger, and Tug. Notably, instances of ship types with fewer than 20 distinct vessels were removed to mitigate class imbalance.
Key Insights and Ideas
- Synergy of Vision and Structured Data: The paper demonstrates that combining visual information (ship images) with structured contextual data (AIS) significantly improves ship type classification accuracy. This highlights the power of multi-modal learning in complex domains.
- Explainability through Fuzzy Logic: By incorporating fuzzy logic rules derived from decision trees, the model gains a degree of explainability. This allows researchers and practitioners to understand why a particular classification decision was made, which is crucial for applications requiring trust and transparency.
- Bridging the Gap between Deep Learning and Logic: The Neuro-Fuzzy approach effectively bridges the gap between the data-driven, black-box nature of deep learning and the interpretable, rule-based nature of fuzzy logic. This hybrid model offers the best of both worlds.
- Handling Data Imbalance: The authors acknowledge class imbalance as a challenge, particularly for the 'Other' ship type, and address it by removing underrepresented classes. This is a common and important consideration in real-world classification tasks.
Key Results
The proposed Neuro-Fuzzy model demonstrates strong performance:
- Improved Prediction Scores: The model achieved up to a 15.4% increase in prediction scores compared to the next best model considered.
- Superior Performance: On both the Image Centred and Vessel Centred datasets, the Neuro-Fuzzy model outperformed the baseline models and individual data source approaches.
- Quantitative Metrics:
- On the Image Centred dataset, the model achieved a mean Average Precision (mAP) of 68.2%, outperforming Faster R-CNN (69.6%) and the Baseline (68.0%) in some aspects, but notably showing strong performance across various ship types.
- On the Vessel Centred dataset, the model achieved a macro F1-Score of 65.4%, significantly outperforming the Baseline (60.8%) and other methods.
- Qualitative Results: Example detections are provided, showing bounding boxes from Faster R-CNN and labels from the Neuro-Fuzzy model, illustrating the model's ability to correctly classify various ship types.
Limitations and Future Work
- Class Imbalance: The paper acknowledges that class imbalance, particularly for the 'Other' ship type, leads to lower prediction scores for that specific category.
- Uncertainty and Missing Data: The authors plan to investigate the model's performance when there is uncertainty or missing fields in the input AIS data.
- Handling Multiple Vessels in an Image: A key future direction is to extend the methodology to handle images with multiple vessels by automatically linking AIS information to the corresponding vessels within the image.
- Further Explainability: Investigating the explainability of the model further is also a stated goal.
Summary updated