BMT: Behavior Driven Development-based Metamorphic Testing for Autonomous Driving Models


연구 분야: Software Development



학회: 2021 IEEE/ACM 6th International Workshop on Metamorphic Testing (MET)


초록

Deep Neural Network based models are widely used for perception and control in autonomous driving. Recent work leverages metamorphic testing to improve defect detection but is limited to using only an equality-based metamorphic relation. Thus, it does not provide sufficient expressiveness for users to define custom metamorphic relations nor means to automatically generate meaningful inputs based on such expressive metamorphic relations that reflect real-world traffic behaviors. In this paper, we preliminarily design and evaluate a declarative Behaviour-Driven Development (BDD)-based metamorphic testing framework BMT, which enables domain experts to specify custom traffic behaviors—a car shall decelerate by x% when a bicycle is in front, etc. It then automatically translates a human-written behavior to a corresponding metamorphic relation and synthesizes meaningful test inputs using a variety of image and graphics processing techniques. Our preliminary evaluation shows that BMT can detect a significant number of erroneous predictions of three driving models for speed predictions. These detected erroneous predictions are manually examined and confirmed by six human judges as meaningful traffic violations. By automating test generation from custom behaviors, BMT enables experts to easily express domain-specific constraints and finds violations of such constraints.


Author Profile
Yao Deng

Macquaire University Sydney NSW Australia

Australia
Author Profile
Guannan Lou

Macquaire University Sydney NSW Australia

Australia
Author Profile
Xi Zheng

Macquaire University Sydney NSW Australia

Australia

📄 논문 정보

발행 연도 2021년
인용수 14
출판 국가 Australia, Morocco, Canada
사이트 IEEE
좋아요 수 0

연관 논문 목록 (32건)