Transforming In-Vehicle Network Intrusion Detection: VAE-based Knowledge Distillation Meets Explainable AI
Muhammet Anil Yagiz, Pedram MohajerAnsari, Mert D. Pese, and Polat, Goktas

TL;DR
This paper presents KD-XVAE, an efficient VAE-based IDS with explainability for autonomous vehicle networks, achieving perfect detection performance with minimal complexity and providing transparent decision insights.
Contribution
It introduces KD-XVAE, a novel VAE-based knowledge distillation method combined with XAI, significantly improving IDS performance and interpretability in resource-constrained automotive environments.
Findings
Achieves 100% detection metrics on multiple datasets.
Operates with only 1669 parameters and 0.3 ms inference time.
Provides explainability using SHAP values for model transparency.
Abstract
In the evolving landscape of autonomous vehicles, ensuring robust in-vehicle network (IVN) security is paramount. This paper introduces an advanced intrusion detection system (IDS) called KD-XVAE that uses a Variational Autoencoder (VAE)-based knowledge distillation approach to enhance both performance and efficiency. Our model significantly reduces complexity, operating with just 1669 parameters and achieving an inference time of 0.3 ms per batch, making it highly suitable for resource-constrained automotive environments. Evaluations in the HCRL Car-Hacking dataset demonstrate exceptional capabilities, attaining perfect scores (Recall, Precision, F1 Score of 100%, and FNR of 0%) under multiple attack types, including DoS, Fuzzing, Gear Spoofing, and RPM Spoofing. Comparative analysis on the CICIoV2024 dataset further underscores its superiority over traditional machine learning models,…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsAnomaly Detection Techniques and Applications · Network Security and Intrusion Detection · Digital and Cyber Forensics
MethodsKnowledge Distillation
