Um estudo de caso da inteligência artificial explicável aplicada na detecção de intrusão em redes IoT

Authors

Keywords:

Inteligência Artificial Explicável. Shapley Additive Explanations. Internet das Coisas. Random Forest. LightGBM. Multilayer Perceptron.

Abstract

O crescimento de dispositivos de Internet das Coisas (IoT) desafia a cibersegurança e demanda mecanismos eficazes para detecção de intrusão baseados em modelos de aprendizado de máquina. Diante da importância de explicar decisões automatizadas, surge a pergunta de pesquisa: como a inteligência artificial explicável (XAI) explica intrusões detectadas com aprendizado de máquina? Este trabalho investiga o uso de XAI com Shapley Additive Explanations (SHAP) em três modelos para detecção de intrusão em redes IoT: Random Forest, LightGBM e Multilayer Perceptron (MLP). Utilizando o dataset NSL-KDD, foram geradas explicações globais para identificar os atributos relevantes para as predições. O SHAP permitiu identificar atributos relevantes para as predições, evidenciando maior similaridade entre os modelos Random Forest e LightGBM, enquanto o MLP apresenta menor correlação e se apoia em atributos distintos. A pesquisa reforça a importância da interpretabilidade na detecção de intrusão em redes IoT automatizada com modelos de aprendizado de máquina.

Downloads

Download data is not yet available.

Author Biographies

  • Matheus Buschermoehle, Universidade do Estado de Santa Catarina (UDESC)

    Bacharel em Engenharia de Software. Universidade do Estado de Santa Catarina (UDESC). ORCID: https://orcid.org/0009-0001-9875-0947. Atua na área de Tecnologia da Informação há pelo menos 3 anos. Atualmente é Analista de Dados e Desenvolvedor de Software em uma empresa com foco em aceleração comercial, onde atuo em diversas frentes como: Desenvolvimento de pipelines de dados, desenvolvimento front-end com ReactJS/Taildwind CSS e desenvolvimento back-end com NodeJS/NestJS e Python.

  • Fernando Santos, Universidade do Estado de Santa Catarina (UDESC)

    Professor adjunto no Departamento de Engenharia de Software da Universidade do Estado de Santa Catarina (UDESC). Bacharel em Ciências da Computação, Mestre em Ciências da Computação e em Ciência da Computação. Possui experiência na indústria, com vivência em desenvolvimento e análise de sistemas entre 2006 e 2010. Em 2023 recebeu o prêmio Fritz Müller na categoria jovem pesquisador da área de ciências exatas e da terra, oferecido pela Fundação de Amparo à Pesquisa e Inovação do Estado de Santa Catarina (FAPESC). Atua nas áreas de inteligência artificial, sistemas multiagente e simulações baseadas em agentes. ORCID: https://orcid.org/0000-0002-8182-2246

References

AGGARWAL, P.; SHARMA, S. K. Analysis of KDD Dataset Attributes – Class wise for Intrusion Detection. Procedia Computer Science, Amsterdã, v. 57, p. 842–851, 2015.

ALI, Sajid et al. Explainable Artificial Intelligence (XAI): What we know and what is left to attain Trustworthy Artificial Intelligence. Information fusion, Amsterdã, v. 99, p. 101805, 2023.

ARRECHE, Osvaldo; GUNTUR, Tanish; ABDALLAH, Mustafa. Xai-ids: Toward proposing an explainable artificial intelligence framework for enhancing network intrusion detection systems. Applied Sciences, Basel, Switzerland, v. 14, n. 10, p. 4170, 2024.

AWAN, Abid Ali. An Introduction to SHAP Values and Machine Learning Interpretability. 2023. Disponível em: https://www.datacamp.com/tutorial/introduction-to-shap-values-machine-learning-interpretability. Acesso em: 23 dez. 2025.

BAND, Shahab S. et al. Application of explainable artificial intelligence in medical health: A systematic review of interpretability methods. Informatics in Medicine Unlocked, Amsterdã, v. 40, p. 101286, 2023.

BREIMAN, Leo. Random forests. Machine learning, Berlim, v. 45, n. 1, p. 5–32, 2001.

ČERNEVIČIENĖ, Jurgita; KABAŠINSKAS, Audrius. Explainable artificial intelligence (XAI) in finance: a systematic literature review. Artificial Intelligence Review, Cham, v. 57, n. 8, p. 216, 2024.

CLOUDFLARE. O que é um ataque de negação de serviço (DoS)?. 2024. Disponível em: https://www.cloudflare.com/pt-br/learning/ddos/glossary/denial-of-service. Acesso em: 23 dez. 2025.

CYNET. Understanding Privilege Escalation and 5 Common Attack Techniques. 2025. Disponível em: https://www.cynet.com/network-attacks/privilege-escalation. Acesso em: 23 dez. 2025.

