Skip to content
#federated learning Open access

Privacy-Preserving Network Intrusion Detection Using Federated Learning with Explainable AI and an Autonomous SOC Agent Pipeline

Oct 2026 · Zenodo (CERN European Organization for Nuclear Research)
Network Security and Intrusion Detection

Abstract

Centralized intrusion detection systems (IDS) re-quire pooling raw network traffic at a single location, which is a significant privacy liability in domains such as banking, healthcare, and telecommunications, and typically rely on static detection thresholds that produce high false-positive rates as traffic patterns drift over time. This paper presents a two-phase system that closes both gaps. Phase-I is a Federated Learning (FL) based IDS in which five simulated clients, each holding a non-identically-distributed partition of the CICIDS2017 dataset, train a per-client LSTM Autoencoder locally and share only model weights — never raw traffic — with a custom FedAvg aggregator implemented over Python threading. Differential Privacy (DP) noise is added to gradients before aggregation to bound information leakage from any single client's update, and an adaptive thresholding mechanism recalibrates the anomaly-detection boundary using a rolling window of reconstruction errors to address the false-positive gap. Per-prediction explanations are produced with SHAP and LIME. Phase-II extends detection into an autonomous, auditable Security Operations Centre (SOC) agent that consumes alerts from the Phase-I detector and executes a six-stage pipeline — Detect, Retrieve, Score, Draft, Verify, Decide — retrieving supporting context from a MITRE ATT&CK knowledge base through TF-IDF based retrieval-augmented generation, computing a rule-based severity score, drafting an incident report, passing every report sentence through a hallucination guardrail before any action is taken, and finally auto-closing, queuing, or escalating the incident. The system achieves a binary classification F1-score of 99.42% (precision 98.94%, recall 99.92%) and a multi-class accuracy of 91.57%, with only a 3.73% accuracy gap between the differentially private and non-private centralized baselines. We describe the system's architecture, workflow, evaluation methodology, and a live walkthrough, and discuss the engineering challenges — including severe class imbalance and framework incompatibility — encountered while building it.

View source

Similar papers

#machine learning Review Open access Oct 2014

Software development in startup companies: A systematic mapping study

The results indicate that software engineering work practices are chosen opportunistically, adapted and configured to provide value under the constrains imposed by the startup context.

Nicolò Paternoster, Carmine Giardino, M. Unterkalmsteiner et al. · 394 citations · ⚡54
#machine learning Review Open access Jun 2014

Why Early-Stage Software Startups Fail: A Behavioral Framework

This state-of-practice investigation was performed using a literature review followed by a multiple-case study approach and presents how inconsistency between managerial strategies and execution can lead to failure by means of a behavioral framework.

Carmine Giardino, Xiaofeng Wang, P. Abrahamsson · 175 citations · ⚡19
#machine learning Review Open access Oct 2016

“Failures” to be celebrated: an analysis of major pivots of software startups

This study conducts a case survey study based on the secondary data of the major pivots happened in 49 software startups, and demonstrates that customer need pivot is the most common among all pivot types.

Sohaib Shahid Bajwa, Xiaofeng Wang, Anh Nguyen-Duc et al. · 127 citations · ⚡15
#machine learning Review Open access May 2016

Key Challenges in Software Startups Across Life Cycle Stages

It is found that what perceived as biggest challenges by software startups do vary across different life cycle stages, even though its significance decreases when the learning focuses of the startups move from problem to solution and their products mature.

Xiaofeng Wang, Henry Edison, Sohaib Shahid Bajwa et al. · 62 citations · ⚡6

Related blog posts

Microsoft Research Blog Oct 12, 2026

Simulating student learning for better AI tutoring

StudentSim is a research system for evaluating and improving AI tutoring tools before they are tested with learners. It models how individuals may engage with tutors, giving feedback to improve tutor performance across subjects like chess, writing, and mathematics. The post Simulating student learning for better AI tutoring appeared first on Microsoft Research.

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.