Duplicate records, CAN ID shortcut, and SHAP stability in CICIoV2024
DOI:
https://doi.org/10.65322/j.srd.06202026.79Keywords:
CAN bus, intrusion detection, explainable artificial intelligence, SHAP, CICIoV2024, dataset qualityAbstract
The publicly available CICIoV2024 dataset is getting popular in explainable intrusion detection (XAI-IDS) studies for the in-vehicle CAN network. This research examines the decimal CSV data files of the dataset (1,408,219 rows) and evaluates three characteristics that directly impact evaluation results. At first, there are 3,588 rows (0.25%) that are unique feature vectors. With a random 80/20 split, 99.80% of the test rows have a perfect copy in the training data. Second, attack frames are only observed in 5 CAN IDs that are disjoint from the 72 benign CAN IDs. A simple rule that captures the attack-specific identifiers observed in the training segment, without requiring any model training, achieves perfect score on each division. Thirdly, the ID feature is always the top in SHAP global importance for the Random Forest and XGBoost models with distinct rows for all 10 seeds (34–39%). The top three most important features are unstable across seeds (Jaccard similarity ranging from 0.44 to 0.70). TreeSHAP requires 0.02–0.09 ms per sample in batch processing, whereas KernelSHAP and LIME require 13–30 ms. The results indicate the need for a test split with no duplicates, a simple ID baseline, and a multi-seed analysis of explanation consistency for this dataset.