Skip to content

Commit c725b91

Browse files
committed
update cav'21 artifact evaluation readme
1 parent 258c67d commit c725b91

File tree

1 file changed

+18
-9
lines changed
  • code/nnv/examples/Submission/CAV2021

1 file changed

+18
-9
lines changed

code/nnv/examples/Submission/CAV2021/README.md

Lines changed: 18 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,14 @@
1-
# Semantic Segmentation Network Robustness Verification
2-
3-
Author: Anomynous
1+
# Semantic Segmentation Neural Network Robustness Verification
42

53
## 1. Installation
64

75
### 1.1. System requirements
86

97
OS: Window 10, Linux, (may work on MacOS, some bugs of MPT solvers have been reported)
108

11-
RAM: at least 32 GB
9+
RAM: at least 64 GB
1210

13-
Matlab version: 2019b or later
11+
Matlab version: 2020a or later, with deep learning, optimization, and other toolboxes, see full list of Matlab toolbox requirements at the next link.
1412

1513
For the first two steps, more details are available here:
1614

@@ -33,7 +31,7 @@ If Matlab is restarted, to work again, either `install.m` or `startup_nnv.m` mus
3331

3432
https://github.com/verivital/nnv/blob/master/code/nnv/startup_nnv.m
3533

36-
## 2. Cores results
34+
## 2. Core results
3735

3836
1) Figure 4-a: The robustness, sensitivity and robust IoU of MNIST networks vs. the number of attacked pixels
3937

@@ -58,7 +56,7 @@ https://github.com/verivital/nnv/blob/master/code/nnv/startup_nnv.m
5856

5957
### 3.1 Reproducing all results by a single run
6058

61-
Navigate to CAV2021/ (supplementary data provided by authors).
59+
Navigate to code\nnv\examples\Submission\CAV2021 (supplementary data provided by authors).
6260

6361
Execute the `reproduce_CAV2021.m`
6462

@@ -110,11 +108,22 @@ Navigate to CAV2021/RelaxStarCompare
110108

111109
Execute the `mnist01_relax_star_area_vs_eran.m`
112110

113-
## 4 Memory Note ***
111+
## 4 Memory and Other Notes ***
112+
113+
Since we run the analysis on multiple images in parallel, users may run into memory problem if their computers have less than 64 GB RAM. Most results will reproduce with 32 GB, but some may yield out of memory with less than 64 GB depending on system load.
114+
115+
For the classification robustness illustration of relaxed reachability, the comparison to ERAN is cached in the above files. It can be reproduced by following the instructions here:
116+
117+
https://github.com/Neelanjana314/eran/tree/master/CAV2021
114118

115-
Since we run the analysis on multiple images in parallel, users may run into memory problem if their computers have less than 64 GB RAM.
119+
The segmentation network training is not included above, as this requires on the order of a few days of computation with GPUs for all networks, but the networks can be reproduced with the instructions here:
116120

121+
https://github.com/verivital/SemanticSegmentation
117122

123+
Many other examples are available, for classification robustness, neural network control systems, etc., details on running other examples can be found in the repository or directly through these CodeOcean capsules:
118124

125+
CAV'20 ImageStar paper: https://doi.org/10.24433/CO.3351375.v1
119126

127+
CAV'20 NNV tool paper: https://doi.org/10.24433/CO.0221760.v1
120128

129+
Unfortunately, CodeOcean only supports Matlab 2019a as its latest version, so we did not use it for this artifact evaluation package, as to support some of the segmentation network layer types (dilated/transposed convolution), Matlab 2020a or later is needed.

0 commit comments

Comments
 (0)