Supervised Contrastive Learning for Uncertainty-Aware Wireless Signal Analysis: A Case Study for Modulation Classification

View at publisher
Authors: Han Zhang, Mohammad Farzanullah, Akram S. Bin Sediq, Ali Afana, Melike Erol‐Kantarci
Cited by: 1
References: 26

Abstract

Artificial intelligence (AI), and more specifically deep learning techniques, have demonstrated strong capabilities in processing wireless signals, enabling automatic modulation classification (AMC). However, existing AI-based AMC methods often produce unreliable predictions and lack robustness to out-of-distribution (OOD) inputs, which limits their deployment in real-world scenarios. This study aims to address the gap in simulations to real deployments by fitting predictions to OOD scenarios. We propose an uncertainty-aware AMC framework based on supervised contrastive learning (SupCon). The proposed framework aims to enhance classification reliability, particularly under OOD conditions. In this framework, a ResNet-based representation learning model that consists of a feature extractor and a projection head is first trained using a combination of SupCon loss and cross-entropy (CE) loss to produce class-discriminative embeddings. By decoupling the shared representation learning model from task-specific classifiers, the framework enables a modular and computationally efficient uncertainty estimation strategy, avoiding redundant computation during inference. The learned embeddings are then processed by a set of class-wise binary classifiers that provide both classification and sample-wise uncertainty estimates. A rejection mechanism is incorporated to improve decision reliability by discarding uncertain predictions. We evaluate the proposed framework on the RadioML 2018 dataset. Experimental results show that our approach significantly improves representation quality and classification reliability compared to conventional supervised learning. Specifically, the classification accuracy increases from 63.7% to 93.6% under in-distribution conditions, and from 30.8% to 92.5% under 50% OOD contamination, while maintaining over 85% recall on accepted predictions.

Fields of Study & Subjects

Wireless Signal Modulation Classification Machine Fault Diagnosis Techniques Speech Recognition and Synthesis

Publication details

Journal / source
IEEE Transactions on Communications
Publisher
Institute of Electrical and Electronics Engineers (IEEE)
Volume
74
Pages
7227–7240
Publication date
1 January 2026