Abstract
As artificial intelligence applications proliferate, training deep neural networks (DNNs) has become a computationally intensive and energy-consuming necessity. Simultaneously, traditional blockchain systems waste vast amounts of energy on Proof-of-Work (PoW) hashing. We propose DLBC, a Deep Learning-Based Consensus that repurposes miner computational power for training deep learning models as "proof of useful work." DLBC addresses the limitations of previous systems by supporting multiple tasks, large datasets, and complex models. It introduces a comprehensive ranking mechanism and utilizes DNN-watermarking to ensure robust ownership protection.
Introduction
Traditional blockchains like Bitcoin consume an estimated 70 TWh annually on arbitrary hash puzzles that provide no external utility. Meanwhile, the AI industry faces a significant "compute gap" due to the high costs of training state-of-the-art models. DLBC bridges this gap by transforming the blockchain into a decentralized training engine where "work" equates to model optimization rather than meaningless hash calculations.
System Design and Consensus
DLBC distinguishes itself through a sophisticated task-management and consensus protocol. Unlike simple first-come-first-served systems, DLBC employs a Comprehensive Ranking Mechanism. This score evaluates task rewards against model complexity (FLOPs), data size, and current queue length, ensuring that complex or urgent tasks are prioritized fairly within the ecosystem.
Two-Phase Consensus
To prevent malicious actors from "cheating" by observing others' results, the consensus process is divided into distinct phases. Miners first train models on public training data and commit a hash of their model. Only after this commitment is the test data released for final evaluation and accuracy verification.
Security: DNN-Watermarking
A critical challenge in decentralized training is preventing "model theft," where a malicious miner might resubmit another's high-performing model. DLBC utilizes DNN-watermarking to embed unique digital identifiers into model weights during training using a special regularizer in the loss function.
- Efficiency: Embedding a watermark requires only ~3 training epochs.
- Security Asymmetry: Successfully removing a watermark without destroying the model's accuracy requires roughly 30 epochs. This 10x "penalty" makes it economically irrational for an attacker to steal and clean a model rather than training their own.
Evaluation and Results
The system was evaluated using diverse benchmarks, ranging from standard MNIST digits to complex 3D medical imaging (MMWHS 2017) utilizing 3D U-Net architectures.
- Minimal Overhead: The administrative overhead for digital signatures and network transmission is negligible. For a 270MB medical imaging model, network overhead was only ~3.77 seconds—a tiny fraction of the total training time.
- Robust Ownership: Experiments demonstrated that honest miners achieved high watermark confidence in under 5 iterations, effectively securing their intellectual property.
- Practicality: The system successfully handled 3D CT image segmentation, proving that the consensus mechanism can support real-world, high-value scientific tasks.
Conclusion
DLBC provides a sustainable path forward for blockchain technology by aligning cryptographic security with the computational needs of modern AI. By replacing wasteful hashing with productive model training, it creates a secure, decentralized marketplace for large-scale deep learning services.
Summary updated