Please wait a minute...
浙江大学学报(工学版)  2027, Vol. 61 Issue (1): 44-54, 98    DOI: 10.3785/j.issn.1008-973X.2027.01.005
交通工程、土木工程     
面向自动驾驶测试的边界场景泛化生成
张竟成(),惠飞,魏诚*()
长安大学 电子与控制工程学院,陕西 西安 710000
Boundary scenario generalization generation for autonomous driving testing
Jingcheng Zhang(),Fei Hui,Cheng Wei*()
School of Electronics and Control Engineering, Chang’an University, Xi’an 710000, China
 全文: PDF(9721 KB)   HTML
摘要:

针对自动驾驶测试中边界场景数据稀缺及关键场景提取困难的问题,提出融合概率筛选与生成对抗网络的交叉口边界场景生成方法,构建基于安全约束的边界测试场景库;提出基于运动学概率密度的场景筛选算法,采用核密度估计计算运动轨迹状态的联合概率分布,设定边界阈值(<0.005%)提取边界场景,构建了12类相位模式分类体系;提出双向注意力序列生成对抗网络(Bi-AM-SeqGAN),同步学习车辆运动状态的时空分布,结合蒙特卡洛树搜索算法优化动态组合,生成满足安全碰撞约束的双车交互测试场景. 结果表明,筛选算法能有效提取并分类边界场景;Bi-AM-SeqGAN在50次迭代后损失值稳定至4.00,优于SeqGAN(180次,4.18);生成测试场景的碰撞时间呈现高危特征,97%场景碰撞时间<3.0 s且密集分布于0.5~2.5 s,显著低于常规安全阈值. 所提模型能高效生成高复杂度、高危险性的交叉口边界场景.

关键词: 自动驾驶;  边界测试场景;  组合概率分析;  生成对抗网络;  测试场景耦合    
Abstract:

To address the challenges of boundary scenario data scarcity and the difficulty of extracting critical scenarios for autonomous driving testing, a method integrating probabilistic screening and generative adversarial network (GAN) was proposed for generating intersection boundary scenarios, with the goal of constructing a safety-constrained boundary testing database. A scenario screening algorithm based on kinematic probability density was introduced. Kernel density estimation (KDE) was employed to estimate the joint probability distribution of motion trajectory states, and a boundary threshold (<0.005%) was set to extract boundary scenarios. In addition, a classification system comprising 12 phase patterns was established. A bidirectional attention sequential generative adversarial network (Bi-AM-SeqGAN) was developed to simultaneously learn the spatio-temporal distribution of vehicle kinematic states. Combined with the Monte Carlo tree search (MCTS) algorithm, dynamic combinations were optimized to generate dual-vehicle interaction test scenarios that satisfied safety collision constraints. Experimental results showed that the screening algorithm effectively extracted and accurately classified boundary scenarios. Bi-AM-SeqGAN reached a stable loss value of 4.00 after 50 iterations, outperforming the standard SeqGAN, which stabilized at 4.18 after 180 iterations. The generated test scenarios exhibited high-risk characteristics: the Time to Collision (TTC) in 97% of scenarios was less than 3.0 s and was densely distributed within the 0.5~2.5 s range, which was significantly below conventional safety thresholds. The proposed model could efficiently generate high-complexity and high-risk intersection boundary scenarios.

Key words: autonomous driving    boundary testing scenario    combinatorial probability analysis    generative adversarial network (GAN)    testing scenario coupling
收稿日期: 2025-10-28 出版日期: 2026-11-25
CLC:  U 495  
基金资助: 国家自然科学基金资助项目(52602588);陕西省重点研发计划资助项目(2025PT-ZCK-71, 2026CY-YBXM-498);陕西省博士后科研资助项目(2025BSHSDZZ261).
通讯作者: 魏诚     E-mail: jingchengzhang@chd.edu.cn;chengwei@chd.edu.cn
作者简介: 张竟成(2000—),女,博士生,从事自动驾驶研究. orcid.org/0009-0007-2732-8531. E-mail:jingchengzhang@chd.edu.cn
服务  
把本文推荐给朋友
加入引用管理器
E-mail Alert
作者相关文章  
张竟成
惠飞
魏诚

