Construction of Anomaly Detection System for IoT Meter Box Gateway Based on Improved GraphSAGE and Federated Learning
Abstract
To address the critical challenges in IoT meter box gateways—namely, resource constraints that hinder complex model deployment, data heterogeneity and privacy concerns that impede centralized training, and the inability of traditional methods to capture complex topological and temporal dynamics among gateways—this study aims to construct a distributed anomaly detection system that simultaneously ensures high accuracy, robust privacy preservation, and favorable scalability. A heterogeneous graph representing the multi-dimensional relationships of gateways is constructed. Then, a GraphSAGE model is designed that introduces hierarchical attention and timing fusion modules to enhance feature extraction capabilities. Finally, it is embedded in a federated framework that supports adaptive aggregation, thereby constructing an IoT meter box gateway anomaly detection system. The accuracy of the improved GraphSAGE on the Gotham and GRASEC-IoT data sets reached 0.985 and 0.990, respectively, the false alarm rate was less than 1.2%, and the detection delay was less than 20 milliseconds. The detection rate for six types of attacks such as DDoS and slow penetration was as high as 99.5%. When the gateway scale increased to 100, the F1 score remained above 0.985 and the delay only increased to 35.5 milliseconds. In conclusion, the research plan effectively integrates graph relationships and temporal features, achieving precise and rapid identification of gateway threats while ensuring data privacy. It provides a practical technical path and theoretical basis for the efficient and reliable deployment of security protection systems at the edge of the Internet of Things.
Keywords:
GraphSAGE model, federated learning, IoT meter box gateway, heterogeneous relationship, hierarchical attention aggregation mechanismPublished Online
How to Cite
Issue
Section
License
- Authors retain copyright and grant the journal right of first publication with the work simultaneously licensed under a Creative Commons Attribution License that allows others to share the work with an acknowledgement of the work's authorship and initial publication in this journal.
- Authors are able to enter into separate, additional contractual arrangements for the non-exclusive distribution of the journal's published version of the work (e.g., post it to an institutional repository or publish it in a book), with an acknowledgement of its initial publication in this journal.
- Authors are permitted and encouraged to post their work online (e.g., in institutional repositories or on their website) prior to and during the submission process, as it can lead to productive exchanges, as well as earlier and greater citation of published work (see The Effect of Open Access). As soon as the paper is accepted, finally submitted and edited, the paper will appear in the "OnlineFirst" page of the journal, thus from this point no other internet-based publication is necessary.
