Manuscript Offprint
arXiv:2610.35084A JiT-Based Denoising Defense Method Against Adversarial Examples for Radio Signal Automatic Modulation Classification
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:
-
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.
-
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.
-
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.
2.1 Construction of the Signal Denoising Network
The JiT study [17] indicates that clean examples are not uniformly distributed in their high-dimensional ambient space, they are concentrated on a low-dimensional manifold embedded in that space. This paper assumes that radio modulation signal data in I/Q form exhibit low-dimensional manifold embedding characteristics similar to those of natural image data. If a network model can be trained to learn a mapping that projects arbitrary examples back onto the low-dimensional manifold of clean examples, this mapping enables denoising. Any example outside the manifold can then be projected back onto the clean-example manifold through this mapping. This projection-based defense concept is illustrated in Fig. 1.

Figure 1: Schematic illustration of the JiT denoising defense method.
We design a denoising network specifically tailored to the characteristics of signal data. Its detailed architecture is shown in Fig. 2. Inspired by the bottleneck embedding design in JiT [17], we develop a two-layer bottleneck convolutional embedding module (BottleneckPatchEmbed1D). This design helps the network better learn the mapping that projects arbitrary examples back onto the low-dimensional manifold of clean examples. For input I/Q signals with a shape of , a one-dimensional convolution with a patch length of 16 is first used for patch embedding. This represents each signal as 64 local segments and maps the feature dimension of each segment from 2 to 32. A subsequent convolution further increases the embedding dimension to 256, yielding a feature sequence. The data then pass through a six-layer 1D Transformer feature extraction network with a hidden dimension of 256. Eight-head self-attention is used to model correlations across segments. Finally, the 1024-dimensional signal data are reconstructed through a linear mapping
In this study, the denoising network is trained using the same flow matching method as the generative model JiT [17]. By predicting clean examples, the network learns a mapping that projects arbitrary examples back onto the low-dimensional manifold of clean examples. An arbitrary example outside the low-dimensional manifold is represented as a linear interpolation between a clean example and noise , .
When , lies on the low-dimensional manifold in which clean examples are embedded. When , gradually deviates from the low-dimensional manifold. During the projection of examples onto the low-dimensional manifold of clean examples, the change in over time is defined as the flow velocity, as follows:
Accordingly, the relationship between the clean signal and the target flow velocity is established.
When the network predicts the clean example , the corresponding flow velocity is expressed as follows:
This establishes the following mean squared error loss function for the flow velocity used to train the denoising network:
Learning and predicting clean examples can be achieved by minimizing the flow-velocity loss function . Here, denotes the flow velocity predicted by the network, denotes the target flow velocity, and denotes the network parameters. The detailed training procedure is presented in the algorithmic workflow in Table 1.

