Using Transformer and GAN Models for Software and Security Testing

This paper investigates how Generative Adversarial Networks (GANs) and transformer models can support the process of software and security testing by generating and augmenting test data. We start with an analysis of the use of GANs for software testing, focusing on the generation of privacy-sensitive data in the automotive domain. We demonstrate that GANs can contribute to the efficient generation of test data which meet specific technical and regulatory requirements and discuss the limitations of applying differential privacy in this context. Based on this intermediate result, we investigate how lightweight open source transformer models can be applied to fuzzing to detect weaknesses. The evaluation is carried out using a modular training and evaluation framework. Our system implements the “Beyond Random Inputs” fuzzing approach by Rostami et al. (2024), using the Lua interpreter1as the fuzzing target. We then compare its effectiveness with the coverage-guided fuzzer AFL++ in terms of code coverage and vulnerability detection. Our results demonstrate the potential and limitations of transformer-based fuzzing in constrained environments, motivating further research on model scaling, resource efficiency, and domain transferability.

Authors

Publication Details

Journal
ScholarSpace (University of Hawaii at Manoa)
Published
2025-12-23
Primary Topic
Software Testing and Debugging Techniques
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Using Transformer and GAN Models for Software and Security Testing

Manfred Hauswirth, Christoph Huy
ScholarSpace (University of Hawaii at Manoa)
Software Testing and Debugging Techniques
article

Using Transformer and GAN Models for Software and Security Testing

Manfred Hauswirth, Christoph Huy
article en

Abstract

This paper investigates how Generative Adversarial Networks (GANs) and transformer models can support the process of software and security testing by generating and augmenting test data. We start with an analysis of the use of GANs for software testing, focusing on the generation of privacy-sensitive data in the automotive domain. We demonstrate that GANs can contribute to the efficient generation of test data which meet specific technical and regulatory requirements and discuss the limitations of applying differential privacy in this context. Based on this intermediate result, we investigate how lightweight open source transformer models can be applied to fuzzing to detect weaknesses. The evaluation is carried out using a modular training and evaluation framework. Our system implements the “Beyond Random Inputs” fuzzing approach by Rostami et al. (2024), using the Lua interpreter1as the fuzzing target. We then compare its effectiveness with the coverage-guided fuzzer AFL++ in terms of code coverage and vulnerability detection. Our results demonstrate the potential and limitations of transformer-based fuzzing in constrained environments, motivating further research on model scaling, resource efficiency, and domain transferability.

ScholarSpace (University of Hawaii at Manoa)
Decent work and economic growth
Openalex Percentile: Top 31%
Software Testing and Debugging Techniques
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.