一句话:提出 ReluDiff,对两个相关神经网络进行差分形式验证,通过前向区间分析与反向梯度精化证明输出差异性质,显著加速验证。
深度神经网络压缩虽降低规模、能耗与计算需求,但通常只能经验性地表明精度未损失,缺乏形式化保证;现有 Reluplex、ReluVal、DeepPoly 等工具面向单个网络,无法分析两个网络间的关系。本文提出 ReluDiff 进行差分验证:先做快速但近似的正向区间分析,再用反向传播迭代精化,直至目标性质得证。其创新是前向利用两网络的结构与行为相似性更精确地约束输出差异,反向利用梯度差异选择最有价值的精化。实验显示,相比最先进工具,ReluDiff 可获数量级加速并证明更多性质。
As deep neural networks are increasingly being deployed in practice, their efficiency has become an important issue. While there are compression techniques for reducing the network's size, energy consumption and computational requirement, they only demonstrate empirically that there is no loss of accuracy, but lack formal guarantees of the compressed network, e.g., in the presence of adversarial examples. Existing verification techniques such as Reluplex, ReluVal, and DeepPoly provide formal guarantees, but they are designed for analyzing a single network instead of the relationship between two networks. To fill the gap, we develop a new method for differential verification of two closely related networks. Our method consists of a fast but approximate forward interval analysis pass followed by a backward pass that iteratively refines the approximation until the desired property is verified. We have two main innovations. During the forward pass, we exploit structural and behavioral similarities of the two networks to more accurately bound the difference between the output neurons of the two networks. Then in the backward pass, we leverage the gradient differences to more accurately compute the most beneficial refinement. Our experiments show that, compared to state-of-the-art verification tools, our method can achieve orders-of-magnitude speedup and prove many more properties than existing tools.