Physical Layer Security Enhancement in IRS-Assisted Interweave CIoV Networks: A Heterogeneous Multi-Agent Mamba RainbowDQN Method
Abstract
1. Introduction
2. Related Work
3. Motivation and Contributions
- We propose a novel IRS-assisted interweave CIoV network, accounting for outdated CSI, and formulate two optimization problems: maximizing the total minimum secrecy rate and minimizing the average maximum SOP. A heterogeneous MADRL approach is employed to solve these nonlinear and non-convex problems efficiently.
- We design a heterogeneous multi-agent Mamba RainbowDQN framework, where VUs handle transmit power and channel allocation as homogeneous agents, and the SBS acts as a heterogeneous agent to focus on IRS phase optimization, reducing computational burden and improving system flexibility.
- We integrate the Mamba module into the heterogeneous MADRL framework to enable the IRS to more effectively assist the interweave CIoV network in enhancing physical layer security. By capturing long-term temporal dependencies and high-dimensional state correlations, the proposed Mamba-enhanced MADRL allows agents to make more accurate and stable decisions under outdated CSI, and simulations show that the proposed framework outperforms baseline methods in system secrecy performance.
4. Paper Organization
5. System Model and Problem Formulation
5.1. System Model
5.2. Eavesdropping Model
5.3. Communication Model
5.4. Problem Formulation
- (1)
- Secrecy Rate Maximization
- (2)
- Secrecy Outage Probability Minimization
6. Deep Reinforcement Learning for Resource Allocation
6.1. Multi-Agent DRL Framework
6.2. Observation Space
6.3. Action Space
6.4. Reward Design
6.5. HMA-Mamba RainbowDQN Algorithm
| Algorithm 1 Proposed HMA-Mamba RainbowDQN method for IRS-assisted interweave CIoV network. |
|
6.6. Computational Complexity Analysis
7. Simulation Results
- (1)
- HMA-RainbowDQN: a heterogeneous multi-agent RL algorithm that excludes the Mamba module, serving to isolate and highlight the contribution of Mamba-based feature extraction.
- (2)
- HMA-D3QN and HMA-DQN: representative conventional DRL algorithms widely adopted in multi-agent resource allocation, used to demonstrate the relative advantages of the proposed framework over mainstream MADRL approaches.
- (3)
- Random IRS Random RA: a baseline without intelligent optimization, where both IRS phase shifts and resource allocation are randomly determined.
8. Conclusions
Author Contributions
Funding
Institutional Review Board Statement
Informed Consent Statement
Data Availability Statement
Conflicts of Interest
Appendix A

