Learning by Viewing: Generating Test Inputs for Games by Integrating Human Gameplay Traces in Neuroevolution

04/13/2023
by   Patric Feldmeier, et al.
0

Although automated test generation is common in many programming domains, games still challenge test generators due to their heavy randomisation and hard-to-reach program states. Neuroevolution combined with search-based software testing principles has been shown to be a promising approach for testing games, but the co-evolutionary search for optimal network topologies and weights involves unreasonably long search durations. In this paper, we aim to improve the evolutionary search for game input generators by integrating knowledge about human gameplay behaviour. To this end, we propose a novel way of systematically recording human gameplay traces, and integrating these traces into the evolutionary search for networks using traditional gradient descent as a mutation operator. Experiments conducted on eight diverse Scratch games demonstrate that the proposed approach reduces the required search time from five hours down to only 52 minutes.

READ FULL TEXT

page 1

page 6

research
08/29/2022

Neuroevolution-Based Generation of Tests and Oracles for Games

Game-like programs have become increasingly popular in many software eng...
research
06/01/2014

Evolutionary Search in the Space of Rules for Creation of New Two-Player Board Games

Games have always been a popular test bed for artificial intelligence te...
research
01/09/2019

A Deep Learning based Approach to Automated Android App Testing

Automated input generators are widely used for large-scale dynamic analy...
research
06/11/2022

Mutation Models: Learning to Generate Levels by Imitating Evolution

Search-based procedural content generation (PCG) is a well-known method ...
research
02/20/2021

Info-Evo: Using Information Geometry to Guide Evolutionary Program Learning

A novel optimization strategy, Info-Evo, is described, in which natural ...
research
11/13/2022

An Online Agent-Based Search Approach in Automated Computer Game Testing with Model Construction

The complexity of computer games is ever increasing. In this setup, guid...
research
05/27/2019

Towards Automated Boundary Value Testing with Program Derivatives and Search

A natural and often used strategy when testing software is to use input ...

Please sign up or login with your details

Forgot password? Click here to reset