Figure 2: Structure of the signal denoising network.
Through the flow matching training process described above, clean signal examples x are provided as input. The network parameters are iteratively updated to minimize the loss function L, yielding a signal denoising network with a low-dimensional manifold prior. The network learns the low-dimensional manifold in which clean signals are embedded, enabling it to project arbitrary noisy inputs back onto the clean manifold.
Table 1: Training algorithm for the denoising network.
Input: Clean signal data x. Output: Parameters of the trained denoising network. Initialize and epoch = 1. While epoch 200: Sample a time t and Gaussian noise . Construct . Compute . Predict . Predict . Compute . Perform backpropagation and update the network parameters . epoch = epoch + 1. End Return .
2.2 Denoising Defense Against Adversarial Examples via JiT Projection
By definition, an adversarial example is obtained by adding a specific, small perturbation to a clean example , thereby deceiving the network into misclassifying it. In Eq. (5), denotes the parameters of the recognition network C, and denotes the incorrect target class that the model is intended to output. Minimizing the objective function aims to make the model output the target class with the smallest possible perturbation. The constraint ensures that each input component remains within the allowable range.
Regardless of the attack method used, every attack essentially involves solving for a perturbation . The computation of this perturbation depends on both the clean example and the target DNN, and the perturbation still exhibits certain noise-like properties. From this perspective, adversarial examples can be regarded as noisy examples, with adversarial perturbations constituting noise obtained by carefully solving optimization problem (5). Any denoising method that brings the denoised result closer to the clean example can therefore provide a degree of adversarial defense. However, blind denoising without prior information is often difficult and inefficient. Identifying a universal prior that is independent of the adversarial attack method is crucial for denoising defense.
From a manifold perspective, if a network learns a mapping that projects any example back onto the low-dimensional manifold of clean data, it can project off-manifold examples onto that manifold, thereby achieving effective denoising-based defense. Moreover, this defense strategy requires no prior information about the methods used to generate adversarial examples and can provide universal defense against various attack types.
Therefore, the training procedure in Section 2.1 yields a network that learns a mapping projecting arbitrary examples back onto the low-dimensional manifold of clean examples. An arbitrary signal example and a denoising start time are then fed into this network . As time progresses from to , the network gradually projects the input signal example back onto the corresponding point on the clean manifold. This produces a denoised clean example, with the detailed procedure presented in Table 2. This denoising process requires no prior knowledge of the specific attack type and offers effective defense across attack types. Experiments in this study demonstrate that substantial adversarial defense can be achieved through a simple procedure. An arbitrary signal and a denoising start time are directly fed into the trained denoising network, and the output denoised signal is classified. This study also presents experimental analysis and discussion of the selection of the denoising start time .
Table 2: Denoising procedure.
Input: Signal and start time .
Network: Trained net .
Procedure: Project the input onto the clean-signal manifold .
Output: Denoised clean signal .
3 Experiments
3.1 Experimental Setup
This study uses the subset of the RML2018.01A dataset with a signal-to-noise ratio (SNR) of 10 dB. The subset covers 24 modulation types: OOK, 4ASK, 8ASK, BPSK, QPSK, 8PSK, 16PSK, 32PSK, 16APSK, 32APSK, 64APSK, 128APSK, 16QAM, 32QAM, 64QAM, 128QAM, 256QAM, AM-SSB-WC, AM-SSB-SC, AM-DSB-WC, AM-DSB-SC, FM, GMSK, and OQPSK. The examples are I/Q signals with a shape of .

