PoGO:通过量化梯度下降和Merkle证明实现的可扩展有用工作证明
PoGO: A Scalable Proof of Useful Work via Quantized Gradient Descent and Merkle Proofs
AI总结:
本文提出PoGO共识协议,利用量化梯度下降和Merkle证明使矿工可验证地训练大模型,实现比训练更便宜的链上验证,支持GPT-3等大规模模型。
摘要:
我们提出了一种名为梯度优化证明(PoGO)的区块链共识设计,其中矿工产生可验证的证据,证明其训练了大规模机器学习模型。在先前工作的基础上,我们引入了量化梯度(4位精度)以减少存储和计算需求,同时保留验证者检查模型损失是否确实降低的能力。此外,我们采用覆盖完整32位模型的Merkle证明来处理大型参数集,并实现以最少链上数据进行随机叶节点检查。我们以GPT-3(1750亿参数)作为参考示例来说明这些想法,并提及较小但高性能的模型(例如,具有270亿参数的Gemma 3)。我们提供了实证成本分析,表明由于量化和采样的帮助,验证比训练便宜得多。我们还讨论了在纳入有意义的训练步骤时需要更长的区块时间(可能长达数小时)、使用专用GPU硬件时的权衡,以及二进制差异如何增量优化更新。最后,我们指出微调可以类似方式处理,仅需更改数据集和采样方式,但保留整体验证流程。我们的协议允许验证者发布正面或负面证明;这些证明在最终确定时被聚合,以确认更新或惩罚矿工。
英文摘要:
We present a design called Proof of Gradient Optimization (PoGO) for blockchain consensus, where miners produce verifiable evidence of training large-scale machine-learning models. Building on previous work, we incorporate quantized gradients (4-bit precision) to reduce storage and computation requirements, while still preserving the ability of verifiers to check that real progress has been made on lowering the model's loss. Additionally, we employ Merkle proofs over the full 32-bit model to handle large parameter sets and to enable random leaf checks with minimal on-chain data. We illustrate these ideas using GPT-3 (175B parameters) as a reference example and also refer to smaller but high-performance models (e.g., Gemma~3 with 27B parameters). We provide an empirical cost analysis showing that verification is significantly cheaper than training, thanks in part to quantization and sampling. We also discuss the necessity of longer block times (potentially hours) when incorporating meaningful training steps, the trade-offs when using specialized GPU hardware, and how binary diffs may incrementally optimize updates. Finally, we note that fine-tuning can be handled in a similar manner, merely changing the dataset and the manner of sampling but preserving the overall verification flow. Our protocol allows verifiers to issue either positive or negative attestations; these are aggregated at finalization to either confirm the update or slash the miner.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。