CANMentor: A Large-Small Model Collaboration Framework for CAN Bus Intrusion Detection
Zhiquan Liu, Haolin Gao, Bo Wu, Jingjing Guo, Heng Sun, Jianfeng Ma
Abstract
The Controller Area Network (CAN) bus lacks built-in security mechanisms, making real-time intrusion detection necessary. However, resource and latency constraints limit vehicle-side intrusion detection systems (IDSs) to lightweight models, whose detection performance and generalization can degrade under non-independent and identically distributed (non-IID) data. Meanwhile, uploading original CAN messages to the cloud for more powerful model inference risks exposing sensitive vehicle information. We propose CANMentor, a large-small model collaboration framework in which a cloud-side large language model (LLM) teacher supervises vehicle-side lightweight IDS models for CAN bus intrusion detection. Each vehicle first performs local inference, and a privacy-aware generator then produces proxies from the original CAN messages for cloud-side teacher inference to protect data privacy. The vehicle uses the teacher prediction only when the response arrives within a prescribed latency bound and otherwise retains the local prediction; all returned teacher logits are converted into soft targets for periodic knowledge distillation. On non-IID partitions of the ROAD dataset and the HCRL Car-Hacking dataset, knowledge distillation yields maximum relative Macro F1 improvements of 25.01% and 20.79%, respectively. Teacher predictions also improve detection accuracy for CAN messages near the local decision boundary by 38.71-42.00 percentage points.
Create a lesson
Related papers
An LLM-Assisted Multi-Objective AutoML Framework for Efficient Network Intrusion Detection
Shared title terminologycs.CRAilin Barzegar, Khalil El-Khatib, Li Yang
Enhancing Metaverse Security using Explainable AI-based Intrusion Detection Framework
Shared title terminologycs.CREsha Kuppanda, Shalaka Mahadik, Pranav M. Pawar et al.
Poisoning Attacks and Collaborative Defense Framework for LightRAG-Based Construction Regulation Knowledge
Shared title terminologycs.CRYingyan He
A Unified Framework for Intelligent Cyber Attack Detection and Alert Correlation
Shared title terminologycs.CRMiguel Silva, João Vitorino, Daniela Pinto et al.
Sable: A Small-Field Sumcheck Argument for Bit-Exact Inference of Large Language Models
Shared title terminologycs.CRTomer Solberg
Towards Lightweight IoT Intrusion Detection: Feature Optimization and Explainable Machine Learning for Resource-Constrained Environment
Shared title terminologycs.CRShaker Nawasra, Munther Abualkibash