cs.AIJul 26, 2024

Requirement-Based Testing: Enhancing Reinforcement Learning with Game Theory

Authors: Ocan Sankur, Thierry Jéron, Nicolas Markey, David Mentré, Reiya Noguchi

Organizations: DEVINE · Univ Rennes, Inria, CNRS, Rennes, France · MERCE-France · Mitsubishi Electrics R&D Centre Europe, Rennes, France · Mitsubishi Electric Corporation, Tokyo, Japan

Abstract

We consider the automatic online synthesis of black-box test cases from functional requirements specified as automata for reactive implementations. The goal of the tester is to reach some given state, so as to satisfy a coverage criterion, while monitoring the violation of the requirements. We develop an approach based on Monte Carlo Tree Search, which is a classical technique in reinforcement learning for efficiently selecting promising inputs. Seeing the automata requirements as a game between the implementation and the tester, we develop a heuristic by biasing the search towards inputs that are promising in this game. We experimentally show that our heuristic accelerates the convergence of the Monte Carlo Tree Search algorithm, thus improving the performance of testing.

Explore similar work

CardsList
  1. Scenario-Driven Neuroevolution: Using Models to Guide Test Generation for Games

    Sep 23, 2026Gijs van Cuyck, Patric Feldmeier, Jan Tretmans +1Test GenerationNeuroevolution

  2. CA2: Code-Aware Agent for Automated Game Testing

    May 13, 2026Valliappan Chidambaram Adaikkappan, Vincent Martineau, Joshua Romoff +1Test GenerationCoding Agents

  3. Gimitest: A Comprehensive Tool for Testing Reinforcement Learning Policies

    Jul 8, 2026Dennis Gross, Quentin Mazouni, Helge Spieker +1Multi-Agent Reinforcement LearningSkillgym