Zero-Knowledge, Deniability, and AI Training Data
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 while maintaining plausible deniability over using ?
One commenter pushed back, arguing that even with constructions like -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 and an efficiently checkable relation :
- is the public statement being proved.
- is the private witness showing that , meaning holds.
A valid protocol satisfies three properties. Completeness guarantees that an honest prover holding a valid witness convinces the verifier. Soundness guarantees that a cheating prover cannot convince the verifier when , except with negligible probability. Zero-knowledge guarantees that the verifier's view of the protocol can be simulated from alone, so the verifier learns nothing about beyond the existence of a valid witness.
Apply that setup to training-data attribution, and the public statement becomes:
Running a zero-knowledge proof for hides the witness (gradient updates, batch order, random seeds, intermediate checkpoints). Soundness still guarantees that an accepting verifier learns is true.
People often stop there and conclude that proving 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 that anyone can check. Classic interactive zero-knowledge proofs behave differently: because a simulator can generate an indistinguishable transcript without knowing , 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 holds a key pair . Using Cramer–Damgård–Schoenmakers (1994) OR-composition, the prover proves the disjunction:
Assuming kept private and knows they did not forge the proof themselves, is convinced that holds. Yet if passes that transcript to a third party, the prover can plausibly claim that simulated the whole proof using .
That is genuine cryptographic deniability, and it still does not resolve the attribution dilemma. Soundness still forces the designated verifier to learn that is true. If 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 -protocol OR-composition (see the IRTF CFRG Sigma protocols draft) directly to dataset membership, proving a 1-out-of-2 disjunction:
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: is a tautology. For any model and any dataset , 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 ties to the training run that produced , and is far harder because exclusion is a global property rather than a local NP witness. Proving you did not train on requires committing to the entire training corpus and execution trace, proving (already slippery once excerpts, near-duplicates, or paraphrases enter the picture), and proving that running the training procedure on actually produced the released weights .
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 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 and with removed—rather than comparing against the empty set (which would compare a trained model against an untrained initialization). Just as important, it is a guarantee over a randomized training algorithm , never a static property you can check on a single frozen checkpoint . Group (subset-level) -differential privacy requires that for every measurable set of output models :
with the symmetric inequality holding when and are swapped. Certified unlearning uses the same -indistinguishability criterion to compare an unlearned model against fresh retraining on .
Two consequences follow right away. First, verifying requires attesting to the randomized training process (gradient clipping, calibrated noise, sampling schedule), since a static weight file carries no proof of the distribution it was drawn from. Second, bounding influence argues against attribution. A tight bound states that barely changed the model distribution, which a model that never saw satisfies trivially with and . Whenever contributed unique signal or memorized passages (the cases that actually provoke copyright disputes), tight 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 to a group of corpora that yield similar models.
Casual versions of this idea often stumble over a basic mathematical snag. Defining a relation whenever and are approximately similar () does not produce equivalence classes . Approximate closeness (distance at most ) is reflexive and symmetric, not transitive in general: chaining small -steps can let a sequence of datasets drift arbitrarily far from . 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 under a distance metric over output model distributions:
or fix an explicit pool of candidate corpora containing . A witness-indistinguishable set-membership proof (for instance, a Merkle membership proof inside a ZK circuit or a CDS94 ring) then establishes:
(or the same statement over ) without revealing which member of the set was actually used.
At that point, the entire question reduces to what sits inside the set. If or 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 or prune 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 .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 . 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 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
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
-
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. ↩