Appendix B
References
- Zeadally, S.; Javed, M.A.; Hamida, E.B. Vehicular communications for ITS: Standardization and challenges. IEEE Commun. Stand. Mag. 2020, 4, 11–17. [Google Scholar] [CrossRef]
- Chen, S.; Hu, J.; Shi, Y.; Zhao, L.; Li, W. A vision of C-V2X: Technologies, field testing, and challenges with Chinese development. IEEE Internet Things J. 2020, 7, 3872–3881. [Google Scholar] [CrossRef]
- Quan, W.; Liu, M.; Cheng, N.; Zhang, X.; Gao, D.; Zhang, H. Cybertwin-driven DRL-based adaptive transmission scheduling for software defined vehicular networks. IEEE Trans. Veh. Technol. 2022, 71, 4607–4619. [Google Scholar] [CrossRef]
- Gyawali, S.; Xu, S.; Qian, Y.; Hu, R.Q. Challenges and solutions for cellular based V2X communications. IEEE Commun. Surv. Tutor. 2020, 23, 222–255. [Google Scholar] [CrossRef]
- Garcia, M.H.C.; Molina-Galan, A.; Boban, M.; Gozalvez, J.; Coll-Perales, B.; Şahin, T.; Kousaridas, A. A tutorial on 5G NR V2X communications. IEEE Commun. Surv. Tutor. 2021, 23, 1972–2026. [Google Scholar] [CrossRef]
- Wang, P.; Wu, W.; Liu, J.; Chai, G.; Feng, L. Joint spectrum and power allocation for V2X communications with imperfect CSI. IEEE Trans. Veh. Technol. 2023, 72, 16338–16353. [Google Scholar] [CrossRef]
- Tahir, M.N.; Leviäkangas, P.; Katz, M. Connected vehicles: V2V and V2I road weather and traffic communication using cellular technologies. Sensors 2022, 22, 1142. [Google Scholar] [CrossRef]
- Wu, Q.; Zhao, Y.; Fan, Q.; Fan, P.; Wang, J.; Zhang, C. Mobility-aware cooperative caching in vehicular edge computing based on asynchronous federated and deep reinforcement learning. IEEE J. Sel. Top. Signal Process. 2022, 17, 66–81. [Google Scholar] [CrossRef]
- Mitola, J. Cognitive radio for flexible mobile multimedia communications. In Proceedings of the 1999 IEEE International Workshop on Mobile Multimedia Communications (MoMuC’99) (Cat. No. 99EX384), San Diego, CA, USA, 15–17 November 1999; IEEE: Piscataway, NJ, USA, 1999; pp. 3–10. [Google Scholar]
- Khasawneh, M.; Azab, A.; Alrabaee, S.; Sakkal, H.; Bakhit, H.H. Convergence of IoT and cognitive radio networks: A survey of applications, techniques, and challenges. IEEE Access 2023, 11, 71097–71112. [Google Scholar] [CrossRef]
- Chen, G.; Zhu, H.; Xu, Y.; Song, T.; Hu, J. A novel joint spectrum sensing and resource allocation scheme in cognitive internet of vehicles networks. IEEE Trans. Veh. Technol. 2024, 73, 13412–13424. [Google Scholar] [CrossRef]
- Tang, F.; Mao, B.; Kato, N.; Gui, G. Comprehensive survey on machine learning in vehicular network: Technology, applications and challenges. IEEE Commun. Surv. Tutor. 2021, 23, 2027–2057. [Google Scholar] [CrossRef]
- Hedhly, W.; Amin, O.; Alouini, M.S. Benefits of improper Gaussian signaling in interweave cognitive radio with full and partial CSI. IEEE Trans. Cogn. Commun. Netw. 2020, 6, 1256–1268. [Google Scholar] [CrossRef]
- Kaur, R.; Bansal, B.; Majhi, S.; Jain, S.; Huang, C.; Yuen, C. A survey on reconfigurable intelligent surface for physical layer security of next-generation wireless communications. IEEE Open J. Veh. Technol. 2024, 5, 172–199. [Google Scholar] [CrossRef]
- Ai, Y.; Felipe, A.; Kong, L.; Cheffena, M.; Chatzinotas, S.; Ottersten, B. Secure vehicular communications through reconfigurable intelligent surfaces. IEEE Trans. Veh. Technol. 2021, 70, 7272–7276. [Google Scholar] [CrossRef]
- Zhu, Y.; Mao, B.; Kato, N. Intelligent reflecting surface in 6G vehicular communications: A survey. IEEE Open J. Veh. Technol. 2022, 3, 266–277. [Google Scholar] [CrossRef]
- Liu, Y.; Liu, X.; Mu, X.; Hou, T.; Xu, J.; Di Renzo, M.; Al-Dhahir, N. Reconfigurable intelligent surfaces: Principles and opportunities. IEEE Commun. Surv. Tutor. 2021, 23, 1546–1577. [Google Scholar] [CrossRef]
- Almohamad, A.; Tahir, A.M.; Al-Kababji, A.; Furqan, H.M.; Khattab, T.; Hasna, M.O.; Arslan, H. Smart and secure wireless communications via reflecting intelligent surfaces: A short survey. IEEE Open J. Commun. Soc. 2020, 1, 1442–1456. [Google Scholar] [CrossRef]
- Li, Y.; Khan, F.; Ahmed, M.; Soofi, A.A.; Khan, W.U.; Sheemar, C.K.; Asif, M.; Han, Z. RIS-based Physical Layer Security for Integrated Sensing and Communication: A Comprehensive Survey. IEEE Internet Things J. 2025, 12, 32444–32468. [Google Scholar] [CrossRef]
- Yang, R.; Wang, D.; Zhu, S.; Zhu, C.; Bao, J.; Yang, Z.; Huang, C. Beamforming Design for RIS-aided ISCC in Internet of Vehicles Systems. IEEE Internet Things J. 2024, 12, 12153–12165. [Google Scholar] [CrossRef]
- Cao, X.; Wang, S.; Ren, X. IRS-Enhanced V2X Communication and Computation Systems: Resource Allocation and Performance Optimization. IEEE Internet Things J. 2024, 12, 9180–9194. [Google Scholar] [CrossRef]
- Duan, W.; Gu, X.; Zhang, G.; Wen, M.; Ding, Z.; Ho, P.H. Sum-rate maximization for RIS-IoV: From instantaneous to statistical CSI. IEEE Trans. Wirel. Commun. 2024, 23, 8071–8084. [Google Scholar] [CrossRef]
- Yu, Y.; Liu, X.; Liu, Z.; Durrani, T.S. Joint trajectory and resource optimization for RIS assisted UAV cognitive radio. IEEE Trans. Veh. Technol. 2023, 72, 13643–13648. [Google Scholar] [CrossRef]
- Yang, S.; Long, R.; Liang, Y.C. Active reconfigurable intelligent surface-aided cognitive radio system. In Proceedings of the ICC 2023-IEEE International Conference on Communications, Rome, Italy, 28 May–1 June 2023; IEEE: Piscataway, NJ, USA, 2023; pp. 3866–3871. [Google Scholar]
- Wu, W.; Wang, Z.; Wu, Y.; Zhou, F.; Wang, B.; Wu, Q.; Ng, D.W.K. Joint sensing and transmission optimization for IRS-assisted cognitive radio networks. IEEE Trans. Wirel. Commun. 2023, 22, 5941–5956. [Google Scholar] [CrossRef]
- Khoshafa, M.H.; Ngatched, T.M.; Ahmed, M.H. RIS-aided physical layer security improvement in underlay cognitive radio networks. IEEE Syst. J. 2023, 17, 6437–6448. [Google Scholar] [CrossRef]
- Chen, Z.; Guo, Y.; Zhang, P.; Jiang, H.; Xiao, Y.; Huang, L. Physical layer security improvement for hybrid RIS-assisted MIMO communications. IEEE Commun. Lett. 2024, 28, 2493–2497. [Google Scholar] [CrossRef]
- Gu, X.; Duan, W.; Zhang, G.; Sun, Q.; Wen, M.; Ho, P.-H. Physical layer security for RIS-aided wireless communications with uncertain eavesdropper distributions. IEEE Syst. J. 2022, 17, 848–859. [Google Scholar] [CrossRef]
- Zhao, H.; Sun, W.; Ni, Y.; Xia, W.; Gui, G.; Zhu, C. Deep deterministic policy gradient-based rate maximization for RIS-UAV-assisted vehicular communication networks. IEEE Trans. Intell. Transp. Syst. 2024, 25, 15732–15744. [Google Scholar] [CrossRef]
- Qi, K.; Wu, Q.; Fan, P.; Cheng, N.; Chen, W.; Wang, J.; Letaief, K.B. Deep-reinforcement-learning-based aoi-aware resource allocation for ris-aided iov networks. IEEE Trans. Veh. Technol. 2024, 74, 1365–1378. [Google Scholar] [CrossRef]
- Dong, R.; Wang, B.; Cao, K.; Tian, J.; Cheng, T. Secure transmission design of RIS enabled UAV communication networks exploiting deep reinforcement learning. IEEE Trans. Veh. Technol. 2024, 73, 8404–8419. [Google Scholar] [CrossRef]
- Qin, X.; Song, Z.; Wang, J.; Du, S.; Gao, J.; Yu, W.; Sun, X. Deep-Reinforcement-Learning-Based Uplink Security Enhancement for STAR-RIS-Assisted NOMA Systems With Dual Eavesdroppers. IEEE Internet Things J. 2024, 11, 28050–28063. [Google Scholar] [CrossRef]
- Ju, Y.; Cao, Z.; Chen, Y.; Liu, L.; Pei, Q.; Mumtaz, S.; Dong, M.; Guizani, M. NOMA-assisted secure offloading for vehicular edge computing networks with asynchronous deep reinforcement learning. IEEE Trans. Intell. Transp. Syst. 2023, 25, 2627–2640. [Google Scholar] [CrossRef]
- Ju, Y.; Gao, Z.; Wang, H.; Liu, L.; Pei, Q.; Dong, M.; Mumtaz, S.; Leung, V.C. Energy-efficient cooperative secure communications in mmwave vehicular networks using deep recurrent reinforcement learning. IEEE Trans. Intell. Transp. Syst. 2024, 25, 14460–14475. [Google Scholar] [CrossRef]
- Liu, J.C.; Ma, J.C.; Jiang, Z.Q. AlphaSeek FinRL: A Hybrid Deep Learning Architecture for High-Frequency Cryptocurrency Trading. In Proceedings of the 2025 IEEE 11th International Conference on Intelligent Data and Security (IDS), New York, NY, USA, 9–11 May 2025; IEEE: Piscataway, NJ, USA, 2025; pp. 55–57. [Google Scholar]
- Ryu, H.; Sohn, C.B.; Kim, D.Y. Latent Mamba-DQN: Improving Temporal Dependency Modeling in Deep Q-Learning via Selective State Summarization. Appl. Sci. 2025, 15, 8956. [Google Scholar] [CrossRef]
- Ji, Y.; Wang, Y.; Zhao, H.; Gui, G.; Gacanin, H.; Sari, H.; Adachi, F. Multi-agent reinforcement learning resources allocation method using dueling double deep Q-network in vehicular networks. IEEE Trans. Veh. Technol. 2023, 72, 13447–13460. [Google Scholar] [CrossRef]
- Liang, L.; Ye, H.; Li, G.Y. Spectrum sharing in vehicular networks based on multi-agent reinforcement learning. IEEE J. Sel. Areas Commun. 2019, 37, 2282–2292. [Google Scholar] [CrossRef]
- Wang, L.; Wu, W.; Zhou, F.; Wu, Q.; Dobre, O.A.; Quek, T.Q. Hybrid hierarchical DRL enabled resource allocation for secure transmission in multi-IRS-assisted sensing-enhanced spectrum sharing networks. IEEE Trans. Wirel. Commun. 2023, 23, 6330–6346. [Google Scholar] [CrossRef]
- Guo, X.; Chen, Y.; Wang, Y. Learning-based robust and secure transmission for reconfigurable intelligent surface aided millimeter wave UAV communications. IEEE Wirel. Commun. Lett. 2021, 10, 1795–1799. [Google Scholar] [CrossRef]
- Wang, Z.; Liu, L.; Cui, S. Channel estimation for intelligent reflecting surface assisted multiuser communications: Framework, algorithms, and analysis. IEEE Trans. Wirel. Commun. 2020, 19, 6607–6620. [Google Scholar] [CrossRef]
- Chen, Y.; Wang, Y.; Jiao, L. Robust transmission for reconfigurable intelligent surface aided millimeter wave vehicular communications with statistical CSI. IEEE Trans. Wirel. Commun. 2021, 21, 928–944. [Google Scholar] [CrossRef]
- Huang, Z.; Zheng, B.; Zhang, R. Roadside IRS-aided vehicular communication: Efficient channel estimation and low-complexity beamforming design. IEEE Trans. Wirel. Commun. 2023, 22, 5976–5989. [Google Scholar] [CrossRef]
- Chu, Z.; Hao, W.; Xiao, P.; Mi, D.; Liu, Z.; Khalily, M.; Kelly, J.R.; Feresidis, A.P. Secrecy rate optimization for intelligent reflecting surface assisted MIMO system. IEEE Trans. Inf. Forensics Secur. 2020, 16, 1655–1669. [Google Scholar] [CrossRef]
- Hessel, M.; Modayil, J.; Van Hasselt, H.; Schaul, T.; Ostrovski, G.; Dabney, W.; Horgan, D.; Piot, B.; Azar, M.; Silver, D. Rainbow: Combining improvements in deep reinforcement learning. In Proceedings of the Thirty-Second AAAI Conference on Artificial Intelligence, New Orleans, LA, USA, 2–7 February 2018; Volume 32. [Google Scholar]
- Gu, A.; Dao, T. Mamba: Linear-time sequence modeling with selective state spaces. arXiv 2023, arXiv:2312.00752. [Google Scholar] [CrossRef]
- Liu, X.; Yu, Y.; Peng, B.; Zhai, X.B.; Zhu, Q.; Leung, V.C. RIS-UAV enabled worst-case downlink secrecy rate maximization for mobile vehicles. IEEE Trans. Veh. Technol. 2022, 72, 6129–6141. [Google Scholar] [CrossRef]















