← Lab /Security & privacy

XAI-enhanced IDS reaches up to 99.99% accuracy on IoT intrusion datasets

The proposed XAI-based intrusion detection framework achieves high detection accuracy on benchmark IoT security datasets

Security & privacy arXiv 20 Nov 2026 Method Prototype evidence

Published as “Enhancing Metaverse Security using Explainable AI-based Intrusion Detection Framework”

Why it matters

The framework could enable more trustworthy, high-accuracy intrusion detection for IoT devices operating within Metaverse environments, potentially increasing user confidence in such systems.

Summary

The XAI-based intrusion detection framework reaches very high detection accuracy on three public IoT security benchmarks (99.83% on ToN-IoT, 96.45% on CIC-IoT-2023, and 99.99% on BoT-IoT). The authors evaluate a suite of classic ML models and use SHAP and LIME to explain predictions, reporting that XGBoost and Random Forest/Extra Trees are the top performers. Evidence consists of accuracy, precision, recall and F1 scores measured on the three datasets, but no external real-world deployment or comparison to non-ML baselines is provided.

What they found 4

  1. XGBoost achieved the highest accuracy on the ToN-IoT dataset.

    “The leading algorithm, XGBoost, achieved the highest accuracy score of 99.83%.”

  2. XGBoost achieved 96.45% accuracy on the CIC-IoT-2023 dataset.

    “XGBoost is the best-performing model, achieving 96.45% accuracy with similarly high precision, recall, and F1-score, followed closely by RF with 96.37% accuracy.”

  3. Random Forest and Extra Trees both reached 99.99% attack and category accuracy on BoT-IoT.

    “RF and ET classifiers achieved the highest performance, both attaining 99.99% attack and category accuracy.”

  4. SHAP and LIME were used to explain model predictions and identify influential features.

    “The XAI layer with SHAP assists the research in clarifying model predictions and various influential features. Similarly, LIME examines each traffic flow and defines the features that aid in understanding the predicted knowledge.”

Caveats 3

  • AdaBoost performed poorly on CIC-IoT-2023, achieving only 70.47% accuracy.
  • MLP achieved very low accuracy on CIC-IoT-2023 (47.78%) and on ToN-IoT (99.67% but with lower precision/recall balance).
  • Even the best models did not achieve perfect recall on all datasets (e.g., RF recall 85.92% on CIC-IoT-2023).

What’s new here 4

  • Integrates SHAP and LIME explanations with traditional ML IDS models for Metaverse of Things environments.
  • Applies the framework to three recent IoT security benchmark datasets covering a wide range of attack types.
  • Provides per-dataset model selection (XGBoost for ToN-IoT and CIC-IoT-2023, RF/ET for BoT-IoT) with detailed feature importance analysis.
  • Claims real-time monitoring capability through the combined ML-XAI pipeline.