Skip to main content
QUICK REVIEW

[Paper Review] Part-X: A Family of Stochastic Algorithms for Search-Based Test Generation with Probabilistic Guarantees

Giulia Pedrielli, Tanmay Khandait|arXiv (Cornell University)|Oct 20, 2021
Software Testing and Debugging TechniquesComputer Science5 citations
TL;DR

Part-X introduces a stochastic algorithm family for search-based test generation in Cyber-Physical Systems that provides probabilistic guarantees on the existence of falsifying inputs. By adaptively partitioning the input space and using Gaussian processes to estimate robustness landscapes, Part-X bounds the probability of falsification and identifies regions where violations are likely, enabling finite-time safety assessment with statistical confidence.

ABSTRACT

Requirements driven search-based testing (also known as falsification) has proven to be a practical and effective method for discovering erroneous behaviors in Cyber-Physical Systems. Despite the constant improvements on the performance and applicability of falsification methods, they all share a common characteristic. Namely, they are best-effort methods which do not provide any guarantees on the absence of erroneous behaviors (falsifiers) when the testing budget is exhausted. The absence of finite time guarantees is a major limitation which prevents falsification methods from being utilized in certification procedures. In this paper, we address the finite-time guarantees problem by developing a new stochastic algorithm. Our proposed algorithm not only estimates (bounds) the probability that falsifying behaviors exist, but also it identifies the regions where these falsifying behaviors may occur. We demonstrate the applicability of our approach on standard benchmark functions from the optimization literature and on the F16 benchmark problem.

Motivation & Objective

  • To address the lack of finite-time guarantees in existing search-based test generation methods, which cannot conclude safety even after exhausting the test budget.
  • To develop a framework that estimates the probability of falsifying behaviors existing in the input space of a Cyber-Physical System.
  • To classify the input space into violating, satisfying, and undecided regions with quantified uncertainty.
  • To enable safety certification by providing probabilistic bounds on falsification likelihood, even when no falsifier is found.

Proposed method

  • Part-X uses adaptive partitioning of the input space into subregions to localize the zero level-set of the robustness function.
  • It employs local Gaussian process models in each partition to estimate the robustness function in unsampled areas.
  • The algorithm maintains probabilistic bounds on classification error at each iteration, ensuring confidence in falsification volume estimation.
  • Sampling is guided by uncertainty and expected falsification probability, focusing on regions with high potential for falsifying inputs.
  • It integrates Bayesian optimization principles with statistical learning to balance exploration and exploitation in the search space.
  • The method computes quantile-based falsification volumes as estimates of the probability that falsifying inputs exist.
Figure 1: An overview of the Part-X algorithm.
Figure 1: An overview of the Part-X algorithm.

Experimental results

Research questions

  • RQ1Can we provide finite-time probabilistic guarantees on the existence of falsifying inputs in Cyber-Physical Systems when no falsifier is found within a given test budget?
  • RQ2How can we estimate the probability that falsifying behaviors exist in the input space, even in the absence of detected violations?
  • RQ3Can we identify specific input subregions where falsifying behaviors are most likely to occur, enabling targeted testing or design hardening?
  • RQ4How can we bound the error in falsification volume estimation with high confidence using a limited number of simulations?

Key findings

  • For the F-16 benchmark at altitude 2300, Part-X detected non-zero falsification volumes (e.g., 9.26×10⁻⁶ at q=0.95), indicating a high probability of falsifying inputs.
  • At altitude 2350, the falsification volume was inconclusive (interval containing zero), suggesting the system may be safe, but with uncertainty requiring further sampling.
  • Part-X successfully identified falsifying regions in the input space, as visualized in the partitioning results (Figure 7a), enabling targeted debugging.
  • The algorithm achieved lower falsification volume estimates than uniform random sampling, demonstrating improved efficiency in detecting falsifying regions.
  • In non-falsifying runs (e.g., H₀=2350), Part-X still assigned positive probability to falsification, reflecting uncertainty rather than false confidence.
  • The method provided probabilistic bounds on classification error, enabling statistical confidence in the falsification volume estimation at each iteration.
Figure 2: An example of partitioning tree generated by Part-X at iteration $k=3$ . Subregions in red are classified as violating, those in green are satisfying, the orange region is being reclassified from violating to remaining (it would be light green if remaining from satisfying).
Figure 2: An example of partitioning tree generated by Part-X at iteration $k=3$ . Subregions in red are classified as violating, those in green are satisfying, the orange region is being reclassified from violating to remaining (it would be light green if remaining from satisfying).

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.