I choose you: evaluating the impact of feature selection on XAI consensus for ML-NIDS
- Machine learning-based network intrusion detection systems (ML-NIDS) are increasingly enhanced with explainable AI (XAI) techniques to support transparency and trust in automated security decisions. However, recent studies have shown that different post-hoc XAI methods often yield inconsistent explanations. These variations depended on the dataset and underlying model, and were possibly caused by training the ML models on correlated features. In this work, we investigate the hypothesis that feature selection prior to model training can influence the level of consensus among XAI methods. Through a comprehensive evaluation across multiple datasets, we analyze the impact of different feature selection strategies on explanation agreement. While we found that feature selection can improve XAI consistency in controlled synthetic settings, its effects on real-world NIDS data are mixed: occasionally enhancing, but sometimes reducing consensus, while offering only modest gains over using allMachine learning-based network intrusion detection systems (ML-NIDS) are increasingly enhanced with explainable AI (XAI) techniques to support transparency and trust in automated security decisions. However, recent studies have shown that different post-hoc XAI methods often yield inconsistent explanations. These variations depended on the dataset and underlying model, and were possibly caused by training the ML models on correlated features. In this work, we investigate the hypothesis that feature selection prior to model training can influence the level of consensus among XAI methods. Through a comprehensive evaluation across multiple datasets, we analyze the impact of different feature selection strategies on explanation agreement. While we found that feature selection can improve XAI consistency in controlled synthetic settings, its effects on real-world NIDS data are mixed: occasionally enhancing, but sometimes reducing consensus, while offering only modest gains over using all features. These insights highlight the importance of thoughtful feature selection to improve interpretability and consistency in XAI-driven network intrusion detection systems.…


| Author: | Katharina Dietz, Johannes SchleicherGND, Nikolas Wehner, Mehrdad Hajizadeh, Pedro Casas, Stefan Geißler, Michael SeufertORCiDGND, Tobias Hoßfeld |
|---|---|
| URN: | urn:nbn:de:bvb:384-opus4-1252373 |
| Frontdoor URL | https://opus.bibliothek.uni-augsburg.de/opus4/125237 |
| Parent Title (English): | 3rd Workshop on Machine Learning in Networking (MaLeNe), co-located with the 6th International Conference on Networked Systems (NetSys 2025), Ilmenau, Germany, September 1, 2025: proceedings |
| Publisher: | Universität Augsburg |
| Place of publication: | Augsburg |
| Editor: | Michael SeufertORCiDGND, Andreas Blenk, Björn Richerzhagen |
| Type: | Conference Proceeding |
| Language: | English |
| Date of Publication (online): | 2025/09/15 |
| Year of first Publication: | 2025 |
| Publishing Institution: | Universität Augsburg |
| Release Date: | 2025/09/15 |
| Institutes: | Fakultät für Angewandte Informatik |
| Fakultät für Angewandte Informatik / Institut für Informatik | |
| Fakultät für Angewandte Informatik / Institut für Informatik / Lehrstuhl für Vernetzte Systeme und Kommunikationsnetze | |
| Dewey Decimal Classification: | 0 Informatik, Informationswissenschaft, allgemeine Werke / 00 Informatik, Wissen, Systeme / 004 Datenverarbeitung; Informatik |
| Licence (German): | CC-BY 4.0: Creative Commons: Namensnennung |