| Parameter | Value |
|---|---|
| Number of VUs (I) | 4 |
| Number of PUs (Q) | 6 |
| Number of IRS elements (L) | 18 |
| Carrier frequency | 2 GHz |
| Bandwidth | 1 MHz |
| V2I transmit power () | [0, 23] dBm |
| BS and vehicles antenna gains | 8, 3 dBi |
| BS and vehicles receiver noise gains | 5, 11 dBi |
| Number of discrete power levels | 9 |
| Vehicle speed range | [10, 15] m/s |
| SBS antenna height | 25 m |
| VUs antenna height | 1.5 m |
| IRS height | 25 m |
| Noise power | dBm |
| V2I link path loss model |
| Parameter | Value |
|---|---|
| Number of episodes | 3000 |
| Number of iterations per episode | 100 |
| Optimizer | Adam |
| Learning rate () | 0.001 |
| Discount factor () | 0.99 |
| Mamba internal activation | SiLU |
| Prioritized experience replay buffer size D | 100,000 |
| Target network soft update | 0.005 |
| Prioritization exponent () | 0.5 |
| Prioritization type | proportional |
| Multi-step returns (n) | 3 |
| Exploration () | 0.0 |
| Noisy Nets () | 0.5 |
| SSM state dimension () | 16 |
| Network hidden dimension () | 256 |
| Expansion factor (E) | 2 |
| Algorithm | Time (s) |
|---|---|
| HMA-Mamba RainbowDQN | 60.06 |
| HMA-RainbowDQN | 45.69 |
| HMA-D3QN | 24.67 |
| HMA-DQN | 21.45 |
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. |
© 2025 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 (https://creativecommons.org/licenses/by/4.0/).
Share and Cite
Lin, R.; Xie, S.; Chen, W.; Xu, T. Physical Layer Security Enhancement in IRS-Assisted Interweave CIoV Networks: A Heterogeneous Multi-Agent Mamba RainbowDQN Method. Sensors 2025, 25, 6287. https://doi.org/10.3390/s25206287
Lin R, Xie S, Chen W, Xu T. Physical Layer Security Enhancement in IRS-Assisted Interweave CIoV Networks: A Heterogeneous Multi-Agent Mamba RainbowDQN Method. Sensors. 2025; 25(20):6287. https://doi.org/10.3390/s25206287
Chicago/Turabian StyleLin, Ruiquan, Shengjie Xie, Wencheng Chen, and Tao Xu. 2025. "Physical Layer Security Enhancement in IRS-Assisted Interweave CIoV Networks: A Heterogeneous Multi-Agent Mamba RainbowDQN Method" Sensors 25, no. 20: 6287. https://doi.org/10.3390/s25206287
APA StyleLin, R., Xie, S., Chen, W., & Xu, T. (2025). Physical Layer Security Enhancement in IRS-Assisted Interweave CIoV Networks: A Heterogeneous Multi-Agent Mamba RainbowDQN Method. Sensors, 25(20), 6287. https://doi.org/10.3390/s25206287
