Logo image
Poster: Distribution-Aware Fairness Test Generation
Conference proceeding

Poster: Distribution-Aware Fairness Test Generation

Sai Sathiesh Rajan, Ezekiel Soremekun, Sudipta Chattopadhyay, Yves Le Traon and IEEE
Proceedings of the 45th International Conference on Software Engineering: Companion Proceedings, pp.322-323
ACM Conferences
ICSE '23: 45th International Conference on Software Engineering: Companion Proceedings
14/05/2023

Abstract

Computing methodologies Computing methodologies -- Machine learning Computing methodologies -- Machine learning -- Learning paradigms Computing methodologies -- Machine learning -- Learning paradigms -- Supervised learning Computing methodologies -- Machine learning -- Machine learning approaches Software and its engineering Software and its engineering -- Software creation and management Software and its engineering -- Software creation and management -- Software verification and validation Software and its engineering -- Software creation and management -- Software verification and validation -- Software defect analysis Software and its engineering -- Software creation and management -- Software verification and validation -- Software defect analysis -- Software testing and debugging
This work addresses how to validate group fairness in image recognition software. We propose a distribution-aware fairness testing approach (called DistroFair) that systematically exposes class-level fairness violations in image classifiers via a synergistic combination of out-of-distribution (OOD) testing and semantic-preserving image mutation. DistroFair automatically learns the distribution (e.g., number/orientation) of objects in a set of images and systematically mutates objects in the images to become OOD using three semantic-preserving image mutations - object deletion, object insertion and object rotation. We evaluate DistroFair with two well-known datasets (CityScapes and MS-COCO) and three commercial image recognition software (namely, Amazon Rekognition, Google Cloud Vision and Azure Computer Vision) and find that at least 21% of images generated by DistroFair result in class-level fairness violations. DistroFair is up to 2.3x more effective than the baseline (generation of images within the observed distribution). Finally, we evaluated the semantic validity of our approach via a user study with 81 participants, using 30 real images and 30 corresponding mutated images generated by DistroFair and found that the generated images are 80% as realistic as the original images.

Metrics

1 Record Views

Details

Logo image