Explainable ensemble learning using SHAP for ERP anomaly detection
Adiah Qazi, Ammad Ali Khan Jadoon
National University of Sciences and Technology
Key points
From the paper's conclusion- Here we present an explainable ensemble learning framework combining six heterogeneous anomaly detection models-Isolation Forest, Local Outlier Factor, One-Class SVM, Elliptic Envelope, Gradient Boosting, and a Robust Autoencoder-for multidimensional ERP transaction analysis.
Abstract
Enterprise Resource Planning (ERP) systems in manufacturing environments process hundreds of thousands of daily transactions, yet anomalies evade detection in the majority of cases under routine manual audit regimes. Although neural network approaches achieve F-scores exceeding 0.90 on synthetic benchmarks, they sacrifice the explainability that regulatory compliance and audit requirements demand for production deployment. Here we present an explainable ensemble learning framework combining six heterogeneous anomaly detection models-Isolation Forest, Local Outlier Factor, One-Class SVM, Elliptic Envelope, Gradient Boosting, and a Robust Autoencoder-for multidimensional ERP transaction analysis. Evaluated on 209,666 real-world procurement transactions, the ensemble achieves an F-score of 0.8437 (95 % CI on held-out test set of 41,933 transactions: [0.8305, 0.8569]) while providing a three-layer interpretability stack: gradient-boosting feature importance rankings, interpretable decision rules with 87.3 % logic coverage, and SHAP-based instance-level attribution. This F-score is lower than those of the highest-performing individual constituent models (Gradient Boosting: 0.9321; Robust Autoencoder: 0.9254), a trade-off that is deliberate: the ensemble provides significantly improved cross-validation stability (coefficient of variation: 0.49 % vs. 1.4-2.1 % for top individual models) and a 19.4 % reduction in false-positive rate (relative to the unweighted arithmetic mean constituent FP rate of 14.1 %), as demonstrated through Pareto-front analysis over all 63 non-trivial model subsets. Statistical validation through 5-fold stratified cross-validation, paired t-tests (,) verified via the Shapiro-Wilk test (,), and Wilcoxon signed-rank tests confirm significant performance gains over the unsupervised-only baseline; the large Cohen's reflects the supervised-unsupervised paradigm gap and should be interpreted accordingly. Generalizability sensitivity analyses across five heterogeneous ERP scenarios-varying anomaly prevalence, feature-distribution shift, module composition, and cross-industry correlation structure-confirm F-scores in the range [0.794, 0.862], supporting the framework's transferability beyond the primary dataset. Deployment in a manufacturing environment demonstrates $4.1 million in fraud prevention value with a net benefit of $3.27 million (conservative ROI: 392%; an optimistic scenario including a speculative, empirically unvalidated deterrence multiplier projects 884 % ROI and is provided for illustrative purposes only) and regulatory compliance across SOX 404, the COSO framework, and ISO 27001.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- APEW-Fed: adaptive privacy-aware ensemble weighting for federated anomaly detection in enterprise resource planning systems.Scientific reports · 2026
- Risk-Warning Prediction of Chinese Manufacturing Enterprises Based on Interpretable Ensemble Learning Model.Entropy (Basel, Switzerland) · 2026
- Explainable Retail Demand Forecasting: A Hybrid LightGBM-SHAP Framework for Inventory OptimizationIEEE Access · 2026
- Financial Statement Fraud Detection Through an Integrated Machine Learning and Explainable AI FrameworkJournal of risk and financial management · 2025
- TRuE-XAI: causal and explainable ai framework for trustworthy corporate earnings growth forecasting.Frontiers in artificial intelligence · 2026
- G-XCI: A Conditional Multi-View Audit of Stability and Cross-View Rank Agreement in Tabular Feature AttributionsApplied Sciences · 2026