arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2212.06140cs.LGcs.AI
收藏

Fairify:神经网络的公平性验证

Fairify: Fairness Verification of Neural Networks

Carnegie Mellon University(卡内基梅隆大学);Iowa State University(爱荷华州立大学)

Sumon Biswas, Hridesh Rajan

摘要:

机器学习(ML)软件的公平性在最近已经成为一个主要的关注点。虽然最近的测试和提高公平性的研究已经证明了对现实世界的软件的影响,在实践中提供公平性保证仍然缺乏。ML模型的认证具有挑战性,因为模型的决策过程非常复杂。在本文中,我们提出了Fairify,一个基于SMT的方法来验证个体的公平性在神经网络(NN)模型。个人公平确保任何两个相似的个人得到类似的待遇,而不管他们受保护的属性如何,例如,种族性别年龄由于神经网络的全局校验和计算节点的非线性,使得这种公平性难以保证。我们提出了合理的方法,使个人公平性验证易于开发人员。其关键思想是,当考虑输入域的一小部分时,NN中的许多神经元总是保持不活动。因此,Fairify利用白盒访问生产中的模型,然后应用基于形式分析的修剪。我们的方法采用输入分区,然后修剪每个分区的NN提供公平性认证或反例。我们利用神经元的区间算术和激活启发式来执行必要的修剪。我们在从四个不同来源收集的25个真实世界的神经网络上评估了Fairify,并证明了其有效性,可扩展性和性能超过基线和密切相关的工作。Fairify也可以根据NN的域和大小进行配置。我们的新配方的问题可以回答有针对性的验证查询与放松和反例,这具有实际意义。

英文摘要:

Fairness of machine learning (ML) software has become a major concern in the recent past. Although recent research on testing and improving fairness have demonstrated impact on real-world software, providing fairness guarantee in practice is still lacking. Certification of ML models is challenging because of the complex decision-making process of the models. In this paper, we proposed Fairify, an SMT-based approach to verify individual fairness property in neural network (NN) models. Individual fairness ensures that any two similar individuals get similar treatment irrespective of their protected attributes e.g., race, sex, age. Verifying this fairness property is hard because of the global checking and non-linear computation nodes in NN. We proposed sound approach to make individual fairness verification tractable for the developers. The key idea is that many neurons in the NN always remain inactive when a smaller part of the input domain is considered. So, Fairify leverages whitebox access to the models in production and then apply formal analysis based pruning. Our approach adopts input partitioning and then prunes the NN for each partition to provide fairness certification or counterexample. We leveraged interval arithmetic and activation heuristic of the neurons to perform the pruning as necessary. We evaluated Fairify on 25 real-world neural networks collected from four different sources, and demonstrated the effectiveness, scalability and performance over baseline and closely related work. Fairify is also configurable based on the domain and size of the NN. Our novel formulation of the problem can answer targeted verification queries with relaxations and counterexamples, which have practical implications.

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

↑