Skip to main navigation Skip to search Skip to main content

Cobweb: Enhanced Generation Diversity for Black-box Fairness Testing

  • Yingqian Guo
  • , Wentian Zhao*
  • , Tian Song
  • *Corresponding author for this work
  • Beijing Institute of Technology

Research output: Chapter in Book/Report/Conference proceedingConference contributionpeer-review

Abstract

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.

Original languageEnglish
Title of host publicationProceedings - 2025 32nd Asia-Pacific Software Engineering Conference, APSEC 2025
EditorsTao Zhang, Xiapu Luo, Jacky Keung, Eunjong Choi
PublisherIEEE Computer Society
Pages371-382
Number of pages12
ISBN (Electronic)9798331566531
DOIs
Publication statusPublished - 2025
Event32nd Asia-Pacific Software Engineering Conference, APSEC 2025 - Macau, China
Duration: 2 Dec 20255 Dec 2025

Publication series

NameProceedings - Asia-Pacific Software Engineering Conference, APSEC
ISSN (Print)1530-1362

Conference

Conference32nd Asia-Pacific Software Engineering Conference, APSEC 2025
Country/TerritoryChina
CityMacau
Period2/12/255/12/25

Keywords

  • fairness testing
  • machine learning
  • software bias

Fingerprint

Dive into the research topics of 'Cobweb: Enhanced Generation Diversity for Black-box Fairness Testing'. Together they form a unique fingerprint.

Cite this