可判定性通过构造实现:面向可信AI的设计时验证
Decidable By Construction: Design-Time Verification for Truly Fearless Systems
AI总结:
提出一种设计时验证框架,通过将AI模型属性约束为有限生成阿贝尔群上的可判定问题,在训练前以极低计算成本验证数值稳定性、计算正确性和物理一致性,消除后验验证开销。
摘要:
机器学习中一个普遍的假设是模型正确性必须在事后强制执行。我们观察到,决定AI模型是否数值稳定、计算正确或与物理领域一致的属性并不一定需要事后强制执行。它们可以在设计时,在训练开始之前,以边际计算成本进行验证,对于部署在高杠杆决策支持和科学约束环境中的模型尤其重要。这些属性共享特定的代数结构:它们可以表示为有限生成阿贝尔群 $\mathbb{Z}^n$ 上的约束,其中推理在多项式时间内可判定,且主要类型是唯一的。基于这一观察构建的框架组合了三个先前的结果(arXiv:2603.16437, arXiv:2603.17627, arXiv:2603.18104):一个维度类型系统,通过模型细化携带任意注释作为持久余数据;一个程序超图,仅从类型签名推断Clifford代数等级并推导几何积稀疏性;以及一个自适应领域模型架构,通过前向模式余效应分析和精确正数累积在训练过程中保持两个不变量。我们相信这种组合产生了一个新颖的信息论结果:阿贝尔群上的Hindley-Milner统一在Solomonoff通用先验的可计算限制下计算最大后验假设,将该框架的类型推断置于与通用归纳相同的正式基础上。我们比较了四种当代的AI可靠性方法,并表明每种方法都会引入开销,这些开销可能在部署、层和推理请求中累积。该框架通过构造消除了这种开销。
英文摘要:
Concurrency, parallelism and distributed execution become truly fearless when the compiler tracks wait-for edges, proves multi-threaded work is sound and preserves distributed boundary contracts. In this design, our Composer compiler preserves proofs while lowering Clef directly to native CPU, GPU, NPU and FPGA code, without translation through C or vendor APIs. Our Program Semantic Graph retains the values, relationships and premises that justify BAREWire's unboxed boundary contracts. And C & C++ interfacing is an explicit marshaling boundary, with proofs tied to actual arguments, conversions and returned values. Four verification tiers connect an account of our design. Tier 1 supplies structural inference, founded on principal dimensional types. Tier 2 generates and checks local arithmetic, representation, and computational integrity at the node level. Tier 3 instantiates reusable domain and system lemmas, including distributed proofs supported by Iris, Actris and Aneris. Tiers 1-3 require no developer annotations, with a quotation based lemma library design to extend coverage as use cases expand. Tier 4 admits computational and probabilistic relational proofs, with project annotations identifying the required relations. We extend the same library direction toward recognizing relational constructions from hypergraph structure. A formal composition rule connects arithmetic, ownership, protocol and realization evidence. Our worked distributed reduction preserves one specified result across concurrent workers, reordered arrivals and boundary mappings. Its probabilistic extension carries worker and conversion error with an explicit failure budget. With recent work by Urschel, we show bounds supply a relevant source of reusable proof terms. These constructions make verification a core engineering discipline for truly fearless programs and systems across a variety of hardware targets.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。