Turning Lemons into Peaches using Secure Computation

Stav Buchsbaum, Ran Gilad-Bachrach, Yehuda LindellarXiv 2018 · OpenReview

Abstract

In many economic exchanges, assessing the quality of goods is inherently difficult. Traditionally, this challenge is framed as a problem of information asymmetry—where the seller knows more than the buyer—often leading to a "market of lemons" as described by George Akerlof. However, we argue that in many modern contexts, the core issue is not a lack of information but a computational challenge. When verifying the value of a product requires an impractical or infinite amount of computation, buyers are forced to rely on finite, sampled tests. If a seller knows the parameters of these tests, they can "overfit" their product to pass the evaluation without possessing the underlying quality. This paper proposes a novel solution using Secure Multi-Party Computation (MPC) and Differential Privacy to hide quality tests from sellers, thereby preventing overfitting and ensuring market integrity.

Introduction: Beyond Information Asymmetry

The classic "market of lemons" theory suggests that when buyers cannot distinguish between high-quality and low-quality goods, they will only pay a price reflecting average quality. This drives high-quality sellers out of the market, eventually leading to collapse. While traditionally blamed on hidden information, we posit that the modern bottleneck is often computational asymmetry.

Consider the 2015 Volkswagen emissions scandal. Regulators had access to the cars (the information), but testing every possible driving condition was computationally and logistically impossible. Because the specific parameters of the finite regulatory tests were known, VW could program their engines to detect test conditions and optimize performance only during those windows. This is a classic case of "gaming" a known measure, a phenomenon often referred to as Goodhart’s Law: "When a measure becomes a target, it ceases to be a good measure."

The Problem: The Inevitability of Cheating

To formalize this issue, we provide a mathematical proof (Lemma 1) showing that for any finite test, there exists a "cheating" model or product that passes the test perfectly while failing to perform in the real world. If the seller has full knowledge of the test, they can construct this cheating model to bypass quality controls. This suggests that transparency—often touted as the solution to corruption—can actually facilitate cheating in computational contexts.

The Proposed Solution: Hiding the Test

We propose a two-pronged approach to restore trust in these markets by keeping the evaluation criteria private while still allowing the evaluation to occur.

1. Secure Multi-Party Computation (MPC)

By utilizing MPC, a buyer can evaluate a seller's model or product without the seller ever seeing the test data, and without the buyer seeing the seller's proprietary model. The computation is performed on encrypted data, ensuring that the seller cannot learn the specific parameters of the test and, therefore, cannot overfit their product to it.

2. Differential Privacy and the Threshold Mechanism

Even if the test is hidden, a malicious seller might attempt to "probe" the test by submitting multiple variations of a model and observing the results. To mitigate this, we incorporate a "Threshold" mechanism from Differential Privacy. By adding controlled noise to the test results, we ensure that the seller cannot reverse-engineer the hidden test through repeated attempts. Mathematically, we show that a single hidden test set can be safely reused to evaluate a large number of models ($O(n^2)$) before the risk of leakage becomes significant.

Experimental Evaluation: Lending Club Case Study

To demonstrate the practical feasibility of this approach, we applied our framework to a real-world dataset from Lending Club, focusing on predicting the Return on Investment (ROI) for personal loans. This scenario simulates a lender (seller) offering a proprietary model to a customer (buyer) who wants to ensure the model's fairness and accuracy without compromising private data.

Model Configuration: * Type: Gradient Boosting model. * Structure: 32 trees, each with 16 leaf nodes. * Features: 48 customer attributes.

Performance Results: The MPC evaluation of this model was remarkably efficient:

  • Total Time: 15.4 seconds.
  • Interaction Time: 13.5 seconds.
  • Communication Overhead: ~125MB.

These results indicate that secure quality testing is not merely a theoretical possibility but is practical for many current business-to-business (B2B) and regulatory applications.

Discussion: Privacy as a Catalyst for Honesty

Our findings present a counter-intuitive insight: privacy can be a more effective tool for ensuring honesty than transparency. In machine learning, we keep "test sets" secret during training to ensure a model generalizes well. We argue that the same principle should be applied to government regulations and high-stakes contracts. By hiding the "target," we preserve the integrity of the "measure."

Limitations and Future Work

While promising, several challenges remain:

  • Test Fairness: While MPC protects the test from the seller, it does not prevent a buyer from creating an unfairly difficult test. Future research must address how to incentivize the creation of "truthful" and fair tests.
  • Scalability: While 15 seconds is efficient for a loan model, scaling these protocols to massive deep learning architectures will require further optimizations in MPC bandwidth and computation.
  • Physical Goods: Applying this to physical hardware (like engines) requires "secure hardware" environments that can act as the physical equivalent of cryptographic MPC.

Conclusion

By reinterpreting the market of lemons as a computational problem, we open the door to cryptographic solutions. Using Secure Multi-Party Computation and Differential Privacy, we can prevent sellers from gaming the system, effectively turning "lemons" back into "peaches" through the power of hidden, verifiable testing.

Summary updated

Abstract

In many cases, assessing the quality of goods is hard. For example, when purchasing a car, it is hard to measure how pollutant the car is since there are infinitely many driving conditions to be tested. Typically, these situations are considered under the umbrella of information asymmetry and as Akelrof showed may lead to a market of lemons. However, we argue that in many of these situations, the problem is not the missing information but the computational challenge of obtaining it. In a nut-shell, if verifying the value of goods requires a large amount of computation or even infinite amounts of computation, the buyer is forced to use a finite test that samples, in some sense, the quality of the goods. However, if the seller knows the test, then the seller can over-fit the test and create goods that pass the quality test despite not having the desired quality. We show different solutions to this situation including a novel approach that uses secure computation to hide the test from the seller to prevent over-fitting.
BibTeX
@misc{buchsbaum2018turning,
  author = {Stav Buchsbaum and Ran Gilad-Bachrach and Yehuda Lindell},
  title = {{Turning Lemons into Peaches using Secure Computation}},
  year = {2018},
  eprint = {1810.02066},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1810.02066},
}
Figure