GlassBoost: A Lightweight and Explainable Classification Framework for Tabular Datasets
Source abstract
Abstract
Explainable artificial intelligence (XAI) is essential for fostering trust, transparency, and accountability in machine learning systems, particularly when applied in high-stakes domains. This paper introduces a novel XAI system designed for classification tasks on tabular data, which offers a balance between performance and interpretability. The proposed method, GlassBoost, first trains an XGBoost model on a given dataset and then computes gain scores, quantifying the average improvement in the model’s loss function contributed by each feature during tree splits. Based on these scores, a subset of significant features is selected. A shallow decision tree is then trained using the top d features with the highest gain scores, where d is significantly smaller than the total number of original features. This model compression yields a transparent, IF–THEN rule-based decision process that remains faithful to the original high-performing model. To evaluate the system, we apply it to an anomaly detection task in the context of intrusion detection systems (IDSs), using a dataset containing traffic features from both malicious and normal activities. Results show that our method achieves high accuracy, precision, and recall while providing a clear and interpretable explanation of its decision-making. We further validate its explainability using SHAP, a well-established approach in the field of XAI. Comparative analysis demonstrates that GlassBoost outperforms SHAP in terms of precision, recall, and accuracy, with more balanced performance across the three metrics. Likewise, our review of literature findings indicate that Glassboost outperforms many other XAI models while retaining computational efficiency. In one of our configurations, GlassBoost achieved accuracy of 0.9868, recall of 0.9792, and precision of 0.9843 using only eight features within a tree structure of a maximum depth of four.
Source: crossref · Quality: baseline
Research context
OpenAlex topics: Explainable Artificial Intelligence (XAI) · Adversarial Robustness in Machine Learning · Anomaly Detection Techniques and Applications
SciVX discovery tags are terminology-based. OpenAlex topics are source-provided classifications.
Affiliations
Department of Computer Science and Information Systems, University of Limerick, Limerick V94T9PX, Ireland
Funding
Research Ireland Award
References (38)
Show source-provided references
1. Explainable Artificial Intelligence (XAI): Concepts, Taxonomies, Opportunities and Challenges toward Responsible AI10.1016/j.inffus.2019.12.012 ↗
2. (2025, June 14). Official Journal of the European Union. Available online: https://eur-lex.europa.eu/eli/reg/2024/1689/oj/eng.
3. Linardatos, P., Papastefanopoulos, V., and Kotsiantis, S. (2021). Explainable AI: A Review of Machine Learning Interpretability Methods. Entropy, 23.10.3390/e23010018 ↗
4. Explainable Artificial Intelligence: A Survey of Needs, Techniques, Applications, and Future Direction10.1016/j.neucom.2024.128111 ↗
5. A systematic review of Explainable Artificial Intelligence models and applications: Recent developments and future trends
6. Grand View Research (2025, April 13). Synthetic Data Generation Market Size, Share & Trends Analysis Report by Data Type (Tabular, Text, Image, Video), by Application, by End-Use, by Region, and Segment Forecasts, 2023–2030. Grand View Research 2023. Available online: https://www.grandviewresearch.com/industry-analysis/synthetic-data-generation-market-report.
7. Benjelloun, O., Chen, S., and Noy, N. (2020). Google Dataset Search by the Numbers. arXiv.10.1007/978-3-030-62466-8_41 ↗
8. Accurate predictions on small data with a tabular foundation model
9. Tabular Data: Deep Learning is Not All You Need
10. Molnar, C. (2025, May 05). Interpretable Machine Learning: A Guide for Making Black Box Models Explainable. Available online: https://www.amazon.com/Interpretable-Machine-Learning-Christoph-Molnar/dp/0244768528.
11. O’Brien Quinn, H., Sedky, M., Francis, J., and Streeton, M. (2024). Literature Review of Explainable Tabular Data Analysis. Electronics, 13.10.20944/preprints202408.0556.v1 ↗
12. Explainable Artificial Intelligence for Tabular Data: A Survey10.1109/ACCESS.2021.3116481 ↗
13. EXplainable Artificial Intelligence (XAI)—From Theory to Methods and Applications10.1109/ACCESS.2024.3409843 ↗
14. Tritscher, J., Krause, A., and Hotho, A. (2023). Feature relevance XAI in anomaly detection: Reviewing approaches and challenges. Front. Artif. Intell., 6.10.3389/frai.2023.1099521 ↗
15. Grad-CAM: Visual Explanations from Deep Networks via Gradient-Based Localization10.1007/s11263-019-01228-7 ↗
16. Zhang, Y., Gu, S., Song, J., Pan, B., Bai, G., and Zhao, L. (2025). Saliency-Bench: A Comprehensive Benchmark for Evaluating Visual Explanations. arXiv.
17. Poeta, E., Ciravegna, G., Pastor, E., Cerquitelli, T., and Baralis, E. (2023). Concept-based Explainable Artificial Intelligence: A Survey. arXiv.
18. Verma, S., Boonsanong, V., Hoang, M., Hines, K.E., Dickerson, J.P., and Shah, C. (2022). Counterfactual Explanations and Algorithmic Recourses for Machine Learning: A Review. arXiv.
19. LR-HIDS: Logistic regression host-based intrusion detection system for cloud environments10.1007/s12652-018-1093-8 ↗
20. Ribeiro, M.T., Singh, S., and Guestrin, C. (2016, January 13–17). “Why Should I Trust You?”: Explaining the Predictions of Any Classifier. Proceedings of the 22nd ACM SIGKDD International Conference on Knowledge Discovery and Data Mining, San Francisco, CA, USA.10.1145/2939672.2939778 ↗
21. Lundberg, S.M., and Lee, S.-I. (2017). A Unified Approach to Interpreting Model Predictions. arXiv.
22. Patil, S., Varadarajan, V., Mazhar, S.M., Sahibzada, A., Ahmed, N., Sinha, O., Kumar, S., Shaw, K., and Kotecha, K. (2022). Explainable Artificial Intelligence for Intrusion Detection System. Electronics, 11.10.3390/electronics11193079 ↗
23. Arreche, O., Guntur, T., and Abdallah, M. (2024). XAI-IDS: Toward Proposing an Explainable Artificial Intelligence Framework for Enhancing Network Intrusion Detection Systems. Appl. Sci., 14.10.3390/app14104170 ↗
24. Mahmoud, M.M., Youssef, Y.O., and Abdel-Hamid, A.A. (2025). XI2S-IDS: An Explainable Intelligent 2-Stage Intrusion Detection System. Future Internet, 17.10.3390/fi17010025 ↗
25. SMOTE: Synthetic Minority Over-Sampling Technique10.1613/jair.953 ↗
26. Explainable AI-based Innovative Hybrid Ensemble Model for Intrusion Detection10.1186/s13677-024-00712-x ↗
27. Aljuaid, W.H., and Alshamrani, S.S. (2024). A Deep Learning Approach for Intrusion Detection Systems in Cloud Computing Environments. Appl. Sci., 14.10.3390/app14135381 ↗
28. Explainable Artificial Intelligence Applications in Cyber Security: State-of-the-Art in Research
29. Gordon, D.A. (1984). Reviewed Work: Classification and Regression Trees. Biometrics, 40.10.2307/2530946 ↗
30. Wade, C. (2020). Hands-On Gradient Boosting with XGBoost and Scikit-Learn, Packt Publishing.
31. (2025, January 29). XGBoost Documentation. Available online: https://xgboost.readthedocs.io/en/stable/index.html.
32. Study of The ID3 and C4.5 Learning Algorithms
33. Yang, Y., Yi, F., Deng, C., and Sun, G. (2023). Performance Analysis of the CHAID Algorithm for Accuracy. Mathematics, 11.10.20944/preprints202305.0999.v1 ↗
34. Sharafaldin, I., Lashkari, A., and Ghorbani, A. (2018, January 22–24). Toward Generating a New Intrusion Detection Dataset and Intrusion Traffic Characterization. Proceedings of the 4th International Conference on Information Systems Security and Privacy (ICISSP 2018), Funchal, Portugal.10.5220/0006639801080116 ↗
35. (2025, January 29). CIC-IDS2017 Dataset. Available online: https://www.unb.ca/cic/datasets/ids-2017.html.
36. (2025, February 12). Decision Tree Classifier, Scikit-Learn 1.6.1 Documentation. Available online: https://scikit-learn.org/stable/modules/generated/sklearn.tree.DecisionTreeClassifier.html.
37. Explainable AI for Intrusion Prevention: A Review of Techniques and Applications10.1007/978-981-99-3758-5_31 ↗
38. The Emergence of Edge Computing10.1109/MC.2017.9 ↗