Skip to content

VeriXAI/Into-the-Unknown-extended

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Into the Unknown (Extended)

This repository contains the implementation and data used in the paper "Into the Unknown: Active Monitoring of Neural Networks (Extended)". To cite the work, you can use:

@article{KueffnerLSH23,
  author       = {Konstantin Kueffner and
                  Anna Lukina and
                  Christian Schilling and
                  Thomas A. Henzinger},
  title        = {Into the unknown: active monitoring of neural networks (extended version)},
  journal      = {Int. J. Softw. Tools Technol. Transf.},
  volume       = {25},
  number       = {4},
  pages        = {575--592},
  publisher    = {Springer},
  year         = {2023},
  url          = {https://doi.org/10.1007/s10009-023-00711-4},
  doi          = {10.1007/S10009-023-00711-4}
}

Installation

You need Python 3.7 or 3.6. For newer Python versions, the packages have to be updated. The package requirements that need to be installed are found in the file requirements.txt.

Since the datasets are large and have mostly been used in our previous work, we do not include most of them here. You need to manually download them (see the links below) and extract them to the data folder of this repository.

Modify the file called paths.txt in the base folder, which contains two lines that are the paths to the model and dataset folders:

.../models/
.../data/

Here replace the ... with the absolute path to your clone of the repository.

Links to dataset files

  • MNIST
  • Fashion MNIST
  • GTSRB (You need to manually extract the file train.zip because the content is too large for GitHub.)

Recreation of the results

To obtain the results from the conference version of the paper Into the Unknown: Active Monitoring of Neural Networks, published at RV 2021, see this repository.

Below we describe how to obtain the results shown in section 7.3 of the journal version of the paper. The results of those experiments will be output to the directory experiment_data.

Reproduce the Experiment

To generate the models and the data used in the experiments, run run/train_experiment_into_the_unknown_extended.py.

Evaluation

To reproduce the figures found in section 7.3 of the paper, run run/run_experiment_into_the_unknown_extended.py.

About

Active monitoring of neural networks (extended version)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages