arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2209.00357cs.SE
收藏

科学建模软件中的因果性测试

Testing Causality in Scientific Modelling Software

Andrew G. Clark, Michael Foster, Benedikt Prifling, Neil Walkinshaw, Robert M. Hierons, Volker Schmidt, Robert D. Turner

AI总结:

本文提出因果测试框架,利用因果推断技术从现有混杂数据中推断因果效应,支持后验的蜕变测试,有效解决了科学建模软件因复杂输入、漫长执行和非确定性而难以测试的问题。

摘要:

从模拟星系形成到模拟大流行中的病毒传播,科学模型在发展科学理论和支持影响我们所有人的政府政策决策中发挥着关键作用。鉴于这些关键应用,糟糕的建模假设或错误可能会产生深远的影响。然而,科学模型具有几个使其出了名难以测试的属性,包括复杂的输入空间、漫长的执行时间和非确定性,使得现有的测试技术不切实际。在流行病学等领域,研究人员寻求具有挑战性的因果问题的答案,一种被称为因果推断的统计方法解决了类似的问题,使得能够从嘈杂、有偏差和稀疏的数据中推断出因果结论,而不是进行昂贵的实验。本文介绍了因果测试框架:这是一个使用因果推断技术从现有数据中建立因果效应的框架,使用户能够进行关于变更影响的软件测试活动,例如后验的蜕变测试。我们提出了三个涵盖现实世界科学模型的案例研究,展示了因果测试框架如何从重用的、混杂的测试数据中推断蜕变测试结果,为测试科学建模软件提供有效的解决方案。

英文摘要:

From simulating galaxy formation to viral transmission in a pandemic, scientific models play a pivotal role in developing scientific theories and supporting government policy decisions that affect us all. Given these critical applications, a poor modelling assumption or bug could have far-reaching consequences. However, scientific models possess several properties that make them notoriously difficult to test, including a complex input space, long execution times, and non-determinism, rendering existing testing techniques impractical. In fields such as epidemiology, where researchers seek answers to challenging causal questions, a statistical methodology known as Causal Inference has addressed similar problems, enabling the inference of causal conclusions from noisy, biased, and sparse data instead of costly experiments. This paper introduces the Causal Testing Framework: a framework that uses Causal Inference techniques to establish causal effects from existing data, enabling users to conduct software testing activities concerning the effect of a change, such as Metamorphic Testing, a posteriori. We present three case studies covering real-world scientific models, demonstrating how the Causal Testing Framework can infer metamorphic test outcomes from reused, confounded test data to provide an efficient solution for testing scientific modelling software.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