NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

A Demonstration of Sterling: A Privacy-Preserving Data Marketplace

Nick Hynes, David Dao, David Yan, Raymond Cheng, Dawn Song

TL;DR

This paper introduces Sterling, a decentralized marketplace for private data that uses privacy-preserving smart contracts on a blockchain to enable secure data sharing and machine learning. Sterling allows data providers to enforce strict usage constraints, such as pricing and differential privacy, while enabling consumers to train models without compromising data confidentiality.

What Problem Does This Paper Address?

The increasing reliance on machine learning (ML) for insights and applications is hampered by the challenge of acquiring large, diverse datasets due to privacy concerns. Existing solutions often require data to be exposed, making it difficult to ensure that data usage aligns with provider constraints or that privacy is maintained. This paper addresses the need for a secure and privacy-preserving data marketplace where data can be shared and utilized for ML without revealing sensitive information or violating usage agreements.

Methods

Sterling combines several key technologies to achieve its goals:

  • Privacy-Preserving Smart Contracts: These contracts, written in a general-purpose language, run on a permissionless blockchain and immutably encode the interests of data providers and consumers. They act as the backbone for enforcing constraints.
  • Trusted Execution Environments (TEEs): TEEs (like Intel SGX) are used to securely execute computations, including ML model training, while keeping data and model parameters private from the host system and external observers. This offers a more efficient alternative to purely cryptographic methods.
  • Differential Privacy (DP): DP mechanisms are integrated to ensure that ML models trained on private data do not inadvertently reveal information about individual data points. Sterling allows providers to specify DP parameters as terms of use, and it automatically tracks privacy budget expenditure.
  • Data Valuation Techniques: The paper leverages approximations of influence functions to enable data consumers to automatically appraise the value of training data, which can then inform fine-grained payments to data providers based on their data's influence on model predictions.

Datasets

The paper mentions using a public dataset of fundus images for the demonstration of diagnosing diabetic retinopathy. The dataset is simulated by splitting it among multiple data providers, each with their own contract and requirements.

Key Insights and Ideas

  • Smart Contracts as Enforcers: The core innovation is using smart contracts not just for consensus, but as robust, immutable enforcers of complex data usage policies, including pricing and privacy guarantees.
  • TEE Efficiency for ML: TEEs provide a practical and efficient way to perform private ML computations, offering performance comparable to non-private CPU training, which is a significant step beyond purely cryptographic approaches.
  • Automatic Privacy Budget Tracking: The system's ability to automatically track differential privacy budget expenditure without requiring trust assumptions is a crucial feature for enabling verifiable privacy guarantees.
  • Aligning Economic and Privacy Interests: By allowing providers to set flexible constraints and consumers to appraise data value, Sterling creates an economic incentive structure that aligns the interests of all parties, fostering trust in a decentralized environment.

Key Results

The paper demonstrates Sterling's functionality through a concrete use case: training a diagnostic model for diabetic retinopathy from fundus images. The demonstration highlights:

  • The ability for data providers to specify rich constraints (payment, privacy).
  • A web interface for data consumers to browse, assemble datasets, and create contracts that meet provider requirements.
  • Efficient and secure training of differentially private ML models.
  • Automatic appraisal of training data and the resulting model.
  • A blockchain explorer for visibility into transactions and model training progress.

While specific quantitative results (e.g., accuracy improvements, speedups) are not detailed in this demonstration proposal, the focus is on showcasing the end-to-end workflow and the feasibility of the system.

Limitations and Future Work

The authors acknowledge that TEEs do not inherently protect against side-channel attacks, which they address through data-oblivious implementations and sandboxing. Future work includes:

  • Deploying Sterling and conducting formal observational studies on its real-world utility.
  • Exploring more exotic terms of use.
  • Investigating privacy preservation via secure multi-party computation.
  • Extending Sterling to non-ML use cases like decentralized ad serving and customer relationship management.

Summary updated

BibTeX
@article{hynes2018demonstration,
  author = {Nick Hynes and David Dao and David Yan and Raymond Cheng and Dawn Song},
  title = {{A Demonstration of Sterling: A Privacy-Preserving Data Marketplace}},
  journal = {Proc. VLDB Endow.},
  year = {2018},
  url = {https://openreview.net/forum?id=nZ1VpnYJxzO},
}
Figure