← Lab /Security & privacy

LLM teacher boosts CAN bus IDS detection up to 42% while preserving privacy

A cloud-side large language model supervising vehicle IDS models significantly improves detection performance

Security & privacy arXiv 5 Nov 2026 Method Prototype evidence

Published as “CANMentor: A Large-Small Model Collaboration Framework for CAN Bus Intrusion Detection”

Why it matters

The framework can materially improve detection of rare CAN attacks in real vehicles while keeping privacy leakage low enough for practical deployment.

Summary

CANMentor boosts vehicle-side CAN IDS performance on rare attack classes, achieving up to 25.01% relative Macro F1 improvement, by having a cloud LLM teacher answer low-confidence inputs via privacy-preserving proxy samples and periodically distilling its soft logits; the evidence comes from two public CAN datasets (ROAD, HCRL Car-Hacking) showing macro F1 gains of 20-25% after distillation, though privacy leakage can reach 5.47% and teacher performance drops sharply without proxy adaptation.

What they found 1

  1. Teacher predictions on proxy samples substantially outperform local predictions on low-confidence inputs.

    “Teacher predictions on proxy samples corresponding to low-confidence inputs outperform the local predictions by 38.71-42.00 percentage points.”

Caveats 4

  • The maximum reconstruction advantage (privacy leakage) is 4.22% on ROAD and 5.47% on HCRL Car-Hacking, indicating some data exposure.
  • Without adaptation to proxy samples, the mean Macro F1 values are only 0.233, 0.315, and 0.352 for Qwen2.5-1.5B, OPT-2.7B, and Qwen2.5-7B, respectively.
  • the maximum reconstruction advantage is 4.22% and 5.47%, respectively.
  • If the total response time exceeds Tmax, CANMentor retains the local prediction and uses returned logits for subsequent distillation.

What’s new here 4

  • Introduces a large-small model collaboration where a cloud LLM teacher assists lightweight vehicle IDSs.
  • Designs a privacy-aware proxy generation that transmits only perturbed representations of CAN messages.
  • Applies periodic knowledge distillation from teacher soft targets to improve vehicle-side models on non-IID data.
  • Demonstrates that teacher predictions on selected low-confidence windows can exceed local predictions by up to 42 percentage points.