arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2603.02235cs.LGcs.AIcs.SE
收藏

与验证者对话:神经网络验证的自动规范生成

Talking with Verifiers: Automatic Specification Generation for Neural Network Verification

The Hebrew University of Jerusalem(耶路撒冷希伯来大学);Masaryk University(马萨里克大学);University of California, Riverside(加州大学河滨分校)

Yizhak Y. Elboher, Reuven Peleg, Zhouxing Shi, Guy Katz, Jan Křetínský

AI总结:

通过自动规范生成,该研究使神经网络验证工具能够处理自然语言规范,从而扩展其在高语义级别要求中的应用。

摘要:

当前的神经网络验证工具仅支持狭窄的一类规范,通常以原始输入和输出上的低级约束形式表达。这种限制显著阻碍了其在多样应用领域中的采用和实际应用,这些领域中正确性要求自然以较高的语义级别表达。这一挑战源于深度神经网络的本质,它们学习内部表示,这些表示缺乏显式的映射到人类可理解的特征。为了解决这一问题,我们通过引入验证流程中的一个新组件来弥合这一差距,使现有的验证工具能够应用于更广泛的领域和规范风格。我们的框架使用户能够用自然语言制定规范,然后这些规范会被自动分析并转换为与最新神经网络验证器兼容的正式验证查询。我们在结构化和非结构化数据集上评估了我们的方法,证明它能够成功验证复杂的语义规范,这些规范之前是无法触及的。我们的结果表明,这种转换过程在保持用户意图的高保真度的同时,计算开销很低,从而大大扩展了正式DNN验证在现实世界高要求中的适用性。

英文摘要:

Neural network verification tools currently support only a narrow class of specifications, typically expressed as low-level constraints over raw inputs and outputs. This limitation significantly hinders their adoption and practical applicability across diverse application domains where correctness requirements are naturally expressed at a higher semantic level. This challenge is rooted in the inherent nature of deep neural networks, which learn internal representations that lack an explicit mapping to human-understandable features. To address this, we bridge this gap by introducing a novel component to the verification pipeline, making existing verification tools applicable to a broader range of domains and specification styles. Our framework enables users to formulate specifications in natural language, which are then automatically analyzed and translated into formal verification queries compatible with state-of-the-art neural network verifiers. We evaluate our approach on both structured and unstructured datasets, demonstrating that it successfully verifies complex semantic specifications that were previously inaccessible. Our results show that this translation process maintains high fidelity to user intent while incurring low computational overhead, thereby substantially extending the applicability of formal DNN verification to real-world, high-level requirements.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