Table of Contents
Fetching ...

UAMTERS: Uncertainty-Aware Mutation Analysis for DL-enabled Robotic Software

Chengjie Lu, Jiahui Wu, Shaukat Ali, Malaika Din Hashmi, Sebastian Mathias Thomle Mason, Francois Picard, Mikkel Labori Olsen, Thomas Peyrucain

TL;DR

UAMTERS, an uncertainty-aware mutation analysis framework that introduces uncertainty-aware mutation operators to explicitly inject stochastic uncertainty into DL-enabled robotic software, simulating uncertainty in its behavior, is proposed.

Abstract

Self-adaptive robots adjust their behaviors in response to unpredictable environmental changes. These robots often incorporate deep learning (DL) components into their software to support functionality such as perception, decision-making, and control, enhancing autonomy and self-adaptability. However, the inherent uncertainty of DL-enabled software makes it challenging to ensure its dependability in dynamic environments. Consequently, test generation techniques have been developed to test robot software, and classical mutation analysis injects faults into the software to assess the test suite's effectiveness in detecting the resulting failures. However, there is a lack of mutation analysis techniques to assess the effectiveness under the uncertainty inherent to DL-enabled software. To this end, we propose UAMTERS, an uncertainty-aware mutation analysis framework that introduces uncertainty-aware mutation operators to explicitly inject stochastic uncertainty into DL-enabled robotic software, simulating uncertainty in its behavior. We further propose mutation score metrics to quantify a test suite's ability to detect failures under varying levels of uncertainty. We evaluate UAMTERS across three robotic case studies, demonstrating that UAMTERS more effectively distinguishes test suite quality and captures uncertainty-induced failures in DL-enabled software.

UAMTERS: Uncertainty-Aware Mutation Analysis for DL-enabled Robotic Software

TL;DR

UAMTERS, an uncertainty-aware mutation analysis framework that introduces uncertainty-aware mutation operators to explicitly inject stochastic uncertainty into DL-enabled robotic software, simulating uncertainty in its behavior, is proposed.

Abstract

Self-adaptive robots adjust their behaviors in response to unpredictable environmental changes. These robots often incorporate deep learning (DL) components into their software to support functionality such as perception, decision-making, and control, enhancing autonomy and self-adaptability. However, the inherent uncertainty of DL-enabled software makes it challenging to ensure its dependability in dynamic environments. Consequently, test generation techniques have been developed to test robot software, and classical mutation analysis injects faults into the software to assess the test suite's effectiveness in detecting the resulting failures. However, there is a lack of mutation analysis techniques to assess the effectiveness under the uncertainty inherent to DL-enabled software. To this end, we propose UAMTERS, an uncertainty-aware mutation analysis framework that introduces uncertainty-aware mutation operators to explicitly inject stochastic uncertainty into DL-enabled robotic software, simulating uncertainty in its behavior. We further propose mutation score metrics to quantify a test suite's ability to detect failures under varying levels of uncertainty. We evaluate UAMTERS across three robotic case studies, demonstrating that UAMTERS more effectively distinguishes test suite quality and captures uncertainty-induced failures in DL-enabled software.
Paper Structure (34 sections, 14 equations, 6 figures, 7 tables)

This paper contains 34 sections, 14 equations, 6 figures, 7 tables.

Figures (6)

  • Figure 1: UAMTERS in the Context of the MAPLE-K Loop.
  • Figure 2: Overview of UAMTERS.
  • Figure 3: Mutation Scores Achieved by Test Suites with 95% Confidence Intervals for Different Dropout Rates (Mutation Operator: MCD, Mutation Scores: Obj-MS, IoU-MS, and UA-MS derived from $\mathcal{S}_{match}$) -- RQ3.
  • Figure 4: Mutation Scores Achieved by Test Suites with 95% Confidence Intervals for Different Dropout Rates (Mutation Operator: MCD, Mutation Scores: UA-MS Derived from $\mathcal{S}_{miss}$ and $\mathcal{S}_{ghost}$) -- RQ3.
  • Figure 5: Mutation Scores Achieved by Test Suites with 95% Confidence Intervals for Dropout Rates $\times$ Block Sizes (Mutation Operator: MCB, Mutation Scores: Obj-MS, IoU-MS, and UA-MS derived from $\mathcal{S}_{match}$) -- RQ3.
  • ...and 1 more figures

Theorems & Definitions (4)

  • Definition 3.3.1: Output of an Object Dection Model
  • Definition 3.3.2: Match
  • Definition 3.3.3: Miss
  • Definition 3.3.4: Ghost