Please wait a minute...
浙江大学学报(工学版)  2026, Vol. 60 Issue (12): 2663-2672    DOI: 10.3785/j.issn.1008-973X.2026.12.012
通信与电子工程     
基于深度强化学习的车联网任务卸载与资源管理优化
张旭秀(),尹利轩,谢键,丁一,闫涵,王琳*()
大连交通大学 电气工程学院,辽宁 大连 116028
Deep reinforcement learning-based optimization for task offloading and resource management in vehicular network
Xuxiu ZHANG(),Lixuan YIN,Jian XIE,Yi DING,Han YAN,Lin WANG*()
School of Electrical Engineering, Dalian Jiaotong University, Dalian 116028, China
 全文: PDF(1877 KB)   HTML
摘要:

为了提升自动驾驶中任务处理的实时性与计算效率,提出基于深度强化学习(DRL)的车联网任务卸载与资源管理优化方法. 研究以移动边缘计算(MEC)系统为对象,将路侧单元(RSU)配置为计算与缓存节点,实现车辆任务的动态卸载与内容缓存优化. 通过改进的霍克斯模型预测车辆任务需求的变化,据此生成缓存配置策略,将任务卸载与资源分配问题建模为0-1优化模型并转化为马尔可夫决策过程(MDP),采用改进的近端策略优化算法进行求解. 仿真结果表明,该算法在高动态车辆环境下可以显著降低平均计算延迟,提升请求响应率,且相较于未改进的算法,获得的总奖励提升15.1%,验证其在复杂交通场景下优化车载网络实时计算与缓存管理的有效性.

关键词: 车联网;  移动边缘计算(MEC);  深度强化学习(DRL);  任务卸载;  资源管理;  路侧单元(RSU)    
Abstract:

A deep reinforcement learning (DRL)-based method was proposed for task offloading and resource management optimization in vehicular network in order to enhance real-time performance and computational efficiency in autonomous driving task processing. A mobile edge computing (MEC) system was targeted. Roadside units (RSUs) were configured as computing and caching nodes in order to achieve dynamic task offloading and content caching optimization. Vehicle task demand variations were predicted by an improved Hawkes model, and corresponding caching strategies were generated. The task offloading and resource allocation problem was formulated as a 0-1 optimization model and converted into a Markov decision process (MDP). An improved proximal policy optimization algorithm was applied to obtain the solution. The simulation results showed that average computation delay was significantly reduced and request response rate was increased in highly dynamic vehicular environments. A 15.1% improvement in total reward was achieved compared with the baseline. The effectiveness of the method in optimizing real-time computation and caching management of vehicular network in complex traffic scenarios was validated.

Key words: vehicular network    mobile edge computing (MEC)    deep reinforcement learning (DRL)    task offloading    resource management    roadside unit (RSU)
收稿日期: 2025-09-27 出版日期: 2026-10-21
CLC:  TP 181  
基金资助: 国家自然科学基金资助项目(U24B20159);辽宁省重点研发计划资助项目(2022020594-JH1/108).
通讯作者: 王琳     E-mail: zhangxuxiu@163.com;wanglin_jl@163.com
作者简介: 张旭秀(1968—),女,教授,从事智能控制与信号处理研究. orcid.org/0009-0006-7415-2316. E-mail:zhangxuxiu@163.com
服务  
把本文推荐给朋友
加入引用管理器
E-mail Alert
作者相关文章  
张旭秀
尹利轩
谢键
丁一
闫涵
王琳

引用本文:

张旭秀,尹利轩,谢键,丁一,闫涵,王琳. 基于深度强化学习的车联网任务卸载与资源管理优化[J]. 浙江大学学报(工学版), 2026, 60(12): 2663-2672.

Xuxiu ZHANG,Lixuan YIN,Jian XIE,Yi DING,Han YAN,Lin WANG. Deep reinforcement learning-based optimization for task offloading and resource management in vehicular network. Journal of ZheJiang University (Engineering Science), 2026, 60(12): 2663-2672.

链接本文:

https://www.zjujournals.com/eng/CN/10.3785/j.issn.1008-973X.2026.12.012    或    https://www.zjujournals.com/eng/CN/Y2026/V60/I12/2663

