kirancodes.me
To Proof Maintenance & Beyond!

Dissecting Global Search: A Simple Yet Effective Method to Boost Individual Discrimination Testing and Repair

Lili Quan, Tianlin Li, Xiaofei Xie, Zhenpeng Chen, Sen Chen, Lingxiao Jiang, Xiaohong Li

Abstract

Deep Learning (DL) has achieved significant success in socially critical decision-making applications but often exhibits unfair behaviors, raising social concerns. Among these unfair behaviors, individual discrimination-examining inequalities between instance pairs with identical profiles differing only in sensitive attributes such as gender, race, and age-is extremely socially impactful. Existing methods have made significant and commendable efforts in testing individual discrimination before deployment. However, their efficiency and effectiveness remain limited, particularly when evaluating relatively fairer models. It remains unclear which phase of the existing testing framework (global or local) is the primary bottleneck limiting performance. Facing the above issues, we first identify that enhancing the global phase consistently improves overall testing effectiveness compared to enhancing the local phase. This motivates us to propose Genetic-Random Fairness Testing (GRFT), an effective and efficient method. In the global phase, we use a genetic algorithm to guide the search for more global discriminatory instances. In the local phase, we apply a light random search to explore the neighbors of these instances, avoiding time-consuming computations. Additionally, based on the fitness score, we also propose a straightforward yet effective repair approach. For a thorough evaluation, we conduct extensive experiments involving 6 testing methods, 5 datasets, 261 models (including 5 naively trained, 64 repaired, and 192 quantized for on-device deployment), and sixteen combinations of sensitive attributes, showing the superior performance of GRFT and our repair method.

BibTeX
@inproceedings{Quan-al:ICSE25,
  author    = {Lili Quan and
               Tianlin Li and
               Xiaofei Xie and
               Zhenpeng Chen and
               Sen Chen and
               Lingxiao Jiang and
               Xiaohong Li},
  title     = {Dissecting Global Search: A Simple Yet Effective Method to Boost Individual Discrimination Testing and Repair},
  booktitle = {ICSE},
  pages     = {1908--1920},
  publisher = {{IEEE}},
  year      = {2025},
}

Related papers