引用本文:

张竟成,惠飞,魏诚. 面向自动驾驶测试的边界场景泛化生成[J]. 浙江大学学报(工学版), 2027, 61(1): 44-54, 98.

Jingcheng Zhang,Fei Hui,Cheng Wei. Boundary scenario generalization generation for autonomous driving testing. Journal of ZheJiang University (Engineering Science), 2027, 61(1): 44-54, 98.

链接本文:

https://www.zjujournals.com/eng/CN/10.3785/j.issn.1008-973X.2027.01.005    或    https://www.zjujournals.com/eng/CN/Y2027/V61/I1/44

No.$ t $/s$ N $/条$ {N}_{1} $/条$ {N}_{2} $/条
071 055.2821215062
081 065.60415284131
09783.6823616868
10854.0425319063
11901.6030521491
121 126.88410268142
13994.64357231126
141 004.84379226153
151 083.04345230115
161 201.00450280170
171 050.44376262114
表1  11组inD数据集文件规模及结构
图1  08号文件所有交通参与者行驶轨迹
图2  组合概率分析结果示意图
图3  交叉口筛选出的所有边界场景轨迹
图4  车辆左转场景精细化分类结果示意
运动
状态
左转右转直行
${v}_{x}/ $
$ ({\rm{m}}\cdot {\rm{s}}^{-1}) $
${v}_{y}/ $
$ ({\rm{m}}\cdot {\rm{s}}^{-1}) $
${a}_{x}/ $
$ ({\rm{m}}\cdot {\rm{s}}^{-2}) $
${a}_{y}/ $
$ ({\rm{m}}\cdot {\rm{s}}^{-2}) $
${v}_{x}/ $
$ ({\rm{m}}\cdot {\rm{s}}^{-1}) $
${v}_{y}/ $
$ ({\rm{m}}\cdot {\rm{s}}^{-1}) $
${a}_{x}/ $
$ ({\rm{m}}\cdot {\rm{s}}^{-2}) $
${a}_{y}/ $
$ ({\rm{m}}\cdot {\rm{s}}^{-2}) $
${v}_{x}/ $
$ ({\rm{m}}\cdot {\rm{s}}^{-1}) $
${v}_{y}/ $
$ ({\rm{m}}\cdot {\rm{s}}^{-1}) $
${a}_{x}/ $
$ ({\rm{m}}\cdot {\rm{s}}^{-2}) $
${a}_{y}/ $
$ ({\rm{m}}\cdot {\rm{s}}^{-2}) $
avg1.05?1.320.230.21?1.963.070.650.22?0.24?0.10?0.180.08
max10.6310.394.415.537.6710.415.223.3412.8118.013.453.60
min?10.05?11.78?3.38?3.88?10.45?8.47?3.30?4.15?17.16?13.96?3.56?5.26
$ {\sigma }^{2} $9.369.610.871.6812.9611.972.851.3538.0147.590.700.86
$ \sigma $3.063.100.931.303.603.461.691.166.176.900.840.93
表2  边界场景数据集数据特征
图5  真实数据横纵向速度频率分布对比
图6  左转4种相位速度对比
图7  Bi-AM-SeqGAN结构
图8  交叉口潜在冲突点
图9  危险边界测试场景
图10  原始/生成速度序列变化轨迹对比
图11  横向原始速度数据与生成数据对比
图12  不同算法收敛速度对比图
图13  生成轨迹示例
图14  交叉口危险边界场景测试库最小碰撞时间百分比
图15  同一测试场景不同碰撞时间工况下的仿真示意图
1 董兆龙, 黄鹤, 李战一, 等. 自动驾驶样本库中雪天场景融合构建方法. 浙江大学学报(工学版), 2025, 59 (10): 2078- 2085.
Dong Zhaolong, Huang He, Li Zhanyi, et al. Snowy scene integration construction method in autonomous driving sample library. Journal of Zhejiang University (Engineering Science), 2025, 59 (10): 2078- 2085.
doi: 10.3785/j.issn.1008-973X.2025.10.008
2 宋浪, 王健, 杨璐, 等. 平行流交叉口车道控制与信号配时组合优化. 浙江大学学报(工学版), 2024, 58 (8): 1647- 1658.
Song Lang, Wang Jian, Yang Lu, et al. Combined optimization of lane-based control and signal timing at parallel flow intersection. Journal of Zhejiang University (Engineering Science), 2024, 58 (8): 1647- 1658.
doi: 10.3785/j.issn.1008-973X.2024.08.012
3 Schicktanz C, Gimm K. Detection and analysis of corner case scenarios at a signalized urban intersection. Accident Analysis & Prevention, 2025, 210, 107838.
doi: 10.1016/j.aap.2024.107838
4 Liu Q, Wang X, Liu S, et al. Analysis of pre-crash scenarios and contributing factors for autonomous vehicle crashes at intersections. Accident Analysis & Prevention, 2024, 195, 107383.
doi: 10.1016/j.aap.2023.107383
5 邓伟文, 李江坤, 任秉韬, 等. 面向自动驾驶的仿真场景自动生成方法综述. 中国公路学报, 2022, 35 (1): 316- 333.
Deng Weiwen, Li Jiangkun, Ren Bingtao, et al. A survey on automatic simulation scenario generation methods for autonomous driving. China Journal of Highway and Transport, 2022, 35 (1): 316- 333.
doi: 10.3969/j.issn.1001-7372.2022.01.027
6 Li Y, Tao J, Wotawa F. Ontology-based test generation for automated and autonomous driving functions. Information and Software Technology, 2020, 117, 106200.
doi: 10.1016/j.infsof.2019.106200
7 Birkemeyer L, Fuchs J, Gambi A, et al. SOTIF-compliant scenario generation using semi-concrete scenarios and parameter sampling [C]// Proceedings of the IEEE 26th International Conference on Intelligent Transportation Systems. Bilbao: IEEE, 2023: 2139–2144.
8 Patil P W, Dudhane A, Murala S. End-to-end recurrent generative adversarial network for traffic and surveillance applications. IEEE Transactions on Vehicular Technology, 2020, 69 (12): 14550- 14562.
doi: 10.1109/TVT.2020.3043575
9 吴思宇, 于文浩, 邢星宇, 等. 基于关键场景的预期功能安全双闭环测试验证方法. 汽车工程, 2023, 45 (9): 1583- 1607.
Wu Siyu, Yu Wenhao, Xing Xingyu, et al. Methodology of critical scenarios-based dual-loop testing and verification for safety of the intended functionality. Automotive Engineering, 2023, 45 (9): 1583- 1607.
doi: 10.19562/j.chinasae.qcgc.2023.09.008
10 朱冰, 范天昕, 赵健, 等. 基于危险边界搜索的自动驾驶系统加速测试方法. 吉林大学学报(工学版), 2023, 53 (3): 704- 712.
Zhu Bing, Fan Tianxin, Zhao Jian, et al. Accelerate test method of automated driving system based on hazardous boundary search. Journal of Jilin University (Engineering and Technology Edition), 2023, 53 (3): 704- 712.
doi: 10.13229/j.cnki.jdxbgxb20211177
11 Zhang J, Xu C, Li B. ChatScene: knowledge-enabled safety-critical scenario generation for autonomous vehicles [C]// Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition. Seattle: IEEE, 2024: 15459–15469.
12 Wang X, Lu H, Wang S, et al. Boundary scenario generation method of the intelligence system based on adaptive Poisson disk sampling [C]// Proceedings of the International Conference on Communications, Computing, Cybersecurity, and Informatics. Beijing: IEEE, 2024: 1–8.
13 Lin D J, Chen M Y, Chiang H S, et al. Intelligent traffic accident prediction model for Internet of vehicles with deep learning approach. IEEE Transactions on Intelligent Transportation Systems, 2022, 23 (3): 2340- 2349.
doi: 10.1109/TITS.2021.3074987
14 Li Y, Zeng F, Han C, et al. Vehicle Lane-Changing scenario generation using time-series generative adversarial networks with an Adaptative parameter optimization strategy. Accident Analysis and Prevention, 2024, 205, 107667.
doi: 10.1016/j.aap.2024.107667
15 Zhou J, Wang L, Wang X. Online adaptive generation of critical boundary scenarios for evaluation of autonomous vehicles. IEEE Transactions on Intelligent Transportation Systems, 2023, 24 (6): 6372- 6388.
doi: 10.1109/TITS.2023.3248121
16 Zhou J, Wang L, Wang X, et al. Adaptive deep reinforcement learning for critical boundary scenario generation [C]// Proceedings of the 43rd Chinese Control Conference. Kunming: IEEE, 2024: 6615–6620.
17 Liu H, Zhang L, Sastry Hari S K, et al. Safety-critical scenario generation via reinforcement learning based editing [C]// Proceedings of the IEEE International Conference on Robotics and Automation. Yokohama: IEEE, 2024: 14405–14412.
18 Zhou H, Li W, Kong Z, et al. DeepBillboard: systematic physical-world testing of autonomous driving systems [C]// Proceedings of the IEEE/ACM 42nd International Conference on Software Engineering. Seoul: IEEE, 2020: 347–358.
19 Bock J, Krajewski R, Moers T, et al. The InD dataset: a drone dataset of naturalistic road user trajectories at German intersections [C]// Proceedings of the IEEE Intelligent Vehicles Symposium. Las Vegas: IEEE, 2020: 1929–1934.
20 ISO. Road vehicles: safety of the intended functionality: ISO 21448: 2022 [S]. 2022
21 Kalra N, Paddock S. Driving to safety: how many miles of driving would it take to demonstrate autonomous vehicle reliability? [M]. [S. l. ]: RAND Corporation, 2016.
22 Hua J, Li B, Wang L, et al. How left-turning vehicles deal with conflicts at intersections: a driving behavior model based on relative motion risk quantification. Physica A: Statistical Mechanics and Its Applications, 2025, 661, 130393.
doi: 10.1016/j.physa.2025.130393
23 Al-Sharman M, Dempster R, Daoud M A, et al. Self-learned autonomous driving at unsignalized intersections: a hierarchical reinforced learning approach for feasible decision-making. IEEE Transactions on Intelligent Transportation Systems, 2023, 24 (11): 12345- 12356.
doi: 10.1109/TITS.2023.3285440
24 路庆昌, 孟旭, 刘丽萍, 等. 考虑多前车信息反馈的CAV混合交通流特性. 浙江大学学报(工学版), 2025, 59 (8): 1767- 1774.
Lu Qingchang, Meng Xu, Liu Liping, et al. CAV mixed traffic flow characteristics considering feedback from multiple preceding vehicles. Journal of Zhejiang University (Engineering Science), 2025, 59 (8): 1767- 1774.
doi: 10.3785/j.issn.1008-973X.2025.08.024
25 Wang Y, Jin P J. Model predictive control policy design, solutions, and stability analysis for longitudinal vehicle control considering shockwave damping. Transportation Research Part C: Emerging Technologies, 2023, 148, 104038.
doi: 10.1016/j.trc.2023.104038
26 Wang S, Wang Z, Jiang R, et al. A multi-agent reinforcement learning-based longitudinal and lateral control of CAVs to improve traffic efficiency in a mandatory lane change scenario. Transportation Research Part C: Emerging Technologies, 2024, 158, 104445.
doi: 10.1016/j.trc.2023.104445
27 刘建伟, 谢浩杰, 罗雄麟. 生成对抗网络在各领域应用研究进展. 自动化学报, 2020, 46 (12): 2500- 2536.
Liu Jianwei, Xie Haojie, Luo Xionglin. Research progress on application of generative adversarial networks in various fields. Acta Automatica Sinica, 2020, 46 (12): 2500- 2536.
doi: 10.16383/j.aas.c180831
28 Zhou Y, Li J, Su Y, et al. APRIL: active partial rollouts in reinforcement learning to tame long-tail generation [PP/OL]. V3. arXiv (2025-09-26)[2025-09-23]. https://doi.org/10.48550/arXiv.2509.18521.
29 Zhao X, Jing S, Hui F, et al. DSRC-based rear-end collision warning system–An error-component safety distance model and field test. Transportation Research Part C: Emerging Technologies, 2019, 107, 92- 104.
doi: 10.1016/j.trc.2019.08.002
30 JTG B01—2003(条文说明) 公路工程技术标准 [S].
31 吕君陶, 祁珏瑜, 于淏辰, 等. 自动驾驶综合仿真平台的现状与展望. 浙江大学学报(工学版), 2026, 60 (3): 513- 526.
Lv Juntao, Qi Jueyu, Yu Haochen, et al. Current status and future prospect of integrated simulation platform for autonomous driving. Journal of Zhejiang University (Engineering Science), 2026, 60 (3): 513- 526.
doi: 10.3785/j.issn.1008-973X.2026.03.007
[1] 杨尚将,刘小明,王伟强,杨玉齐,马泽超,夏汗青. 基于鲁棒优化的自动驾驶车辆换道轨迹规划方法[J]. 浙江大学学报(工学版), 2027, 61(1): 32-43.
[2] 高帅帅,魏诚,惠飞,张竟成,宋汉辰. 基于时空特征与交互关系建模的换道意图预测[J]. 浙江大学学报(工学版), 2026, 60(9): 2031-2041.
[3] 常天根,田国富,唐媛媛,曹明学. 考虑主客观因素的自动驾驶模型预测控制参数优化[J]. 浙江大学学报(工学版), 2026, 60(8): 1638-1649.
[4] 柳长源,赵海健,吴海滨,刘佳伟. 面向自动驾驶的轻量化交警手势识别方法[J]. 浙江大学学报(工学版), 2026, 60(8): 1678-1685.
[5] 于鑫淼,夏楠,江佳鸿,郝子莹,把云胜. 基于多尺度特征相似性匹配的低照度目标检测[J]. 浙江大学学报(工学版), 2026, 60(7): 1464-1474.
[6] 李云红,张琪琪,陈锦妮,陈伟重,苏雪平,梁成名. 基于生成对抗网络和坐标注意力机制的文本生成图像算法[J]. 浙江大学学报(工学版), 2026, 60(6): 1213-1220.
[7] 陈文强,冯琳越,王东丹,顾玉磊,赵轩. 融合动态风险图与多变量注意力机制的车辆轨迹预测模型[J]. 浙江大学学报(工学版), 2026, 60(3): 455-467.
[8] 吕君陶,祁珏瑜,于淏辰,马雷,马惠敏,胡天宇. 自动驾驶综合仿真平台的现状与展望[J]. 浙江大学学报(工学版), 2026, 60(3): 513-526.
[9] 陈可嘉,曾威文,王朕卿. 基于条件生成对抗和泊松融合的图像数据增强方法[J]. 浙江大学学报(工学版), 2026, 60(12): 2592-2601.
[10] 宋莉,宛袁玉,金苍宏,宋明黎. 基于对抗图生成的动态蒙特卡洛强化学习[J]. 浙江大学学报(工学版), 2026, 60(12): 2613-2622.
[11] 彭艺,李恒,杨青青,李辉,王健明. 基于CSI导向注意力与门控生成修复的图像语义通信[J]. 浙江大学学报(工学版), 2026, 60(12): 2694-2703.
[12] 李沈崇,曾新华,林传渠. 基于轴向注意力的多任务自动驾驶环境感知算法[J]. 浙江大学学报(工学版), 2025, 59(4): 769-777.
[13] 陈文强,王东丹,朱文英,汪勇杰,王涛. 基于时空图注意力网络的车辆多模态轨迹预测模型[J]. 浙江大学学报(工学版), 2025, 59(3): 443-450.
[14] 王天飞,周文俊,项圣,贺宇航,彭博. 基于异常特征对抗学习的工业图像异常检测方法[J]. 浙江大学学报(工学版), 2025, 59(12): 2566-2575.
[15] 宋家成,张雅楠. 跟踪性能约束下的非线性列车无模型控制[J]. 浙江大学学报(工学版), 2025, 59(11): 2309-2316.