Verifiable computing (VC) has gained prominence in decentralized machine learning systems, where resource-intensive tasks like deep neural network (DNN) inference are offloaded to external participants due to blockchain limitations. This creates a need to verify the correctness of outsourced computations without re-execution. We propose \texttt{Range-Arithmetic}, a novel framework for efficient and verifiable DNN inference that transforms non-arithmetic operations, such as rounding after fixed-point matrix multiplication and ReLU, into arithmetic steps verifiable using sum-check protocols and concatenated range proofs. Our approach avoids the complexity of Boolean encoding, high-degree polynomials, and large lookup tables while remaining compatible with finite-field-based proof systems. Experimental results show that our method not only matches the performance of existing approaches, but also reduces the computational cost of verifying the results, the computational effort required from the untrusted party performing the DNN inference, and the communication overhead between the two sides.
翻译:可验证计算(VC)在去中心化机器学习系统中日益受到关注。由于区块链的资源限制,深度神经网络(DNN)推理等资源密集型任务常被外包给外部参与者,因而需要在不重新执行的情况下验证外包计算的正确性。本文提出\texttt{Range-Arithmetic}——一种高效且可验证的DNN推理新框架。该框架将非算术运算(如定点矩阵乘法后的舍入运算及ReLU激活函数)转化为可通过求和校验协议及串联区间证明进行验证的算术步骤。我们的方法避免了布尔编码、高次多项式及大型查找表的复杂性,同时保持与基于有限域的证明系统的兼容性。实验结果表明,该方法不仅在性能上与现有方案相当,还降低了结果验证的计算开销、执行DNN推理的不可信方所需计算量以及双方间的通信开销。