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

AutoSpec:神经网络规范的自动生成

AutoSpec: Automated Generation of Neural Network Specifications

University of Michigan(密歇根大学);Microsoft Research(微软研究院);Northeastern University(东北大学);University of Illinois Urbana-Champaign(伊利诺伊大学厄巴纳-香槟分校)

Shuowei Jin, Taobo Liao, Anuj Kalia, Xenofon Foukas, Huan Zhang, Cheng Tan, Z. Morley Mao, Francis Y. Yan

AI总结:

针对神经网络在学习增强系统中对模型安全鲁棒性需求,AutoSpec提出首个自动生成和评估神经网络规范的综合框架,通过基于树算法、统计认证框架及评估框架,经实验验证其性能优于手动定义规范和现有基线算法。

摘要:

神经网络在学习增强系统中的日益广泛应用凸显了对模型安全性和鲁棒性的需求,尤其是在安全关键领域。虽然神经网络验证的最新进展提供了最坏情况行为的形式保证,但现有方法要求用户手动定义模型规范,这一过程容易出错、不完整且耗时。本文提出了AutoSpec,这是首个用于为学习增强系统自动生成和评估神经网络规范的综合框架。AutoSpec引入了一种基于树的算法,该算法自适应地划分输入空间以生成与模型行为一致的规范集,以及一个统计认证框架,为每个规范提供严格的准确性保证。我们还提出了一个有原则的评估框架,该框架定义了规范准确性和覆盖范围的可解释指标,为未来研究建立了基准。在四个不同应用中的实验表明,AutoSpec优于手动定义的规范和现有的基线算法,比人工定义的规范提高F1分数高达53%,比最强基线提高73%。

英文摘要:

The increasing adoption of neural networks in learning-augmented systems highlights the growing need for model safety and robustness, especially in safety-critical domains. While recent advances in neural network verification offer formal guarantees on worst-case behavior, existing approaches require users to manually define model specifications, an error-prone, incomplete, and time-consuming process. In this paper, we present AutoSpec, the first comprehensive framework for automatically generating and evaluating neural network specifications for learning-augmented systems. AutoSpec introduces a tree-based algorithm that adaptively partitions the input space to generate specification sets aligned with model behavior, as well as a statistical certification framework that provides rigorous accuracy guarantees for each specification. We also propose a principled evaluation framework that defines interpretable metrics for specification accuracy and coverage, establishing a benchmark for future research. Experiments across four diverse applications show that AutoSpec outperforms both manually defined specifications and existing baseline algorithms, improving the F1 score by up to 53% over human-defined specifications and 73% over the strongest baseline.

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

↑