Equivalent and Compact Representations of Neural Network Controllers With Decision Trees

Fuente: arXiv
Enregistré dans:
Détails bibliographiques
Auteurs principaux: Chang, Kevin, Dahlin, Nathan, Jain, Rahul, Nuzzo, Pierluigi
Format: Preprint
Publié: 2023
Sujets:
Accès en ligne:
Tags: Ajouter un tag
Pas de tags, Soyez le premier à ajouter un tag!
_version_ 1866915396693524480
author Chang, Kevin
Dahlin, Nathan
Jain, Rahul
Nuzzo, Pierluigi
author_facet Chang, Kevin
Dahlin, Nathan
Jain, Rahul
Nuzzo, Pierluigi
contents Over the past decade, neural network (NN)-based controllers have demonstrated remarkable efficacy in a variety of decision-making tasks. However, their black-box nature and the risk of unexpected behaviors pose a challenge to their deployment in real-world systems requiring strong guarantees of correctness and safety. We address these limitations by investigating the transformation of NN-based controllers into equivalent soft decision tree (SDT)-based controllers and its impact on verifiability. In contrast to existing work, we focus on discrete-output NN controllers including rectified linear unit (ReLU) activation functions as well as argmax operations. We then devise an exact yet efficient transformation algorithm which automatically prunes redundant branches. We first demonstrate the practical efficacy of the transformation algorithm applied to an autonomous driving NN controller within OpenAI Gym's CarRacing environment. Subsequently, we evaluate our approach using two benchmarks from the OpenAI Gym environment. Our results indicate that the SDT transformation can benefit formal verification, showing runtime improvements of up to $21 \times$ and $2 \times$ for MountainCar-v0 and CartPole-v1, respectively.
format Preprint
id arxiv_https___arxiv_org_abs_2304_06049
institution arXiv
publishDate 2023
record_format arxiv
spellingShingle Equivalent and Compact Representations of Neural Network Controllers With Decision Trees
Chang, Kevin
Dahlin, Nathan
Jain, Rahul
Nuzzo, Pierluigi
Machine Learning
Systems and Control
Over the past decade, neural network (NN)-based controllers have demonstrated remarkable efficacy in a variety of decision-making tasks. However, their black-box nature and the risk of unexpected behaviors pose a challenge to their deployment in real-world systems requiring strong guarantees of correctness and safety. We address these limitations by investigating the transformation of NN-based controllers into equivalent soft decision tree (SDT)-based controllers and its impact on verifiability. In contrast to existing work, we focus on discrete-output NN controllers including rectified linear unit (ReLU) activation functions as well as argmax operations. We then devise an exact yet efficient transformation algorithm which automatically prunes redundant branches. We first demonstrate the practical efficacy of the transformation algorithm applied to an autonomous driving NN controller within OpenAI Gym's CarRacing environment. Subsequently, we evaluate our approach using two benchmarks from the OpenAI Gym environment. Our results indicate that the SDT transformation can benefit formal verification, showing runtime improvements of up to $21 \times$ and $2 \times$ for MountainCar-v0 and CartPole-v1, respectively.
title Equivalent and Compact Representations of Neural Network Controllers With Decision Trees
topic Machine Learning
Systems and Control
url https://arxiv.org/abs/2304.06049