Constrained Co-evolutionary Differential Metamorphic Testing for Autonomous Systems with an Interpretability Approach

Read full text
Authors: Hossein Yousefizadeh, S. Gu, Lionel Briand, Ali Nasr
Cited by: 0
References: 46

Abstract

Autonomous systems, such as autonomous driving systems, evolve rapidly through frequent updates, risking unintended behavioral degradations. Effective system-level testing is challenging due to the vast scenario space, the absence of reliable test oracles, and the need for practically applicable and interpretable test cases. We present CoCoMagic , a novel automated test case generation method that combines metamorphic testing, differential testing, and advanced search-based techniques to identify behavioral divergences between versions of autonomous systems. CoCoMagic formulates test generation as a constrained cooperative co-evolutionary search, evolving both source scenarios and metamorphic perturbations to maximize differences in violations of predefined metamorphic relations across versions. Constraints and population initialization strategies guide the search toward realistic, relevant scenarios. An integrated interpretability approach aids in diagnosing the root causes of divergences. We evaluate CoCoMagic on an end-to-end autonomous driving system, InterFuser, within the Carla virtual simulator. Results show significant improvements over baseline search methods, identifying more distinct high-severity behavioral differences while maintaining scenario realism. The interpretability approach provides actionable insights for developers, supporting targeted debugging and safety assessment. CoCoMagic offers an efficient, effective, and interpretable way for the differential testing of evolving autonomous systems across versions.

Fields of Study & Subjects

Reinforcement Learning in Robotics Fault Detection and Control Systems Machine Learning and Data Classification

Publication details

Journal / source
ACM Transactions on Software Engineering and Methodology
Publication date
18 June 2026
Language
EN