On the Fundamental Limits of Formally (Dis)Proving Robustness in Proof-of-Learning

Congyu Fang, Hengrui Jia, Anvith Thudi, Mohammad Yaghini, Christopher A. Choquette-Choo, Natalie Dullerud, Varun Chandrasekaran, Nicolas Papernot

Abstract

Proof-of-Learning (PoL) was proposed as a "computational receipt" to verify that a neural network was trained honestly, primarily to combat model stealing. However, inherent stochasticity in hardware and software requires verifiers to use a noise threshold ($\delta$) to accommodate legitimate variances. This paper demonstrates that current PoL verification protocols are fundamentally broken. We introduce two novel "structurally correct" spoofing attacks—the Infinitesimal Update Attack and the Blindfold Top-Q Attack—which are up to 40x faster than previous methods. To counter these, we propose an adaptive thresholding defense that considers update directionality. Finally, we establish a connection between PoL security and deep, unsolved problems in learning theory regarding path dependency in non-convex optimization.

Introduction: The Challenge of Stochasticity

As training large-scale AI models becomes increasingly capital-intensive, Proof-of-Learning (PoL) has emerged as a potential safeguard. Instead of heavy cryptographic proofs, a trainer logs intermediate weight checkpoints. A verifier then checks a subset of these steps to ensure the computation was performed as claimed.

The core difficulty lies in stochasticity. Because of low-level software randomness and hardware noise, a verifier cannot perfectly replicate a training step. To handle this, PoL protocols employ a noise threshold ($\delta$). If the verifier's reproduced step is within distance $\delta$ of the logged step, it is accepted. This "wiggle room," however, creates a critical vulnerability that adversaries can exploit to fake proofs for stolen models.

The geometric intuition of PoL verification: an honest update $g_t$ leads to $W_{t+k}$, but the noise threshold $\delta$ (red circle) allows a spoofed update $g'_t$ to be accepted if it lands within the radius.

Adversarial Spoofing Attacks

We systematically deconstruct PoL by identifying two key vulnerabilities: Reproducibility and Representativeness. We introduce two highly efficient attacks:

  1. Infinitesimal Update Attack: This attack exploits static noise thresholds. Instead of training, an adversary uses linear interpolation between an initial state and the stolen model's weights. By setting an "infinitesimal" learning rate, they ensure every fake update is small enough to fall within the verifier's noise tolerance.
  2. Blindfold Top-Q Attack: Verifiers often only check "Top-Q" updates (those with the largest magnitudes) to save time. We show an adversary can "blindfold" the verifier by creating a few large, valid-looking updates while faking the rest of the trajectory with cheap, invalid steps.

Proposed Defense: Adaptive Thresholding

To address the limitations of fixed thresholds, we propose a more robust verification strategy (Lemma 3) using an adaptive threshold. Instead of a fixed $L_2$ distance, this threshold considers both the magnitude and the direction of the update relative to the gradient. Since valid training noise is much more constrained in its direction than arbitrary spoofed updates, this makes it significantly harder to hide fake steps.

The proposed adaptive threshold (Lemma 3) improves security by constraining the update based on the angle $\theta$ and a relative magnitude $\alpha$, making it harder for spoofed vectors to pass verification.

Experimental Results

We evaluated these methods on standard benchmarks (CIFAR-10 with ResNet-20 and CIFAR-100 with ResNet-50). Key findings include:

  • Efficiency: The Infinitesimal Update Attack is 40x faster than previous spoofing attempts because it relies on simple linear algebra rather than complex optimization.
  • Effectiveness: On CIFAR-100, our attack produced a reproduction error 10x lower than prior state-of-the-art methods, making it virtually indistinguishable from honest training under legacy rules.
  • Defense Validation: The proposed adaptive thresholding successfully rejected both our new attacks and previous ones, providing a more secure path for future protocols.

Conclusion and Theoretical Limits

The paper makes a profound connection to learning theory: proving a PoL protocol is secure against "stochastic spoofing" is equivalent to proving that a specific local minimum in a non-convex landscape can only be reached via a specific training trajectory. This remains an unsolved problem in optimization theory. While adaptive thresholds provide a stronger defense, provably optimal verification requires a more precise mathematical model of how noise propagates through deep neural networks.

Summary updated

Abstract

Proof-of-Learning (PoL) proposes that a model owner logs training checkpoints to establish a proof of having expended the computation necessary for training. The authors of PoL forego cryptographic approaches and trade rigorous security guarantees for scalability to deep learning. They empirically argued the benefit of this approach by showing how spoofing--computing a proof for a stolen model--is as expensive as obtaining the proof honestly by training the model. However, recent work has provided a counter-example and thus has invalidated this observation. In this work we demonstrate, first, that while it is true that current PoL verification is not robust to adversaries, recent work has largely underestimated this lack of robustness. This is because existing spoofing strategies are either unreproducible or target weakened instantiations of PoL--meaning they are easily thwarted by changing hyperparameters of the verification. Instead, we introduce the first spoofing strategies that can be reproduced across different configurations of the PoL verification and can be done for a fraction of the cost of previous spoofing strategies. This is possible because we identify key vulnerabilities of PoL and systematically analyze the underlying assumptions needed for robust verification of a proof. On the theoretical side, we show how realizing these assumptions reduces to open problems in learning theory.We conclude that one cannot develop a provably robust PoL verification mechanism without further understanding of optimization in deep learning.
BibTeX
@inproceedings{fang2022fundamental,
  author = {Congyu Fang and Hengrui Jia and Anvith Thudi and Mohammad Yaghini and Christopher A. Choquette-Choo and Natalie Dullerud and Varun Chandrasekaran and Nicolas Papernot},
  title = {{On the Fundamental Limits of Formally (Dis)Proving Robustness in Proof-of-Learning}},
  booktitle = {EuroS\&P},
  year = {2022},
  doi = {10.48550/arxiv.2208.03567},
}
Figure