SHAP based Hybrid Intrusion Detection Scheme Using ADASYN, Filter Method, and Ensemble Learning for IoT and Computer Network
This paper proposes an explainable AI-based hybrid Intrusion Detection System for IoT and computer networks that integrates ADASYN for data imbalance, filter methods for feature selection, ensemble learning for robustness, and SHAP for interpretability, demonstrating superior performance on CICIDS2017 and MQTT-IoT-IDS2020 datasets.
Original paper licensed under CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer
In the modern world, our digital lives are woven together by a vast, invisible web of connections. From the smart thermostats in our homes to the industrial robots on factory floors, billions of devices talk to one another constantly. This interconnectedness, often called the Internet of Things, has brought incredible convenience and efficiency, but it has also opened the door to new kinds of trouble. Just as a physical city needs police to watch for crime, these digital networks need a constant, vigilant guard to spot malicious activity before it causes harm. For years, security experts have relied on automated systems to watch this traffic, but these systems often operate like a black box: they make a decision to sound an alarm, but they cannot explain why. This lack of transparency makes it difficult for human operators to trust the system or understand the nature of the threat. Furthermore, these networks are rarely perfect; they often contain far more examples of normal, safe activity than they do of actual attacks, which can confuse the automated guards and cause them to miss the very dangers they are meant to catch.
A team of researchers at the National Institute of Technology Patna has proposed a new way to build these security guards, one that combines high-speed machine learning with human-like reasoning. Their work focuses on creating a system that not only detects intrusions with high accuracy but also explains its reasoning in a way that humans can understand. They started by tackling the problem of unbalanced data. In the real world, attacks are rare compared to normal traffic, much like finding a single counterfeit bill in a stack of thousands of genuine ones. To train their system effectively, the researchers used a technique that creates synthetic examples of these rare attacks, essentially teaching the system what a threat looks like by generating realistic practice scenarios. This ensures the system does not ignore the minority class of dangerous events simply because they are few in number.
Once the data was balanced, the team faced the challenge of too much information. Network traffic generates a massive number of details, many of which are redundant or irrelevant. To cut through the noise, they applied a filtering process that identified the most critical signals, discarding the rest. This step is crucial for speed and efficiency, allowing the system to focus only on the features that truly matter. They then trained the system using a method called ensemble learning. Instead of relying on a single algorithm to make the decision, they combined the judgments of several different models. Imagine a panel of experts where each member has a slightly different way of looking at a problem; by voting together, they reach a conclusion that is more robust and reliable than any single expert could achieve alone. This approach helps the system avoid the common pitfalls of being too rigid or too easily swayed by random fluctuations in the data.
The most significant innovation in this work, however, is the addition of an explanation layer. The researchers integrated a tool that breaks down the final decision, showing exactly which pieces of information tipped the scales toward an alarm. This transforms the system from a mysterious oracle into a transparent partner. When the system flags a potential breach, it can point to specific factors, such as an unusual pattern in data packets or a strange timing sequence, allowing a human operator to verify the threat quickly. The team tested their approach on two major datasets: one representing standard computer network traffic and another specifically designed for IoT devices using a common communication protocol. The results were striking. The system achieved an accuracy rate of nearly 99 percent on the standard network data and over 98 percent on the IoT data. More importantly, it successfully identified the vast majority of actual attacks while keeping false alarms to a minimum.
The researchers also compared their method against existing security models and found that their hybrid approach consistently outperformed them. They demonstrated that combining data balancing, careful feature selection, and multiple voting models creates a stronger defense than using any of these techniques in isolation. Perhaps most importantly, they showed that the system's decisions are not just statistically sound but also interpretable. By using a method that assigns importance values to different data points, they proved that the system is making decisions based on logical, identifiable patterns rather than random guessing. This work suggests that the future of network security lies not just in building faster or more complex algorithms, but in creating systems that can collaborate with humans, offering clear reasons for their actions and adapting to new threats through a feedback loop. As we move into an era where humans and machines work side by side, having a security system that is both powerful and understandable is no longer just a technical preference; it is a necessity for building a resilient digital world.
Drowning in papers in your field?
Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.