Foster, M., Poskitt, C.M., Latimer, N.R. et al. (3 more authors) (2026) Causality-driven test case minimisation for cyber-physical systems. ACM Transactions on Software Engineering and Methodology. ISSN: 1049-331X
Abstract
Cyber-physical systems allow digital control systems to interact with the physical world using sensors and actuators. They are increasingly being used to automate critical infrastructure, where software faults can have dire consequences. Due to the complex nature and unpredictability of these systems, their resilience is often tested using a technique called fuzzing, which generates quasirandom sequences of sensor and actuator manipulations with the goal of forcing a system into unsafe states. However, there is currently no way of determining which manipulations of a test case cause a failure without systematically removing each one and re-running the test, which can be extremely time-consuming and expensive. In this work, we present CausalCut, a technique that uses causal inference to estimate the causal contribution of each intervention from pre-existing runtime data, thereby reducing the number of times tests must be re-run. We evaluated CausalCut by applying it to two very different systems: an artificial pancreas and a water treatment plant. CausalCut typically managed to remove more than half of the spurious manipulations using fewer executions than the current state of the art, which represents a saving of up to 18 hours and $6300 per test case.
Metadata
| Item Type: | Article |
|---|---|
| Authors/Creators: |
|
| Copyright, Publisher and Additional Information: | © 2026 The Authors. Except as otherwise noted, this author-accepted version of a journal article published in ACM Transactions on Software Engineering and Methodology is made available via the University of Sheffield Research Publications and Copyright Policy under the terms of the Creative Commons Attribution 4.0 International License (CC-BY 4.0), which permits unrestricted use, distribution and reproduction in any medium, provided the original work is properly cited. To view a copy of this licence, visit http://creativecommons.org/licenses/by/4.0/ |
| Keywords: | Cyber-physical systems; fuzzing; test diversity; equivalence classes; causality; causal inference; test minimisation |
| Dates: |
|
| Institution: | The University of Sheffield |
| Academic Units: | The University of Sheffield > Faculty of Engineering (Sheffield) > Department of Computer Science (Sheffield) |
| Funding Information: | Funder Grant number ENGINEERING AND PHYSICAL SCIENCE RESEARCH COUNCIL EP/T030526/1 |
| Date Deposited: | 19 May 2026 10:43 |
| Last Modified: | 27 May 2026 10:35 |
| Status: | Published online |
| Publisher: | Association for Computing Machinery (ACM) |
| Refereed: | Yes |
| Identification Number: | 10.1145/3816435 |
| Open Archives Initiative ID (OAI ID): | oai:eprints.whiterose.ac.uk:240970 |
Download
Filename: Causal_SWaT.pdf
Licence: CC-BY 4.0

CORE (COnnecting REpositories)
CORE (COnnecting REpositories)