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. However, in reality, there is no easy way for MLaaS providers, especially for startups, to collect well-trained models from individual developers, due to the lack of incentives. In this paper, we aim to fill this gap by building a model marketplace, called as Golden Grain, to facilitate model sharing, which enforces the fair model-money swaps between individual developers and MLaaS providers. Specifically, we deploy the swapping process on the blockchain, and further introduce a blockchain-empowered model benchmarking design for transparently determining the model prices according to their authentic performances so as to incentivize the faithful contributions of well-trained models. Especially, to ease the blockchain overhead for benchmarking, our marketplace carefully offloads the heavy computation and crafts a trusted execution environment (TEE) based secure off-chain on-chain interaction protocol, ensuring both the integrity and authenticity of benchmarking. We implement a prototype of our Golden Grain on the Ethereum blockchain, and extensive experiments with standard benchmark datasets demonstrate the practically affordable performance of our design.
翻译:MLA-A服务(ML-A-S)越来越受欢迎,使人民的生活发生革命。然而,MLAAS的自然要求是提供高度准确的预测服务。为此,目前的MLAAS系统在其服务中整合和结合多种训练有素的模式。然而,事实上,由于缺少激励措施,MLAAS供应商,特别是初创企业,很难从个体开发商那里收集训练有素的模型。在本文件中,我们的目标是填补这一空白,建立一个称为金谷物的示范市场,促进模式共享,在个体开发商和MLAAS供应商之间实施公平的模型资金互换。具体地说,我们把转换过程放在了链链条上,并进一步引入了以透明方式确定模型价格的链式模型基准设计设计,以便根据他们真实的绩效鼓励经过良好培训的模型做出忠实贡献。特别是为了减轻基准设定的连锁间接负担,我们的市场谨慎地卸载了一个可靠的执行环境(TEE),该环境在个体开发商和MLA-S-S-S-S-S-S-S-S-S-S-S-S-S-S-S-S-S-S-S-S-S-S-S-S-S-S-S-S-S-S-S-S-S-S-S-S-S-S-S-S-S-S-S-S-S-S-S-S-S-S-S-S-S-S-S-S-S-S-S-S-S-S-S-S-S-S-S-S-S-S-S-S-S-S-S-S-S-S-S-S-S-S-S-S-S-S-S-S-S-S-S-S-S-S-S-S-S-S-S-S-S-S-S-S-S-S-S-S-S-S-S-S-S-S-S-S-S-S-S-S-S-S-S-S-S-S-S-S-S-S-S-S-S-S-S-S-S-S-S-S-S-S-S-S-S-S-S-S