arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2412.03028cs.AIcs.SYeess.SY
收藏

系统中神经网络的规范生成

Specification Generation for Neural Networks in Systems

University of Illinois, Urbana-Champaign(伊利诺伊大学厄巴纳-香槟分校);Northeastern University(东北大学);VMWare Research(威睿研究院)

Isha Chaudhary, Shuyi Lin, Cheng Tan, Gagandeep Singh

AI总结:

本文提出 SpecTRA 框架,利用被神经网络替代的传统参考算法的行为观测,将规范生成建模为优化并聚类形成规范,用于验证自适应比特率与拥塞控制模型并发现 SOTA 漏洞。

摘要:

规范——正确的领域特定行为的精确数学表示——对于保证计算机系统的可信性至关重要。随着神经网络越来越多地被开发为计算机系统组件,规范变得更加重要,因为它们可用于约束这些黑盒模型的行为。传统上,规范由领域专家基于其对正确行为的直觉来设计。然而,这是劳动密集型的,因此随着计算机系统应用多样化,并不是一种可扩展的方法。我们假设,在可用时,神经网络为获得更高性能而替代的传统(也称参考)算法,可以作为模型正确行为的有效代理。这是因为它们已经被使用和测试了足够长时间,编码了底层领域中可信/正确行为的若干方面。在该假设驱动下,我们开发了一个新颖的自动化框架 SpecTRA,利用参考为神经网络生成规范。我们将规范生成表述为一个优化问题,并利用参考行为的观测结果来求解。SpecTRA 将相似的观测结果聚类为紧凑的规范。我们展示了 SpecTRA 为自适应比特率和拥塞控制算法中的神经网络生成的规范。我们的规范表现出正确性并与直觉相符的证据。此外,我们利用这些规范揭示了面向计算机系统的 SOTA 模型的若干未知漏洞。

英文摘要:

Specifications - precise mathematical representations of correct domain-specific behaviors - are crucial to guarantee the trustworthiness of computer systems. With the increasing development of neural networks as computer system components, specifications gain more importance as they can be used to regulate the behaviors of these black-box models. Traditionally, specifications are designed by domain experts based on their intuition of correct behavior. However, this is labor-intensive and hence not a scalable approach as computer system applications diversify. We hypothesize that the traditional (aka reference) algorithms that neural networks replace for higher performance can act as effective proxies for correct behaviors of the models, when available. This is because they have been used and tested for long enough to encode several aspects of the trustworthy/correct behaviors in the underlying domain. Driven by our hypothesis, we develop a novel automated framework, SpecTRA to generate specifications for neural networks using references. We formulate specification generation as an optimization problem and solve it with observations of reference behaviors. SpecTRA clusters similar observations into compact specifications. We present specifications generated by SpecTRA for neural networks in adaptive bit rate and congestion control algorithms. Our specifications show evidence of being correct and matching intuition. Moreover, we use our specifications to show several unknown vulnerabilities of the SOTA models for computer systems.

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

↑