图 1  面向路侧单元辅助车载网络的移动边缘计算系统
图 2  策略网络与价值网络的结构及优化流程图
参数数值参数数值
低轨卫星数量1$ \rho (m) $0.9
u3$ \eta $0.9
RSU计算速度/( MB·s?1)[5,10]$ \sigma $0.1
车辆计算速度/( MB·s?1)[3,6]$ N $200
RSU内置缓存容量/MB4$ \gamma $0.99
$ \delta _{\text{G}}^{u} $0.1价值网络学习率0.000 3
$ \delta _{\text{U}}^{u} $0.067策略网络学习率0.000 3
$ \delta _{\text{V}}^{u} $1裁剪参数0.2
目标权重因子$ \tau $0.99GAE参数0.95
表 1  车联网MEC系统的仿真参数配置
算法缓存命中数缓存命中率奖励值奖励收敛速度
①1 6860.671706280
②1 7210.721739280
③1 7220.721 740210
④1 5830.581598300
表 2  EUPPO算法模块的性能对比
图 3  不同权重因子$ \tau $的影响
图 4  不同环境参数对响应率的影响
图 5  不同缓存容量下的缓存命中率对比
图 6  不同学习率与奖励的对比实验
图 7  不同算法在各训练回合下的平均奖励对比
图 8  延迟目标值与车辆缓存命中数的对比
图 9  不同优化算法的奖励对比
1 Marwein P S, Sur S N, Gao Xiaozhi, et al Recent survey on Internet of vehicles: architecture, applications, challenges, and its solutions[J]. Journal of Testing and Evaluation, 2024, 52 (1): 731- 753
doi: 10.1520/JTE20230095
2 Song Tao, Li Xiuhua, Yu Yingheng, et al Low-power secure caching strategy for internet of vehicles[J]. Wireless Networks, 2024, 30 (6): 5289- 5303
doi: 10.1007/s11276-023-03271-2
3 Zhu Yan Collaborative intelligent traffic planning in the internet of vehicles[J]. Sensors, 2024, 24 (4): 1303
doi: 10.3390/s24041303
4 Liu Lei, Lei Xiaoming, Wang Qiang A multi-objective computation offloading algorithm in MEC environments[J]. International Journal of Computational Science and Engineering, 2022, 25 (3): 298- 307
5 Yang Yang, Yang Qiang Efficient task offloading and resource allocation in MEC[J]. Journal of Cases on Information Technology, 2025, 27 (1): 1- 22
doi: 10.4018/jcit.371753
6 Al-Essa R I, Al-Suhail G A. A service of RSU communication in Internet of vehicles (IoV) in urban environment [C]//Computational Intelligence, Data Analytics and Applications. Cham: Springer, 2023: 291–303.
7 An H Y, Choi W S, Choi S G Performance analysis of RSU relaying in the vehicular network[J]. The Journal of Korean Institute of Communications and Information Sciences, 2022, 47 (3): 522- 529
doi: 10.7840/kics.2022.47.3.522
8 Kang Zhidong, Li Dan, Guo Wei, et al. Multi-objective optimization technique for RSU deployment [C]//Data Mining and Big Data. Singapore: Springer, 2022: 118–132.
9 Yang Tengfei, Yang Jian Deep reinforcement learning method of offloading decision and resource allocation in MEC[J]. Computer Engineering, 2021, 47 (8): 37- 44
10 Li Ming, Mao Ning, Zheng Xiao, et al. Computation offloading in edge computing based on deep reinforcement learning [C]//Proceedings of International Conference on Computing and Communication Networks. Singapore: Springer, 2022: 339–353.
11 Ren Dan, Gui Xiaolin, Zhang Kang Adaptive request scheduling and service caching for MEC-assisted IoT networks: an online learning approach[J]. IEEE Internet of Things Journal, 2022, 9 (18): 17372- 17386
doi: 10.1109/JIOT.2022.3157677
12 Mohammed L B, Anpalagan A, Jaseemuddin M Energy and latency efficient caching in mobile edge networks: survey, solutions, and challenges[J]. Wireless Personal Communications, 2023, 129 (2): 1249- 1283
doi: 10.1007/s11277-023-10187-9
13 Li Chang, Song Mei, Du Shoushang, et al Adaptive priority-based cache replacement and prediction-based cache prefetching in edge computing environment[J]. Journal of Network and Computer Applications, 2020, 165: 102715
doi: 10.1016/j.jnca.2020.102715
14 Moradi A, Rezaei F Intelligent and efficient task caching for mobile edge computing[J]. Cluster Computing, 2024, 27 (10): 14095- 14112
doi: 10.1007/s10586-024-04658-2
15 Zhao Wei, Cheng Yu, Liu Zhi, et al A trust-based malicious RSU detection mechanism in edge-enabled vehicular Ad Hoc networks[J]. Journal of the Asiatic Society of Bangladesh, Science, 2025, 39 (2): 242- 249
doi: 10.3329/jasbs.v51i1.82796
16 Zhu Xin, Zhang Bo, Chen Zhi, et al Notice of violation: a 3D printed multi-mode conical dielectric resonant antenna with stable omnidirectional radiation patterns for 5G vehicle picocell applications[J]. IEEE Transactions on Vehicular Technology, 2024, 73 (1): 1- 10
doi: 10.1109/tvt.2022.3196909
17 Luo Quyuan, Li Changle, Luan T H, et al Collaborative data scheduling for vehicular edge computing via deep reinforcement learning[J]. IEEE Internet of Things Journal, 2020, 7 (10): 9637- 9650
doi: 10.1109/JIOT.2020.2983660
18 Zhao Liang, Zhang Engang, Wan Shaohua, et al MESON: a mobility-aware dependent task offloading scheme for urban vehicular edge computing[J]. IEEE Transactions on Mobile Computing, 2024, 23 (5): 4259- 4272
doi: 10.1109/TMC.2023.3289611
19 Li Zhenyu, Zhang Zhixuan Deep reinforcement learning-based joint optimization model for vehicular task offloading and resource allocation[J]. Peer-to-Peer Networking and Applications, 2024, 17 (4): 2001- 2015
doi: 10.1007/s12083-024-01693-z
20 Abuthahir S S, Selvin Paul Peter J Multi-dimensional task offloading using deep learning for vehicular edge computing networks: a survey[J]. IEIE Transactions on Smart Processing and Computing, 2024, 13 (1): 1- 11
doi: 10.5573/ieiespc.2024.13.1.1
[1] 赵庶旭,朱祺,王小龙. 面向移动边缘计算的可靠性增强任务部署方法[J]. 浙江大学学报(工学版), 2026, 60(8): 1697-1708.
[2] 张艺炜,崔鑫,赵庆慧,陈燕. 无人机辅助车联网NOMA协同缓存优化[J]. 浙江大学学报(工学版), 2026, 60(6): 1289-1298.
[3] 杨青青,唐润朋,彭艺. 通信感知一体化系统中的联合波形与相移设计[J]. 浙江大学学报(工学版), 2026, 60(4): 906-914.
[4] 刘沛丰,杨凡,黄杰,余成波. 基于超图神经网络的车联网资源分配方法[J]. 浙江大学学报(工学版), 2026, 60(11): 2472-2481.
[5] 李幸星,杨凡,黄杰,赖显智,姚凤航,蔡杰良,张妮. 面向车联网差异化干扰的联邦强化学习资源管理[J]. 浙江大学学报(工学版), 2026, 60(10): 2207-2214.
[6] 赖显智,杨凡,黄杰,余成波,李幸星. 面向智能车联网的异构分层任务卸载与资源优化[J]. 浙江大学学报(工学版), 2026, 60(10): 2236-2246.
[7] 栾宏之,李书才,李屹,钱传杰,梅琼. 5G-A车联网确定性网络中的语义通信系统[J]. 浙江大学学报(工学版), 2025, 59(5): 964-972.
[8] 张海波,王新月,王冬宇,刘富. 车联网中基于三方Stackelberg博弈的动态多媒体定价方案[J]. 浙江大学学报(工学版), 2024, 58(9): 1781-1789.
[9] 王传华,张权,王慧敏,徐欣,麻瓯勃. 区块链架构下具有隐私保护的车联网信誉模型[J]. 浙江大学学报(工学版), 2023, 57(4): 760-772.
[10] 刘雪娇,宋庆武,夏莹杰. 基于区块链的车联网矩阵计算安全卸载方案[J]. 浙江大学学报(工学版), 2023, 57(1): 144-154.
[11] 刘雪娇,王慧敏,夏莹杰,赵思苇. 具有隐私保护的车联网空间众包任务分配方法[J]. 浙江大学学报(工学版), 2022, 56(7): 1267-1275.
[12] 张海波,刘子琪,刘开健,徐勇军. 活跃度感知的社交车辆分簇算法[J]. 浙江大学学报(工学版), 2022, 56(5): 1044-1054.
[13] 陈中,徐晓,王海伟,罗宏浩,陈轩. 基于备用边缘节点的居民区用电任务卸载优化策略[J]. 浙江大学学报(工学版), 2021, 55(5): 917-926.
[14] 刘雪娇,殷一丹,陈蔚,夏莹杰,许佳丽,韩立东. 基于区块链的车联网数据安全共享方案[J]. 浙江大学学报(工学版), 2021, 55(5): 957-965.
[15] 陈蔚,刘雪娇,夏莹杰. 基于层次分析法的车联网多因素信誉评价模型[J]. 浙江大学学报(工学版), 2020, 54(4): 722-731.