paperbot · PL 论文追踪

全部论文 待读 收藏

P1 NeuroDiff

NeuroDiff:面向前馈 ReLU 神经网络差分验证的符号化细粒度近似
ASE Proceedings of the 35th IEEE/ACM International Conference on Automated Software Engineering2020匹配度 6/10 · 论文研究神经网络差分验证,属于形式化验证在机器学习系统中的应用,与用户“PL→AI”方向部分相关,且兼具理论近似与工程实现。但未涉及LLM/Agent、浮点程序分析或贝叶斯程序分析,核心也不是Agentic程序的静态分析,因此匹配度中等。引用 26 inbox
Brandon Paulsen, Jingbo Wang, Jiawei Wang, Chao Wang
crossref: 2026-09-12

AI 速览

一句话:提出 NeuroDiff,用新凸近似与符号变量细粒度界定两个 ReLU 网络输出差,实现高精度快速差分验证。

随着神经网络进入安全攸关系统,验证两个结构相似网络的等价性(差分验证)愈发重要,例如压缩网络是否忠实模拟原网络。现有方法或只验证单个网络,或依赖过松近似,导致精度与计算开销难以扩展。为此,作者提出 NeuroDiff:一种符号化、细粒度的近似技术,用于前馈 ReLU 网络的差分验证。其核心是新的凸近似,能在所有可能输入下更精确地界定两个网络输出之差;同时,对差分界已累积显著误差的神经元引入符号变量表示。二者互补,结合后收益超过各自独立之和。在多种差分验证任务上的实验表明,NeuroDiff 相比当前最优工具最高快 1000 倍,精度高 5 倍。

问题
差分验证两个结构相似神经网络是否等价时,现有方法要么只验证单个网络,要么使用过于保守的近似,导致精度和计算开销都难以扩展。
方法
提出 NeuroDiff,采用新的凸近似更精确地界定两网络在所有输入下的输出差,并用符号变量表示差分界误差累积显著的神经元,两种技术互补结合。
评估
在多种差分验证任务上评估 NeuroDiff,与当前最优工具对比,结果显示其最高快 1000 倍、精度高 5 倍。
原文摘要(Abstract)

As neural networks make their way into safety-critical systems, where misbehavior can lead to catastrophes, there is a growing interest in certifying the equivalence of two structurally similar neural networks - a problem known as differential verification. For example, compression techniques are often used in practice for deploying trained neural networks on computationally- and energy-constrained devices, which raises the question of how faithfully the compressed network mimics the original network. Unfortunately, existing methods either focus on verifying a single network or rely on loose approximations to prove the equivalence of two networks. Due to overly conservative approximation, differential verification lacks scalability in terms of both accuracy and computational cost. To overcome these problems, we propose NeuroDiff, a symbolic and fine-grained approximation technique that drastically increases the accuracy of differential verification on feed-forward ReLU networks while achieving many orders-of-magnitude speedup. NeuroDiff has two key contributions. The first one is new convex approximations that more accurately bound the difference of two networks under all possible inputs. The second one is judicious use of symbolic variables to represent neurons whose difference bounds have accumulated significant error. We find that these two techniques are complementary, i.e., when combined, the benefit is greater than the sum of their individual benefits. We have evaluated NeuroDiff on a variety of differential verification tasks. Our results show that NeuroDiff is up to 1000X faster and 5X more accurate than the state-of-the-art tool.

链接与引用

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

BibTeX
@inproceedings{paperbot5926,
  title = {NeuroDiff},
  author = {Brandon Paulsen and Jingbo Wang and Jiawei Wang and Chao Wang},
  booktitle = {ASE},
  year = {2020},
  doi = {10.1145/3324884.3416560}
}