https://www.mdu.se/

mdu.sePublications
CiteExportLink to record
Permanent link

Direct link
Cite
Citation style
  • apa
  • ieee
  • modern-language-association-8th-edition
  • vancouver
  • Other style
More styles
Language
  • de-DE
  • en-GB
  • en-US
  • fi-FI
  • nn-NO
  • nn-NB
  • sv-SE
  • Other locale
More languages
Output format
  • html
  • text
  • asciidoc
  • rtf
Analyzing Communication–Accuracy Trade-offs in Federated Learning-Based Network Intrusion Detection Systems
Mälardalen University, Faculty of Engineering and Health Sciences, Department of Computer Science & Engineering.
Mälardalen University, Faculty of Engineering and Health Sciences, Department of Computer Science & Engineering.
2026 (English)Independent thesis Basic level (professional degree), 10 credits / 15 HE creditsStudent thesis
Abstract [en]

Modern smart grid technology improves system efficiency and reliability, but it also increases the attack surface. This threat to smart grid security creates a need for intrusion detection systems (IDS) to help combat the problems. Centralized machine-learning-based IDS is one solution, but it comes with drawbacks in terms of privacy, scalability, and communication. Federated learning (FL) is an emerging technology that aims to address these limitations and provide better privacy and security for the system. This thesis investigates the communication-accuracy trade-off in network-based intrusion detection systems (NIDS) using federated learning and compares three neural network architectures: CNN, LSTM, and a hybrid architecture, CNN-LSTM. To investigate this, an experiment was conducted in a simulated FL environment with one server and three clients, all using Flower as the FL framework. Each client was trained and evaluated using the Edge-IIoT dataset, with testing at 1, 3, 5, 7, and 10 rounds of federated learning. Network conditions were emulated using tc-netem, introducing packet loss ranging from 1% to 10% during federated learning. Results indicate that the CNN-LSTM architecture had the best communication-accuracy trade-off, showing high accuracy and low communication costs. CNN reached high accuracy quickly, but fluctuations prevented the model from stabilizing. The largest model was LSTM, which also had the highest communication costs but still achieved strong classification performance. Packet loss caused a disproportionately large increase in communication overhead. Findings in this thesis suggest that important factors in FL NIDS include communication cost, convergence, accuracy, and network stability. 

Place, publisher, year, edition, pages
2026. , p. 40
Keywords [en]
Federated Learning, CNN, LSTM, Machine Learning, Edge-IIoT
National Category
Computer Sciences
Identifiers
URN: urn:nbn:se:mdh:diva-78701OAI: oai:DiVA.org:mdh-78701DiVA, id: diva2:2089480
Subject / course
Computer Science
Supervisors
Examiners
Available from: 2026-08-26 Created: 2026-08-03 Last updated: 2026-08-26Bibliographically approved

Open Access in DiVA

fulltext(836 kB)11 downloads
File information
File name FULLTEXT01.pdfFile size 836 kBChecksum SHA-512
4c818c633a45f88554e2cacd118c26ea457cb10181042869b68ee9a030158f300284f9e9f2920c927dcc39fa2e7d93e2de12a66d8bfe95ca5fe88fc9511d5671
Type fulltextMimetype application/pdf

By organisation
Department of Computer Science & Engineering
Computer Sciences

Search outside of DiVA

GoogleGoogle Scholar
The number of downloads is the sum of all downloads of full texts. It may include eg previous versions that are now no longer available

urn-nbn

Altmetric score

urn-nbn
Total: 260 hits
CiteExportLink to record
Permanent link

Direct link
Cite
Citation style
  • apa
  • ieee
  • modern-language-association-8th-edition
  • vancouver
  • Other style
More styles
Language
  • de-DE
  • en-GB
  • en-US
  • fi-FI
  • nn-NO
  • nn-NB
  • sv-SE
  • Other locale
More languages
Output format
  • html
  • text
  • asciidoc
  • rtf