Figure 3: Architecture of the ResNet-1D classifier.
The classifier is a ResNet comprising six residual blocks [25], with its architecture shown in Fig.
- To accommodate the one-dimensional nature of signal data, each residual block contains a convolution for channel mapping, two residual connections, and max pooling with a stride of 2. Each residual connection contains two convolution layers with batch normalization (BN) and ReLU. The network has two input channels, and all hidden layers have 32 channels. Max pooling reduces the sequence length from 1024 to 16. Global pooling is followed by a fully connected layer that produces a 24-class output.
Adversarial training is used as a defense baseline by fine-tuning the original classifier with adversarial examples generated using PGD ( , an constraint, a step size of , and 10 iterations). The attack methods and strengths used for testing are listed in Table 3. The remaining parameters are set as follows. PGD and BIM [26] use a step size of and 10 iterations. MIM [27] introduces a momentum term into BIM, with a decay factor of . It accumulates past gradient directions to enhance perturbation transferability. AutoAttack [28] comprises four complementary attack strategies, APGD-CE, APGD-DLR, FAB, and Square, and uses 10 iterations. The overshoot parameter of DeepFool [29] is fixed at 0.0001. For the C&W attack [30], the optimizer learning rate is 0.01, the confidence parameter is 0.5, and the initial trade-off constant is 0.01. NES [31] uses a population size of 30 and 50 optimization steps.
This study uses clean accuracy and adversarial robust accuracy to evaluate the performance of defense methods on adversarial examples generated by various attacks. All experiments are conducted on a workstation equipped with an Intel Xeon Silver 4210 processor and an NVIDIA RTX 3090 GPU, running Windows 10. The experimental code is written in Python 3.9.2 and implemented using PyTorch 2.8.0. GPU acceleration is enabled using a PyTorch build with CUDA 12.6 support.
3.2 Defense Performance at Different Denoising Start Times
In the JiT model, represents pure noise, whereas represents a clean example. Denoising proceeds from to . Adversarial examples already lie near the clean manifold. They can therefore be projected onto the clean manifold from a relatively high denoising start time , without starting from pure noise. The can characterize the noise magnitude in adversarial examples. A larger indicates that an adversarial example is closer to a clean example. Experiments show that an excessively high start time leads to incomplete removal of adversarial noise, reducing adversarial robust accuracy. If the start time is excessively low, excessive removal of adversarial noise damages clean examples and also reduces adversarial robust accuracy. Tests using different attack methods and strengths were conducted on the subset of the RML2018.01A dataset with an SNR of 10 dB. The denoising results at different denoising start times are presented in Table 3.
Table 3 shows that, for gradient-based attacks (PGD/MIM/BIM), clean-example accuracy increases monotonically as increases. Adversarial robust accuracy, however, first increases and then decreases. Within a given attack type, a higher attack strength corresponds to a smaller optimal value of . This reveals the trade-off between denoising strength and signal fidelity in JiT denoising defense. Smaller values of provide stronger denoising but damage clean signals. Larger values preserve more details of clean signals but cannot sufficiently remove strong perturbations. MIM presents a notable exception. It generates highly transferable perturbations by accumulating gradient directions through momentum. The distribution of these perturbations poses a greater challenge to denoising defense. Across various attack strengths, defense performance against MIM is consistently lower than that against BIM and PGD at the same strength. For the optimization-based attacks DeepFool and C&W and the black-box attack NES, defense performance improves monotonically as increases. This indicates that the perturbations generated by these three attacks are relatively concentrated and lie close to the clean manifold. Defense performance is best near and still tends to improve as increases.
3.3 Comparison with Adversarial Training
When the attack type and strength are known, the optimal can be selected accordingly to further improve defense performance. However, in practical defense scenarios, attack methods and strengths are often diverse, variable, and unpredictable. Consequently, a fixed denoising start time can only be selected empirically. Considering both clean accuracy and adversarial robust accuracy, this study compares denoising defense at with adversarial training under the same attacks. The comparison shows that the proposed denoising defense method provides relatively stable defense performance as attack strength varies. Its defense advantage becomes more pronounced as attack strength increases.
Fig. 4 shows that, compared with PGD-based adversarial training, the JiT denoising model achieves relative improvements in both adversarial robust accuracy and clean-example classification accuracy. The relative improvement in adversarial robust accuracy is at least 20.58% under PGD attacks at various strengths. The relative improvement in clean-example classification accuracy is 10.20%. Fig. 5 clearly shows that adversarial training generalizes poorly to unseen attacks. The adversarial training method used in this study is trained on adversarial examples generated by PGD. Across various attack strengths, the proposed method achieves relative improvements in adversarial robust accuracy of at least 21.80%, 4.09%, and 42.91% against BIM, MIM, and AutoAttack, respectively. For optimization-based attacks, the proposed method exhibits an even more pronounced advantage over adversarial training in its ability to defend against attacks unseen by the network. Under DeepFool attacks at various strengths, it achieves a relative improvement of at least 31.53% in adversarial robust accuracy. Under the stronger attack setting steps = 5, the adversarial robust accuracy of adversarial training drops to 30.16%, whereas the proposed method maintains an adversarial robust accuracy of 60.12%. Under C&W attacks at various strengths, the proposed method achieves a relative improvement of at least 30.07% in adversarial robust accuracy. Under the stronger attack setting of max iterations=9, the adversarial robust accuracy of adversarial training drops to 32.12%. The proposed method still maintains an adversarial robust accuracy of 61.25%. For the NES black-box attack, the proposed method achieves a relative improvement of at least 29.48% in adversarial robust accuracy over adversarial training across different attack strengths. This confirms its effective defense capability in black-box attack scenarios.
The fundamental reason for these observations is that adversarial training is performed using PGD under an constraint. The robustness learned by the network primarily addresses the threat model predefined during training. When the attack method changes to DeepFool, C&W, or NES, the network's adversarial robustness decreases markedly. These attacks differ from those used in adversarial training in their perturbation constraints, optimization objectives, and methods of obtaining attack information. In sharp contrast, JiT denoising defense does not rely on assumptions about attack types. It directly learns a mapping that projects arbitrary examples back onto the low-dimensional manifold of clean examples. Through manifold projection, it eliminates deviations caused by any type of perturbation, giving JiT denoising an inherent ability to defend across attack types. In adapting to unknown attacks, JiT denoising exhibits markedly better defense performance than adversarial training.
For AMC tasks in complex electromagnetic environments, adversarial defense networks with low training costs are easier to deploy and can reduce reliance on high-performance hardware. This study measures training cost in GPU hours (GPU·h). Table 4 compares the training costs of JiT denoising network training and adversarial training.
Table 3: Adversarial robust accuracy (%) of denoising defense at different denoising start times.
| Attack | Strength | 0.700 | 0.725 | 0.750 | 0.775 | 0.800 | 0.825 | 0.850 | 0.875 | 0.900 |
|---|---|---|---|---|---|---|---|---|---|---|
| Clean | - | 37.69 | 40.39 | 43.62 | 48.76 | 53.50 | 61.93 | 70.00 | 76.53 | 80.39 |
| PGD | ε=0.100 | 38.97 | 40.77 | 42.93 | 43.50 | 44.97 | 44.30 | 42.30 | 40.80 | 37.89 |
| ε=0.125 | 38.10 | 40.37 | 42.50 | 43.10 | 43.97 | 43.07 | 40.80 | 40.10 | 37.20 | |
| ε=0.150 | 37.47 | 40.17 | 41.57 | 42.03 | 41.33 | 41.10 | 39.83 | 39.40 | 37.07 | |
| ε=0.175 | 37.40 | 39.90 | 40.13 | 40.93 | 39.77 | 38.93 | 38.87 | 38.60 | 35.87 | |
| ε=0.200 | 36.70 | 38.36 | 39.80 | 39.50 | 38.63 | 37.63 | 37.10 | 36.13 | 34.07 | |
| BIM | ε=0.100 | 40.03 | 41.57 | 43.20 | 44.33 | 44.67 | 43.93 | 40.27 | 37.30 | 34.47 |
| ε=0.125 | 39.43 | 41.30 | 42.97 | 43.37 | 43.73 | 41.24 | 38.57 | 35.27 | 32.93 | |
| ε=0.150 | 38.97 | 40.17 | 41.77 | 41.30 | 40.30 | 39.17 | 37.27 | 35.05 | 29.00 | |
| ε=0.175 | 38.30 | 40.10 | 40.50 | 40.03 | 39.20 | 38.87 | 36.37 | 34.80 | 27.87 | |
| ε=0.200 | 37.47 | 39.83 | 39.23 | 39.00 | 38.73 | 37.63 | 35.40 | 33.70 | 24.70 | |
| MIM | ε=0.100 | 39.40 | 40.80 | 41.67 | 40.53 | 39.23 | 37.60 | 34.60 | 32.88 | 29.50 |
| ε=0.125 | 39.23 | 39.73 | 39.93 | 38.07 | 37.27 | 36.13 | 33.37 | 31.47 | 27.43 | |
| ε=0.150 | 38.33 | 38.67 | 37.50 | 37.10 | 36.87 | 35.77 | 32.40 | 30.63 | 22.97 | |
| ε=0.175 | 36.17 | 36.87 | 36.43 | 35.27 | 34.27 | 33.20 | 31.00 | 27.23 | 20.43 | |
| ε=0.200 | 28.83 | 28.87 | 26.90 | 26.40 | 25.77 | 24.30 | 22.83 | 21.67 | 19.17 | |
| AutoAttack | ε=0.100 | 32.33 | 34.37 | 36.27 | 40.27 | 41.00 | 44.77 | 46.73 | 48.57 | 49.30 |
| ε=0.125 | 32.00 | 33.97 | 36.03 | 40.10 | 40.40 | 44.27 | 45.23 | 48.23 | 48.57 | |
| ε=0.150 | 31.70 | 33.20 | 35.90 | 39.80 | 40.23 | 42.60 | 43.40 | 47.97 | 47.47 | |
| ε=0.175 | 29.23 | 30.10 | 32.00 | 34.67 | 36.28 | 38.40 | 40.27 | 44.27 | 43.47 | |
| ε=0.200 | 27.17 | 28.43 | 30.23 | 32.90 | 34.67 | 35.57 | 37.83 | 39.20 | 37.43 | |
| DeepFool | steps=1 | 37.85 | 39.25 | 43.56 | 48.98 | 52.85 | 59.72 | 62.20 | 67.98 | 73.95 |
| steps=2 | 36.75 | 39.00 | 43.04 | 47.90 | 51.75 | 57.58 | 61.92 | 67.68 | 73.71 | |
| steps=3 | 35.92 | 38.58 | 42.83 | 47.71 | 51.46 | 56.00 | 61.12 | 67.38 | 72.50 | |
| steps=4 | 34.50 | 37.75 | 41.79 | 46.88 | 50.62 | 55.17 | 60.71 | 66.75 | 72.08 | |
| steps=5 | 34.22 | 37.58 | 41.42 | 46.50 | 50.46 | 55.00 | 60.12 | 66.58 | 71.50 | |
| C&W | iter.=1 | 37.90 | 40.63 | 42.17 | 48.83 | 50.03 | 56.77 | 63.67 | 67.47 | 72.37 |
| iter.=3 | 37.83 | 40.50 | 42.03 | 47.77 | 49.17 | 55.87 | 63.00 | 66.77 | 71.77 | |
| iter.=5 | 36.80 | 39.73 | 41.17 | 47.00 | 48.47 | 54.00 | 62.83 | 66.03 | 71.13 | |
| iter.=7 | 36.30 | 39.47 | 40.57 | 46.13 | 47.67 | 53.50 | 61.77 | 65.70 | 70.97 | |
| iter.=9 | 36.33 | 39.00 | 40.25 | 45.17 | 46.67 | 53.02 | 61.25 | 65.22 | 70.67 | |
| NES | ε=5 | 37.97 | 40.03 | 42.93 | 46.43 | 51.70 | 59.23 | 66.23 | 72.43 | 78.20 |
| ε=10 | 37.63 | 39.67 | 42.56 | 45.18 | 50.87 | 57.81 | 61.25 | 67.83 | 69.08 | |
| ε=15 | 36.87 | 38.43 | 41.53 | 44.44 | 47.45 | 49.33 | 52.30 | 55.43 | 57.20 | |
| ε=20 | 36.17 | 37.83 | 40.50 | 42.17 | 44.23 | 45.83 | 46.42 | 48.83 | 52.08 | |
| ε=25 | 35.25 | 37.17 | 38.42 | 39.67 | 41.92 | 42.75 | 43.00 | 47.42 | 45.83 |
As shown in Table 4, the slow generation of adversarial examples results in a total training cost of 14.68 GPU·h for adversarial training. In comparison, the JiT denoising network is trained on clean examples. Its total training time is only 1.21 GPU·h, approximately 8.24% of that required for adversarial training.
Table 4: Comparison of training costs for JiT denoising network training and adversarial training.
| Training method | Total training epochs | GPU·h |
|---|---|---|
| JiT denoising network training | 200 | 1.21 |
| Adversarial training | 200 | 14.68 |
4 Conclusion
To address adversarial threats to automatic modulation classification of radio signals, this paper proposes an effective denoising defense method against adversarial examples. The proposed method

