[Paper Review] PrivFly: A Privacy-Preserving Self-Supervised Framework for Rare Attack Detection in IoFT
PrivFly combines self-supervised representation learning and differential privacy to improve rare-attack detection in IoFT data, using augmentation and SHAP analysis, achieving high F1-scores on ECU-IoFT while exploring privacy-utility trade-offs.
The Internet of Flying Things (IoFT) plays a vital role in modern applications such as aerial surveillance and smart mobility. However, it remains highly vulnerable to cyberattacks that threaten the confidentiality, integrity, and availability of sensitive data. Developing effective intrusion detection systems (IDS) for IoFT networks faces key challenges, including data imbalance, privacy concerns, and the limited capability of traditional models to detect rare but potentially damaging cyber threats. In this work, we propose PrivFly, a privacy-preserving IDS framework that integrates self-supervised representation learning and differential privacy (DP) to enhance detection performance in imbalanced IoFT network traffic. We propose a masked feature reconstruction module for self-supervised pretraining, improving feature representations and boosting rare-class detection. Differential privacy is applied during training to protect sensitive information without significantly compromising model performance. In addition, we conduct a SHapley additive explanations (SHAP)-based analysis to evaluate the impact of DP on feature importance and model behavior. Experimental results on the ECU-IoFT dataset show that PrivFly achieves up to 98% accuracy and 99% F1-score, effectively balancing privacy and detection performance for secure IoFT systems.
Motivation & Objective
- Motivate robust intrusion detection for IoFT under severe class imbalance and privacy concerns.
- Propose a privacy-preserving IDS that handles rare attacks via self-supervised learning and data augmentation.
- Investigate the privacy-utility trade-off of DP during training on IoFT traffic data.
- Provide explainability analysis to understand feature impact under differential privacy.
Proposed method
- Self-supervised pretraining using a VIME-inspired zero-masking reconstruction task to learn robust tabular representations.
- Differentially private stochastic gradient descent (DP-SGD) with gradient clipping and Gaussian noise to protect training data.
- Rare-attack augmentation using CTGAN or SMOTE to balance the dataset before training.
- Privacy-aware classifier (DP-DNN) trained on VIME-derived representations.
- SHAP-based explainability analysis to assess DP impact on feature importance.

Experimental results
Research questions
- RQ1How effectively can PrivFly detect rare IoFT attacks under differential privacy constraints?
- RQ2What is the impact of DP on feature importance and model decision boundaries in PrivFly?
- RQ3Do synthetic oversampling and self-supervised representation learning recover performance losses due to privacy constraints?
- RQ4What is the privacy-utility trade-off across different DP budgets (noise levels) for multiclass IoFT intrusion detection?
Key findings
- PrivFly with CTGAN or SMOTE + VIME achieves up to 99% F1-score under moderate privacy settings.
- DP-DNN performance degrades for rare classes as privacy noise increases, but augmentation and self-supervised learning mitigate this loss.
- SHAP analyses show DP reduces attribution strength for rare-class features, shifting reliance toward general features like packet length.
- Under strict DP settings, some rare classes may become undetected, illustrating the privacy-utility trade-off.
- PrivFly improves Macro-averaged metrics over baseline DP-DNN across multiple DP budgets.
- Confusion matrices indicate correct classification of rare Tello API Exploit when PrivFly augmentations are used.

Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.