Dealer: An End-to-End Model Marketplace with Differential Privacy

Jinfei Liu, Jian Lou, Junxu Liu, Li Xiong, Jimeng Sun

TL;DR

This paper introduces "Dealer," the first end-to-end marketplace for machine learning models that integrates differential privacy. It addresses how to fairly compensate data owners for their contributions while enabling buyers to purchase models with guaranteed privacy and utility, all orchestrated by a broker aiming to maximize revenue.

What Problem Does This Paper Address?

The proliferation of data-driven machine learning has created a need for efficient ways to share and monetize data and models. Existing data marketplaces often focus on raw data or simple query-based pricing, failing to adequately address the complexities of model-based transactions. Specifically, there's a gap in:

  • Data Owner Compensation: How to ensure data owners are fairly compensated based on their data's contribution to model utility and their privacy preferences.
  • Model Buyer Pricing: How to allow buyers to express their demand for model utility (coverage) and privacy (noise resistance) in a way that aligns with their budget.
  • Broker's Role: How a broker can effectively price and train a diverse set of models to maximize revenue while ensuring market fairness (arbitrage-freeness) and competitiveness.
  • Differential Privacy Integration: How to incorporate differential privacy guarantees into this marketplace without compromising utility or fairness.

Methods

Dealer proposes a comprehensive framework with novel approaches for each participant:

  • Data Owners: Their compensation is modeled using a function that combines their Shapley value (a measure of fair revenue sharing based on marginal contribution) and their privacy sensitivity (how much they value privacy, quantified by the differential privacy parameter $\epsilon$).
  • Model Buyers: Their pricing is determined by a function that considers their budget, Shapley coverage sensitivity (how much they value the utility derived from data), and noise sensitivity (how much they value privacy).
  • Broker: The broker orchestrates the marketplace by:
  • Model Pricing: Formulating an optimization problem to maximize revenue while ensuring arbitrage-freeness (preventing buyers from creating higher-tier models from cheaper ones). This involves constructing a "complete price space" and using dynamic programming.
  • Model Training: Formulating an optimization problem to maximize Shapley coverage (model utility) given a manufacturing budget. This involves selecting optimal subsets of data for training, for which they propose pseudo-polynomial, greedy, and guess-based greedy algorithms.
  • Differential Privacy: Models are trained using an enhanced objective perturbation method (Algorithm 2) to achieve $(\epsilon, \delta)$-differential privacy.

Datasets

  • Real Chess Dataset: Used for evaluation. It contains 3196 data tuples with 36 attributes.
  • Synthetic Datasets: Used for evaluation, with both uniform and Gaussian distributions.

Key Insights and Ideas

  • Unified Privacy Metric: Using the level of differential privacy ($\epsilon$) as a common metric for both data owner privacy sensitivity and model buyer noise sensitivity is a clever way to bridge different perspectives.
  • Shapley Value for Fairness: Leveraging Shapley value for both data owner compensation and model buyer utility (coverage) provides a principled way to measure contributions and demands.
  • Arbitrage-Freeness is Crucial: The paper emphasizes the importance of arbitrage-free pricing not just for fairness but also for ensuring the broker can effectively maximize revenue.
  • Complete Price Space: The concept of constructing a "complete price space" is key to solving the revenue maximization problem efficiently, as it discretizes the search for optimal prices.
  • Shapley Coverage as Utility: Using Shapley coverage (the ratio of Shapley values of data used in a model to the total Shapley value) as a measure of model utility is a novel approach that directly links data contribution to model value.

Key Results

  • Model Pricing: The proposed dynamic programming algorithm (DPP+) for model pricing, which considers the complete price space, outperforms baseline algorithms by at least 3% in terms of revenue. It also achieves a high affordability ratio.
  • Model Training: The proposed subset selection algorithms (PPDP, Greedy, GuessGreedy) are efficient and effective. They select fewer data tuples than random selection but achieve higher Shapley values and comparable or even better accuracy than using the entire dataset, especially when considering the impact of differential privacy.
  • Efficiency: The pricing algorithms demonstrate linear scaling with the number of survey points, while training algorithms show efficiency gains with varying numbers of data owners.

Limitations and Future Work

  • Honest Participants Assumption: The current framework assumes all participants (data owners, buyers, broker) are honest and the broker is trusted. Future work could explore scenarios with untrusted brokers using techniques like local differential privacy or federated learning.
  • Arbitrage-Freeness on $\epsilon$: The paper focuses on ensuring arbitrage-freeness with respect to the privacy parameter $\epsilon$, not coverage rate $\mu$. Extending this to both would be a valuable direction.
  • Complexity of Algorithms: While efficient algorithms are proposed, some (like GuessGreedy for model training) can still be computationally expensive for large datasets.
  • Market Dynamics: The paper simplifies market dynamics by assuming buyers purchase only one model and the broker is neutral. Exploring more complex buyer behavior and broker business models is suggested.
  • Generalizing DP: Investigating how to apply differential privacy to more complex model training scenarios and different types of models is also a future direction.

Summary updated

BibTeX
@article{liu2021dealer,
  author = {Jinfei Liu and Jian Lou and Junxu Liu and Li Xiong and Jian Pei and Jimeng Sun},
  title = {{Dealer: An End-to-End Model Marketplace with Differential Privacy}},
  journal = {Proc. VLDB Endow.},
  year = {2021},
  doi = {10.14778/3447689.3447700},
}
Figure