A Marketplace for Data: An Algorithmic Solution

Anish Agarwal, Munther A. Dahleh, Tuhin Sarkar

TL;DR

This paper proposes a formal mathematical framework and a set of real-time algorithms for a two-sided data marketplace. It introduces a novel "robust-to-replication" fairness metric to prevent sellers from gaming the system by duplicating data and utilizes a zero-regret pricing mechanism to match buyers with the most predictive training data for their specific machine learning tasks.

What Problem Does This Paper Address?

We live in an era where data is the "new oil," yet we lack a functional "commodity exchange" for it. Traditional markets (like eBay) or even digital ad auctions (like Google’s) fail when applied to training data for Machine Learning (ML).

The authors identify four unique challenges that make data a "weird" asset:

  1. Free Replicability: Data can be copied at zero marginal cost. If a seller can sell the same file a thousand times, how do you set a fair price?
  2. Combinatorial Value: The value of a dataset depends heavily on what other data you already have. Two correlated datasets might be redundant, while two complementary ones are gold.
  3. Subjective Accuracy: A 5% boost in prediction accuracy might be worth millions to a hedge fund but only pennies to a local grocery store.
  4. Verification Difficulty: You usually can't tell if a dataset is useful until after you’ve trained a model on it.

The paper seeks to design a marketplace that is truthful (buyers bid their real value), revenue-maximizing (for the platform), fair (to the sellers), and efficient (runs in real-time).

Methods

The authors propose a marketplace architecture centered around four key algorithmic functions:

  • Allocation Function (AF): Instead of selling raw files, the market provides access to data. If a buyer bids less than the market price, the market doesn't just say "no"—it provides a "degraded" version of the data (e.g., by adding Gaussian noise or masking bits). This allows for a continuous range of products based on the bid.
  • Revenue Function (RF): To ensure buyers bid truthfully, the authors adapt Myerson’s payment rule. This ensures that a buyer’s best strategy is to report exactly how much a marginal increase in accuracy is worth to them.
  • Price Update Function (PF): The market uses the Multiplicative Weights algorithm to adjust the global price of data over time. This allows the market to "learn" the optimal price in hindsight, minimizing "regret" as more buyers participate.
  • Payment Division Function (PD): This is the "fairness" engine. Traditionally, the Shapley Value is used to divide revenue among contributors. However, the authors show that standard Shapley fairness is vulnerable to "sybil attacks"—a seller could double their payout just by submitting two copies of the same data. They introduce a Robust-to-Replication version of the Shapley value that penalizes similarity between datasets using metrics like Cosine Similarity or Hellinger distance.

Datasets

This is a theoretical and algorithmic paper. It does not evaluate its performance on a specific real-world benchmark dataset (like ImageNet or MNIST). Instead, it uses a synthetic motivating example based on Inventory Optimization:

  • Sellers: Retail stores selling minute-by-minute foot-traffic data.
  • Buyers: Logistics companies trying to forecast inventory demand.
  • Goal: Match the logistics companies with the specific combination of retail data streams that best reduces their forecasting error.

Key Insights and Ideas

  • Selling Accuracy, Not Bits: The core "aha" moment is that the marketplace shouldn't price the data itself, but the increase in prediction accuracy it provides. This bypasses the problem of buyers not knowing the value of a dataset a priori.
  • The "Noise" Lever: Using noise as a way to "tier" digital goods is a clever solution to the replicability problem. It creates a version of the product for every price point.
  • Fairness vs. Replication: The paper highlights a fundamental tension: you cannot have a perfectly "balanced" revenue split (where all money is distributed) that is also robust to sellers duplicating their data. The authors choose to prioritize robustness, arguing that preventing market manipulation is more important than a perfect 100% payout distribution.
  • Computational Feasibility: While calculating exact Shapley values is NP-hard ($O(2^M)$), the authors provide a randomized approximation that runs in $O(M^2)$, making it viable for large-scale markets with many sellers.

Key Results

  • Zero Regret: The authors prove that their pricing mechanism achieves "zero regret" over time. Specifically, the average difference between the revenue collected and the revenue from the "perfect" fixed price in hindsight vanishes at a rate of $O(\sqrt{\log N / N})$, where $N$ is the number of buyers.
  • Truthfulness: They mathematically prove that under their Myerson-based revenue function, buyers have no incentive to lie about their internal valuations.
  • Robustness: Through their "Shapley-Robust" algorithm, they demonstrate that if a seller replicates their data, their total payout will actually decrease or stay the same, effectively disincentivizing spam.

Limitations and Future Work

  • Myopic Buyers: The current model assumes buyers enter the market once and leave. It doesn't account for strategic buyers who might wait for prices to drop or interact with the market over multiple stages.
  • Externalities: The model doesn't consider that a buyer might value data less if their competitor also has access to it (a common issue in high-frequency trading).
  • Fixed Noising: The current allocation function adds noise in a fixed way. The authors suggest that future work could explore "adaptive noising" that tailors the degradation to the specific prediction task to further maximize revenue.
  • Privacy: While the data is anonymized, the paper does not formally incorporate Differential Privacy or the "cost" of privacy for the sellers.

Summary updated

BibTeX
@inproceedings{agarwal2019marketplace,
  author = {Anish Agarwal and Munther A. Dahleh and Tuhin Sarkar},
  title = {{A Marketplace for Data: An Algorithmic Solution}},
  booktitle = {EC},
  year = {2019},
  doi = {10.1145/3328526.3329589},
}
Figure