TeleSparse: Practical Privacy-Preserving Verification of Deep Neural Networks

Mohammad M Maheri, Hamed Haddadi, Alex Davidson
4/27/2025
cs.LGcs.AIcs.CR

No official code found. Best implementation: mammadmaheri7/TeleSparseRepo (4 stars, last commit 2025-07-18).

Abstract

Verification of the integrity of deep learning inference is crucial for understanding whether a model is being applied correctly. However, such verification typically requires access to model weights and (potentially sensitive or private) training data. So-called Zero-knowledge Succinct Non-Interactive Arguments of Knowledge (ZK-SNARKs) would appear to provide the capability to verify model inference without access to such sensitive data. However, applying ZK-SNARKs to modern neural networks, such as transformers and large vision models, introduces significant computational overhead. We present TeleSparse, a ZK-friendly post-processing mechanisms to produce practical solutions to this problem. TeleSparse tackles two fundamental challenges inherent in applying ZK-SNARKs to modern neural networks: (1) Reducing circuit constraints: Over-parameterized models result in numerous constraints for ZK-SNARK verification, driving up memory and proof generation costs. We address this by applying sparsification to neural network models, enhancing proof efficiency without compromising accuracy or security. (2) Minimizing the size of lookup tables required for non-linear functions, by optimizing activation ranges through neural teleportation, a novel adaptation for narrowing activation functions' range. TeleSparse reduces prover memory usage by 67% and proof generation time by 46% on the same model, with an accuracy trade-off of approximately 1%. We implement our framework using the Halo2 proving system and demonstrate its effectiveness across multiple architectures (Vision-transformer, ResNet, MobileNet) and datasets (ImageNet,CIFAR-10,CIFAR-100). This work opens new directions for ZK-friendly model design, moving toward scalable, resource-efficient verifiable deep learning.

View on arXivView PDF

Code Implementations(1)

verifiable and privacy-preserving inference via sparse neural networks by ZK-SNARKs schema (halo2)

41Shell, CircomDec 1, 20241 years ago
deep-learningzkmlzksnark

Similar Papers

Cite this paper

@article{maheri2025telesparse,
  title  = {TeleSparse: Practical Privacy-Preserving Verification of Deep Neural Networks},
  author = {Mohammad M Maheri and Hamed Haddadi and Alex Davidson},
  year   = {2025},
  eprint = {2504.19274},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2504.19274v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2504.19274.svg)](https://codeofpaper.com/paper/2504.19274)

Discussion