Latent Imitator: Generating Natural Individual Discriminatory Instances for Black-Box Fairness Testing

被引:6
|
作者
Xiao, Yisong [1 ,2 ]
Liu, Aishan [1 ,3 ]
Li, Tianlin [4 ]
Liu, Xianglong [1 ,3 ,5 ]
机构
[1] Beihang Univ, NLSDE, Beijing, Peoples R China
[2] Beihang Univ, Shen Yuan Honors Coll, Beijing, Peoples R China
[3] Inst Dataspace, Hefei, Anhui, Peoples R China
[4] Nanyang Technol Univ, Singapore, Singapore
[5] Zhongguancun Lab, Beijing, Peoples R China
基金
中国国家自然科学基金; 国家重点研发计划;
关键词
Fairness Testing; Individual Discrimination; Latent Space; Natural Individual Discriminatory Instances;
D O I
10.1145/3597926.3598099
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Machine learning (ML) systems have achieved remarkable performance across a wide area of applications. However, they frequently exhibit unfair behaviors in sensitive application domains (e.g., employment and loan), raising severe fairness concerns. To evaluate and test fairness, engineers often generate individual discriminatory instances to expose unfair behaviors before model deployment. However, existing baselines ignore the naturalness of generation and produce instances that deviate from the real data distribution, which may fail to reveal the actual model fairness since these unnatural discriminatory instances are unlikely to appear in practice. To address the problem, this paper proposes a framework named Latent Imitator (LIMI) to generate more natural individual discriminatory instances with the help of a generative adversarial network (GAN), where we imitate the decision boundary of the target model in the semantic latent space of GAN and further samples latent instances on it. Specifically, we first derive a surrogate linear boundary to coarsely approximate the decision boundary of the target model, which reflects the nature of the original data distribution. Subsequently, to obtain more natural instances, we manipulate random latent vectors to the surrogate boundary with a one-step movement, and further conduct vector calculation to probe two potential discriminatory candidates that may be more closely located in the real decision boundary. Extensive experiments on various datasets demonstrate that our LIMI outperforms other baselines largely in effectiveness (x9.42 instances), efficiency (x8.71 speeds), and naturalness (+19.65%) on average. In addition, we empirically demonstrate that retraining on test samples generated by our approach can lead to improvements in both individual fairness (45.67% on IFr and 32.81% on IFo) and group fairness (9.86% on SPD and 28.38% on AOD). Our codes can be found on our website.
引用
收藏
页码:829 / 841
页数:13
相关论文
共 50 条
  • [1] Boundary-guided Black-box Fairness Testing
    Yin, Ziliiang
    Zhao, Wentian
    Song, Tian
    2024 IEEE 48TH ANNUAL COMPUTERS, SOFTWARE, AND APPLICATIONS CONFERENCE, COMPSAC 2024, 2024, : 1230 - 1239
  • [2] Generating expected results for automated black-box testing
    Schroeder, PJ
    Faherty, P
    Korel, B
    ASE 2002: 17TH IEEE INTERNATIONAL CONFERENCE ON AUTOMATED SOFTWARE ENGINEERING, 2002, : 139 - 148
  • [3] Generating New Space-Filling Test Instances for Continuous Black-Box Optimization
    Munoz, Mario A.
    Smith-Miles, Kate
    EVOLUTIONARY COMPUTATION, 2020, 28 (03) : 379 - 404
  • [4] Generating Test Data for Black-Box Testing using Genetic Algorithms
    Fischer, Marten
    Toenjes, Ralf
    2012 IEEE 17TH CONFERENCE ON EMERGING TECHNOLOGIES & FACTORY AUTOMATION (ETFA), 2012,
  • [5] Fairness improvement for black-box classifiers with Gaussian process
    Dang Nguyen
    Gupta, Sunil
    Rana, Santu
    Shilton, Alistair
    Venkatesh, Svetha
    INFORMATION SCIENCES, 2021, 576 : 542 - 556
  • [6] Tailoring of black-box testing methods
    Murnane, Tafline
    Reed, Karl
    Hall, Richard
    2006 AUSTRALIAN SOFTWARE ENGINEERING CONFERENCE, PROCEEDINGS, 2006, : 292 - +
  • [7] Information gain of black-box testing
    Yang, Linmin
    Dang, Zhe
    Fischer, Thomas R.
    FORMAL ASPECTS OF COMPUTING, 2011, 23 (04) : 513 - 539
  • [8] A note on an anomaly in black-box testing
    Huima, Antti
    FORMAL APPROACHES TO SOFTWARE TESTING, 2006, 3997 : 47 - 61
  • [9] NATURAL SYSTEMS VS THE BLACK-BOX
    LOGSDON, G
    BIOCYCLE, 1989, 30 (06) : 68 - 69
  • [10] Black-box testing of grey-box behavior
    Tyler, B
    Soundarajan, N
    FORMAL APPROACHES TO SOFTWARE TESTING, 2004, 2931 : 1 - 14