paperbot · PL 论文追踪

全部论文 待读 收藏

Quick Bug Detection through Black-Box Checking

通过黑盒检查实现快速缺陷检测
ASE Proceedings of the 41st IEEE/ACM International Conference on Automated Software Engineering2026引用 0 inbox
Bram Pellen, María Belén Rodríguez, Frits Vaandrager, Petra van den Bos
crossref: 2026-10-09

AI 速览

一句话:系统评估黑盒检查,证明其仅需极少查询即可快速发现协议与控制器中的深层缺陷。

黑盒检查(BBC)将主动自动机学习、基于模型的测试与模型检查结合,但以往多数应用只在最终假设模型上使用模型检查,较少系统评估其对中间假设模型进行模型检查以快速发现缺陷的能力。本文基于 77 个来自真实协议实现和控制器的基准模型及其安全性规约,首次系统评估 BBC 的快速缺陷检测能力。结果表明:当完整模型可学习时,BBC 检测规约违反仅需“仅检查完整模型”方法约 3% 的查询;即使完整模型不可学习,BBC 仍能发现大量规约违反,在 RERS 2019 工业 LTL 基准中检测到 96% 的安全性属性违反;相比现有基于模型的测试算法,BBC 在发现实现中的深层缺陷方面更有效。

问题
以往结合主动自动机学习、基于模型的测试与模型检查的应用,多数只在最终完整假设模型上使用模型检查,缺乏对黑盒检查(BBC)快速发现缺陷能力的系统评估。
方法
在 77 个来自真实协议实现与控制器的基准模型及安全性规约上,系统评估 BBC:对学习过程中的中间假设模型也进行模型检查,并与仅在完整模型上做模型检查、以及现有基于模型的测试算法进行比较。
评估
实验表明,BBC 发现规约违反所需查询量仅为仅检查完整模型方法的约 3%;即使完整模型不可学习,仍能在 RERS 2019 工业 LTL 基准中检测到 96% 的安全性属性违反,并比现有基于模型的测试算法更擅长发现深层缺陷。
原文摘要(Abstract)

Combinations of active automata learning, model-based testing and model checking have been successfully used in numerous applications, e.g., for spotting bugs in implementations of major network protocols and to support refactoring of embedded controllers. However, in the large majority of these applications, model checking is only used at the very end, when no counterexample can be found anymore for the latest hypothesis model. This contrasts with the original proposal of black-box checking (BBC) by Peled, Vardi & Yannakakis, which applies model checking for all hypotheses, also the intermediate ones. In this article, we present the first systematic evaluation of the ability of BBC to find bugs quickly, based on 77 benchmark models from real protocol implementations and controllers for which specifications of safety properties are available. Our main finding are: (a) In cases where the full model can be learned, BBC detects violations of the specifications with just 3% of the queries needed by an approach in which model checking is only used for the full model. (b) Even when the full model cannot be learned, BBC is still able to detect many violations of the specification. In particular, BBC manages to detect 96% of the safety property violations in the challenging RERS 2019 industrial LTL benchmarks. (c) Our results also confirm that BBC is way more effective than existing model-based testing algorithms in finding deep bugs in implementations.

链接与引用

DOI 原文 · PDF(开放获取) ·

BibTeX
@inproceedings{paperbot12439,
  title = {Quick Bug Detection through Black-Box Checking},
  author = {Bram Pellen and María Belén Rodríguez and Frits Vaandrager and Petra van den Bos},
  booktitle = {ASE},
  year = {2026},
  doi = {10.1145/3832783.3834347}
}