Research Paper • An Interdisciplinary Analysis at the Intersection of Blockchain Consensus, Machine Learning, and Post-Quantum Cryptography • Based on arXiv:2610.26713v1 “Proof-of-Machine-Learning-Inference: Mining Knowledge, Not Hashes” and the methodological framework of the PoML (Proof-of-Machine-Learning-Inference) protocol, which replaces useless Bitcoin-style hashing with executing user queries to generative ML models, and the correctness of the result is confirmed by a zero-knowledge proof. This makes consensus “useful”, but simultaneously turns the blockchain into a complex cryptographic system whose security relies on hash functions, VRFs, digital signatures, public-key cryptography, and zk-SNARKs. This article systematically tests the hypothesis: which components of PoML are vulnerable to quantum attacks, what is the quantitative cost of post-quantum migration, and can quantum computational work itself become the new “useful labor”? We show that the hash portion of PoML survives quantum shock with a doubling of the output length, while signatures, PKE, part of the VRF, and pairing-based zk-SNARKs require replacement. Resource estimates, comparisons with FIPS 203/204/205, an experimental program, and a list of open questions to be addressed are provided.
PoML is a rare example of a protocol that simultaneously solves a practical problem (useful consensus) and creates a rich research agenda at the intersection of machine learning, cryptography, and quantum computing. The key lesson: “usefulness” and “security” are not the same thing . Useful work becomes vulnerable if its cryptographic framework doesn’t survive the transition to a new computational model.
The quantum challenge isn’t fatal here. The PoML hash lottery is stable under doubled output length; signatures and PKE have practical post-quantum analogs; so do VRFs. The main bottleneck is the proof system: pairing-based zk-SNARKs require replacement with more cumbersome post-quantum constructions, and this is where the cost of migration is most noticeable.
For readers who wish to pursue this direction, there are three concrete steps: (1) formalize the post-quantum PoML security model; (2) measure the overhead of post-quantum migration in a realistic prototype; (3) explore quantum computing as a potential “useful labor” in a hybrid architecture. Each of these steps allows for a testable hypothesis and is refutable—and therefore constitutes a full-fledged scientific study, not a marketing forecast.
“Useful labor” without post-quantum security is a beautiful idea that may not survive the shift in computing paradigm. The researcher’s task is to ensure that usefulness and resilience grow together.
Content
- Intrigue: Why PoML and quantum computing are colliding now
- The Anatomy of PoML: From User Request to Block
- The cryptographic foundation of PoML
- Quantum Threats: A Map of Vulnerabilities
- Quantitative Estimates: How Many Qubits Are Needed for an Attack?
- Post-quantum alternatives to PoML
- The Inverse Vector: Quantum Computing as ‘Useful Work’
- Open questions and experimental program
- Conclusion: Lessons for the Researcher
- Sources and reference works
Methodological Framework. Questions marked with Q# are taken from the “Questions for Quantum Technology Research” file and used as a testing framework: each section of the article answers the selected questions and clearly indicates where the proven ends and the assessment of future risk begins.
1. Intrigue: Why PoML and quantum computing are meeting now
Bitcoin-like Proof-of-Work solves the consensus problem, but at the cost of astronomical computational costs for hash puzzles that produce no useful output. PoML offers a simple, almost audacious solution: have miners infer a generative model based on user queries, and the result simultaneously serves as a “ticket” for the consensus lottery. This way, computational work is transformed into useful work—answering queries—and distributed among those willing to perform it. Q1
But here a paradox arises, which is the intrigue of the article. For PoML to be useful , it must be secure . To be secure in the future , it must withstand quantum attacks. However, PoML is based on the same cryptographic primitives that threaten a quantum computer: digital signatures using discrete logarithms, public-key encryption, zk-SNARKs with polynomial commitments, and VRFs. It turns out that a “useful blockchain” may prove fragile precisely at the moment when quantum computing ceases to be a laboratory curiosity.
Central hypothesis being tested
H1. PoML security in a quantum threat model can be maintained without changing the consensus architecture by replacing only the cryptographic primitives (signatures, PKE, VRF, proof system) with post-quantum analogs, while the block time overhead remains within the same order of magnitude.
Refutation criterion: if at least one of the primitives does not have a practical post-quantum analogue, or the overhead exceeds an order of magnitude, or the replacement breaks the security reduction to Bitcoin Backbone, the hypothesis is considered refuted in its current formulation and requires a revision of the architecture.
2. PoML Anatomy: From User Request to Block
To discuss quantum threats in a concrete way, let’s define the protocol itself. PoML (arXiv:2610.26713v1) can be divided into five cryptographically strong layers.
2.1. Custom Layer
The user generates a request Q = (qid, vk_sig, pk_u, taskID, h_u, h_exp, F_max, σ_u). Here h_u = H_zk(x_u || qid) , is the hash of the raw request, and σ_u is the digital signature. At this level, the hash function and signature scheme are used .
2.2. Randomness Selection Layer
The randomness of the inference R = (z_1, …, z_T) is derived not from a local generator, but from the VRF (Verifiable Random Function) seed r, which in turn depends on the hash of the previous block and transactions:
bind 1 = G(s, tx), bind i = H(G(s, tx) || V i−1 ) for i ≥ 2,
r i = H(bind i || h u,i || qid i || vk m sig )
The VRF provides both unpredictability and public verifiability. This is a critical element: if the VRF is predictable or shiftable, the consensus lottery loses its security.
2.3. ML Inference Layer
The miner computes y = M_θ(x, R) the output of a generative model (diffusion or LLM). The model M_θ must satisfy the Computational Independence (CI) property : without knowledge of fresh randomness R , previously computed activations cannot be reused to save a significant amount of work. For diffusion models, this is proven through the anticoncentration of Gaussian noise in a high-dimensional latent space; for LLM, it is proven empirically through the distance between activations when perturbing embeddings.
2.4. Evidence and encryption layer
A zk-SNARK (low-key proof-of-knowledge) is appended to the result , confirming that it y was indeed obtained from x and R according to the model specification. The response is encrypted with the user’s public key: . PKE and zk-SNARKsct = Enc(pk_u, y || qid; r_enc) are used here .
2.5. Lottery Layer
The winner is determined as the miner for whom H(G(s, tx) || Y) < D_Ω, where D_Ω is a threshold weighted by the difficulty Ω of the work performed. This is again a hash function , but this time as a complexity-weighted lottery.
| PoML layer | Cryptographic primitive | Quantum vulnerability (briefly) |
|---|---|---|
| Custom | Hash H_zk, signature σ_u | Hash: Grover (quadratic). Signature: Shore, if on DL/EC |
| Accident | VRF, hash G, H | VRF on DL/pairing – Shore; hash – Grover |
| ML inference | Computational Independence Models | Not a direct quantum threat; depends on the model |
| Evidence/encryption | zk-SNARK, PKE | SNARK on pairing/KZG – Shor; PKE on DL/RSA – Shor |
| Lottery | Hash H, threshold D_Ω | Grover: Doubling the length of the outlet compensates |
3. The cryptographic foundation of PoML: what exactly does the protocol protect?
Before discussing threats, it’s useful to explicitly state the assumptions made by PoML. This answers question Q49: What specific cryptographic problem is being considered?
- Hash functions as random oracles. Lottery security and linking to the previous block come down to the random oracle model for
G, H, H_zk. - EUF-CMA signatures. Miner registration and user requests are protected by a digital signature scheme.
- IND-CPA PKE. Encryption of responses to the user.
- Unbiasable VRF. Fairness of the inference randomness selection and impossibility of lottery bias.
- NIZK proof-of-knowledge. Correctness of the inference without revealing the output; this paper uses zk-SNARKs on Fiat–Shamir.
- Computational Independence of ML models. The inability to reuse computations between different inference implementations.
Points 1–5 are classical cryptography, and they form the quantum attack surface. Point 6 is a new property specific to PoML; it is not a cryptographic assumption in the strict sense, but the protocol’s economic security depends on it (it is impossible to “save” on inference).
An important observation. The PoML security reduction for Bitcoin Backbone (Theorem 5 in the article) explicitly inherits the parameters q ↦ q_ML and T ↦ D. This means that if a quantum adversary breaks the VRF or signatures, they can bypass not only individual transactions but also the Bernoulli lottery model itself, which underlies the common prefix proof, chain quality, and chain growth. Q54
4. Quantum Threats: Vulnerability Map
Quantum algorithms relevant to cryptography fall into two broad categories. This answers question Q50: Which quantum algorithm is applicable and under what assumptions?
4.1 Shor’s Algorithm: Polynomial Time for Factorization and Discrete Logarithm
Shor’s algorithm solves integer factorization and discrete logarithm problems in finite fields and on elliptic curves in polynomial time. This undermines:
- RSA and DH/ECDH → PKE based on them ;
- ECDSA, EdDSA, Schnorr → digital signatures ;
- VRF on discrete logarithm or pairing → random selection ;
- KZG/pairing-based polynomial commitments → zk-SNARK .
4.2 Grover’s Algorithm: Quadratic Search Speedup
Grover’s algorithm provides quadratic speedup for unstructured search. For a hash function with na -bit output, a quantum adversary finds a preimage in O(2^{n/2}) . O(2^n)This means that the hash portion of PoML remains secure even when the output length is doubled : a 256-bit hash provides ~128-bit post-quantum security.
4.3. What exactly is broken in PoML?
| PoML component | Assumption | Quantum attack | Consequence |
|---|---|---|---|
Signatures σ_u, σ_m | EUF-CMA (EC/DL) | Shor | Forgery of requests and registrations |
| PKE answers | IND-CPA (RSA/DL) | Shor | Decoding responses, loss of confidentiality |
| VRF randomness | Pseudo-randomness + unbiasability | Shore (if DL/pairing) | Lottery Prediction/Bias |
| zk-SNARK | Knowledge soundness, ZK | Shore (if KZG/pairing) | Forgery of proofs of inference correctness |
| Hash lottery | Random Oracle | Grover (sq. acceleration) | Compensated by doubling the length |
| CI ML models | Computational independence | Not a quantum attack | Requires separate analysis |
Section conclusion. The most vulnerable primitives are not hashes, but asymmetric primitives: signatures, PKE, parts of the VRF, and pairing-based SNARKs. These are the ones that require post-quantum replacement. The PoML hash lottery is the least vulnerable element, provided the output is long enough. Q52
5. Quantitative estimates: how many qubits are needed for an attack
Question Q51 requires quantitative, rather than qualitative, estimates. Below is a summary of published resource estimates for problems relevant to PoML.
| Task | Resource assessment (logical qubits) | Time / note | Source |
|---|---|---|---|
| RSA-2048 factorization | ~20 million noisy qubits (estimate) | hours–days under certain assumptions | Gidney–Ekerå (2021) and subsequent revisions |
| Discrete logarithm on a 256-bit elliptic curve | ~2330 logical qubits | ~8 hours at code distance d=15 | Roetteler et al. (2017) |
| Finding the preimage of a 256-bit hash | ~2,128 quantum queries (Grover) | quadratic acceleration | Grover (1996) |
| Hack pairing-based SNARK | comes down to DL in the target group | depends on the field size | standard analysis |
These estimates reveal an important asymmetry. Breaking ECDSA-256 requires on the order of several thousand logical qubits—orders of magnitude fewer than RSA-2048. Therefore, signatures and VRFs on elliptic curves are the primary target of post-quantum migration (PoML) , while hash lottery can survive a quantum shock with a doubling of the output length.
Post-quantum security margin: n_hash = 2 · n_classical
Example: 256-bit hash → ~128-bit post-quantum security
For zk-SNARKs, the picture is more complex: many practical systems (Groth16, PLONK with KZG) rely on pairing and deep learning in the target group, making them vulnerable to Shor’s attack. Post-quantum alternatives exist (STARKs on hashes, Bulletproofs with post-quantum commitments), but their proof sizes and verification times are significantly higher. This is a direct challenge to hypothesis H1.
6. Post-quantum alternatives to PoML
Question Q55 requires not only a statement of threats but also specific migration measures. Below is a map of substitutions for each PoML layer.
6.1 Signatures: FIPS 204 (ML-DSA) and FIPS 205 (SLH-DSA)
NIST approved FIPS 203, 204, and 205 in August 2024. ML-DSA (Module-Lattice Digital Signature Algorithm, formerly Dilithium) and SLH-DSA (Stateless Hash-Based Digital Signature Algorithm, formerly SPHINCS+) are applicable for signatures. Both provide post-quantum security but require larger key and signature sizes. This increases the size of PoML transactions and the network load.
6.2. Encryption: FIPS 203 (ML-KEM)
ML-KEM (formerly Kyber) is a post-quantum KEM that serves as the foundation for hybrid encryption. In PoML, this means replacing the current PKE scheme with a hybrid design: ML-KEM + symmetric response encryption.
6.3. VRF: Post-quantum constructions
VRFs on DL/pairing are vulnerable to Shor. Post-quantum VRFs exist: Brandt (2025) proposes a construction based on generic assumptions without a random oracle. This is important because VRFs in PoML are responsible for the fairness of the inference randomness, a critical security element.
6.4. zk-SNARK: STARKs and hash-based commitments
Pairing-based SNARKs (KZG, Groth16) are vulnerable to Shor. Post-quantum alternatives include STARKs (transparent, hash-based), as well as SNARKs with post-quantum polynomial commitments. The tradeoff is larger proof size and longer verification time. This is where the H1 hypothesis is most at risk.
6.5 Hash Lottery: Doubling the Length
The simplest measure is to increase the output length of the hash function (e.g., SHA-3-512 or BLAKE3 with 512-bit output) to compensate for Grover’s error. This does not change the PoML architecture and does not require a revision of security reduction.
| PoML layer | Current primitive | Post-quantum replacement | Replacement price |
|---|---|---|---|
| Signatures | ECDSA / EdDSA | ML-DSA or SLH-DSA | More keys/signatures, higher gas |
| Encryption | ECIES / RSA-OAEP | ML-KEM + AEAD | More ciphertext, hybrid scheme |
| VRF | ECVRF / pairing VRF | Post-quantum VRF (Brandt 2025) | New design, more evidence |
| zk-SNARK | KZG / Groth16 | STARKs or hash-based SNARKs | Significantly larger proof size |
| Hash lottery | 256-bit hash | 512-bit hash | Minimum, length only |
Testing hypothesis H1
What is confirmed: the PoML architecture (layers, roles, reduction) does not require changes; primitives can be replaced component-by-component.
What calls H1 into question: zk-SNARKs are a bottleneck. Switching to STARKs increases proof size by orders of magnitude, which directly impacts block throughput and the complexity function C_{θ,Π}(N, K), and therefore fees and lottery weighting.
Interim conclusion: H1 is true for hashes, signatures, PKE, and VRFs, but is partially refuted for zk-SNARKs in the current formulation. Clarification required: “the overhead remains within the same order of magnitude for all layers except the proof system.”
7. The Inverse Vector: Quantum Computing as “Useful Work”
So far, we’ve viewed quantum computing as a threat. But PoML poses a more interesting question: could quantum computing itself become a new “useful work” in the spirit of PoML? This answers question Q62—about the transfer of ideas between fields.
7.1. Hypothetical QPoML architecture
Let’s imagine a protocol in which miners perform quantum simulation, optimization, or quantum inference, and the results are verified by classical or quantum verifiers. The problems that immediately arise are:
- Verification. How can one effectively verify that a quantum computation has been performed correctly? ZK proofs for quantum circuits are still less mature than those for classical ones.
- Noise and correction. Quantum computing requires error correction; the cost of this correction must be included in the complexity function.
- Accessibility. Quantum computers are not yet commodity hardware; this contradicts the permissionless spirit of PoML.
7.2. What can be done now?
A hybrid approach: classical PoML for ML inference + a quantum oracle for a narrow class of problems (e.g., generating certified randomness or verifying quantum circuits). This doesn’t solve the problem entirely, but it does create a research agenda.
Connections to questions about sensors and communications. Questions Q57–Q60 remind us that quantum technologies are not just about computation. A PoML-like consensus could in the future be based on data from quantum sensors or networks, but this is a separate area requiring its own threat model.
8. Open questions and experimental program
Question Q69 asks you to explicitly list what remains open. Below is a list, grouped by type of evidence.
8.1. Theoretical issues
- Is there a formal post-quantum PoML security model in which the security reduction to Bitcoin Backbone is preserved when all primitives are replaced?
- How can we define computational independence in a ML model in a quantum threat model? Is the classical definition sufficient, or is a new definition needed?
- Can STARK-based zk-SNARKs be proven to preserve knowledge soundness in a PoML distribution
D_PoML?
8.2 Experimental questions
- What is the real overhead of replacing ECDSA → ML-DSA with PoML in terms of block size, verification time, and throughput?
- How much will proof generation time increase when switching from KZG-SNARK to STARK for a GPT-2/DeepProve-like configuration?
- Is the block stability (300 s target) maintained during post-quantum migration, or does the difficulty need to be recalculated?
- How does wasted work change when replacing VRF with a post-quantum analogue?
8.3. Questions of comparison and synthesis
- How does post-quantum PoML compare to other PoUW protocols (Ofelimos, D-PoDL, SNARKChain) in terms of resistance to quantum attacks? Q77
- What conclusions remain when moving from the optimistic scenario (rapid migration) to the conservative one (long migration, rising costs)? Q72
- What new testable questions arise from comparing PoML to quantum computing as “useful work”?
A minimal demonstration that will convince a skeptic
A PoML prototype with post-quantum signatures and STARK proofs, running on the same hardware as the original PoML, measuring (a) block time, (b) block size, (c) wasted work, and (d) proof forgery resistance. If all four metrics remain within the same order of magnitude of classical PoML, hypothesis H1 is empirically confirmed.
9. Conclusion: Lessons for the Researcher
PoML is a rare example of a protocol that simultaneously solves a practical problem (useful consensus) and creates a rich research agenda at the intersection of machine learning, cryptography, and quantum computing. The key lesson: “usefulness” and “security” are not the same thing . Useful work becomes vulnerable if its cryptographic framework doesn’t survive the transition to a new computational model.
The quantum challenge isn’t fatal here. The PoML hash lottery is stable under doubled output length; signatures and PKE have practical post-quantum analogs; so do VRFs. The main bottleneck is the proof system: pairing-based zk-SNARKs require replacement with more cumbersome post-quantum constructions, and this is where the cost of migration is most noticeable.
For readers who wish to pursue this direction, there are three concrete steps: (1) formalize the post-quantum PoML security model; (2) measure the overhead of post-quantum migration in a realistic prototype; (3) explore quantum computing as a potential “useful labor” in a hybrid architecture. Each of these steps allows for a testable hypothesis and is refutable—and therefore constitutes a full-fledged scientific study, not a marketing forecast.
“Useful labor” without post-quantum security is a beautiful idea that may not survive the shift in computing paradigm. The researcher’s task is to ensure that usefulness and resilience grow together.
Sources and reference works
- Wong WK, Ciampi M., Sarkar R. Proof-of-Machine-Learning-Inference: Mining Knowledge, Not Hashes. arXiv:2610.26713v1. — the primary source for the PoML architecture, security reduction, complexity estimates, and experiments.
- National Quantum Initiative. Quantum Science Areas: Computing, Networking, and Sensors. — a framework for distinguishing types of quantum technologies.
- NIST. FIPS 203 (ML-KEM), FIPS 204 (ML-DSA), FIPS 205 (SLH-DSA), approved August 13, 2024. – post-quantum standards relevant to PoML migration.
- NIST NCCoE. Migration to Post-Quantum Cryptography. — Practical Context for Migration.
- Garay J., Kiayias A., Leonardos N. The Bitcoin Backbone Protocol: Analysis and Applications. — a security model to which PoML is reduced.
- Roetteler M. et al. Quantum resource estimates for computing elliptic curve discrete logarithms. — estimate of ~2330 logical qubits for 256-bit ECDLP.
- Gidney C., Ekerå M. How to factor 2048-bit RSA integers in 8 hours using 20 million noisy qubits. — Resource assessment for RSA-2048.
- Grover LK A fast quantum mechanical algorithm for database search. — quadratic search acceleration.
- Shor PW Algorithms for quantum computation: discrete logarithms and factoring. — polynomial algorithms for DL and factorization.
- Brandt N. Unbiased Verifiable Random Functions from Generic Assumptions. Cryptology ePrint Archive, Paper 2025/766. — post-quantum VRF.
- Giunta E., Stewart A. Unbiased Verifiable Random Functions. EUROCRYPT 2024. — a formal definition of unbiasability.
- Sun H., Li J., Zhang H. zkLLM: Zero Knowledge Proofs for Large Language Models. CCS 2024. — proof generation time benchmark (73.9 s for a 125M-parameter model on A100).
- Lagrange Labs. DeepProve. — the proof system used in the PoML experiments.
- Fitzi M., Kiayias A., Panagiotakos G., Russell A. Ofelimos: Combinatorial Optimization through Proof-of-Useful-Work. CRYPTO 2022. – comparative context of PoUW.
- Su X., Larangeira M., Tanaka K. Provably Secure Blockchain Protocols from Distributed Proof-of-Deep-Learning. NSS 2023. — A comparative context of PoUW for deep learning.
- Oleksak S. et al. SNARKChain: Proof-of-Useful-Work Blockchain Consensus with General-Purpose SNARK Marketplace. arXiv:2510.09729. — comparative context of zk-SNARKs as useful work.
Statement status. The PoML architecture, primitive list, security reduction, and experimental metrics are taken from arXiv:2610.26713v1. Quantum resource estimates (RSA-2048, ECDLP-256) are published estimates under explicit assumptions and are not experimentally confirmed attacks on specific systems. Post-quantum replacements are listed as candidates, not as guaranteed compatible solutions; their compatibility with PoML is the subject of future research.
