Report Open Access

Fail-Safe Execution of Deep Learning based Systems through Uncertainty Monitoring

Michael Weiss; Paolo Tonella


Dublin Core Export

<?xml version='1.0' encoding='utf-8'?>
<oai_dc:dc xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:oai_dc="http://www.openarchives.org/OAI/2.0/oai_dc/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.openarchives.org/OAI/2.0/oai_dc/ http://www.openarchives.org/OAI/2.0/oai_dc.xsd">
  <dc:creator>Michael Weiss</dc:creator>
  <dc:creator>Paolo Tonella</dc:creator>
  <dc:date>2020-09-01</dc:date>
  <dc:description>Modern software systems rely on Deep Neural Networks (DNN) when processing complex, unstructured inputs, such as images, videos, natural language texts or audio signals. Provided the intractably large size of such input spaces, the intrinsic limitations of learning algorithms  and the ambiguity about the expected predictions for some of the inputs, not only there is no guarantee that DNN's predictions are always correct, but rather developers must safely assume a low, though not negligible, error probability. A fail-safe Deep Learning based System (DLS) is one equipped to handle DNN faults by means of a supervisor, capable of recognizing predictions that should not be trusted and that should activate a healing procedure bringing the DLS to a safe state.

In this paper, we propose an approach to use DNN uncertainty estimators to implement such supervisor. We first discuss advantages and disadvantages of existing approaches to measure uncertainty for DNNs and propose novel metrics for the empirical assessment of the  supervisor that rely on such approaches. We then describe our publicly available tool Uncertainty-Wizard, which allows transparent estimation of uncertainty for regular tf.keras DNNs. Lastly, we discuss a large-scale  study conducted on four different subjects to empirically validate the approach, reporting the lessons-learned as guidance for software engineers who intend to monitor uncertainty for fail-safe execution of DLS.</dc:description>
  <dc:identifier>https://zenodo.org/record/5055710</dc:identifier>
  <dc:identifier>10.5281/zenodo.5055710</dc:identifier>
  <dc:identifier>oai:zenodo.org:5055710</dc:identifier>
  <dc:relation>info:eu-repo/grantAgreement/EC/H2020/787703/</dc:relation>
  <dc:relation>doi:10.1109/ICST49551.2021.00015</dc:relation>
  <dc:relation>doi:10.5281/zenodo.5055709</dc:relation>
  <dc:rights>info:eu-repo/semantics/openAccess</dc:rights>
  <dc:rights>https://creativecommons.org/licenses/by/4.0/legalcode</dc:rights>
  <dc:title>Fail-Safe Execution of Deep Learning based Systems through Uncertainty Monitoring</dc:title>
  <dc:type>info:eu-repo/semantics/report</dc:type>
  <dc:type>publication-report</dc:type>
</oai_dc:dc>
27
28
views
downloads
All versions This version
Views 2727
Downloads 2828
Data volume 25.3 MB25.3 MB
Unique views 2323
Unique downloads 2525

Share

Cite as