Pruning-Based TinyML Optimization of Machine Learning Models for Anomaly Detection in Electric Vehicle Charging Infrastructure

๐Ÿ“… 2025-03-19
๐Ÿ“ˆ Citations: 0
โœจ Influential: 0
๐Ÿ“„ PDF
๐Ÿค– AI Summary
To address real-time anomaly detection on resource-constrained edge devices in electric vehicle charging infrastructure (EVCI), this paper proposes a lightweight modeling approach that jointly optimizes interpretability, efficiency, and accuracy. The method innovatively integrates SHAP-based feature selection with unstructured pruning for time-series anomaly detection, and further enhances compression via Optuna-driven hyperparameter optimization and collaborative model distillation across MLP, LSTM, and XGBoost architectures. Evaluated on the CICEVSE2024 dataset, the resulting model achieves a 72% reduction in model size and a 68% decrease in inference latency, while sustaining AUC degradation of less than 0.01โ€”demonstrating substantial improvements in edge deployability and detection robustness without compromising diagnostic reliability.

Technology Category

Application Category

๐Ÿ“ Abstract
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 resource-constrained 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.
Problem

Research questions and friction points this paper is trying to address.

Optimize ML models for real-time IoT anomaly detection.
Reduce model size and latency in EV charging infrastructure.
Enhance computational efficiency with pruning and feature selection.
Innovation

Methods, ideas, or system contributions that make the work stand out.

Pruning reduces model size and latency.
SHAP-based feature selection enhances efficiency.
Optimized models maintain anomaly detection accuracy.
๐Ÿ”Ž Similar Papers
No similar papers found.
F
Fatemeh Dehrouyeh
Department of Electrical and Computer Engineering, University of Western Ontario, London, Ontario, Canada
I
Ibrahim Shaer
Department of Electrical and Computer Engineering, University of Western Ontario, London, Ontario, Canada
Soodeh Nikan
Soodeh Nikan
Assistant Professor
LLM/VLMDeep LearningMachine LearningComputer VisionSignal Processing
F
Firouz Badrkhani Ajaei
Department of Electrical and Computer Engineering, University of Western Ontario, London, Ontario, Canada
Abdallah Shami
Abdallah Shami
Professor & Chair, Electrical and Computer Engineering, Western University, Canada