Manuscript Offprint

arXiv:2610.35084

A JiT-Based Denoising Defense Method Against Adversarial Examples for Radio Signal Automatic Modulation Classification

Shiwei Liu, Linyuan Wang, Nuolin Sun, Libin Hou, Bin Yan

Abstract

Automatic modulation classification (AMC) of radio signals is a core technology for spectrum monitoring and electromagnetic situational awareness. Deep neural networks (DNNs) play an important role in this field owing to their powerful feature extraction capabilities and end-to-end learning paradigm. However, their vulnerability to adversarial attacks poses serious security challenges to practical deployment. Adversarial training, a common defense, has limitations including poor generalization across attack types and high training costs. Inspired by Just image Transformers (JiT), a diffusion generative model that directly predicts clean images, this paper proposes a JiT-based denoising defense against adversarial examples for radio signal modulation classification. During training, a signal-specific 1D Transformer denoising network is optimized via flow matching to directly predict clean signal samples. It thereby learns a mapping that projects arbitrary examples back onto the low-dimensional manifold of clean signal examples. During inference, arbitrary examples are fed into the trained network and directly projected onto this manifold. This enables denoising defense without prior knowledge of attacks. Experiments on the RML2018.01A dataset were conducted without attack information, using a single empirically selected, fixed denoising start time. Compared with PGD-based adversarial training, the proposed method achieves a relative improvement of at least 20.58% in robust accuracy under PGD attacks. It also achieves a relative improvement of 10.20% in classification accuracy on clean examples. When evaluated against attack types unseen during adversarial training, the proposed method provides stronger defense than adversarial training. In particular, at higher attack strengths, it achieves a relative improvement of at least 39.72% in robust accuracy.

Keywords: radio signals, modulation classification, defense against adversarial examples, flow matching, JiT denoising

1 Introduction

Automatic modulation classification (AMC) of radio signals is a core technology for spectrum monitoring and electromagnetic situational awareness [1, 2]. As intelligent information processing technologies become more widely applied in radio signal sensing, AMC plays an increasingly important role. In recent years, deep neural networks (DNNs) have achieved recognition accuracy on AMC tasks far exceeding that of traditional methods because of their powerful end-to-end feature extraction capabilities [3, 4, 5]. They have therefore become an important approach for intelligent radio signal processing. From the perspective of intelligent-system security, adversarial examples

∗^{*}Corresponding author.

pose a serious challenge to DNN robustness. By adding carefully designed and imperceptible small perturbations to input signals, an attacker can cause a classifier to output an incorrect modulation class with high confidence [6]. This vulnerability creates serious security threats in open radio spectrum environments. Attackers can interfere with the modulation classification of legitimate receivers by imposing adversarial perturbations on target signals. This can disrupt the normal operation of communication links or enable signal spoofing [7]. Therefore, research on defenses against adversarial examples for radio signal modulation classification is important for effectively countering the security threats caused by adversarial perturbations and ensuring communication security in complex electromagnetic environments.

In recent years, research on defenses against adversarial examples in signals has attracted increasing attention. For signal preprocessing defenses, Zhang et al. [8] proposed the Homomorphic Filtering Adversarial Defense (HFAD) method. It suppresses high-frequency perturbation components in signals and combines data augmentation to improve model robustness. Dong et al. [9] proposed using feature contribution analysis to identify sampling positions that have significant negative effects on classification decisions. The identified positions are then used for input-data purification. Hong et al. [10] proposed a reconstruction-based defense framework for automatic modulation recognition. The framework reconstructs input signals to recover the semantic features and physical consistency of clean examples, thereby improving recognition performance under adversarial attacks. Most such methods locally modify examples in the input space. Their explicit modeling of the overall distribution of clean signals is relatively limited. For research on data manifolds and latent spaces, Zhang et al. [11] proposed the Disentangled Information Bottleneck Adversarial Defense (DIBAD) method. Under an information bottleneck constraint, this method uses the Hilbert-Schmidt independence criterion to separate task-related features from perturbation-related redundant features. It thereby suppresses the propagation of adversarial perturbations at the latent representation level. Zhang et al. [12] proposed the Collaborative VQMAE method. It uses a vector-quantized masked autoencoder to represent and recover perturbed signals in the latent representation space, thereby improving adversarial robustness. Such methods generally rely on latent-space constraints, feature disentanglement, or encoding and decoding processes. Under strong attacks, their defense performance may decline because of incomplete feature disentanglement and error propagation through the reconstruction and quantization stages.

A comprehensive analysis of existing studies shows that adversarial training [13] remains a well-validated and widely used approach for signal adversarial defense. It is also an important baseline for performance comparisons in most related studies [14]. Bao et al. [15] proposed the Optimizing Adversarial Training via Genetic Algorithm (OATGA) method. This method introduces a genetic algorithm into the adversarial training process and improves the search for and optimization of adversarial examples during training, thereby enhancing the robustness of AMC models. Zhan et al. [16] used an attention-guided mechanism to suppress low-importance perturbation features. When combined with adversarial training, this mechanism achieved improved defense performance. However, as attack techniques continue to evolve, the limitations of adversarial training in improving model robustness have become increasingly evident. Its adaptability is limited. Most adversarial training methods provide effective defense against specific attack types encountered during training, but generalize poorly to attack types unseen by the network. Its training cost is also high. Generating adversarial examples for training is time-consuming and computationally expensive.

The generative diffusion model JiT [17] introduces the direct prediction of clean examples by diffusion models. This enables networks to effectively learn the low-dimensional manifold structure on which clean data lie in high-dimensional pixel spaces [18, 19, 20, 21]. This study considers adversarial examples to be noisy examples that deviate from the manifold of clean examples. If a denoising network can be trained to learn an effective mapping that projects arbitrary examples back onto the low-dimensional manifold of clean examples, adversarial examples can be directly projected onto this manifold to achieve efficient denoising defense. Based on this idea, this paper proposes an effective strategy for adversarial-example defense. As shown in Fig. 1, the denoising generation process of the JiT model is adopted. The network is trained through flow matching [22, 23] to directly learn and predict clean signals. It thereby learns a mapping that projects arbitrary examples back onto the low-dimensional manifold of clean examples. Based on the learned mapping, an arbitrary example is directly used as the starting point for denoising without injecting additional noise. The example is then projected onto the low-dimensional manifold on which clean examples lie. This achieves direct denoising defense. The main contributions of this work are as follows:

  1. We propose an effective denoising defense method against adversarial examples, inspired by the JiT denoising process. By predicting clean examples, the network learns a mapping that projects arbitrary examples back onto the low-dimensional manifold of clean examples. This enables denoising by projecting arbitrary examples onto the clean-example manifold, with the learned distribution of clean examples serving as the prior.

  2. We construct a one-dimensional Transformer denoising network, based on the characteristics of I/Q data in radio signals. The network is trained through flow matching to learn a mapping that projects arbitrary examples back onto the low-dimensional manifold of clean examples. Adversarial examples can be directly used as denoising starting points without injecting additional noise, enabling projection-based denoising.

  3. On the RML2018.01A dataset [24], the proposed “direct denoising” defense strategy empirically selects a fixed denoising start time without access to attack information. Compared with adversarial training based on PGD attacks, it achieves a relative improvement of at least 20.58% in robust accuracy under PGD attacks. It also achieves a relative improvement of 10.20% in clean-example recognition accuracy. For attack types unseen during adversarial training, the proposed method exhibits more pronounced defense advantages. In particular, at higher attack strengths, it achieves a relative improvement of at least 39.72% in robust accuracy.

References (29)