← Lab /AI/ML

CAN IDS detection performance varies widely across datasets

IDS detection performance changes significantly when evaluated on different CAN datasets

AI/ML arXiv 29 Jun 2026 Benchmark Prototype evidence

Published as “CAN We Trust Your Results? A Cross-Dataset Study of Automotive IDS Evaluation”

Why it matters

Practitioners should avoid selecting CAN IDS solutions based solely on single-dataset results, as real-world deployment performance may be far lower.

Summary

IDS performance on CAN bus traffic varies dramatically across publicly available datasets, and no single method consistently outperforms others. The authors built a unified benchmarking framework that integrates seven public CAN intrusion datasets and evaluates five representative IDS approaches under identical conditions. Their results show that methods achieve near-perfect scores on the datasets they were originally designed for but can drop to near-random performance on other datasets, highlighting strong dataset bias. The evidence is based on cross-dataset experiments using balanced accuracy, F1, and MCC metrics.

What they found 1

  1. Methods that achieve near-perfect performance on certain datasets may exhibit significantly lower balanced accuracy or F1-scores on others.

    “Methods that achieve near-perfect performance on certain datasets may exhibit significantly lower balanced accuracy or F1-scores on others.”

Caveats 2

  • Each method achieves strong performance on the datasets used in its original evaluation, suggesting that high scores may be due to dataset-specific overfitting rather than general robustness.
  • the evaluated IDS implementations rely on default hyperparameter settings and configurations derived from available reference implementations or descriptions in the original publications.

What’s new here 4

  • Provides a unified, reproducible benchmarking framework for CAN IDS evaluation across multiple heterogeneous datasets.
  • Integrates seven publicly available CAN intrusion datasets into a common representation for systematic cross-dataset testing.
  • Offers standardized evaluation pipelines with imbalance-robust metrics and both message-level and window-level reporting.
  • Analyzes IDS generalization across datasets, attack families, and vehicle platforms, which prior benchmark studies did not address.