An Anti-Swept-Frequency-Jamming Communication Method Based on Proximal Policy Optimization for Nonlinear Scenarios
Abstract
1. Introduction
- Linear swept-frequency jamming: The frequency of the jamming signal changes linearly with time (either increasing or decreasing). This is the most basic form—mathematically simple and easy to generate—but its regularity also makes it relatively easy to predict and track. Its primary function is to sweep over a wide frequency band and suppress communication across multiple channels within that band.
- Nonlinear swept-frequency jamming: The frequency variation of the jamming signal follows a nonlinear function, such as a sinusoidal, exponential, or random pattern. This jamming mode is complex and difficult to capture with simple models. It significantly complicates parameter estimation and prediction for wireless communication systems, and can effectively counter traditional anti-jamming algorithms based on fixed models.
- Different from existing PPO-based anti-jamming works that address linear or fixed-rate swept-frequency jamming, this paper specifically targets nonlinear swept-frequency jamming scenarios where the frequency variation follows a nonlinear function and the sweeping rate and direction vary dynamically over time.
- By formalizing the anti-jamming channel selection problem as a sequential decision-making problem, a communication adversarial MDP model is constructed, and a composite state space representation method integrating historical time–frequency trajectories is proposed. This enables the agent to learn the motion patterns of the jamming signal and achieve proactive channel selection.
2. System Model and Problem Formulation
2.1. System Model
- The frequency band is divided into non-overlapping channels, denoted by , each with a bandwidth of . The system operates in a time-slotted manner, with each slot of duration serving as the minimum time unit for continuous signal transmission. In each time slot, the transmitter selects one channel for data transmission, with fixed transmission power and data rate .
- The jammer employs a nonlinear swept-frequency jamming strategy, in which the center frequency of the jamming signal varies dynamically over time. The frequency-sweeping trajectory can be modeled as a continuous-time process, and the instantaneous jamming channel, denoted by , can be expressed as:
- 3.
- The system makes decisions at each discrete time slot. At the beginning of time slot , the receiver senses the current jamming state. Based on the sensing information, the intelligent anti-jamming algorithm generates a channel selection action in real-time. The transmitter and receiver then synchronously switch to the selected channel for data transmission during that time slot. At the end of the time slot, the system calculates a reward based on the communication outcome and updates the network parameters.
- 4.
- Communication success depends on the frequency distance between the selected communication channel and the jamming channel. The normalized distance between them is defined as:
- 5.
- The receiver’s spectrum sensing is subject to errors. Let the false alarm probability denote the probability of sensing interference when the channel is actually free, and let the missed detection probability denote the probability of failing to sense interference when the channel is actually jammed. The relationship between the sensed jamming channel and the true jamming channel at time slot is given by:
2.2. Problem Formulation
- State : Define the environmental state at time slot as the combination of average received powers on channels at the receiver at time slot , represented as:
- 2.
- Action : The transmission action decided by the receiver at time slot consists of the selected communication channel. That is, the system dynamically selects a communication channel to avoid the jamming signal. To simplify algorithm verification, both the transmission power and the data rate are set to fixed values in the current implementation. The action is defined as:
- 3.
- Reward : The reward function calculates the reward obtained by taking a transmission action in a given environment state. Since the action is executed during time slot and its outcome is only observed at the end of the time slot, the reward computation exhibits a delayed feedback characteristic:
- 4.
- Objective: The system aims to find the optimal transmission policy . Starting from any state at time slot , after selecting action , the system begins to execute this optimal policy. This policy maximizes the expected cumulative discounted reward starting from any initial state. This can be expressed using the optimal Q-function as follows:
3. PPO-Based Anti-Swept-Frequency-Jamming Algorithm
3.1. Basic Idea of the PPO Algorithm
- Let the policy network parameters be , and the state-value function be , which represents the value network parameters . Under the standard reinforcement learning framework, the policy optimization objective is to maximize the expected cumulative discounted return:
- 2.
- This paper uses the generalized advantage estimation (GAE) method to estimate the advantage function:
- 3.
- During the training process, the policy network outputs the probability distribution over channels based on the current state :
- 4.
- The proposed PPO algorithm in this paper adopts an online sample-by-sample update approach (i.e., network parameters are updated immediately after each experience sample is collected). Both the policy network and the value network have a two-layer fully-connected architecture (with 128 neurons in the hidden layer). The time complexity of a single forward pass is , where is the state dimension ( in this paper) and is the action dimension. The time complexity of a single backward pass is of the same order as the forward pass. Each update consists of epochs; therefore, the total computational cost per update step is constant time. The entire training process consists of steps, and the total time complexity is , which grows linearly with the number of training steps. This belongs to polynomial time complexity and satisfies the requirements of online learning.
3.2. Detailed Steps of the PPO-Based Anti-Swept-Frequency-Jamming Algorithm
- The state is fed into the current policy network to obtain the action probability distribution . The probability assigned to the selected action is extracted, and the current log-probability is computed according to Equation (18).
- The probability ratio between the new and old policies is calculated as:
| Algorithm 1. PPO-Based Intelligent Anti-Jamming Communication Algorithm |
| 1: Initialization: Input Environment state ; Output Optimized policy network parameters . |
| 2: for to do |
| 3: Reset the environment, and obtain the initial state according to Equation (5); |
| 4: for do |
| 5: Select action in Equation (15); |
| 6: Execute ; |
| 7: Store the experience tuple in the rollout buff; |
| 8: end for |
| 9: for down to 0 do |
| 10: Compute the discounted cumulative return using Equation (16); |
| 11: Compute the advantage function using Equation (17); |
| 12: end for |
| 13: for to 5 do |
| 14: Sample a mini-batch from the rollout buffer; |
| 15: Compute the policy loss using Equation (20); |
| 16: Compute the value loss using Equation (21); |
| 17: Update the policy network: ; |
| 18: Update the value network: ; |
| 19: end for |
| 20: Update the old policy network: ; |
| 21: end for |
| 22: return the trained policy network parameters ; |
| 23: end for |
4. Simulation Results and Analysis
4.1. Simulation Setup
4.2. Simulation Analysis
5. Conclusions
Author Contributions
Funding
Data Availability Statement
Conflicts of Interest
References
- Tusha, A.; Arslan, H. Interference Burden in Wireless Communications: A Comprehensive Survey from PHY Layer Perspective. IEEE Commun. Surv. Tutorials. 2025, 27, 2204–2246. [Google Scholar] [CrossRef]
- Torrieri, D. Principles of Spread Spectrum Communication Systems, 5th ed.; Springer International Publishing: Cham, Switzerland, 2022; pp. 151–203. [Google Scholar]
- Wang, X.; Wang, J.; Xu, Y.; Chen, J.; Jia, L.; Liu, X. Dynamic Spectrum Anti-Jamming Communications: Challenges and Opportunities. IEEE Commun. Mag. 2020, 58, 79–85. [Google Scholar] [CrossRef]
- Liu, X.; Shi, M.; Wang, M. Intelligent Frequency Decision Communication with Two-Agent Deep Reinforcement Learning. Electronics 2023, 12, 4529. [Google Scholar] [CrossRef]
- Qi, J.; Zhang, H.; Qi, X.; Peng, M. Deep Reinforcement Learning Based Hopping Strategy for Wideband Anti-Jamming Wireless Communications. IEEE Trans. Veh. Technol. 2023, 73, 2131–2144. [Google Scholar] [CrossRef]
- Zhou, Q.; Niu, Y.; Xiang, P.; Li, Y. Intra-domain knowledge reuse assisted reinforcement learning for fast anti-jamming communication. IEEE Trans. Inf. Forensics Secur. 2023, 18, 4707–4720. [Google Scholar] [CrossRef]
- Zhu, X.; Huang, Y.; Wang, S.; Wu, Q.; Ge, X.; Liu, Y. Dynamic spectrum anti-jamming with reinforcement learning based on value function approximation. IEEE Wirel. Commun. Lett. 2023, 12, 386–390. [Google Scholar] [CrossRef]
- Liu, X.; Wang, X.; Xu, Y.; Du, Z.; Xu, Y.; Han, H. Lightweight reinforcement learning with state abstraction for dynamic spectrum anti-jamming communications. In Proceedings of the 2024 IEEE Wireless Communications and Networking Conference (WCNC), Dubai, United Arab Emirates, 21–24 April 2024. [Google Scholar] [CrossRef]
- Ke, Z.; Wang, X.; Du, Z.; Xiong, T.; Xu, Y.; Chen, J. Intelligent frequency reuse for dynamic spectrum anti-jamming: A hybrid-reward-based multi-agent deep reinforcement learning approach. IEEE Wirel. Commun. Lett. 2025, 14, 771–775. [Google Scholar] [CrossRef]
- Janjar, S.B.; Wang, P. Intelligent anti-jamming based on deep reinforcement learning and transfer learning. IEEE Trans. Veh. Technol. 2024, 73, 8825–8834. [Google Scholar] [CrossRef]
- Abdolkhani, N.; Hamouda, W. Hierarchical Deep Reinforcement Learning for Robust Access in Cognitive IoT Networks under Smart Jamming Attacks. In Proceedings of the IEEE Global Communications Conference (GlobeCom), Taipei, Taiwan, 7–11 December 2025. [Google Scholar] [CrossRef]
- Xiong, X.; Hu, S.; Yan, T.; Xing, Z.; Ma, T.; Yin, K.; Wang, J.; Wei, X. Intelligent Jamming Decision-Making System Based on Reinforcement Learning. Comput. Electr. Eng. 2025, 125, 110288. [Google Scholar] [CrossRef]
- Liu, X.; Xu, Y.; Jia, L.; Wu, Q.; Anpalagan, A. Anti-Jamming Communications Using Spectrum Waterfall: A Deep Reinforcement Learning Approach. IEEE Commun. Lett. 2018, 22, 998–1001. [Google Scholar] [CrossRef]
- Chen, X.; Ding, H.; Ma, Y.; Li, X.; An, J.; Fang, Y. A Dual-Tier Policy-Oriented Anti-Jamming Scheme Based on Deep Reinforcement Learning. IEEE Trans. Wirel. Commun. 2026, 25, 10652–10668. [Google Scholar] [CrossRef]
- Geng, J.; Jiu, B.; Li, K.; Zhao, Y.; Liu, H. Joint Optimization of Frequency Selection and Transmit Power for Radar Anti-Jamming using Reinforcement Learning. In Proceedings of the 2024 7th International Conference on Information Communication and Signal Processing (ICICSP), Zhoushan, China, 21–23 September 2024. [Google Scholar] [CrossRef]
- Jia, L.; Qi, N.; Su, Z.; Chu, F.; Fang, S.; Wong, K. Game Theory and Reinforcement Learning for Anti-Jamming Defense in Wireless Communications: Current Research, Challenges, and Solutions. IEEE Commun. Surv. Tutor. 2025, 27, 1798–1838. [Google Scholar] [CrossRef]











