DiffGAN: A Test Generation Approach for Differential Testing of Deep Neural Networks for Image Analysis
Zohreh Aghababaeyan, Manel Abdellatif, Lionel Briand, and Ramesh S

TL;DR
DiffGAN is a black-box test input generator using GANs and genetic algorithms to reveal behavioral discrepancies between DNNs in image analysis, improving model testing and selection.
Contribution
It introduces a novel black-box differential testing method for DNNs using GANs and genetic algorithms, outperforming existing approaches in diversity and effectiveness.
Findings
Generates four times more discrepancy-triggering inputs than baseline
Produces more diverse and valid test images
Enhances model selection accuracy using generated inputs
Abstract
Deep Neural Networks (DNNs) are increasingly deployed across applications. However, ensuring their reliability remains a challenge, and in many situations, alternative models with similar functionality and accuracy are available. Traditional accuracy-based evaluations often fail to capture behavioral differences between models, especially with limited test datasets, making it difficult to select or combine models effectively. Differential testing addresses this by generating test inputs that expose discrepancies in DNN model behavior. However, existing approaches face significant limitations: many rely on model internals or are constrained by available seed inputs. To address these challenges, we propose DiffGAN, a black-box test image generation approach for differential testing of DNN models. DiffGAN leverages a Generative Adversarial Network (GAN) and the Non-dominated Sorting…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsAdversarial Robustness in Machine Learning · Software Testing and Debugging Techniques
