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.
VeriFlow: Modeling Distributions for Neural Network Verification
Independent Researcher(独立研究者);TU Dortmund University(图卢兹-多特蒙德大学);Center for Trustworthy Data Science and Security(可信数据科学与安全中心);University Alliance Ruhr(鲁尔大学联盟)
Efficient Preimage Approximation for Neural Network Certification
Department of Computer Science, University of Oxford, United Kingdom(英国牛津大学计算机科学系);Department of Computer Science, Johannes Kepler University Linz, Austria(奥地利约翰·开普勒大学林茨分校计算机科学系);Department of Information Engineering and Computer Science, University of Trento, Italy(意大利特伦托大学信息工程与计算机科学系)