基于任意矩阵乘法的有用工作证明
Proofs of Useful Work from Arbitrary Matrix Multiplication
AI总结:
针对无需许可环境中基于真实计算任务的PoW共识问题,提出基于任意矩阵乘法的PoUW协议,其开销为1+o(1)且推测具最优安全性,可复用AI计算资源降低成本并减少挖矿能耗,为新型L1协议提供思路。
摘要:
我们重新审视了一个长期存在的开放性问题:在矿工可自行选择输入x的完全无需许可的环境中,基于真实世界的计算任务T(x)(而非人工随机哈希)实现中本聪的工作量证明(PoW)共识。设计此类有用工作量证明(PoUW)协议的挑战在于,利用T(x)的原生计算生成具有规定难度的PoW证书,且其计算开销相对于T(·)的最坏情况复杂度可忽略不计——这确保恶意矿工无法通过欺骗验证者以比诚实矿工更高的概率接受(同时使用相似计算资源)来“钻系统空子”。实际上,为任何任务T获得O(1)因子开销的PoUW是微不足道的,但也毫无用处。我们的主要成果是针对任意矩阵乘法MatMul(A,B)任务的PoUW,其乘法开销相对于朴素MatMul为1+o(1)(即使存在当前不实用的快速矩阵乘法类算法)。我们推测,我们的协议具有最优安全性,即恶意证明者无法获得相对于诚实证明者的任何显著优势。这一推测基于将协议的难度归约为解决一批低秩随机线性方程组的任务,而后者具有独立研究价值。由于矩阵乘法是AI计算以及无数行业规模应用的瓶颈,这一原语为新型L1底层协议提供了具体设计思路,该协议几乎消除了比特币挖矿的能源浪费——允许GPU用户通过将其“复用”于区块链共识(以换取区块奖励)来降低AI训练和推理成本(一举两得)。该区块链目前正在构建中。
英文摘要:
We revisit the longstanding open problem of implementing Nakamoto's proof-of-work (PoW) consensus based on a real-world computational task $T(x)$ (as opposed to artificial random hashing), in a truly permissionless setting where the miner itself chooses the input $x$. The challenge in designing such a Proof-of-Useful-Work (PoUW) protocol, is using the native computation of $T(x)$ to produce a PoW certificate with prescribed hardness and with negligible computational overhead over the worst-case complexity of $T(\cdot)$ -- This ensures malicious miners cannot ``game the system" by fooling the verifier to accept with higher probability compared to honest miners (while using similar computational resources). Indeed, obtaining a PoUW with $O(1)$-factor overhead is trivial for any task $T$, but also useless. Our main result is a PoUW for the task of Matrix Multiplication $MatMul(A,B)$ of arbitrary matrices with $1+o(1)$ multiplicative overhead compared to naive $MatMul$ (even in the presence of Fast Matrix Multiplication-style algorithms, which are currently impractical). We conjecture that our protocol has optimal security in the sense that a malicious prover cannot obtain any significant advantage over an honest prover. This conjecture is based on reducing hardness of our protocol to the task of solving a batch of low-rank random linear equations which is of independent interest. Since $MatMul$s are the bottleneck of AI compute as well as countless industry-scale applications, this primitive suggests a concrete design of a new L1 base-layer protocol, which nearly eliminates the energy-waste of Bitcoin mining -- allowing GPU consumers to reduce their AI training and inference costs by ``re-using" it for blockchain consensus, in exchange for block rewards (2-for-1). This blockchain is currently under construction.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。