DOSHI-VELEZ, Finale; KIM, Been. Towards a rigorous science of interpretable machine learning. arXiv preprint, New York, n. 1702.08608, 2017. Disponível em: https://arxiv.org/abs/1702.08608. Acesso em: 07 jan. 2026.

GOODFELLOW, Ian; BENGIO, Yoshua; COURVILLE, Aaron. Deep Learning. Cambridge: MIT Press, 2016.

GUNNING, David et al. XAI - Explainable artificial intelligence. Science robotics, Washington, v. 4, n. 37, p. eaay7120, 2019.

HUNTER, J. D. Matplotlib: A 2d graphics environment. Computing in Science & Engineering, Piscataway, v. 9, n. 3, p. 90–95, 2007.

KE, Guolin et al. Lightgbm: a highly efficient gradient boosting decision tree. In: INTERNATIONAL CONFERENCE ON NEURAL INFORMATION PROCESSING SYSTEMS, 31, 2017, Red Hook. NEURIPS. 2017. p. 3149–3157.

KERAS. Keras: Deep Learning for humans. 2025. Disponível em: https://keras.io/. Acesso em: 23 dez. 2025.

KHAMPHAKDEE, Nattawat; BENJAMAS, Nunnapus; SAIYOD, Saiyan. Improving intrusion detection system based on snort rules for network probe attack detection. In: INTERNATIONAL CONFERENCE ON INFORMATION AND COMMUNICATION TECHNOLOGY, 2, 2014, Bandung. ICOICT. 2014, p. 69-74.

LIGHTGBM. LightGBM 4.6.0 documentation. 2025. Disponível em: https://lightgbm.readthedocs.io/en/stable/. Acesso em: 23 dez. 2025.

LUNDBERG, Scott M.; LEE, Su-In. A unified approach to interpreting model predictions. In: INTERNATIONAL CONFERENCE ON NEURAL INFORMATION PROCESSING SYSTEMS, 31, 2017, Red Hook. NEURIPS. 2017. p. 4768–4777.

LUNDBERG, Scott M. et al. From local explanations to global understanding with explainable AI for trees. Nature machine intelligence, Basingstoke, UK, v. 2, n. 1, p. 56-67, 2020.

MANKODIYA, Harsh et al. OD-XAI: Explainable ai-based semantic object detection for autonomous vehicles. Applied Sciences, Basel, v. 12, n. 11, p. 5310, 2022.

LUNDBERG, Scott. Welcome to the SHAP documentation. 2018. Disponível em: https://shap.readthedocs.io/en/latest/index.html. Acesso em: 23 dez. 2025.

NUMPY. NumPy. 2025. Disponível em: https://numpy.org/. Acesso em: 23 dez. 2025.

PANDAS. Pandas - Python Data Analysis Library. 2025. Disponível em: https://pandas.pydata.org/. Acesso em: 23 dez. 2025.

SCIKIT-LEARN. Scikit-learn: machine learning in Python — scikit-learn 1.7.0 documentation. 2025. Disponível em: https://scikit-learn.org/stable/. Acesso em: 23 dez. 2025.

SCIPY. Spearman - Scipy. 2024. Disponível em: https://docs.scipy.org/doc/scipy/reference/generated/scipy.stats.spearmanr.html. Acesso em: 07 jan 2026.

SOUZA, Cristiano Antônio de. Abordagem para detecção e prevenção de intrusão em computação de nevoeiro e IoT. Tese (Doutorado em Ciência da Computação). Universidade Federal de Santa Catarina (UFSC), Florianópolis, 2023.

STATISTA. IoT connections and applications. In: Internet of Things (IoT) - statistics & facts. 2024. Disponível em: https://www.statista.com/topics/2637/internet-of-things/#topicOverview. Acesso em: 23 dez. 2025.

TAVALLAEE, Mahbod et al. A detailed analysis of the kdd cup 99 data set. In: IEEE SYMPOSIUM ON COMPUTATIONAL INTELLIGENCE FOR SECURITY AND DEFENSE APPLICATIONS, 2, 2009, Ottawa. CISDA. 2009. p. 1–6.

TENSORFLOW. TensorFlow. 2025. Disponível em: https://www.tensorflow.org. Acesso em: 23 dez. 2025.

UNB, University of New Brunswick. ISCX NSL-KDD dataset 2009. 2009. Disponível em: https://www.unb.ca/cic/datasets/nsl.html. Acesso em: 23 dez. 2025.

WASKOM, Michael L. Seaborn: statistical data visualization. Journal of Open Source Software, Portland, v. 6, n. 60, p. 3021, 2021.

WAZLAWICK, Raul S. Metodologia de Pesquisa para Ciência da Computação. 3. ed. Rio de Janeiro: GEN LTC, 2020.

Published

2026-08-07

How to Cite

Um estudo de caso da inteligência artificial explicável aplicada na detecção de intrusão em redes IoT. (2026). Revista Brasileira De Iniciação Científica, e026024. https://periodicoscientificos.itp.ifsp.edu.br/index.php/rbic/article/view/2889