Back to blog

Zero-Knowledge, Deniability, and AI Training Data

10 min read

When Moonshot AI released Kimi K2.5 on January 27, 2026, the Hacker News thread quickly drifted toward a familiar argument: whether an open-weight model with a closed training corpus counts as open source. That fight has been running for years, from reproducibility debates to the backlash over the Open Source AI Definition.

Halfway down the Kimi K2.5 thread, though, the conversation took a cryptographic turn. A recurring AI policy pitch surfaced again:

Could a model developer use a zero-knowledge proof to prove a model was trained on a dataset DD while maintaining plausible deniability over using DD?

One commenter pushed back, arguing that even with constructions like Σ\Sigma-protocol OR-proofs, you cannot prove training-data attribution without admitting usage. That conclusion holds up, though the cryptography along the way is subtler than a quick dismissal suggests. Zero-knowledge protocols can give you cryptographic deniability against outside observers. Even so, every construction people reach for either convinces the verifier of the fact you wanted to hide or weakens the statement until it stops proving attribution.

Statements, Witnesses, and What Deniability Actually Buys

In the formal framework introduced by Goldwasser, Micali, and Rackoff (1989), a zero-knowledge proof system is defined for an NP language LL and an efficiently checkable relation R(x,w)R(x, w):

  • xx is the public statement being proved.
  • ww is the private witness showing that x∈Lx \in L, meaning R(x,w)R(x, w) holds.

A valid protocol satisfies three properties. Completeness guarantees that an honest prover holding a valid witness ww convinces the verifier. Soundness guarantees that a cheating prover cannot convince the verifier when x∉Lx \notin L, except with negligible probability. Zero-knowledge guarantees that the verifier's view of the protocol can be simulated from xx alone, so the verifier learns nothing about ww beyond the existence of a valid witness.

Apply that setup to training-data attribution, and the public statement xx becomes:

x:=Model M was trained using dataset D.x := \text{Model } M \text{ was trained using dataset } D.

Running a zero-knowledge proof for xx hides the witness ww (gradient updates, batch order, random seeds, intermediate checkpoints). Soundness still guarantees that an accepting verifier learns xx is true.

People often stop there and conclude that proving xx forces a public confession. Cryptographically, that skips a real distinction. Publicly verifiable non-interactive zero-knowledge proofs (such as standard SNARKs) do hand the verifier a static proof string π\pi that anyone can check. Classic interactive zero-knowledge proofs behave differently: because a simulator can generate an indistinguishable transcript (a,c,z)(a, c, z) without knowing ww, a recorded transcript proves nothing to an outsider who did not choose the challenges live.

You can preserve that non-transferability even without interaction through designated-verifier proofs, introduced by Jakobsson, Sako, and Impagliazzo (1996). Suppose the intended verifier VV holds a key pair (pkV,skV)(pk_V, sk_V). Using Cramer–Damgård–Schoenmakers (1994) OR-composition, the prover proves the disjunction:

(∃w:R(x,w))  ∨  (∃skV:KeyPair(pkV,skV)).\big(\exists w : R(x, w)\big) \;\lor\; \big(\exists sk_V : \mathsf{KeyPair}(pk_V, sk_V)\big).

Assuming VV kept skVsk_V private and knows they did not forge the proof themselves, VV is convinced that xx holds. Yet if VV passes that transcript to a third party, the prover can plausibly claim that VV simulated the whole proof using skVsk_V.

That is genuine cryptographic deniability, and it still does not resolve the attribution dilemma. Soundness still forces the designated verifier VV to learn that xx is true. If VV is a rights-holder, auditor, or court, you have confirmed usage to the exact party with legal standing, and cryptographic non-transferability does nothing to block human testimony, civil discovery, or subpoenaed training logs. If the goal instead is public attribution that anyone can verify, making proofs non-transferable defeats the point.

OR-Proofs and the Cost of Proving a Negative

When direct statements reveal too much, the next proposal from the thread is to apply Σ\Sigma-protocol OR-composition (see the IRTF CFRG Sigma protocols draft) directly to dataset membership, proving a 1-out-of-2 disjunction:

(∃w1:TrainedOn(M,D;w1))  ∨  (∃w2:NotTrainedOn(M,D;w2)).\big(\exists w_1 : \mathsf{TrainedOn}(M, D; w_1)\big) \;\lor\; \big(\exists w_2 : \mathsf{NotTrainedOn}(M, D; w_2)\big).

In a witness-indistinguishable CDS94 OR-proof, the prover holds a witness for one branch and simulates the other, leaving the verifier unable to tell which side held.

Two separate problems sink this approach. The first is logical: P∨¬PP \lor \neg P is a tautology. For any model MM and any dataset DD, one branch holds by definition, so an accepting proof conveys zero bits of information about provenance. Deniability is total solely because attribution has vanished.

