Federated autoencoder detects IoT attacks with comparable accuracy and lower communication
Federated anomaly detection accurately identifies network attacks while reducing communication overhead compared to centralized detection
AI/ML arXiv 23 Mar 2026 Method Prototype evidence
Published as “In-network Attack Detection with Federated Deep Learning in IoT Networks: Real Implementation and Analysis”
Why it matters
Federated learning can provide IoT anomaly detection with privacy and bandwidth benefits without sacrificing most detection performance, enabling deployment in bandwidth-constrained environments.
Summary
The federated autoencoder detects attacks with accuracy and F1 scores close to a centralized model, while cutting communication from 4.5 MB to 378 KB over a 5-hour period. Evaluation was done on a real IoT testbed comprising three routers and four Raspberry Pi edge devices running ZigBee, using redirection attacks and other simulated threats. Results show comparable detection performance (e.g., F1 0.8963 vs 0.9012 for Router 1) but some routers (e.g., Router 3) perform noticeably worse under federated learning.
What they found 3
- Federated detection performance is nearly identical to centralized detection across key metrics
“Our results show that the federated approach achieves performance metrics nearly identical to the centralized approach, including accuracy, precision, recall, and F1score.”
- Federated learning reduces communication overhead dramatically
“federated learning requires only 378 KB of data transfer over 5 hours, whereas the centralized method requires 4.5 MB.”
- For Router 1, federated and centralized models achieve similar high F1-scores at k=4
“For Router 1 (R1), both approaches achieve high accuracy, with the best F1-scores at k = 4 (0.8963 for the federated and 0.9012 for the centralized model).”
Caveats 1
- The federated model achieves its highest F1-score at k = 2 (0.4358) for Router 3, while the centralized model reaches a significantly higher F1-score of 0.5870 at k = 4.
What’s new here 4
- First real-world deployment of federated autoencoder anomaly detection on resource-constrained Raspberry Pi devices
- Integration of transfer learning to accelerate local model training in the federated setting
- Quantitative measurement of communication overhead reduction (378 KB vs 4.5 MB over 5 h)
- Evaluation of both centralized and federated approaches on the same physical testbed