Automatic Fairness Testing of Neural Classifiers Through Adversarial Sampling
- 4 August 2021
- journal article
- research article
- Published by Institute of Electrical and Electronics Engineers (IEEE) in IEEE Transactions on Software Engineering
- Vol. 48 (9) , 3593-3612
Abstract
Although deep learning has demonstrated astonishing performance in many applications, there are still concerns about its dependability. One desirable property of deep learning applications with societal impact is fairness (i.e., non-discrimination). Unfortunately, discrimination might be intrinsically embedded into the models due to the discrimination in the training data. As a countermeasure, fairness testing systemically identifies discriminatory samples, which can be used to retrain the model and improve the model’s fairness. Existing fairness testing approaches however have two major limitations. First, they only work well on traditional machine learning models and have poor performance (e.g., effectiveness and efficiency) on deep learning models. Second, they only work on simple structured (e.g., tabular) data and are not applicable for domains such as text. In this work, we bridge the gap by proposing a scalable and effective approach for systematically searching for discriminatory samples while extending existing fairness testing approaches to address a more challenging domain, i.e., text classification. Compared with state-of-the-art methods, our approach only employs lightweight procedures like gradient computation and clustering, which is significantly more scalable and effective. Experimental results show that on average, our approach explores the search space much more effectively (9.62 and 2.38 times more than the state-of-the-art methods respectively on tabular and text datasets) and generates much more discriminatory samples (24.95 and 2.68 times) within a same reasonable time. Moreover, the retrained models reduce discrimination by 57.2 and 60.2 percent respectively on average.Keywords
All Related Versions
Funding Information
- Key-Area Research and Development Program of Guangdong Province (2020B0101100005)
- Key Research and Development Program of Zhejiang Province (2021C01014)
- Zhejiang University
- Guangdong Provincial Department of Science and Technology (2018B010107004)
- Ministry of Education - Singapore (MOET32020-0004, T2EP20120-0019, T1-251RES1901)
This publication has 38 references indexed in Scilit:
- Credit Card Fraud Detection Using Convolutional Neural Networks2016
- The Limitations of Deep Learning in Adversarial Settings2016
- The Social Impact of Natural Language Processing2016
- Certifying and Removing Disparate Impact2015
- FaceNet: A unified embedding for face recognition and clustering2015
- Learning Phrase Representations using RNN Encoder–Decoder for Statistical Machine Translation2014
- Glove: Global Vectors for Word Representation2014
- Fairness through awareness2012
- Long Short-Term MemoryNeural Computation, 1997
- Probability Inequalities for Sums of Bounded Random VariablesJournal of the American Statistical Association, 1963