FedSGN: Federated Sparse Grassmann Newton Learning for IoT Anomaly Detection
Organizations: School of Microelectronics, Shanghai Key Laboratory of Chips and Systems for Intelligent Connected Vehicle, Shanghai University, Shanghai 200444, China · State Key Laboratory of Integrated Chips and Systems, Fudan University, Shanghai 201203, China · School of Mechatronic Engineering and Automation, Shanghai University, Shanghai 200444, China · School of Intelligent Systems Engineering, Sun Yat-sen University, Shenzhen 510275, China
Abstract
Anomaly detection plays a critical role in securing the Internet of things (IoT). Although existing federated principal component analysis (PCA) methods can learn the subspace of normal samples without sharing raw data, they often suffer from feature redundancy that may degrade detection performance. To address this limitation, we propose a novel and effective federated sparse Grassmann Newton (FedSGN) learning method for IoT anomaly detection. Technically, our FedSGN leverages the -norm constraint on the global projection matrix to eliminate redundancy and introduces an orthogonality penalty to preserve the intrinsic structure. Moreover, we develop an augmented Lagrangian solver integrated with a semismooth Newton scheme to enable parallel client updates and Grassmann projection for robustness. Numerical experiments demonstrate that the proposed method achieves favorable overall detection performance while reducing communication overhead. The source code is publicly available at https://github.com/xianchaoxiu/FedSGN
Figures & tables
| Datasets | Features | Training | Testing | Classes |
|---|---|---|---|---|
| UNSW-NB15 | 39 | 65,000 | 65,332 | 10 |
| NSL-KDD | 34 | 125,973 | 22,544 | 5 |
| TON-IoT | 49 | 114,956 | 66,557 | 10 |
| Methods | UNSW-NB15 | NSL-KDD | TON-IoT | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ACC | PRE | REC | FNR | F1 | ACC | PRE | REC | FNR | F1 | ACC | PRE | REC | FNR | F1 | |
| FedAE | 80.88 | 80.66 | 95.27 | 4.73 | 87.36 | 83.74 | 86.84 | 84.19 | 15.81 | 85.50 | 87.89 | 93.52 | 91.36 | 8.64 | 92.43 |
| FedAE2 | 82.80 | 83.45 | 93.80 | 6.20 | 88.32 | 83.35 | 86.90 | 83.32 | 16.68 | 85.07 | 89.81 | 94.63 | 92.34 | 7.66 | 93.47 |
| FedBiGAN | 81.49 | 83.04 | 91.63 | 8.37 | 87.12 | 83.36 | 89.93 | 79.69 | 20.31 | 84.50 | 88.83 | 92.42 | 92.42 | 7.57 | 92.42 |
| FedBiGAN2 | 81.59 | 81.98 | 94.16 | 5.84 | 87.65 | 82.01 | 83.71 | 84.92 | 15.08 | 84.31 | 89.53 | 95.82 | 91.93 | 8.07 | 93.83 |
| FedPE | 82.15 | 81.06 | 95.14 | 4.86 | 87.54 | 81.91 | 85.62 | 81.99 | 18.01 | 83.77 | 87.15 | 89.17 | 94.94 | 5.06 | 91.96 |
| Variants | Sparsity | Newton | Grassmann | ACC (%) | F1 (%) | AUC (%) |
|---|---|---|---|---|---|---|
| Case I | 87.25 | 91.29 | 83.26 | |||
| Case II | 80.59 | 86.54 | 81.17 | |||
| Case III | 83.09 | 88.86 | 81.96 | |||
| FedSGN | 87.92 | 91.70 | 83.60 |
Anomaly Detection
Anomaly detection finds rare or unexpected patterns in data, from defective products and system faults to fraud and security threats.
See all 710 papers