| Parameter | Value |
|---|---|
| Number of channels | 10, 50 |
| Time slot duration | 1 |
| Sweeping rate | [0.1, 0.5], [0.5, 1], [1.0, 3.0], [3.0, 5.0] |
| Discount factor | 0.98 |
| Clipping parameter | 0.1 |
| GAE parameter | 0.8, 0.9, 0.95, 0.99 |
| Policy learning rate | 0.0003 |
| Value network learning rate | 0.01, 0.001, 0.0001 |
| Jamming power | 1.0 |
| Noise power | 0.1 |
| Number of update epochs | 5 |
| History length | 1, 5, 10 |
| Rice factor | 3.0 |
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2026 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license.
Share and Cite
Xu, X.; Yin, K.; Niu, Y.; Zhu, H. An Anti-Swept-Frequency-Jamming Communication Method Based on Proximal Policy Optimization for Nonlinear Scenarios. Electronics 2026, 15, 2737. https://doi.org/10.3390/electronics15122737
Xu X, Yin K, Niu Y, Zhu H. An Anti-Swept-Frequency-Jamming Communication Method Based on Proximal Policy Optimization for Nonlinear Scenarios. Electronics. 2026; 15(12):2737. https://doi.org/10.3390/electronics15122737
Chicago/Turabian StyleXu, Xinrui, Ke Yin, Yingtao Niu, and Huacheng Zhu. 2026. "An Anti-Swept-Frequency-Jamming Communication Method Based on Proximal Policy Optimization for Nonlinear Scenarios" Electronics 15, no. 12: 2737. https://doi.org/10.3390/electronics15122737
APA StyleXu, X., Yin, K., Niu, Y., & Zhu, H. (2026). An Anti-Swept-Frequency-Jamming Communication Method Based on Proximal Policy Optimization for Nonlinear Scenarios. Electronics, 15(12), 2737. https://doi.org/10.3390/electronics15122737

