NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Work In Progress: Safety and Robustness Verification of Autoencoder-Based Regression Models using the NNV Tool

Neelanjana Pal, Taylor T. Johnson

TL;DR

This paper introduces the first formal verification approach for autoencoder-based regression models, extending existing Neural Network Verification (NNV) tools to handle these models. By adapting the "Imagestar" concept to "Signalstar," the authors demonstrate how to assess the robustness of autoencoders against simulated "spike faults" in time-series data, a crucial step for ensuring safety in closed-loop systems.

What Problem Does This Paper Address?

Neural networks (NNs) are susceptible to adversarial attacks, where small input perturbations can lead to significant output changes. This lack of robustness poses serious risks in safety-critical applications. While extensive research has focused on verifying image classification NNs, autoencoder models, particularly those used for regression tasks, have been largely overlooked. Autoencoders aim to reconstruct their input, and for regression, this means ensuring the reconstructed output stays within an acceptable range of the original input, even when the input is corrupted. This paper addresses the gap in verifying the safety and robustness of these autoencoder-based regression models, which are essential components in many real-world systems like those involving sensor data processing.

Methods

The authors extend the existing Neural Network Verification (NNV) tool, a set-based framework for DNN verification. Specifically, they adapt the "Imagestar" approach, originally designed for image classification NNs, to handle time-instanced signals. This adaptation is termed "Signalstar." Signalstar represents input signals as a linear combination of an anchor signal and generator signals, constrained by a predicate. This allows for the formal representation of input perturbations, such as "spike faults" (short, high-amplitude spikes).

The verification process involves:

  1. Input Representation: Using Signalstar to define the input set, including the "actual" signal and potential "faulty" signals.
  2. Reachability Analysis: Propagating this input set through the autoencoder's layers using NNV. This process generates "reachable sets" at the output layer, representing all possible outputs for the given input perturbations.
  3. Safety Check: Comparing the output reachable sets against predefined "unsafe regions" (defined by acceptable output bounds). If there's no intersection, the model is considered safe.

For regression autoencoders, two novel evaluation metrics are proposed:

  • Percentage Robustness: The proportion of time instances where the output bound falls within acceptable limits.
  • Un-robustness Grade: A measure of how much the output bound deviates from the permissible range, normalized by the threshold.

Datasets

The dataset used in this study was provided by collaborators at TU Munich. It consists of time-instanced signals, each with 100 time samples, normalized using the Min-Max technique. The dataset was divided into 2057 training samples and 363 test samples. For generating fault signals, spike faults were introduced at random time instances in the test samples.

Key Insights and Ideas

  • Bridging the Gap: This work is presented as the first attempt to formally verify autoencoder-based regression models, a significant step towards ensuring the safety of systems that rely on them.
  • Signalstar for Time-Series: The adaptation of Imagestar to Signalstar demonstrates a flexible way to represent and analyze perturbations in time-series data, which is crucial for many sensor-based applications.
  • Regression-Specific Metrics: The introduction of "Percentage Robustness" and "Un-robustness Grade" provides a quantitative way to assess the safety of regression models, moving beyond binary classification-style safety checks.
  • Impact of Thresholds: The case study highlights how the choice of acceptable output bounds (thresholds) directly influences the perceived robustness of the autoencoder. What might be considered robust under one threshold could be deemed unsafe under a stricter one.

Key Results

The paper presents a case study using a five-layer autoencoder trained on the TU Munich dataset. The experiments demonstrate the application of Signalstar and NNV to analyze the autoencoder's output bounds under simulated spike faults.

  • Visualized Robustness: Figure 5 shows that for a given fault signal, the output bounds can fall within acceptable limits (Fig. 5a) or exceed them (Fig. 5b), depending on the chosen threshold.
  • Quantitative Metrics: For a specific example, the authors calculated:
  • Percentage Robustness: 0.95 (meaning 95 out of 100 time instances were within the permissible limit).
  • Un-robustness Grade: 1.5536, indicating a significant deviation from the permissible range at a particular time instance.

Limitations and Future Work

The authors acknowledge that this is a "work in progress" paper and outline several directions for future research:

  • Improved Evaluation Metrics: Developing more sophisticated and relevant evaluation metrics for regression autoencoders.
  • Broader Applications: Investigating other autoencoder applications beyond regression, such as denoising.
  • Comparative Analysis: Modifying and comparing other existing verification tools for classification models to assess their effectiveness on autoencoders.
  • Denoising Impact: Studying how the inherent denoising capabilities of autoencoders might mitigate input faults and enhance robustness.
  • Variational Autoencoders (VAEs): Exploring robustness verification for VAE models.

Summary updated

BibTeX
@inproceedings{pal2021work,
  author = {Neelanjana Pal and Taylor T. Johnson},
  title = {{Work In Progress: Safety and Robustness Verification of Autoencoder-Based Regression Models using the NNV Tool}},
  booktitle = {SNR},
  year = {2021},
  url = {https://openreview.net/forum?id=pGffgpyjd7R},
}
Figure