← Lab /AI/ML

Layerwise approximate verification fails to ensure correct neural inference

Proving each layer's computation within a tolerance δ does not guarantee the final output is correct

AI/ML arXiv 17 Feb 2026 Theory Theory

Published as “A Note on Non-Composability of Layerwise Approximate Verification for Neural Inference”

Why it matters

Layerwise approximate verification cannot be relied upon alone to certify correct inference in zk-ML systems; protocols must incorporate global error-propagation analysis or stronger stability guarantees.

Summary

The paper proves that layerwise approximate verification (checking each neural network layer up to a tolerance δ) does not compose: for any network one can build a functionally equivalent network where tiny, adversarial errors in individual layers can steer the final output to any value within a bounded range. This is shown via a constructive theorem (Theorem 1) and a concrete construction using auxiliary “trigger” channels, with realistic weight sizes. The evidence is purely theoretical; no empirical evaluation is provided.

What they found 2

  1. Layerwise δ-consistency does not imply the final output is close to the true inference

    “Our most direct takeaway is that layerwise “approximate correctness” is not composable, even in standard-architecture neural networks computing natural functions.”

  2. For any target within the output bound there exists a δ-consistent transcript that yields that target

    “For every input x and every target z ∈Rm with ∥z∥∞≤R, there exists a δconsistent transcript for F ′ on input x whose final output equals z.”

Caveats 1

  • without additional stability assumptions or protocol-level reasoning about error propagation, local approximate checks do not compose.

What’s new here 4

  • Provides a concrete counterexample that layerwise δ-consistency does not guarantee correct final output.
  • Constructs a functionally equivalent network with auxiliary trigger channels that enable arbitrary steering under δ-consistent transcripts.
  • Quantifies the required weight magnitude (M = 2R/(δ g^{k-2})) showing it can be modest for realistic parameters.
  • Highlights that without additional stability assumptions, local approximate checks are insufficient for zk-ML.