AZR: Risk-Adaptive Verification for Decentralized AI Inference on Blockchain Rollups
Abstract
Abstract The rapid growth of decentralized AI applications has created a fundamental tension between computational integrity, model confidentiality, latency, and economic efficiency. Existing verification approaches, including zero-knowledge machine learning (zkML), optimistic machine learning (opML), and trusted execution environments (TEEs), provide strong guarantees along some dimensions but fail to simultaneously satisfy the practical requirements of large-scale AI inference systems deployed on blockchain infrastructure. This paper introduces AZR, a risk-adaptive verification architecture for decentralized AI inference on blockchain rollups. AZR dynamically selects among TEE attestation, optimistic fraud proofs, and zero-knowledge verification according to a query-specific risk function that captures economic value, adversarial exposure, and dispute likelihood. By allocating stronger verification mechanisms only to high-risk workloads, AZR balances security with operational efficiency while preserving computational integrity, model confidentiality, and input privacy. We formalize the verifier selection problem as a constrained optimization framework and analyze its security and economic properties under rational adversaries. Experimental evaluation across representative workloads, including ResNet-50, BERT-Base, and LLaMA-7B, demonstrates that AZR achieves substantial cost reductions relative to uniform zkML deployment while maintaining strong security guarantees. Under a representative workload distribution, AZR reduces verification costs by up to 61% compared with pure zkML systems, while enabling low-latency responses for the majority of inference requests. These results suggest that adaptive verification architectures provide a practical pathway toward scalable and trustworthy decentralized AI systems, bridging the gap between cryptographic assurance and the performance requirements of real-world blockchain applications.
Community
0 commentsNo discussion yet
Be the first to share a question or observation.