Abstract
In contemporary edge computing systems, decentralized edge nodes aggregate unprocessed data and facilitate data analytics to uphold low transmission latency and real-time data processing capabilities. Recently, these edge nodes have evolved to facilitate the implementation of distributed machine learning models, utilizing their computational resources to enable intelligent decision-making, thereby giving rise to an emerging domain referred to as edge intelligence. However, within the realm of edge intelligence, susceptibility to numerous security and privacy threats against machine learning models becomes evident. This paper addresses the issue of membership inference leakage in distributed edge intelligence systems. Specifically, our focus is on an autonomous scenario wherein edge nodes collaboratively generate a global model. The utilization of membership inference attacks serves to elucidate the potential data leakage in this particular context. Furthermore, we delve into the examination of several defense mechanisms aimed at mitigating the aforementioned data leakage problem. Experimental results affirm that our approach is effective in detecting data leakage within edge intelligence systems, and the implementation of our defense methods proves instrumental in alleviating this security threat. Consequently, our findings contribute to safeguarding data privacy in the context of edge intelligence systems.
Introduction
As artificial intelligence increasingly migrates to the network edge—deployed on smartphones, IoT devices, and local sensors—maintaining data privacy has become a paramount concern. The traditional standard for privacy-preserving collaborative training is Federated Learning (FL), where devices train models locally and transmit parameter updates to a central server. However, this centralized architecture introduces a single point of failure and a primary target for adversarial exploitation.
To address these vulnerabilities, researchers have proposed Swarm Learning, a decentralized alternative that leverages blockchain and peer-to-peer networking to eliminate the central server entirely. In this framework, nodes take turns acting as temporary aggregators. While this improves system resilience and removes the central risk, it raises a critical question: is the underlying data actually safer? This paper investigates Membership Inference Attacks (MIA) within Swarm Learning, where an adversary attempts to determine if a specific data sample was part of a neighbor's private training set by analyzing the resulting model updates.
Methodology
Attack Vectors
The study evaluates the security of distributed edge systems through three distinct attack methodologies:
- NN-based Attack: The attacker treats MIA as a binary classification problem. By training a "shadow model" on their own local data, the adversary learns to distinguish between "members" (data seen during training) and "non-members."
- Metric-based Attack: This approach exploits the intuition that models exhibit higher confidence and lower entropy (randomness) when processing data they have previously encountered.
- Differential Attack: Utilizing Maximum Mean Discrepancy (MMD), this sophisticated method measures the statistical distance between data distributions. It is particularly potent in non-IID (Independent and Identically Distributed) scenarios where edge nodes possess highly divergent datasets.
Defense Mechanisms
To mitigate these leakages, two primary regularization techniques were tested:
- Dropout: Randomly deactivating neurons during training to prevent the model from over-memorizing specific samples.
- L2-Regularization: Penalizing large weights to improve model generalization, thereby narrowing the behavioral gap between seen and unseen data.
Experimental Results and Key Insights
The research utilized standard benchmarks including CIFAR-10, CIFAR-100, and the News text dataset to validate attack efficacy across domains. Key findings include:
- Potency of Internal Attackers: In a two-node configuration, attackers achieved over 82% accuracy in identifying training members. Even in multi-client setups (One-to-Multi), the attack maintained a 66% accuracy rate, significantly outperforming the 33% baseline for a 3-client system.
- The Non-IID Vulnerability: Real-world edge systems often feature heterogeneous data distributions. The authors found that these differences make Differential Attacks more powerful, achieving ~80% accuracy even as the system scales.
- Defense Efficacy: Dropout emerged as a more robust defense than L2-regularization. While regularization provided some benefit, the differential attack was more successful at bypassing it compared to a well-tuned Dropout layer.
- The "Crowd" Effect: Interestingly, as the number of clients increases, the effectiveness of simple NN-based attacks drops. In a 5-client system, accuracy fell to near-random (40%), as the individual contribution of any single node becomes diluted within the aggregate model.
Conclusion
While decentralization via Swarm Learning removes the risks associated with a central server, it does not serve as a panacea for privacy. Malicious internal nodes can still "sniff" out private information from their peers. The study demonstrates that while standard machine learning defenses like Dropout can alleviate these threats, they often come at a cost to primary model accuracy. Future research should focus on implementing Differential Privacy (mathematical noise injection) tailored for the resource-constrained hardware typical of edge intelligence systems.
Summary updated