[Paper Review] DLBC: A Deep Learning-Based Consensus in Blockchains for Deep Learning Services
This paper proposes DLBC, a deep learning-based consensus mechanism for blockchains that repurposes miners' computational power to train deep learning models instead of performing energy-intensive hash calculations. By integrating task scheduling, a difficulty-score ranking system, and DNN-watermarking for model ownership protection, DLBC enables efficient, secure, and scalable training of large models like FCN and U-Net on biomedical datasets, with minimal overhead (e.g., 0.98s average digital signature time) and strong resistance to model theft via watermark removal penalties.
With the increasing artificial intelligence application, deep neural network (DNN) has become an emerging task. However, to train a good deep learning model will suffer from enormous computation cost and energy consumption. Recently, blockchain has been widely used, and during its operation, a huge amount of computation resources are wasted for the Proof of Work (PoW) consensus. In this paper, we propose DLBC to exploit the computation power of miners for deep learning training as proof of useful work instead of calculating hash values. it distinguishes itself from recent proof of useful work mechanisms by addressing various limitations of them. Specifically, DLBC handles multiple tasks, larger model and training datasets, and introduces a comprehensive ranking mechanism that considers tasks difficulty(e.g., model complexity, network burden, data size, queue length). We also applied DNN-watermark [1] to improve the robustness. In Section V, the average overhead of digital signature is 1.25, 0.001, 0.002 and 0.98 seconds, respectively, and the average overhead of network is 3.77, 3.01, 0.37 and 0.41 seconds, respectively. Embedding a watermark takes 3 epochs and removing a watermark takes 30 epochs. This penalty of removing watermark will prevent attackers from stealing, improving, and resubmitting DL models from honest miners.
Motivation & Objective
- Address the high energy consumption and computational waste of traditional Proof-of-Work (PoW) consensus in blockchains.
- Overcome limitations of existing Proof-of-Useful-Work (PoUW) mechanisms, such as inability to handle large models, multiple tasks, or robust model ownership protection.
- Enable sustainable blockchain operation by incentivizing task publishers to submit training tasks through a dynamic reward mechanism.
- Protect intellectual property of deep learning models submitted by miners using a watermarking scheme that imposes a high cost on model theft.
- Ensure fairness and consistency in mining by introducing a task scheduler and difficulty scoring system that guides miners toward optimal, balanced workloads.
Proposed method
- Augment the blockchain’s memory pool to store unconfirmed and unselected training tasks, enabling task persistence and load balancing.
- Introduce a novel difficulty score for each training task based on model complexity, data size, network burden, and queue length to guide miner selection.
- Implement a block-level task scheduler that ensures all miners in a block interval work on the same selected task, maintaining consensus and fairness.
- Enhance the block data structure to include current and pending tasks, enabling transparency and verifiability of the training workload.
- Integrate DNN-watermarking into the model training pipeline to embed a unique, detectable signature in the model weights, enabling ownership verification.
- Apply SHA-256 for digital signatures and evaluate network overhead during model transmission to ensure minimal impact on overall performance.
Experimental results
Research questions
- RQ1Can a blockchain consensus mechanism be designed to use miners’ computational power for training deep learning models instead of hash computation, thereby reducing energy waste?
- RQ2How can fairness and consistency be maintained in a blockchain system where miners perform diverse, non-uniform deep learning tasks of varying complexity?
- RQ3What mechanisms can ensure the security and ownership of deep learning models submitted by miners in a public, distributed environment?
- RQ4How can the system incentivize task publishers to submit high-quality, large-scale training tasks to sustain long-term blockchain operation?
- RQ5What is the performance overhead of integrating deep learning training and watermarking into the blockchain consensus process, and is it acceptable in practice?
Key findings
- The average digital signature overhead across different tasks (FCN, MNIST, ARS) ranged from 0.001 to 1.25 seconds, indicating low computational cost for cryptographic verification.
- Network transmission overhead for model validation was minimal, averaging 0.37 to 3.77 seconds, significantly less than the training time for large models like FCN.
- Embedding a DNN watermark required only 3 training epochs, while successfully removing it required approximately 30 epochs, creating a strong deterrent against model theft.
- Honest miners achieved high watermark confidence levels in under 5 iterations, confirming the reliability and detectability of the watermarking mechanism.
- The FCN and U-Net models trained via DLBC achieved high segmentation accuracy, with FCN reaching 0.85 Dice score and U-Net achieving comparable results on 3D cardiac CT data.
- The system effectively prevented double-spending attacks by detecting performance saturation in models after initial training, indicating that further training offers no benefit and is thus unprofitable to exploit.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.