构建可检测神经网络验证器漏洞的基准测试集
SoundnessBench: A Soundness Benchmark for Neural Network Verifiers
- 通过训练生成含隐蔽反例的神经网络
- 在多个模型结构上构造出验证器无法发现的错误验证结果
- 适合验证器开发者和安全关键系统研究者使用
神经网络验证旨在形式化证明神经网络的行为,对安全关键应用至关重要。近年来,社区已开发出多种验证器和评估基准,但现有基准缺乏难以验证实例的真实标签——即当前所有验证器均无法验证且无反例可被找到的情况。这使得当验证器声称能处理此类难题时,难以验证其结论是否正确。为此,本文提出新的验证器声学性基准 SoundnessBench,专门用于检验验证器的可靠性。该基准包含故意嵌入隐蔽反例的实例,这些反例对常见对抗攻击手段具有隐藏性。我们设计了一种训练方法生成带隐蔽反例的神经网络,并系统构建了涵盖多种模型架构、激活函数和输入数据的 SoundnessBench。实验表明,该方法有效生成隐蔽反例,且 SoundnessBench 成功检测出主流验证器中的缺陷。代码与数据集已开源。
原文摘要 · Abstract (English)
Neural network (NN) verification aims to formally verify properties of NNs, which is crucial for ensuring the behavior of NN-based models in safety-critical applications. In recent years, the community has developed many NN verifiers and benchmarks to evaluate them. However, existing benchmarks typically lack ground-truth for hard instances where no current verifier can verify the property and no counterexample can be found. This makes it difficult to validate the soundness of a verifier, when it claims verification on such challenging instances that no other verifier can handle. In this work, we develop a new benchmark for NN verification, named SoundnessBench, specifically for testing the soundness of NN verifiers. SoundnessBench consists of instances with deliberately inserted counterexamples that are hidden from adversarial attacks commonly used to find counterexamples. Thereby, it can identify false verification claims when hidden counterexamples are known to exist. We design a training method to produce NNs with hidden counterexamples and systematically construct our SoundnessBench with instances across various model architectures, activation functions, and input data. We demonstrate that our training effectively produces hidden counterexamples and our SoundnessBench successfully identifies bugs in state-of-the-art NN verifiers. Our code is available at https://github.com/mvp-harry/SoundnessBench and our dataset is available at https://huggingface.co/datasets/SoundnessBench/SoundnessBench.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。