Abstract
The difficulty in acquiring a sufficient amount of training data is a major bottleneck for machine learning (ML) based data analytics. Recently, commoditizing ML models has been proposed as an economical and moderate solution to ML-oriented data acquisition. However, existing model marketplaces assume that the broker can access data owners' private training data, which may not be realistic in practice. In this paper, to promote trustworthy data acquisition for ML tasks, we propose FL-Market, a locally private model marketplace that protects privacy not only against model buyers but also against the untrusted broker. FL-Market decouples ML from the need to centrally gather training data on the broker's side using federated learning, an emerging privacy-preserving ML paradigm in which data owners collaboratively train an ML model by uploading local gradients. Then, FL-Market enables data owners to locally perturb their gradients by local differential privacy and thus further prevents privacy risks. To drive FL-Market, we propose a deep learning-empowered auction mechanism for intelligently deciding the local gradients' perturbation levels and an optimal aggregation mechanism for aggregating the perturbed gradients. Our auction and aggregation mechanisms can jointly maximize the global gradient's accuracy, which optimizes model buyers' utility. Our experiments verify the effectiveness of the proposed mechanisms.
Introduction
Machine learning is hungry for data, but data owners are increasingly hesitant to share their private information due to the risk of breaches or misuse. While "model marketplaces" have emerged as a solution—where a broker trains a model on private data and sells access to the model—they usually rely on a trusted broker who has full access to the raw data. In the real world, brokers are often untrusted. If a broker is compromised or malicious, the data owners lose everything. FL-Market addresses this challenge by building a marketplace where the broker never sees the raw data, the buyer receives an accurate model, and the data owners are fairly compensated.
Methods and Framework
The FL-Market framework utilizes three key pillars to enable secure and efficient model trading:
- Federated Learning (FL) & Local Differential Privacy (LDP): Instead of sending raw data to a central server, data owners compute "gradients" (mathematical updates to a model) locally. To prevent the broker from reverse-engineering the data from these gradients, owners add noise using LDP. The level of noise is controlled by a privacy parameter, $\epsilon$ (epsilon).
- OptAggr (Optimal Aggregation): Standard FL usually weights updates based on the size of the owner's dataset. However, in a marketplace where different owners use different privacy levels, some updates are "noisier" than others. The authors formulated a convex quadratic programming problem to find the mathematically optimal weights for these noisy updates to minimize the final model's error.
- DM-RegretNet (Deterministic Multi-Unit RegretNet): To decide how much privacy to "buy" from each owner and how much to pay them, the authors turned to automated mechanism design. They improved upon RegretNet (a state-of-the-art deep learning framework for auctions) to create a version that provides deterministic results. This is crucial because randomized auctions can occasionally result in "zero privacy" allocations that make the resulting model updates useless.
Key Insights
- The "Untrusted Broker" Threat Model: Unlike prior work, this paper assumes the middleman is "honest-but-curious," meaning they will follow the protocol but try to learn everything they can from the messages they receive.
- Privacy as a Divisible Commodity: FL-Market treats privacy loss as a divisible item. A buyer can buy a "little bit" of privacy from many owners or a "lot" from a few.
- The Failure of Randomization: Existing AI-driven auction tools use randomization to ensure fairness. However, in an ML context, if an auction randomly decides to buy zero privacy updates from everyone in a specific round, the resulting "global gradient" has infinite error. DM-RegretNet fixes this by forcing deterministic, stable outcomes.
Experimental Results
The researchers evaluated their framework using the NSL-KDD dataset, a standard benchmark for network intrusion detection, with 125,973 training samples. They tested both IID and Non-IID scenarios to simulate realistic environments where data distribution is uneven.
- Lower Error, Higher Accuracy: Compared to standard FL aggregation methods, OptAggr consistently produced lower error bounds. When combined with DM-RegretNet, the final models were significantly more accurate across 100 rounds of training.
- Budget Efficiency: DM-RegretNet effectively managed the buyer's financial budget, purchasing more accurate gradients from owners who had lower "privacy valuations."
- Truthfulness: The auction mechanism successfully incentivized truthfulness. Data owners achieved their highest utility by reporting their actual privacy costs rather than trying to game the system.
Limitations and Future Work
While a breakthrough for private data trading, the authors note a few areas for improvement. The current auction doesn't explicitly prevent "arbitrage," where a strategic buyer might exploit pricing differences between rounds. Additionally, while the evaluation focused on logistic regression, future work is needed to see how these dynamics scale to massive deep learning models like Transformers. Finally, training the DM-RegretNet model itself requires significant offline computational overhead.
Summary updated