MTGP: Combining Metamorphic Testing and Genetic Programming
Dominik Sobania, Martin Briesch, Philipp R\"ochner, Franz Rothlauf

TL;DR
This paper introduces MTGP, a method combining metamorphic testing with genetic programming to improve program generalization with fewer labeled training cases, reducing labeling costs in real-world software development.
Contribution
The paper proposes MTGP, integrating metamorphic testing into genetic programming, and demonstrates its effectiveness in enhancing generalization with fewer labeled training cases.
Findings
Metamorphic testing combined with labeled data improves generalization.
MTGP outperforms traditional genetic programming in various configurations.
Using metamorphic testing reduces the need for extensive labeled training data.
Abstract
Genetic programming is an evolutionary approach known for its performance in program synthesis. However, it is not yet mature enough for a practical use in real-world software development, since usually many training cases are required to generate programs that generalize to unseen test cases. As in practice, the training cases have to be expensively hand-labeled by the user, we need an approach to check the program behavior with a lower number of training cases. Metamorphic testing needs no labeled input/output examples. Instead, the program is executed multiple times, first on a given (randomly generated) input, followed by related inputs to check whether certain user-defined relations between the observed outputs hold. In this work, we suggest MTGP, which combines metamorphic testing and genetic programming and study its performance and the generalizability of the generated programs.…
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
TopicsEvolutionary Algorithms and Applications · Viral Infectious Diseases and Gene Expression in Insects · Software Testing and Debugging Techniques
MethodsTest
