Robust Federated Learning for Intrusion Detection Under Adversarial Clients

Network intrusion detection systems learn well from kinds of traffic data. Still, many organizations are reluctant to share raw network logs because those logs contain details. Federated learning offers a way to solve this problem. With Federated learning, each organization trains a model on its data and then sends only the model weights to a central server. The central server gathers all those weights. Creates a single shared global model. This process, however, assumes that every participant is honest. If a client is compromised, it can flip the labels of attack records. Send corrupted weights. When the central server simply averages all the received updates, known as FedAvg, that one malicious client can degrade the performance of the detector. This project evaluates a federated intrusion detection system that remains accurate even when some clients are adversarial. The NSL-KDD dataset is. Split among simulated organizations. A small neural network, a multilayer perceptron, is trained inside a federated loop that is coded in PyTorch. Two types of attacks are simulated. In label flipping, adversarial clients report attacks as normal. In model poisoning, adversarial clients send weights. Four aggregation rules are compared. Those rules are FedAvg, Multi-Krum, coordinate‑wise Trimmed Mean and coordinate‑wise Median. In each round, the system records accuracy, loss, precision, recall, F1 and a list of clients that the server rejected. The system is delivered as a Flask web application that uses MySQL for storage. Users register, log in, choose the number of clients, the number of adversaries, the attack type, the aggregation method and the number of rounds. After setting those options, users can watch training progress in time. The dashboard displays accuracy for each round, a table of flagged clients, a gallery of training graphs and a comparison report that spans runs. During experiments with 10 clients, of which 3 were adversarial, the undefended FedAvg method lost nine percentage points of test accuracy when label flipping was used. The test accuracy dropped from 76.7 % on data to 67.9 % on data that had been manipulated. After ten rounds of training with model poisoning, the test accuracy dropped to 56.9 percent. The attack detection rate also fell, dropping to 24.7 percent. In contrast, the Krum method and the Trimmed Mean method kept their accuracy high, at 76.5 percent and 76.3 percent even with model poisoning being active. Both of those methods rejected every client in every round and neither of them rejected any honest client. The results demonstrate that robust aggregation methods keep the quality of the detector high, while raw data never leaves the clients...

Authors

Institutions

Publication Details

Journal
International Journal of Advanced Research in Science Communication and Technology
Published
2026-12-03
DOI
https://doi.org/10.48175/ijarsct-41354
Primary Topic
Privacy-Preserving Technologies in Data
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
article

Robust Federated Learning for Intrusion Detection Under Adversarial Clients

Mallareddy Dolly Ashrita, Kommina Bhargav Naga Sai Dhaniyala Sai Nikitha
International Journal of Advanced Research in Science Communication and Technology
Privacy-Preserving Technologies in Data
article

Robust Federated Learning for Intrusion Detection Under Adversarial Clients

Mallareddy Dolly Ashrita, Kommina Bhargav Naga Sai Dhaniyala Sai Nikitha
article en

Abstract

Network intrusion detection systems learn well from kinds of traffic data. Still, many organizations are reluctant to share raw network logs because those logs contain details. Federated learning offers a way to solve this problem. With Federated learning, each organization trains a model on its data and then sends only the model weights to a central server. The central server gathers all those weights. Creates a single shared global model. This process, however, assumes that every participant is honest. If a client is compromised, it can flip the labels of attack records. Send corrupted weights. When the central server simply averages all the received updates, known as FedAvg, that one malicious client can degrade the performance of the detector. This project evaluates a federated intrusion detection system that remains accurate even when some clients are adversarial. The NSL-KDD dataset is. Split among simulated organizations. A small neural network, a multilayer perceptron, is trained inside a federated loop that is coded in PyTorch. Two types of attacks are simulated. In label flipping, adversarial clients report attacks as normal. In model poisoning, adversarial clients send weights. Four aggregation rules are compared. Those rules are FedAvg, Multi-Krum, coordinate‑wise Trimmed Mean and coordinate‑wise Median. In each round, the system records accuracy, loss, precision, recall, F1 and a list of clients that the server rejected. The system is delivered as a Flask web application that uses MySQL for storage. Users register, log in, choose the number of clients, the number of adversaries, the attack type, the aggregation method and the number of rounds. After setting those options, users can watch training progress in time. The dashboard displays accuracy for each round, a table of flagged clients, a gallery of training graphs and a comparison report that spans runs. During experiments with 10 clients, of which 3 were adversarial, the undefended FedAvg method lost nine percentage points of test accuracy when label flipping was used. The test accuracy dropped from 76.7 % on data to 67.9 % on data that had been manipulated. After ten rounds of training with model poisoning, the test accuracy dropped to 56.9 percent. The attack detection rate also fell, dropping to 24.7 percent. In contrast, the Krum method and the Trimmed Mean method kept their accuracy high, at 76.5 percent and 76.3 percent even with model poisoning being active. Both of those methods rejected every client in every round and neither of them rejected any honest client. The results demonstrate that robust aggregation methods keep the quality of the detector high, while raw data never leaves the clients...

International Journal of Advanced Research in Science Communication and Technology
Koneru Lakshmaiah Education Foundation (IN)
Privacy-Preserving Technologies in Data
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Laika access coming soon