面向可问责软件的蜕变调试
Metamorphic Debugging for Accountable Software
AI总结:
本文针对社会-法律软件可问责性面临的规范转化、oracle 缺失和数据稀缺三大挑战,提出以蜕变调试为核心方法,通过关系型规范检测、解释并修复税务申报与贫困管理软件中的可问责性缺陷。
摘要:
随着法律法规变得愈发复杂和庞大,软件系统在引导人们理解和应对这些复杂性问题上的作用变得更加关键。鉴于其在社会经济和法律层面的重要影响,确保软件可问责性——涵盖法律合规性、可解释性、对程序正义的感知、结果公平性以及保密性/隐私性等特质——具有至关重要的社会意义。此外,能够准确解释其需求、符合法律标准并维护社会公平的软件,可以作为法律和社会规范的替代载体,使政策制定者能够像软件工程师执行测试一样顺畅地查询法律。然而,确保软件可问责性面临三个关键挑战:i) 将法律术语转化为形式化规范;ii) 查询缺乏确定的“真相”(即 oracle 问题);iii) 由于隐私和法律方面的顾虑,可信数据集十分稀缺。\n\n基于在美国税务申报软件调试中的经验,我们提出可以通过关注关系型规范来应对这些挑战。虽然给定输入的精确输出可能是未知的,但两个相关输入输出之间的关系可能更容易表达。这一观察类似于 i) 法律上的先例原则,即相似案件必须产生相似裁决;以及 ii) 软件工程中的蜕变关系(metamorphic relation, MR),它要求软件输入与输出之间存在特定关系。我们提出以蜕变调试(metamorphic debugging)作为检测、解释和修复社会-法律软件中这些关系的基础。我们展示了利用蜕变调试在税务申报和贫困管理软件系统中检测和解释可问责性缺陷的最新成果。
英文摘要:
As the laws have become more complicated and enormous, the role of software systems in navigating and understanding these intricacies has become more critical. Given their socio-economic and legally critical implications, ensuring software accountability -- encompassing qualities such as legal compliance, explainability, perceptions of procedural justice, fairness of outcomes, and confidentiality/privacy -- is of paramount social importance. Moreover, software that accurately interprets its requirements, complies with legal standards and upholds social fairness can serve as a surrogate for legal and social norms, enabling policymakers to inquire about the law as seamlessly as a software engineer conducts a test. However, ensuring software accountability faces three key challenges: i) Translating legalese into formal specifications, ii) Lack of a definitive 'truth' for queries (the oracle problem), and iii) Scarcity of trustworthy datasets due to privacy and legal concerns. Drawing from the experiences in debugging U.S. tax preparation software, we propose that these challenges can be tackled by focusing on relational specifications. While the exact output for a given input may be unknown, the relationship between the outputs of two related inputs may be easier to express. This observation resembles i) the legal doctrine of precedent, meaning that similar cases must yield similar rulings; and ii) metamorphic relation (MR) in software engineering that requires a specific relation between software inputs and outputs. We propose metamorphic debugging as the foundation for detecting, explaining, and repairing socio-legal software for these relations. We showcase recent results that leverage metamorphic debugging to detect and explain accountability bugs in tax prep and poverty management software systems.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。