Pruning-Based TinyML Optimization of Machine Learning Models for Anomaly Detection in Electric Vehicle Charging Infrastructure
With the growing need for real-time processing on IoT devices, optimizing machine learning (ML) models' size, latency, and computational efficiency is essential. This paper investigates a pruning method for anomaly detection in resourceconstrained environments, specifically targeting Electric Vehicle Charging Infrastructure (EVCI). Using the CICEVSE2024 dataset, we trained and optimized three models—Multi-Layer Perceptron (MLP), Long Short-Term Memory (LSTM), and XGBoost—through hyperparameter tuning with Optuna, further refining them using SHapley Additive exPlanations (SHAP)-based feature selection (FS) and unstructured pruning techniques. The optimized models achieved significant reductions in model size and inference times, with only a marginal impact on their performance. Notably, our findings indicate that, in the context of EVCI, pruning and FS can enhance computational efficiency while retaining critical anomaly detection capabilities.
Authors
- Ibrahim Shaer (ORCID: https://orcid.org/0000-0002-2723-4662)
- Abdallah Shami (ORCID: https://orcid.org/0000-0003-2887-0350)
- Firouz Badrkhani Ajaei (ORCID: https://orcid.org/0000-0002-2635-4128)
- Soodeh Nikan (ORCID: https://orcid.org/0000-0001-8223-1571)
- Fatemeh Dehrouyeh (ORCID: https://orcid.org/0009-0003-0350-3009)
Institutions
- Western University (CA)
Publication Details
- Published
- 2025-06-08
- DOI
- https://doi.org/10.1109/icc52391.2025.11161868
- Citations
- 3
- Primary Topic
- Smart Grid Security and Resilience
- Type
- article
- Field-Weighted Citation Impact
- 3.64