TY - GEN
T1 - Restricted Natural Language and Model-based Adaptive Test Generation for Autonomous Driving
AU - Shi, Yize
AU - Lu, Chengjie
AU - Zhang, Man
AU - Zhang, Huihui
AU - Yue, Tao
AU - Ali, Shaukat
N1 - Publisher Copyright:
© 2021 IEEE.
PY - 2021
Y1 - 2021
N2 - With the aim to reduce car accidents, autonomous driving attracted a lot of attentions these years. However, recently reported crashes indicate that this goal is far from being achieved. Hence, cost-effective testing of autonomous driving systems (ADSs) has become a prominent research topic. The classical model-based testing (MBT), i.e., generating test cases from test models followed by executing the test cases, is ineffective for testing ADSs, mainly because of the constant exposure to ever-changing operating environments, and uncertain internal behaviors due to employed AI techniques. Thus, MBT must be adaptive to guide test case generation based on test execution results in a step-wise manner. To this end, we propose a natural language and model-based approach, named LiveTCM, to automatically execute and generate test case specifications (TCSs) by interacting with an ADS under test and its environment. LiveTCM is evaluated with an open-source ADS and two test generation strategies: Deep Q-Network (DQN)-based and Random. Results show that LiveTCM with DQN can generate TCSs with 56 steps on average in 60 seconds, leading to 6.4 test oracle violations and covering 14 APIs per TCS on average.
AB - With the aim to reduce car accidents, autonomous driving attracted a lot of attentions these years. However, recently reported crashes indicate that this goal is far from being achieved. Hence, cost-effective testing of autonomous driving systems (ADSs) has become a prominent research topic. The classical model-based testing (MBT), i.e., generating test cases from test models followed by executing the test cases, is ineffective for testing ADSs, mainly because of the constant exposure to ever-changing operating environments, and uncertain internal behaviors due to employed AI techniques. Thus, MBT must be adaptive to guide test case generation based on test execution results in a step-wise manner. To this end, we propose a natural language and model-based approach, named LiveTCM, to automatically execute and generate test case specifications (TCSs) by interacting with an ADS under test and its environment. LiveTCM is evaluated with an open-source ADS and two test generation strategies: Deep Q-Network (DQN)-based and Random. Results show that LiveTCM with DQN can generate TCSs with 56 steps on average in 60 seconds, leading to 6.4 test oracle violations and covering 14 APIs per TCS on average.
KW - Adaptive Test Generation
KW - Autonomous Driving
KW - Natural Language and Model-based Testing
UR - https://www.scopus.com/pages/publications/85123400504
U2 - 10.1109/MODELS50736.2021.00019
DO - 10.1109/MODELS50736.2021.00019
M3 - 会议稿件
AN - SCOPUS:85123400504
T3 - Proceedings - 24th International Conference on Model-Driven Engineering Languages and Systems, MODELS 2021
SP - 101
EP - 111
BT - Proceedings - 24th International Conference on Model-Driven Engineering Languages and Systems, MODELS 2021
PB - Institute of Electrical and Electronics Engineers Inc.
T2 - 24th ACM/IEEE International Conference on Model-Driven Engineering Languages and Systems, MODELS 2021
Y2 - 10 October 2021 through 15 October 2021
ER -