Federated Self-Supervised Learning for Automatic Modulation Classification under Non-IID and Class-Imbalanced Data

Usman Akram, Yiyue Chen, Haris VikaloarXiv 2025 · DOI

Introduction

In the evolving landscape of the Internet of Things (IoT), "spectrum intelligence"—the capacity of a device to characterize surrounding signals and channel conditions—is increasingly vital. Automatic Modulation Classification (AMC) serves as a cornerstone for this intelligence, enabling tasks such as interference mitigation and dynamic spectrum access. However, traditional centralized training of AMC models faces significant hurdles regarding data privacy and communication overhead. While Federated Learning (FL) offers a decentralized alternative, standard FL algorithms often struggle with the heterogeneous, unlabeled, and imbalanced data characteristic of real-world wireless environments.

Problem Statement

The deployment of AMC in practical federated settings is hindered by three primary challenges:

  1. Privacy and Bandwidth Constraints: Transmitting raw I/Q signal sequences to a central server is both bandwidth-intensive and poses privacy risks.
  2. Label Scarcity: Although raw wireless signals are plentiful, obtaining accurate ground-truth labels for modulation types is labor-intensive.
  3. Data Heterogeneity (Non-IID): Signal characteristics vary significantly across edge devices due to differing Signal-to-Noise Ratios (SNR), Carrier-Frequency Offsets (CFO) caused by mobility, and varying local class distributions.

Proposed Methodology: FedSSL-AMC

To address these issues, we present FedSSL-AMC, a framework that decouples feature representation learning from classification. The approach utilizes federated self-supervised pretraining followed by lightweight local personalization.

Federated Self-Supervised Pretraining

The backbone of the system is a Causal, Time-Dilated Convolutional Neural Network (CNN). This architecture is designed for real-time edge deployment, utilizing only past information (causality) and capturing long-range temporal dependencies through dilated kernels without excessive parameter growth.

Architecture of the Causal Time-Dilated CNN and its receptive field growth.

The model is pretrained using a triplet loss function on unlabeled data. By comparing a reference signal with a positive sample (a temporal subsequence) and multiple negative samples, the encoder learns to map signals into a robust feature space based on local temporal consistency.

Lightweight Personalization

Following global pretraining via Federated Averaging (FedAvg), the encoder weights are frozen. Each client then trains a simple Support Vector Machine (SVM) on a small local set of labeled data. This allows the model to adapt to specific local channel conditions and class imbalances without the risk of representation drift.

Experimental Evaluation

The framework was evaluated against standard supervised baselines to quantify performance gains in heterogeneous environments.

Baseline supervised model structure used for comparison.

Datasets

  • Custom Synthetic Dataset: Includes Rayleigh fading, phase offsets, and CFO, covering BPSK, QPSK, 8-PSK, and 16-QAM.
  • MIGOU Dataset: An over-the-air dataset with 11 modulation classes recorded at varying distances, providing realistic SNR levels.

Key Results

FedSSL-AMC demonstrates superior performance across several metrics:

  • Accuracy: On the synthetic dataset, FedSSL-AMC achieved 55.41% accuracy, significantly higher than the 41.61% of standard FedAvg-CNN.
  • Robustness to Skew: In highly imbalanced scenarios (MIGOU dataset, Dirichlet $\alpha=0.1$), FedSSL-AMC reached 82.59% accuracy, outperforming the best supervised baseline (67.17%).
  • Efficiency: The proposed encoder is highly efficient, utilizing only 0.247M parameters compared to the 1.78M parameters of the baseline model shown in the table above.

Conclusion

FedSSL-AMC provides a robust solution for wireless signal classification by leveraging the abundance of unlabeled data through self-supervision. By decoupling feature extraction from classification, the framework mitigates the impact of data heterogeneity and label scarcity, making it highly suitable for resource-constrained edge devices in dynamic wireless environments.

Summary updated

BibTeX
@misc{akram2025federated,
  author = {Usman Akram and Yiyue Chen and Haris Vikalo},
  title = {{Federated Self-Supervised Learning for Automatic Modulation Classification under Non-IID and Class-Imbalanced Data}},
  year = {2025},
  eprint = {2510.04927},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2510.04927},
}
Figure