TY - GEN
T1 - Cobweb
T2 - 32nd Asia-Pacific Software Engineering Conference, APSEC 2025
AU - Guo, Yingqian
AU - Zhao, Wentian
AU - Song, Tian
N1 - Publisher Copyright:
© 2025 IEEE.
PY - 2025
Y1 - 2025
N2 - Black-box fairness testing aims to reveal potential discriminatory behaviors in deployed AI models by generating individual discriminatory instances, thereby safeguarding trustworthiness in socially critical domains such as smart education and talent recruitment. However, existing approaches often suffer from limited instance space coverage due to their reliance on local neighborhood searches around predefined seed instances, leading to poor diversity and suboptimal exploration. To address these limitations, we propose Cobweb, a novel black-box fairness testing framework that combines genetic algorithms with explicit region-guided generation and multiobjective evolutionary search. First, the initial population is constructed via spatial uniform initialization to maximize instance diversity through pairwise distance optimization. Second, we introduce an explicit region-guided strategy and design a dualobjective optimization mechanism, which concurrently optimizes for both individual discrimination and spatial sparsity, enabling outward search into low-density regions. These mechanisms jointly improve Cobweb s ability to generate diverse and spatially representative discriminatory instances. Extensive experiments on seven benchmark tabular datasets demonstrate that Cobweb achieves significant improvements over state-of-the-art baselines, with gains in effectiveness (~ 1.6 ), efficiency (~ 2.9 ) on average under fixed query budgets. In particular, Cobweb consistently achieves higher scores in three complementary diversity metrics, confirming its superior exploratory capability. Retraining target models with Cobwebgenerated instances leads to an average reduction of 57% in individual fairness violations, confirming the practical value of our approach.
AB - Black-box fairness testing aims to reveal potential discriminatory behaviors in deployed AI models by generating individual discriminatory instances, thereby safeguarding trustworthiness in socially critical domains such as smart education and talent recruitment. However, existing approaches often suffer from limited instance space coverage due to their reliance on local neighborhood searches around predefined seed instances, leading to poor diversity and suboptimal exploration. To address these limitations, we propose Cobweb, a novel black-box fairness testing framework that combines genetic algorithms with explicit region-guided generation and multiobjective evolutionary search. First, the initial population is constructed via spatial uniform initialization to maximize instance diversity through pairwise distance optimization. Second, we introduce an explicit region-guided strategy and design a dualobjective optimization mechanism, which concurrently optimizes for both individual discrimination and spatial sparsity, enabling outward search into low-density regions. These mechanisms jointly improve Cobweb s ability to generate diverse and spatially representative discriminatory instances. Extensive experiments on seven benchmark tabular datasets demonstrate that Cobweb achieves significant improvements over state-of-the-art baselines, with gains in effectiveness (~ 1.6 ), efficiency (~ 2.9 ) on average under fixed query budgets. In particular, Cobweb consistently achieves higher scores in three complementary diversity metrics, confirming its superior exploratory capability. Retraining target models with Cobwebgenerated instances leads to an average reduction of 57% in individual fairness violations, confirming the practical value of our approach.
KW - fairness testing
KW - machine learning
KW - software bias
UR - https://www.scopus.com/pages/publications/105035167141
U2 - 10.1109/APSEC66846.2025.00044
DO - 10.1109/APSEC66846.2025.00044
M3 - Conference contribution
AN - SCOPUS:105035167141
T3 - Proceedings - Asia-Pacific Software Engineering Conference, APSEC
SP - 371
EP - 382
BT - Proceedings - 2025 32nd Asia-Pacific Software Engineering Conference, APSEC 2025
A2 - Zhang, Tao
A2 - Luo, Xiapu
A2 - Keung, Jacky
A2 - Choi, Eunjong
PB - IEEE Computer Society
Y2 - 2 December 2025 through 5 December 2025
ER -