Figure 4: Comparison of defense accuracy (%) between JiT denoising ( ) and adversarial training under PGD attacks.

(a) BIM attacks

(b) MIM attacks

(c) AutoAttack attacks

(d) DeepFool attacks

(e) C&W attacks

(f) NES attacks
Adversarial training Proposed method
Figure 5: Comparison of defense accuracy (%) between JiT denoising ( ) and adversarial training under other attacks.
is motivated by the assumption that adversarial examples are perturbed signals lying off the low-dimensional manifold of clean signals. By learning a mapping that projects arbitrary examples back onto the low-dimensional manifold of clean examples, the network enables prior-guided projection denoising onto this manifold. A 1D Transformer denoising network tailored to signal data is designed according to the characteristics of one-dimensional radio signal I/Q data. It is trained on clean signal examples using flow matching. The resulting denoising network learns a mapping that projects arbitrary examples back onto the low-dimensional manifold of clean-example data. On this basis, arbitrary examples are fed into the trained network and directly projected onto the low-dimensional manifold of clean examples for denoising. Experiments on the RML2018.01A dataset evaluate the proposed defense method using a single empirically selected, fixed denoising start time. Compared with PGD-based adversarial training, the method achieves a relative improvement of at least 20.58% in adversarial robust accuracy under PGD attacks at various strengths. 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 adversarial robust accuracy. The method does not depend on any specific attack method and performs “direct denoising” using adversarial examples as denoising starting points. It demonstrates the advantages of low training costs, straightforward implementation, and strong defense capabilities across attack types.
References
[1] O'SHEA T J, WEST N. Radio Machine Learning Dataset Generation with GNU Radio[C]. Proceedings of the 6th GNU Radio Conference (GRCon), Boulder, United States, 2016, 1(1): 1-6.
[2] O'SHEA T J, ROY T, CLANCY T C. Over-the-Air Deep Learning Based Radio Signal Classification[J]. IEEE Journal of Selected Topics in Signal Processing, 2018, 12(1): 168-179. doi: 10.1109/JSTSP.2018.2797022.
[3] O'SHEA T J, CORGAN J, CLANCY T C. Convolutional Radio Modulation Recognition Networks[C]. Engineering Applications of Neural Networks, Aberdeen, United Kingdom, 2016, 629: 213-226. doi: 10.1007/978-3-319-44188-7_16.
[4] MENG Yongchao, QI Peihan, ZHENG Shilian, et al. Adversarial Attack and Reliable Defense Based on Frequency Domain Feature Enhancement for Automatic Modulation Classification[J]. IEEE Transactions on Information Forensics and Security, 2025, 20: 3731-3744. doi: 10.1109/TIFS.2025.3553806.
[5] GOODFELLOW I J, SHLENS J, SZEGEDY C. Explaining and Harnessing Adversarial Examples[C/OL]. 3rd International Conference on Learning Representations (ICLR), San Diego, United States, 2015: 1-11. Available: arXiv:1412.6572.
[6] HAN Chao, QIN Ruoxi, WANG Linyuan, et al. Adversarial Example Detection and Restoration Defensive Framework for Signal Intelligent Recognition Networks[J]. Applied Sciences, 2023, 13(21): 11880. doi: 10.3390/app132111880.
[7] ADESINA D, HSIEH C C, SAGDUYU Y E, et al. Adversarial Machine Learning in Wireless Communications Using RF Data: A Review[J]. IEEE Communications Surveys & Tutorials, 2023, 25(1): 77-100. doi: 10.1109/COMST.2022.3205184.
[8] ZHANG Sicheng, LIN Yun, YU Jiarun, et al. HFAD: Homomorphic Filtering Adversarial Defense Against Adversarial Attacks in Automatic Modulation Classification[J]. IEEE Transactions on Cognitive Communications and Networking, 2024, 10(3): 880-892. doi: 10.1109/TCCN.2024.3360514.
[9] DONG Peihao, WANG Jingchun, GAO Shen, et al. Explainable Deep-Learning-Based Adversarial Defense for Automatic Modulation Classification[J]. IEEE Internet of Things Journal, 2025, 12(20): 42418-42429. doi: 10.1109/JIOT.2025.3593034.
[10] HONG Zhen, SONG Chenyang, WAN Jinhao, et al. A Reconstruction-Based Defense Framework for Automatic Modulation Recognition[J]. IEEE Communications Letters, 2026, 30: 937-941. doi: 10.1109/LCOMM.2026.3653978.
[11] ZHANG Sicheng, YANG Yandie, ZHOU Ziyao, et al. DIBAD: A Disentangled Information Bottleneck Adversarial Defense Method Using Hilbert-Schmidt Independence Criterion for Spectrum Security[J]. IEEE Transactions on Information Forensics and Security, 2024, 19: 3879-3891. doi: 10.1109/TIFS.2024.3372798.
[12] ZHANG Shilong, SONG Yu, WANG Shubin. Collaborative VQMAE: Defense Against Adversarial Attacks in Automatic Modulation Recognition[C]. IEEE International Conference on Communications (ICC), Montreal, Canada, 2025: 434-439. doi: 10.1109/ICC52391.2025.11161671.
[13] MADRY A, MAKELOV A, SCHMIDT L, et al. Towards Deep Learning Models Resistant to Adversarial Attacks[C/OL]. 6th International Conference on Learning Representations (ICLR), Vancouver, Canada, 2018. Available: https://openreview.net/forum?id=rJzIBfZAb.
[14] BAI Tao, LUO Jinqi, ZHAO Jun, et al. Recent Advances in Adversarial Training for Adversarial Robustness[C/OL]. Proceedings of the Thirtieth International Joint Conference on Artificial Intelligence, 2021: 4312-4321. doi: 10.24963/ijcai.2021/591.
[15] BAO Zhida, HE Jiawei, ZHANG Quanjun, et al. OATGA: Optimizing Adversarial Training via Genetic Algorithm for Automatic Modulation Classification[C]. GLOBECOM 2023 - 2023 IEEE Global Communications Conference, Kuala Lumpur, Malaysia, 2023: 6073-6078. doi: 10.1109/GLOBECOM54140.2023.10437810.
[16] ZHAN Quanhai, ZHANG Xiongwei, SUN Meng, et al. Adversarial Robust Modulation Recognition Guided by Attention Mechanisms[J]. IEEE Open Journal of Signal Processing, 2025, 6: 1-13. doi: 10.1109/OJSP.2025.3526577.
[17] LI Tianhong, HE Kaiming. Back to Basics: Let Denoising Generative Models Denoise[R/OL]. arXiv preprint arXiv:2511.13720, 2025. doi: 10.48550/arXiv.2511.13720.
[18] TELEA A, MACHADO A, WANG Yu. Seeing is Learning in High Dimensions: The Synergy Between Dimensionality Reduction and Machine Learning[J]. SN Computer Science, 2024, 5: 279. doi: 10.1007/s42979-024-02604-y.
[19] PENG Dehua, GUI Zhipeng, WEI Wenzhang, et al. Sampling-Enabled Scalable Manifold Learning Unveils the Discriminative Cluster Structure of High-Dimensional Data[J]. Nature Machine Intelligence, 2025, 7: 1669-1684. doi: 10.1038/s42256-025-01112-9.
[20] LABATE D, SHI Ji. Low Dimensional Approximation and Generalization of Multivariate Functions on Smooth Manifolds Using Deep ReLU Neural Networks[J]. Neural Networks, 2024, 174: 106223. doi: 10.1016/j.neunet.2024.106223.
[21] MAO Jialin, GRINIASTY I, TEOH H K, et al. The Training Process of Many Deep Networks Explores the Same Low-Dimensional Manifold[J]. Proceedings of the National Academy of Sciences of the United States of America, 2024, 121(12): e2310002121. doi: 10.1073/pnas.2310002121.
[22] LIPMAN Y, CHEN R T Q, BEN-HAMU H, et al. Flow Matching for Generative Modeling[C/OL]. 11th International Conference on Learning Representations (ICLR), Kigali, Rwanda, 2023. Available: https://openreview.net/forum?id=PqvMRDCJT9t. Accessed 2026-05-19.
[23] LIU Xingchao, GONG Chengyue, LIU Qiang. Flow Straight and Fast: Learning to Generate and Transfer Data with Rectified Flow[C/OL]. 11th International Conference on Learning Representations (ICLR), Kigali, Rwanda, 2023. Available: https://openreview.net/forum?id=XVjTT1nw5z.
[24] DEEPSIG INC. RADIOML 2018.01A[DB/OL]. DeepSig, 2018. Available online: https://www.deepsig.ai/datasets/.
[25] GUO Yuqi. Research on Adversarial Example Generation Methods for Neural Networks for Wireless Signal Modulation Recognition[D]. [Master's thesis]. Information Engineering University, 2023.
[26] KURAKIN A, GOODFELLOW I J, BENGIO S. Adversarial Examples in the Physical World[C/OL]. 5th International Conference on Learning Representations Workshop (ICLR Workshop), Toulon, France, 2017. Available: https://openreview.net/forum?id=HJGU3Rod1.
[27] DONG Yinpeng, LIAO Fangzhou, PANG Tianyu, et al. Boosting Adversarial Attacks with Momentum[C]. 2018 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), Salt Lake City, United States, 2018: 9185-9193. doi: 10.1109/CVPR.2018.00957.
[28] CROCE F, HEIN M. Reliable Evaluation of Adversarial Robustness with an Ensemble of Diverse Parameter-Free Attacks[C/OL]. Proceedings of the 37th International Conference on Machine Learning (ICML), 2020, 119: 2206-2216. Available: https://proceedings.mlr.press/v119/croce20b.html.
[29] MOOSAVI-DEZFOOLI S M, FAWZI A, FROSSARD P. DeepFool: A Simple and Accurate Method to Fool Deep Neural Networks[C]. 2016 IEEE Conference on Computer Vision and Pattern Recognition (CVPR), Las Vegas, United States, 2016: 2574-2582. doi: 10.1109/CVPR.2016.282.
[30] CARLINI N, WAGNER D. Towards Evaluating the Robustness of Neural Networks[C]. 2017 IEEE Symposium on Security and Privacy (SP), San Jose, United States, 2017: 39-57. doi: 10.1109/SP.2017.49.
[31] WIERSTRA D, SCHAUL T, PETERS J, et al. Natural Evolution Strategies[C]. Proceedings of the 2008 IEEE Congress on Evolutionary Computation, Hong Kong, China, 2008: 3381-3387. doi: 10.1109/CEC.2008.4631255.