Published June 7, 2022 | Version v1

Black-box Safety Analysis and Retraining of DNNs based on Feature Extraction and Clustering

  • 1. University of Luxembourg

Description

We propose SAFE, a black-box approach to automatically characterize the root causes of DNN errors. SAFE relies on a transfer learning model pre-trained on ImageNet to extract the features from error-inducing images. It then applies a density-based clustering algorithm to detect arbitrary shaped clusters of images modeling plausible causes of error. Last, clusters are used to effectively retrain and improve the DNN.
The black-box nature of SAFE is motivated by our objective not to require changes or even access to the DNN internals to facilitate adoption. 

Experimental results show the superior ability of SAFE in identifying different root causes of DNN errors based on case studies in the automotive domain. It also yields significant improvements in DNN accuracy after retraining, while saving significant execution time and memory when compared to alternatives.

Files

clusteringALL.ipynb

Files (3.9 GB)

Name Size
md5:d85672751ca9d191988a1e3bd372380d
48.9 kB Preview Download
md5:85c8478a44d33326e7c2b7574702079b
65.3 kB Preview Download
md5:6940d3ddb6345fdfeee63228e491b75b
11.9 kB Preview Download
md5:4963c0b52168fad2edc902bb51a20be0
38.6 kB Download
md5:3cd10d1a9c8bf04958c57cad585113bc
3.9 GB Preview Download
md5:fc37e6bad75854695973fb8b720da87a
9.6 kB Preview Download
md5:9efd41b17f0c4ec718f56a164c439b19
542 Bytes Preview Download
md5:427472426e618d84221955c891cdba8a
104.4 kB Preview Download
md5:6adf00b6e4ffe4fe97fbdcecf4965bb3
34.7 kB Preview Download
md5:754156a80ec8eaa0b30f8d8288cbc2a3
526.1 kB Preview Download
md5:3b7cd16c816f9f555278e1cee1fc5a72
1.8 kB Preview Download
md5:6394e99c1c3a41db6aa646b6af75afff
32.6 kB Preview Download
md5:71b1867a2b2807b70ed5b4c22c896174
162.3 kB Preview Download