Research
Decentralized Multi-Agent Swarms for Autonomous Grid Security in Industrial IoT: A Consensus-based Approach
Overview Research area: Distributed systems security for the Industrial Internet of Things (IIoT), combining multi-agent systems, edge computing, swarm intelligence, and Byzantine fault-tolerant conse

- arXiv
- 2601.17303
- Published
- 2026-01-24
- Authors
- Samaresh Kumar Singh, Joyjit Roy, Chirag Agrawal
AI summary
Overview
Research area: Distributed systems security for the Industrial Internet of Things (IIoT), combining multi-agent systems, edge computing, swarm intelligence, and Byzantine fault-tolerant consensus. arXiv:2601.17303v2 [cs.LG].
Technical level: Intermediate. Readers need some familiarity with consensus protocols, Byzantine fault tolerance, and network intrusion detection, though the paper explains each component in accessible terms.
Scope: The paper describes, implements, and empirically evaluates a fully decentralized multi-agent swarm architecture (DMAS) with a Consensus-based Threat Validation (CVT) protocol for real-time IIoT intrusion detection and quarantine, claiming sub-millisecond response and tolerance to Byzantine agents up to the theoretical fault threshold.
What This Paper Is About
Centralized security architectures in IIoT introduce cloud round-trip latency, a single point of failure, and heavy bandwidth costs from streaming raw telemetry, while attackers can exploit undetected nodes for lateral movement and cascading physical damage. The authors build a decentralized swarm of autonomous AI agents deployed at edge gateways that detect threats locally, coordinate through a lightweight peer-to-peer consensus vote, and quarantine compromised devices near-instantly without cloud dependency. The goal is to show that fully decentralized coordination can match or beat centralized and edge-computing security baselines on latency, accuracy, bandwidth, and resilience to compromised agents.
Key Contributions
- Domain-aware decentralized architecture: A fully decentralized IIoT security framework unifying edge-native agents, peer-to-peer threat intelligence exchange, and domain-specific behavioral modeling, with no central coordinator required for real-time security decisions.
- Domain-specific consensus protocol: The CVT protocol combines distance-weighted reputation voting with application-layer threat proximity scoring to achieve sub-millisecond Byzantine-tolerant consensus on edge-class hardware without a central aggregation server.
- Measured real-time performance gains: On the evaluated testbed, DMAS reports 0.85 ms average response time versus an 850 ms cloud-based baseline, described as roughly three orders of magnitude faster under those specific experimental conditions.
- Multi-scenario testbed evaluation and open implementation: Experiments on a 2000-device hardware testbed cover six attack categories, including zero-day exploits, Byzantine agent injection up to the theoretical fault threshold, and degraded network conditions; the CVT-based DMAS architecture has been released as open source software.
Main Findings
- Response time: DMAS averages 0.85 ms, versus 850 ms for the centralized cloud baseline (1000 times faster) and 120 ms for the edge computing baseline (141 times faster). DMAS stayed under the 10 ms real-time limit even at full network utilization, whereas centralized systems degrade as device counts grow.
- Detection accuracy and false positives: At 2000 devices, DMAS detects attacks 97.3% of the time with a 3.8% false positive rate. The centralized system fails to detect 71.2% of the time at 2000 devices and reaches 28.5% FPR, while the edge baseline detects 87.5%.
- Consensus convergence: CVT reaches agreement within one millisecond across 5 to 25 agents, reported as 0.85 ms with 25 agents, while a generic Byzantine fault-tolerant baseline grows much more steeply with agent count.
- Per-attack detection: DMAS leads across all six attack categories, with averages of 96% (DDoS), 94% (MitM), 93% (Replay), 92% (Injection), 95% (Malware), and 87% (Zero-day), averaging 92.8%. Signature-based detection averaged 68.3%, anomaly-based 71.0%, ML-based 84.5%, and FedIDS 82.8%. Signature methods detected only 35% of zero-day attacks.
- Bandwidth and CPU: DMAS reduces network bandwidth by 89% relative to centralized (320 MB/s vs 2850 MB/s) and leaves 45% CPU idle compared with 12% in a centralized system.
- Scalability: Across 100 to 10,000 devices, DMAS throughput remained nearly constant at 8,200–9,800 TPS, while centralized throughput fell from 8,500 to 850 TPS (a 90% reduction).
- Byzantine tolerance: Accuracy stayed above 95% with 30% Byzantine agents (95.4% accuracy, 4.8% FPR, 1.18 ms), degrading smoothly until 30% and then more rapidly (89.2% accuracy at 40%). This matches the theoretical limit of f < n/3.
- Ablation: Full DMAS reached 98.8% accuracy at 0.85 ms. Removing distance weighting gave 96.2%, removing reputation scoring 94.5%, removing the behavioral model 91.3%, and local-only detection without consensus 88.7% at 0.62 ms. The consensus mechanism contributed the largest gain (+10.1% over local-only) and the behavioral model the second largest (+7.5%).
- Degraded network conditions: At 50 ms injected latency and 2% packet loss, average response time rose to 4.2 ms with a 1.8 percentage point accuracy drop, still within the 10 ms threshold. At 100 ms latency or more than 3% packet loss, response time can exceed the 10 ms budget.
Methodology in Plain English
The authors placed an autonomous software agent on each edge gateway rather than in the resource-constrained devices themselves. Each agent watches traffic for its roughly 80 assigned devices using three complementary detectors: a statistical anomaly detector (EWMA with smoothing factor 0.05 over a 60-second sliding window, flagging deviations beyond 3 sigma), a two-layer GRU recurrent neural network (hidden dimension 64, dropout 0.2, 20 time steps at 10-second intervals, Adam optimizer at learning rate 10^-3, batch size 64, 50 epochs, 70/15/15 split), and a signature matcher holding 1,247 known attack patterns from Snort community rules version 3.1 plus custom IIoT signatures, using an Aho-Corasick automaton. These three scores are combined into a single threat score between 0 and 1 using learned weights.
When an agent's threat score exceeds the alert threshold of 0.45, it broadcasts a vote request over UDP multicast using Protocol Buffer messages under 256 bytes. Peers evaluate the same evidence with their own models and return weighted votes, where each vote is scaled by the peer's reputation and a distance-decay factor (α = 0.1) that gives more influence to agents physically closer to the threat. The initiating agent aggregates responses collected over a 0.5 ms timeout and declares consensus if the aggregate score exceeds 0.75 and a quorum of at least ceil((n+f+1)/2) agents responded. Consensus triggers quarantine via firewall rule updates, operator alerts, and forensic collection. Reputations update continuously using an EWMA with β = 0.9, and all agents start at 0.5 reputation with a 24-hour probationary period weighting their votes at 50% to mitigate cold-start Sybil risk. All parameters were selected by grid search on a held-out 10% validation partition.
The testbed comprised 2000 virtualized devices (PLCs, SCADA systems, industrial cameras, robotic controllers, environmental sensors) emulated on Raspberry Pi 4B units, 25 Intel NUC mini PCs (i7-10710U, 16GB RAM) as gateways, and a 10 Gbps Ethernet backbone with VLANs, firewalls, and QoS policies; Linux Traffic Control injected latency and packet loss. Data combined 30 days of anonymized real telemetry from an automotive manufacturing facility (2.3 billion packets) with 150,000 synthetic attack instances generated using Metasploit, Kali Linux, and custom scripts across six categories. Four baselines were compared: a cloud-based centralized Snort IDS over MQTT, per-gateway Snort instances, a central LSTM Autoencoder, and a federated learning IDS (FedIDS) using FedAvg with 10 communication rounds per epoch.
Why This Matters
The paper argues that decentralized, domain-specific consensus can replace cloud-dependent security for industrial networks without sacrificing detection quality, and it provides an open-source implementation plus an ablation isolating which components drive performance. It contributes a concrete protocol design (distance-weighted reputation voting with application-layer threat scoring) and empirical evidence that accuracy degrades smoothly up to the Byzantine fault threshold of f < n/3.
Real-world applications:
- Smart manufacturing: protecting PLCs, SCADA systems, and robotic controllers on production lines where milliseconds of unchecked malware propagation can cause physical damage.
- Critical infrastructure monitoring: the title frames the work around grid security, and the swarm model applies to distributed industrial control environments requiring continuous availability.
- Legacy industrial retrofits: passive network-traffic monitoring at the gateway means devices need not be modified, supporting phased "monitor only" to autonomous operation rollouts.
- Regulated industrial sites: the design targets compliance with IEC 62443 and NERC CIP by maintaining detailed audit records of every consensus decision for post-incident forensics.
Industry relevance centers on the bandwidth economics (89% reduction, 320 MB/s vs 2850 MB/s) and CPU headroom (45% idle), which the authors argue lets operators absorb attack spikes without degrading response time, plus the elimination of a central controller as a single point of failure. Note the paper's own caveats: the 0.85 ms figure was measured on a 10 Gbps wired testbed with 25 agents and controlled latency, and all experiments were on an emulated testbed rather than a live production facility. Agents also require at least 1 CPU core and 2 GB RAM, so battery-powered sensor nodes would still depend on gateway protection.
Future Directions
- Strategic adversary evaluation: current Byzantine experiments model compromised agents as uniformly random voters; the authors plan game-theoretic adversary models and reputation-poisoning scenarios to test adaptive, coordinating attackers that mimic honest behavior.
- Federated learning integration: combining DMAS with federated learning to improve cross-agent models while preserving data privacy.
- Explainability: adding SHAP or LIME to generate human-readable threat justifications alongside quarantine actions.
- Real-world field validation: since all results come from an emulated testbed, the authors call for deployment in a live industrial environment and validation on fully labeled real attack datasets (they suggest ROAD, OTIDS, or a proprietary industrial capture) to rule out real-versus-synthetic artifacts.
The paper also flags adversarial machine learning attacks (evasion or poisoning of agent models), the cold-start Sybil problem, and network dependence as open limitations.
Target Audience
Researchers and practitioners in industrial cybersecurity, edge computing, distributed systems, and multi-agent coordination, particularly those working on intrusion detection for IIoT or evaluating Byzantine fault-tolerant consensus outside data centers. It is also relevant to industrial control system operators, security architects at manufacturing or utility firms assessing whether to move detection from the cloud to edge gateways, and engineers who want to reproduce the results, since the testbed configuration, synthetic attack generation scripts, and model weights are published at https://github.com/ssam18/dmas-security.
Authors’ abstract
As Industrial Internet of Things (IIoT) environments scale to tens of thousands of connected devices, centralized security architectures introduce latency bottlenecks that sophisticated attackers can exploit to compromise an entire manufacturing ecosystem. We present a Decentralized Multi-Agent Swarm (DMAS) architecture that deploys autonomous agents at each edge gateway, forming a distributed defense layer for IIoT networks. Rather than relying on static firewalls or cloud-forwarded telemetry, DMAS agents coordinate through a lightweight peer-to-peer protocol, detecting threats locally without cloud dependency. We describe a Consensus-based Threat Validation (CVT) protocol in which agents collectively vote on detected threats, enabling near-instant quarantine of compromised nodes. Experiments on a 2000-device hardware testbed show that DMAS achieves sub-millisecond response times (0.85 ms average), 97.3% detection accuracy under high load, and 87% accuracy on zeroday attacks, each exceeding both centralized and edge-computing baselines. Bandwidth consumption drops by 89% relative to cloud-based solutions.