Differential Safety Testing of Deep RL Agents Enabled by Automata Learning

Martin Tappler*, Bernhard K. Aichernig

*Corresponding author for this work

Research output: Chapter in Book/Report/Conference proceedingConference paperpeer-review

Abstract

Learning-enabled controllers (LECs) pose severe challenges to verification. Their decisions often come from deep neural networks that are hard to interpret and verify, and they operate in stochastic and unknown environments with high-dimensional state space. These complexities make analyses of the internals of LECs and manual modeling of the environments extremely challenging. Numerous combinations of automata learning with verification techniques have shown its potential in the analysis of black-box reactive systems. Hence, automata learning may also bring light into the black boxes that are LECs and their runtime environments. A hurdle to the adoption of automata-learning-based verification is that it is often difficult to provide guarantees on the accuracy of learned automata. This is exacerbated in complex, stochastic environments faced by LECs. In this paper, we demonstrate that accuracy guarantees on learned models are not strictly necessary. Through a combination of automata learning, testing, and statistics, we perform testing-based verification with statistical guarantees in the absence of guarantees on the learned automata. We showcase our approach by testing deep reinforcement learning for safety that have been trained to play the computer game Super Mario Bros.

Original languageEnglish
Title of host publicationBridging the Gap Between AI and Reality - 1st International Conference, AISoLA 2023, Proceedings
EditorsBernhard Steffen
PublisherSpringer Science and Business Media Deutschland GmbH
Pages138-159
Number of pages22
ISBN (Print)9783031460012
DOIs
Publication statusPublished - 2024
Event1st International Conference on Bridging the Gap between AI and Reality: AISoLA 2023 - Crete, Greece
Duration: 23 Oct 202328 Oct 2023

Publication series

NameLecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics)
Volume14380 LNCS
ISSN (Print)0302-9743
ISSN (Electronic)1611-3349

Conference

Conference1st International Conference on Bridging the Gap between AI and Reality
Abbreviated titleAISoLA 2023
Country/TerritoryGreece
CityCrete
Period23/10/2328/10/23

Keywords

  • Automata Learning
  • Differential Testing
  • Learning-Based Testing
  • Reinforcement Learning

ASJC Scopus subject areas

  • Theoretical Computer Science
  • General Computer Science

Fingerprint

Dive into the research topics of 'Differential Safety Testing of Deep RL Agents Enabled by Automata Learning'. Together they form a unique fingerprint.

Cite this