\texttt{Range-Arithmetic}: Verifiable Deep Learning Inference on an Untrusted Party
Ali Rahimi, Babak H. Khalaj, Mohammad Ali Maddah-Ali
TL;DR
Range-Arithmetic addresses verifiable inference for outsourced neural networks by casting arithmetic and non-arithmetic operations into verifiable arithmetic over finite fields. It fuses sum-check protocols with aggregated range proofs to verify matrix multiplication with rounding and the ReLU activation, avoiding Boolean circuits and large lookup tables. The framework supports modular, layer-wise verification of neural networks, achieving low communication and practical prover/verifier runtimes as demonstrated on MNIST-scale networks. This enables scalable, trustless DNN inference in decentralized or untrusted environments while maintaining rigor and efficiency.
Abstract
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.
