arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2206.06054cs.LGcs.SE
收藏

验证和测试$k$ -机器学习模型的安全属性

Specifying and Testing $k$-Safety Properties for Machine-Learning Models

MPI-SWS(马克斯·普朗克软件系统研究所);Saarland University(萨尔大学);German Research Center for Artificial Intelligence (DFKI)(德国人工智能研究中心);ConsenSys(ConsenSys公司)

Maria Christakis, Hasan Ferit Eniser, Jörg Hoffmann, Adish Singla, Valentin Wüstholz

摘要:

机器学习模型在我们的生活中变得越来越普遍,例如协助图像分类或决策任务。因此,这些模型的可靠性是至关重要的,并导致了许多方法的发展,以验证和验证其鲁棒性和公平性。然而,除了这些特定的属性之外,从模型中指定(更不用说检查)一般的功能正确性期望是具有挑战性的。在本文中,我们从规范中使用的形式化方法的灵感,表达功能正确性属性的推理$k$不同的执行,所谓的$k$ -安全属性。考虑到银行的信贷筛选模型,“如果一个人被拒绝贷款,他们的收入减少,他们仍然应该被拒绝贷款”的预期属性是一个2-安全属性。在这里,我们展示了广泛的适用性$k$ -安全属性的机器学习模型,并提出了第一个规约语言来表达它们。我们还操作的语言中使用变形测试自动验证这些属性的框架。我们的实验表明,我们的框架是有效的,在识别属性侵犯,检测到的错误可以用来训练更好的模型。

英文摘要:

Machine-learning models are becoming increasingly prevalent in our lives, for instance assisting in image-classification or decision-making tasks. Consequently, the reliability of these models is of critical importance and has resulted in the development of numerous approaches for validating and verifying their robustness and fairness. However, beyond such specific properties, it is challenging to specify, let alone check, general functional-correctness expectations from models. In this paper, we take inspiration from specifications used in formal methods, expressing functional-correctness properties by reasoning about $k$ different executions, so-called $k$-safety properties. Considering a credit-screening model of a bank, the expected property that "if a person is denied a loan and their income decreases, they should still be denied the loan" is a 2-safety property. Here, we show the wide applicability of $k$-safety properties for machine-learning models and present the first specification language for expressing them. We also operationalize the language in a framework for automatically validating such properties using metamorphic testing. Our experiments show that our framework is effective in identifying property violations, and that detected bugs could be used to train better models.

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

↑