通过有理证书实现ReLU网络的证明携带验证
Proof-Carrying Verification for ReLU Networks via Rational Certificates
AI总结:
本文提出通过有理证书实现ReLU网络的证明携带验证,以确保线性安全属性的正确性。
摘要:
修正线性单元(ReLU)网络是分段线性的,因此通用线性安全属性可以减少到对线性约束的推理。现代验证器依赖于SMT(LRA)过程或MILP编码,但安全声明的可信度仅取决于它所产生的证据。我们为输入域D⊆R^n上的分段线性神经约束开发了一个证明携带验证核心。我们正式化了精确的分段线性语义作为由激活模式索引的多面体的联合,将此模型与标准的精确SMT/MILP编码以及有界ReLU的凸包(理想)松弛联系起来,并引入了一个小型证书演算,其证明对象生活在Q上。两种证书类型足以完成核心推理步骤:蕴含证书验证线性后果(边界紧缩和学习切线),而Farkas证书证明强化反例查询的不可行性(分支界限修剪)。我们给出了一个精确的证明内核,它在有理数算术中检查这些证书,证明了线性蕴含的正确性和完备性,并展示了不可行性证书允许仅依赖于维度的稀疏代表。工作示例说明了无需信任求解器超过其导出见证的端到端认证推理。
英文摘要:
Rectified Linear Unit (ReLU) networks are piecewise-linear (PWL), so universal linear safety properties can be reduced to reasoning about linear constraints. Modern verifiers rely on SMT(LRA) procedures or MILP encodings, but a safety claim is only as trustworthy as the evidence it produces. We develop a proof-carrying verification core for PWL neural constraints on an input domain $D \subseteq \mathbb{R}^n$. We formalize the exact PWL semantics as a union of polyhedra indexed by activation patterns, relate this model to standard exact SMT/MILP encodings and to the canonical convex-hull (ideal) relaxation of a bounded ReLU, and introduce a small certificate calculus whose proof objects live over $\mathbb{Q}$. Two certificate types suffice for the core reasoning steps: entailment certificates validate linear consequences (bound tightening and learned cuts), while Farkas certificates prove infeasibility of strengthened counterexample queries (branch-and-bound pruning). We give an exact proof kernel that checks these artifacts in rational arithmetic, prove soundness and completeness for linear entailment, and show that infeasibility certificates admit sparse representatives depending only on dimension. Worked examples illustrate end-to-end certified reasoning without trusting the solver beyond its exported witnesses.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。