Git Product home page Git Product logo

verrnn's Introduction

VERRNN

Verification of Recurrent Neural Networks for Cognitive Tasks via Reachability Analysis

https://github.com/nnarodytska/VERRNN/blob/master/rnn_veri.pdf

Code Structure

  • verrnn : Our methods presented in the paper
  • marabou: Running marabou on the unrolled RNN (need to have marabou and its python API compiled and installed)
  • nnv : NNV (need to have MATLAB and the nnv toolbox installed)
  • N7_L1_r11 : the model of 7-neuron RNN under verification

To Run the Experiments

Our Tool

See README.md in verrnn

NNV for comparison

First, please install NNV toolbox for Matlab.

In nnv subfolder, those scripts starting with p1 are for property 1. Those starting with p2 are for property 2. Unlike the other experiments, we don't have the outer loop to test all test ranges in one run (because usually we need to interrupt the execution manually as we don't have a time-out mechanism built into the scripts). So for each run you need to change the test range selection in the line like range_select_idx = ?;, or you can manually specify the ranges in the lines

ilb = ???; % input lower bound
iub = ???; % input upper bound

in the beginning of the scripts.

Marabou for comparison

Please first have Marabou and its python API installed. And then go to marabou, run python bmc_marabou.py. Results will be stored at result.log We only experimented Marabou with Property 1.

verrnn's People

Contributors

zhanghongce avatar nnarodytska avatar

Stargazers

 avatar Zilong Lin avatar Ryma Boumazouza avatar

Watchers

James Cloos avatar Nham Le avatar  avatar Arie Gurfinkel avatar  avatar

Forkers

research-fork

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.