Abstract
The rapid development of large machine learning (ML) models requires a massive amount of training data, resulting in booming demands of data sharing and trading through data markets. Traditional centralized data markets suffer from low level of security, and emerging decentralized platforms are faced with efficiency and privacy challenges. In this paper, we propose OmniLytics+, the first decentralized data market, built upon blockchain and smart contract technologies, to simultaneously achieve 1) data (resp., model) privacy for the data (resp. model) owner; 2) robustness against malicious data owners; 3) efficient data validation and aggregation. Specifically, adopting the zero-knowledge (ZK) rollup paradigm, OmniLytics+ proposes to secret share encrypted local gradients, computed from the encrypted global model, with a set of untrusted off-chain servers, who collaboratively generate a ZK proof on the validity of the gradient. In this way, the storage and processing overheads are securely offloaded from blockchain verifiers, significantly improving the privacy, efficiency, and affordability over existing rollup solutions. We implement the proposed OmniLytics+ data market as an Ethereum smart contract. Extensive experiments demonstrate the effectiveness of OmniLytics+ in training large ML models in presence of malicious data owner, and the substantial advantages of OmniLytics+ in gas cost and execution time over baselines.
Introduction
The demand for high-quality training data has skyrocketed with the rise of large-scale machine learning. While data markets facilitate the exchange between model owners (MOs) and data owners (DOs), existing solutions often fail to balance security, efficiency, and privacy. Centralized markets present single points of failure, while fully on-chain decentralized markets are prohibitively expensive and slow, especially for large models. Furthermore, privacy remains a critical concern: MOs need to protect their proprietary model architectures, and DOs must safeguard their private data.
OmniLytics+ addresses these challenges by introducing a secure, off-chain processing paradigm that maintains the trustless nature of the blockchain while drastically reducing costs.
As shown in the comparison above, OmniLytics+ is the only scheme that simultaneously provides security, data/model privacy, and efficiency across computation, storage, and gas costs. Unlike standard ZK-rollups or Validiums, it ensures both data and model privacy while maintaining high storage and gas efficiency.
System Architecture and Methodology
OmniLytics+ utilizes a ZK-rollup-inspired architecture to offload heavy computation from the blockchain to a cluster of untrusted off-chain servers. This approach decouples the cost of verification from the complexity of the machine learning model.
The workflow consists of several key stages:
- Model Commitment and Perturbation: The MO publishes a model commitment and makes a payment deposit. To protect intellectual property, the model is encrypted using multiplicative and additive masks before distribution to DOs.
- Local Training and Secret Sharing: DOs train on the encrypted model and compute gradients. These gradients are then secret-shared across an off-chain server cluster using Verifiable Shamir Secret Sharing.
- Off-Chain Validation (SNIP): The off-chain servers use the Secret-shared Non-interactive Proof (SNIP) protocol to collaboratively verify gradient validity. This allows for a "Norm Threshold Test" to filter out malicious or poisoned data without any single server ever seeing the raw gradient.
- On-Chain Settlement: The Ethereum blockchain (via the ModelTrade smart contract) only processes cryptographic commitments and final validation results. This keeps the on-chain footprint tiny and independent of the actual ML model size.
- Robust Reconstruction: Using Reed-Solomon decoding, the system can correctly reconstruct the aggregated gradient even if a subset of off-chain servers is malicious or provides incorrect information.
Experimental Evaluation
The researchers evaluated OmniLytics+ using three standard benchmarks: UBMD (Bank Telemarketing) using a Multi-Layer Perceptron (MLP), MNIST (Handwritten Digits) using LeNet-5, and CIFAR-10 (Object Recognition) using ResNet20.
Key Results
- Extreme Gas Efficiency: OmniLytics+ costs only 2% of a fully on-chain solution in terms of gas. Compared to other state-of-the-art rollup solutions, it is 3% to 24% cheaper, making it highly affordable for large-scale training.
- Robustness against Attacks: In experiments where 25% of data owners were malicious (uploading random noise), the system's validation tests successfully detected the garbage data, allowing the model to reach the same accuracy as it would in an attack-free environment.
- Practical Latency: For a neural network layer with 2,400 units, the average off-chain processing time was roughly 43 minutes. While slower than local training, this is highly practical for secure, decentralized collaborative learning where security and privacy are paramount.
Conclusion
OmniLytics+ represents a significant step forward for decentralized machine learning. By decoupling the cost of verification from the complexity of the model through secure off-chain processing and ZK-proofs, it provides a practical, private, and affordable marketplace for the AI era. It successfully overcomes the "trilemma" of security, efficiency, and privacy that has hindered previous blockchain-based data markets.
Summary updated