# CANMentor: A Large-Small Model Collaboration Framework for CAN Bus Intrusion Detection

DevFeed: [CANMentor: A Large-Small Model Collaboration Framework for CAN Bus Intrusion Detection](<https://devfeed.tech/articles/canmentor-a-large-small-model-collaboration-framework-for-can-bus-intrusion-detection-119921.md>)

Original publisher: [Read original article](<https://arxiv.org/abs/2611.07853>)

Author: Zhiquan Liu (the College of Cyber Security, Jinan University), Haolin Gao (the College of Cyber Security, Jinan University), Bo Wu (the College of Cyber Security, Jinan University), Jingjing Guo (the

Published: 2026-11-06T05:00:00Z

Content type: article

Language: en

Sources: [arXiv: Cryptography and Security](<https://devfeed.tech/sources/arxiv-cryptography-and-security.md>)

Topics: [threat detection](<https://devfeed.tech/topics/threat-detection.md>), [Large Language Model](<https://devfeed.tech/topics/llm.md>), [Local AI](<https://devfeed.tech/topics/local-ai.md>), [real-time](<https://devfeed.tech/topics/real-time.md>), [Cloud](<https://devfeed.tech/topics/cloud.md>), [LLM security](<https://devfeed.tech/topics/llm-security.md>)

Tags: [can-bus](<https://devfeed.tech/tags/can-bus.md>), [collaboration](<https://devfeed.tech/tags/collaboration.md>), [cs-cr](<https://devfeed.tech/tags/cs-cr.md>), [data-privacy](<https://devfeed.tech/tags/data-privacy.md>), [framework](<https://devfeed.tech/tags/framework.md>), [intrusion-detection](<https://devfeed.tech/tags/intrusion-detection.md>), [knowledge-distillation](<https://devfeed.tech/tags/knowledge-distillation.md>), [large-language-model](<https://devfeed.tech/tags/large-language-model.md>), [latency](<https://devfeed.tech/tags/latency.md>), [llm](<https://devfeed.tech/tags/llm.md>), [local-inference](<https://devfeed.tech/tags/local-inference.md>), [privacy](<https://devfeed.tech/tags/privacy.md>)

## AI overview

CANMentor combines vehicle-side lightweight intrusion detection with a cloud LLM teacher while bounding latency and limiting exposure of original CAN messages. Each vehicle predicts locally first; a privacy-aware generator creates proxy messages for cloud inference. The vehicle uses the teacher's prediction only if it arrives within a prescribed latency bound, otherwise keeping its local result. Returned teacher logits also become soft targets for periodic knowledge distillation. On non-IID partitions of ROAD and HCRL Car-Hacking, distillation produced maximum relative Macro F1 gains of 25.01% and 20.79%, respectively; teacher predictions improved accuracy on messages near the local decision boundary by 38.71-42.00 percentage points.

## Source excerpt

arXiv:2611.07853v1 Announce Type: new 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.