Back to Search Start Over

Deceiving Humans and Machines Alike: Search-based Test Input Generation for DNNs Using Variational Autoencoders.

Authors :
Kang, Sungmin
Feldt, Robert
Yoo, Shin
Source :
ACM Transactions on Software Engineering & Methodology; May2024, Vol. 33 Issue 4, p1-24, 24p
Publication Year :
2024

Abstract

Due to the rapid adoption of Deep Neural Networks (DNNs) into larger software systems, testing of DNN-based systems has received much attention recently. While many different test adequacy criteria have been suggested, we lack effective test input generation techniques. Inputs such as images of real-world objects and scenes are not only expensive to collect but also difficult to randomly sample. Consequently, current testing techniques for DNNs tend to apply small local perturbations to existing inputs to generate new inputs. We propose SINVAD (Search-based Input space Navigation using Variational AutoencoDers), a way to sample from, and navigate over, a space of realistic inputs that resembles the true distribution in the training data. Our input space is constructed using Variational Autoencoders (VAEs), and navigated through their latent vector space. Our analysis shows that the VAE-based input space is well-aligned with human perception of what constitutes realistic inputs. Further, we show that this space can be effectively searched to achieve various testing scenarios, such as boundary testing of two different DNNs or analyzing class labels that are difficult for the given DNN to distinguish. Guidelines on how to design VAE architectures are presented as well. Our results have the potential to open the field to meaningful exploration through the space of highly structured images. [ABSTRACT FROM AUTHOR]

Details

Language :
English
ISSN :
1049331X
Volume :
33
Issue :
4
Database :
Complementary Index
Journal :
ACM Transactions on Software Engineering & Methodology
Publication Type :
Academic Journal
Accession number :
176781659
Full Text :
https://doi.org/10.1145/3635706