The second problem is structural. Even proving TrainedOn(M,D;w1)\mathsf{TrainedOn}(M, D; w_1) ties DD to the training run that produced MM, and NotTrainedOn(M,D;w2)\mathsf{NotTrainedOn}(M, D; w_2) is far harder because exclusion is a global property rather than a local NP witness. Proving you did not train on DD requires committing to the entire training corpus SS and execution trace, proving D∩S=∅D \cap S = \emptyset (already slippery once excerpts, near-duplicates, or paraphrases enter the picture), and proving that running the training procedure on SS actually produced the released weights MM.

CDS94 OR-proofs do have real applications in this area: constructing designated-verifier proofs as above, or building ring and set-membership proofs over a pool of candidate datasets. Neither turns a direct claim of training usage into a deniable secret.

Bounding Influence Instead of Proving Usage

Another workaround steps back from dataset inclusion and tries to prove that DD had negligible influence on the finished model. That brings in differential privacy (Dwork and Roth, 2014) and certified machine unlearning (Guo et al., 2020).

Getting the formalism right matters here. Differential privacy compares two neighboring corpora—the full dataset SS and S∖DS \setminus D with DD removed—rather than comparing DD against the empty set ∅\emptyset (which would compare a trained model against an untrained initialization). Just as important, it is a guarantee over a randomized training algorithm A\mathcal{A}, never a static property you can check on a single frozen checkpoint MM. Group (subset-level) (ε,δ)(\varepsilon, \delta)-differential privacy requires that for every measurable set of output models EE:

Pr⁡[A(S)∈E]≤eε Pr⁡[A(S∖D)∈E]+δ,\Pr\big[\mathcal{A}(S) \in E\big] \le e^{\varepsilon}\,\Pr\big[\mathcal{A}(S \setminus D) \in E\big] + \delta,

with the symmetric inequality holding when SS and S∖DS \setminus D are swapped. Certified unlearning uses the same (ε,δ)(\varepsilon, \delta)-indistinguishability criterion to compare an unlearned model against fresh retraining on S∖DS \setminus D.

Two consequences follow right away. First, verifying (ε,δ)(\varepsilon, \delta) requires attesting to the randomized training process (gradient clipping, calibrated noise, sampling schedule), since a static weight file MM carries no proof of the distribution it was drawn from. Second, bounding influence argues against attribution. A tight (ε,δ)(\varepsilon, \delta) bound states that DD barely changed the model distribution, which a model that never saw DD satisfies trivially with ε=0\varepsilon = 0 and δ=0\delta = 0. Whenever DD contributed unique signal or memorized passages (the cases that actually provoke copyright disputes), tight (ε,δ)(\varepsilon, \delta) bounds either break or inflate to vacuous values.

Candidate Sets, Tolerance Balls, and the Scaling Argument

A subtler idea keeps attribution anchored to real training runs while widening the target from a single corpus DD to a group of corpora that yield similar models.

Casual versions of this idea often stumble over a basic mathematical snag. Defining a relation D∼SD \sim S whenever A(D)\mathcal{A}(D) and A(S)\mathcal{A}(S) are approximately similar (≈\approx) does not produce equivalence classes [D]∼[D]_\sim. Approximate closeness (distance at most τ\tau) is reflexive and symmetric, not transitive in general: chaining small τ\tau-steps can let a sequence of datasets drift arbitrarily far from DD. What you actually get is a tolerance relation.

To state the construction cleanly, you either pick a strict invariant (such as exact functional equivalence on a fixed evaluation distribution), define a bounded neighborhood ball around DD under a distance metric dd over output model distributions:

Bτ(D)={S∣d(A(D), A(S))≤τ},B_\tau(D) = \big\{S \mid d\big(\mathcal{A}(D),\, \mathcal{A}(S)\big) \le \tau\big\},

or fix an explicit pool of candidate corpora S\mathcal{S} containing DD. A witness-indistinguishable set-membership proof (for instance, a Merkle membership proof inside a ZK circuit or a CDS94 ring) then establishes:

∃S∈Bτ(D),  ∃w:TrainedOn(M,S;w)\exists S \in B_\tau(D),\;\exists w : \mathsf{TrainedOn}(M, S; w)

(or the same statement over S\mathcal{S}) without revealing which member of the set was actually used.

At that point, the entire question reduces to what sits inside the set. If Bτ(D)B_\tau(D) or S\mathcal{S} contains both a copyrighted corpus and a licensed or public-domain corpus, witness indistinguishability prevents the verifier from separating lawful training from infringement. Shrink the radius τ\tau or prune S\mathcal{S} until no clean corpus remains, and you are right back to admitting infringement.

This is where the Kimi K2.5 thread got most interesting. Several commenters leaned on an "information-theoretic" counterargument: public-domain text is a fraction of the open web, scaling laws reward larger corpora, and therefore no frontier model could plausibly come from the public-domain slice of S\mathcal{S}.1

Calling that information-theoretic stretches the term. Shannon entropy and mutual information measure statistical structure between distributions and tasks; copyright status is a legal classification with no physical correlate in a token distribution. Absent a formal lower bound showing that public-domain corpora lack the mutual information needed for competitive performance, and that no curriculum, filtering, or synthetic-data pipeline can close the gap, the claim is an empirical judgment about sample complexity, data quality, and compute-optimal scaling under current architectures.

