ML-as-a-service (MLaaS) becomes increasingly popular and revolutionizes the lives of people. A natural requirement for MLaaS is, however, to provide highly accurate prediction services. To achieve this, current MLaaS systems integrate and combine multiple well-trained models in their services. Yet, in reality, there is no easy way for MLaaS providers, especially for startups, to collect sufficiently well-trained models from individual developers, due to the lack of incentives. In this paper, we aim to fill this gap by building up a model marketplace, called as Golden Grain, to facilitate model sharing, which enforces the fair model-money swapping process between individual developers and MLaaS providers. Specifically, we deploy the swapping process on the blockchain, and further introduce a blockchain-empowered model benchmarking process for transparently determining the model prices according to their authentic performances, so as to motivate the faithful contributions of well-trained models. Especially, to ease the blockchain overhead for model benchmarking, our marketplace carefully offloads the heavy computation and designs a secure off-chain on-chain interaction protocol based on a trusted execution environment (TEE), for ensuring both the integrity and authenticity of benchmarking. We implement a prototype of our Golden Grain on the Ethereum blockchain, and conduct extensive experiments using standard benchmark datasets to demonstrate the practically affordable performance of our design.
翻译:MLA-A服务(ML-A-S)越来越受欢迎,使人民的生活发生革命。但是,MLAAS的自然要求是提供高度准确的预测服务。为了实现这一目标,目前的MLAAS系统在其服务中整合和结合多种训练有素的模式。然而,事实上,由于缺少奖励,MLAAS供应商,特别是初创企业,很难从个体开发商那里收集足够训练有素的模型,以便从个人开发商那里收集足够训练有素的模型。在本文件中,我们的目标是填补这一差距,方法是建立一个名为金谷物的示范市场,促进模式共享,在个体开发商和MLAAAS供应商之间实施公平的模型-金钱互换程序。具体地说,我们把互换进程放在链链条上,并进一步引入一个以透明方式确定模型价格的链式基准进程,以激励经过良好培训的模型的忠实贡献。特别是为了减轻模型基准的连锁间接成本,我们的市场谨慎地卸载了重的计算,并设计一个安全的链式的离链式互动协议,在个人开发商与MLAS-E标准标准执行中,我们以可信的标准标准标准标准执行。