← Lab /AI/ML

Registered-model protocol verifies outsourced HND transformer inference

GKR-HND ensures a verifier only accepts correct transformer inference when the worker is non-colluding and the verifier is honest

AI/ML arXiv 23 Jul 2026 Method Prototype evidence Threat model

Published as “Agree on the Model, Verify the Inference: GKR Protocols for HND-Based Transformer Inference”

Why it matters

GKR-HND offers a practical way to attest that a delegated Transformer backbone was executed correctly without storing dense weights, useful for integrity-critical deployments despite its performance overhead.

Summary

The paper demonstrates that GKR-HND can verify the polynomial backbone of HND Transformers without replaying dense matrix products, but the verification is slower than direct replay (2.29× slower) and does not provide a speedup. Experiments on 32M-parameter and 124M-parameter models show proof generation around 41 s and verification around 0.18 s per block, with exact Python-Rust digest agreement across blocks. The evidence is based on concrete prototype measurements rather than theoretical asymptotics, and the authors acknowledge several practical limitations.

What they found 2

  1. Proof generation averages 40.948 s and verification (including public numeric scan) averages 0.182 s per block on the 32M model.

    “Across the 15 deployment-path repetitions, proof generation averages 40.948 s and verification including the public numeric scan averages 0.1820 s.”

  2. The unoptimized verifier is 2.29× slower than direct fixed-point replay and offers no latency advantage.

    “The unoptimized verifier is therefore 2.29× slower than replay and does not demonstrate a latency advantage.”

Caveats 8

  • Verification is slower than direct replay, so the protocol does not improve performance.
  • The system does not provide end-to-end cryptographic proof of full language-model inference.
  • Large SRS sizes (≈0.8 GiB for 32M, >0.5 GiB for 124M) and in-process setup limit practicality.
  • Public-witness linearity and lack of cross-host deployment mean the integrity check is limited to same-host scenarios.
  • The checkpoint experiment proves one HND-32M T = 8 polynomial-backbone chain as eight block-specific statements.
  • Embeddings, correction generation, final RMSNorm, the language-model head, and output selection remain outside the GKR relation.
  • The experimental setup is generated in-process rather than by a certified ceremony.
  • We claim neither one end-to-end cryptographic proof of language-model inference nor a speedup over those systems.

What’s new here 4

  • Applies the GKR interactive proof to the polynomial backbone of Homomorphic-Nonhomogeneous Decomposition (HND) Transformers.
  • Separates cryptographic verification from expensive public computation by delegating the latter to a signed worker.
  • Provides block-local proofs that avoid client-side dense-matrix replay while preserving model registration integrity.
  • Implements a prototype evaluated on real pretrained HND models at 32M and 124M parameter scales.

Threat model stated by the source

Adversarymalicious prover or worker that may substitute models, alter weights, or omit computation
Capabilitycan control the prover and optionally the delegated worker, but cannot compromise the retained verifier or the trusted registrar
Assumeshonest retained verifier; non-collusion between prover and worker; evaluation-soundness of the polynomial-commitment backend; trusted registrar validates model registration