Manuscript Offprint

arXiv:2610.26713

Proof-of-Machine-Learning-Inference: Mining Knowledge, Not Hashes

Wan Ki Wong, Michele Ciampi, Rik Sarkar

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Wan Ki Wong 1^{1}, Michele Ciampi 1^{1}, and Rik Sarkar 1^{1}

University of Edinburgh, Edinburgh, United Kingdom {thomas.wong,michele.ciampi,rik.sarkar}@ed.ac.uk

Abstract. Bitcoin-style Proof-of-Work (PoW) secures permissionless blockchains but spends substantial computation on hash puzzles which have no utility other than extending the chain. At the same time, we have seen that the rise of generative AI has created significant demand for computational resources that are unfortunately available only to a few players. We propose a solution that solves both problems at the same time. In particular, we present Proof-of-ML-Inference (PoML), a consensus protocol in which miners perform user-requested machine-learning inference as part of their consensus algorithm. We identify exactly what computational assumptions are needed for ML inference to safely replace hash work, formalize those assumptions, and give evidence that LLMs and diffusion models satisfy them. We then formally analyse the security of our protocol by reducing the security our protocol to the security of the Bitcoin Backbone model. Finally, we empirically evaluate block-time stability, showing that, in a simulated environment, PoML maintains a block production rate close to its calibrated block-time target.

Keywords: Proof of useful work · Generative AI · diffusion models · large language models · blockchain consensus

1 Introduction

Public generative models with open weights are powerful tools for democratizing the use of AI, with model hubs such as Hugging Face [14] supporting a large ecosystem of publicly available models for text analysis, image processing, scientific research and more [31]. Public models also support independent auditing and public evaluation of model safeguards in response to growing AI-safety concerns [51, 22]. However, the execution of these models is still expensive [32] and is impractical for a small or medium sized organisation. A natural approach to crowdsource and govern a shared model execution system is to use blockchains, where users can freely submit large batches of queries and model executors can be paid for their contributions in answering these queries.

Proof-of-work-based blockchains are particularly suitable for a democratic machine learning platform as they enable truly permissionless environments, which allow anyone to participate. One well-known drawback of traditional proof-of-work systems, such as Bitcoin, is that they are computationally wasteful, as they consume immense amounts of energy to run a hash mining protocol.

W. K. Wong et al.

for consensus [10, 49]. In this paper, we propose to instead use the generative AI computation itself as proof-of-work.

We call our proof-of-work Proof-of-Machine-Learning (PoML) and design a blockchain system based on it. PoML rechannels the computation required to solve standard PoW puzzles into computation useful for answering inference queries. This aims to make large-scale AI compute available more broadly (to anyone willing to pay a fee). Designing a PoML blockchain protocol that provides a similar level of security as Bitcoin, while replacing standard PoW with inference queries computed using current generative AI technologies, is the major challenge faced in this paper. Below we summarize our contributions in more detail.

References (45)