Even if you treat that empirical judgment as 99.9% likely, it operates outside the cryptography. The proof system still certifies only membership in S\mathcal{S}. Any conclusion about which specific corpus the lab trained on comes from economic and scaling priors, never from the proof itself.

What Verifiable ML Actually Looks Like Today

Everything above assumes an idealized proof system that can express TrainedOn(M,S;w)\mathsf{TrainedOn}(M, S; w) for a frontier model in the first place. Real-world verifiable training is nowhere near that scale. Kimi K2.5 is a 1-trillion-parameter Mixture-of-Experts model (32 billion active parameters per token) trained on roughly 15 trillion mixed text and visual tokens. Deployed zkML tools like EZKL and research prototypes like zkLLM target verifiable inference, where proving a single forward pass of a multi-billion-parameter model already takes minutes to hours—orders of magnitude short of arithmetizing trillions of tokens of backpropagation and optimizer state updates across thousands of accelerators.

Heuristic alternatives have struggled as well. Jia et al.'s Proof-of-Learning proposed logging intermediate checkpoints so verifiers could spot-check gradient updates without heavy cryptographic circuits, only for follow-up work to publish reproducible spoofing attacks that forge plausible training logs at a fraction of honest training cost. As a result, production model provenance today relies on supply-chain signatures (such as NVIDIA adopting OpenSSF Model Signing across NGC) and hardware-backed attestation via trusted execution environments. Those systems authenticate who signed a checkpoint or what code ran inside an enclave; they do not prove training-data provenance in zero knowledge.

Where Cryptography Stops

FIG. 01
Why Soundness and Verifier-Hidden Usage Cannot Coexist
Zero-knowledge and designated-verifier proofs stop a verifier from convincing a third party, yet soundness still forces the verifier to learn whatever attribution is proved. Widening a tolerance ball Bτ(D) restores deniability only by weakening attribution.
Cryptographic trust boundary separating prover-to-verifier soundness from third-party deniability, alongside a tolerance ball B_tau(D)Two-part cryptographic schematic. On the left, a solid vermilion soundness arrow runs from Prover P to Verifier V: V learns that model M trained on dataset D even though witness w remains hidden. Between V and third-party Judge J, a severed dashed channel shows deniability: V can simulate the transcript and holds no transferable receipt. On the right, a geometric tolerance ball B_tau(D) of radius tau around dataset D contains an alternative clean dataset S omitting D, illustrating that DP or OR-proof blurring creates deniability only by surrendering attribution to D.01 · THE SOUNDNESS–DENIABILITY SPLITPProvermodel M, wVVerifierchecks πJ3rd Partycourt / publicSOUNDNESSV learns “M trained on D”witness w stays privateDENIABILITYNo transferable receiptV can simulate logInteractive ZK & designated verifiers cut V → J, never P → V.If π cryptographically binds M to D, soundness guarantees V learnsthe claim is true — defeating “hiding usage from the verifier.”02 · THE TOLERANCE BALL Bτ(D)τBτ(D)Dtarget datasetS ∈ Bτ(D)D omittedDP & OR-proofs trade attribution away.Whenever clean S sits inside Bτ(D), a verifiercannot tell whether M used D or S.
SourceSynthesis of Goldwasser, Micali, and Rackoff (1989); Cramer, Damgård, and Schoenmakers (1994); Jakobsson, Sako, and Impagliazzo (1996); Dwork and Roth (2014); and Guo et al. (2020).

Zero-knowledge proofs work well when a public claim needs private evidence: proving that an inference ran against committed weights, that a pipeline followed a published audit rule, or that a checkpoint cleared a compliance check without exposing proprietary parameters.

They break down when asked to establish training-data attribution while shielding the prover from admitting usage. Interactive and designated-verifier protocols control who receives a transferable receipt, while OR-proofs, differential privacy, and candidate sets dilute the claim being proved. Attribution and deniability pull in opposite directions, and no proof system removes the legal and policy trade-off underneath—for the legal boundaries themselves, talk to an IP lawyer rather than a cryptographer.

Footnotes

  1. Under U.S. law (reaffirmed in the U.S. Copyright Office's January 2025 Copyrightability Report and the D.C. Circuit's March 2025 decision in Thaler v. Perlmutter), purely AI-generated outputs lacking sufficient human authorship cannot be copyrighted. That has made knowledge distillation and synthetic data pipelines tempting workarounds, though distilling another provider's model still runs into contractual Terms of Service restrictions and unsettled questions over derivative works. On the ML side, Shumailov et al. (2024) showed that recursively replacing real corpora with uncurated synthetic generations erodes distribution tails and drives model collapse. Follow-up work by Gerstgrasser et al. (2024) demonstrated that accumulating synthetic data alongside retained real data—as well as filtering or verifying synthetic outputs—avoids collapse. ↩