Shap-based evaluation of feature importance in BGP anomaly detection models
Loading...
Date
Journal Title
Journal ISSN
Volume Title
Publisher
Видавництво Львівської політехніки
Lviv Politechnic Publishing House
Lviv Politechnic Publishing House
Abstract
Класифікація аномалій з використанням Протоколу граничного шлюзу (BGP) важлива для
забезпечення стабільності та безпеки інтернету, оскільки такі аномалії можуть порушувати
роботу та знижувати надійність мережі. У попередніх дослідженнях цієї предметної області
було проаналізовано вплив базових характеристик повідомлень оновлення BGP на моделі
виявлення аномалій, проте описані підходи часто використовують методи із високою
обчислювальною складністю, які важкі для розуміння та можуть спричиняти труднощі під
час заміни наборів даних чи тренувальних моделей. У статті викладено новий підхід до
оцінювання важливості характеристик на основі методів SHAP (SHapley Additive
Explanations), який пропонує спрощену, зрозумілу та ефективну альтернативу, спеціально
розроблену для моделей класифікації на підставі LSTM. Розроблено спеціалізований
інструмент для ефективного оцінювання впливу характеристик, який поєднує статистичний
аналіз із візуалізаціями для кращого розуміння результатів. Цей інструмент дає змогу оцінювати глобальний вплив характеристик для різних наборів даних, як позитивний, так і
негативний. Крім того, він надає інформацію про вплив характеристик для кожного класу,
демонструючи, як окремі характеристики по-різному впливають на виявлення різних типів
аномалій. Для перевірки стабільності отриманих результатів використано набори даних, що
представляють декілька типів аномалій, такі як прямі, непрямі та збої. Такий рівень
деталізації дає змогу дослідникам покращувати моделі LSTM для окремих категорій анома-
лій, зберігаючи загальну ефективність. Запропоновано структурований алгоритм поліпшення
моделей класифікації аномалій BGP із урахуванням оцінки впливу характеристик. Виконано
тести стабільності на різних наборах даних для підтвердження надійності ранжування
характеристик, що додатково збільшує достовірність запропонованої методології. Описаний
у статті підхід підвищує ефективність систем виявлення аномалій, даючи дослідникам змогу
ідентифікувати критичні характеристики, впроваджувати нові метрики та вдосконалювати
наявні моделі LSTM, що, своєю чергою, дає можливість підвищити безпеку та стійкість
інформаційно-комунікаційних мереж, ефективно відповідаючи на нові виклики у сфері
мережевої безпеки.
The classification of Border Gateway Protocol (BGP) anomalies is essential for maintaining Internet stability and security, as such anomalies can impair network functionality and reliability. Previous studies has examined the impact of key features on anomaly detection; however, current methodologies frequently demonstrate high computational costs, complexity, and usage challenges. The article presents a novel approach for evaluating feature importance based on SHAP (SHapley Additive Explanations), which provides a simplified, interpretable and efficient alternative specifically designed for LSTM-based classification models. A dedicated tool was developed to effectively evaluate feature impact, combining statistical analysis with visualizations to improve comprehension. This tool enables the assessment of global feature influence across datasets, emphasizing features that consistently increase classification performance. Furthermore, it offers insights into the impact of features on a per-class basis, demonstrating the varying contributions of individual features to the detection of different types of anomalies. Various datasets representing distinct anomaly types, such as direct, indirect, and outage anomalies, were utilized to validate the approach’s applicability across a range of scenarios. This level of detail enables researchers to enhance LSTM models for particular anomaly categories while preserving overall efficacy. We suggested a structured algorithm to facilitate these developments, showing how feature impact evaluation can directly improve model optimization and detection tactics. Stability tests performed on various datasets demonstrate the reliability of feature rankings, thereby reinforcing the validity of the proposed methodology. The SHAP-based framework described in this paper makes complex analyses easier to understand while also providing useful insights. This approach enhances the efficiency of anomaly detection systems by allowing researchers to identify critical features, integrate new metrics, and refine existing LSTM models. The advancements enhance the security and resilience of infocommunication networks, effectively addressing emerging challenges in network security through a scalable and interpretable solution.
The classification of Border Gateway Protocol (BGP) anomalies is essential for maintaining Internet stability and security, as such anomalies can impair network functionality and reliability. Previous studies has examined the impact of key features on anomaly detection; however, current methodologies frequently demonstrate high computational costs, complexity, and usage challenges. The article presents a novel approach for evaluating feature importance based on SHAP (SHapley Additive Explanations), which provides a simplified, interpretable and efficient alternative specifically designed for LSTM-based classification models. A dedicated tool was developed to effectively evaluate feature impact, combining statistical analysis with visualizations to improve comprehension. This tool enables the assessment of global feature influence across datasets, emphasizing features that consistently increase classification performance. Furthermore, it offers insights into the impact of features on a per-class basis, demonstrating the varying contributions of individual features to the detection of different types of anomalies. Various datasets representing distinct anomaly types, such as direct, indirect, and outage anomalies, were utilized to validate the approach’s applicability across a range of scenarios. This level of detail enables researchers to enhance LSTM models for particular anomaly categories while preserving overall efficacy. We suggested a structured algorithm to facilitate these developments, showing how feature impact evaluation can directly improve model optimization and detection tactics. Stability tests performed on various datasets demonstrate the reliability of feature rankings, thereby reinforcing the validity of the proposed methodology. The SHAP-based framework described in this paper makes complex analyses easier to understand while also providing useful insights. This approach enhances the efficiency of anomaly detection systems by allowing researchers to identify critical features, integrate new metrics, and refine existing LSTM models. The advancements enhance the security and resilience of infocommunication networks, effectively addressing emerging challenges in network security through a scalable and interpretable solution.
Description
Keywords
Citation
Kyryk M. Shap-based evaluation of feature importance in BGP anomaly detection models / M. Kyryk, S. Maruniak, T. Andrukhiv // Infocommunication Technologies and Electronic Engineering. — Lviv : Lviv Politechnic Publishing House, 2025. — Vol 5. — No 1. — P. 34–43.