STIQ:保护量子神经网络免受不可信云端的训练与推理安全
STIQ: Safeguarding Training and Inferencing of Quantum Neural Networks from Untrusted Cloud
AI总结:
STIQ通过同时训练并托管两个量子神经网络,使各自输出被混淆,仅在本地聚合才能得到正确结果,有效防止不可信云端的模型窃取,代价是计算开销不超过2倍。
摘要:
当前量子云服务提供商收取的高昂费用,加上对量子资源需求的不断增长,可能会促使来自潜在不可信提供商的更便宜的基于云的量子服务出现。在这些不可信的平台上部署或托管量子模型(如量子神经网络,QNNs)会引发一系列安全问题,其中最关键的是模型窃取。这种漏洞源于云服务提供商在训练和/或推理期间对这些电路的完全访问权限。在本研究中,我们提出了STIQ,这是一种新颖的基于集成的策略,旨在保护QNN免受此类基于云的对手的攻击。我们的方法创新地同时训练两个不同的QNN,将它们托管在相同或不同的平台上,使得每个网络产生混淆的输出,从而使在云环境中运行的对手无法有效利用单个QNN。然而,当这些输出在本地组合(使用聚合函数)时,它们会揭示正确的结果。通过对各种QNN和数据集进行广泛实验,我们的技术被证明能够有效地将单独托管模型的准确率和损失掩盖高达76%,尽管代价是总计算开销增加不超过2倍。然而,在容易受到不可信对手攻击的基于云的环境中,这种权衡对于增强QNN的安全性和完整性来说是微不足道的代价。我们还在多个真实量子硬件上评估了STIQ的实际应用,表明STIQ实现了约70%的混淆,且组合后的性能与未混淆模型相似。
英文摘要:
The high expenses imposed by current quantum cloud providers, coupled with the escalating need for quantum resources, may incentivize the emergence of cheaper cloud-based quantum services from potentially untrusted providers. Deploying or hosting quantum models, such as Quantum Neural Networks (QNNs), on these untrusted platforms introduces a myriad of security concerns, with the most critical one being model theft. This vulnerability stems from the cloud provider's full access to these circuits during training and/or inference. In this work, we introduce STIQ, a novel ensemble-based strategy designed to safeguard QNNs against such cloud-based adversaries. Our method innovatively trains two distinct QNNs concurrently, hosting them on same or different platforms, in a manner that each network yields obfuscated outputs rendering the individual QNNs ineffective for adversaries operating within cloud environments. However, when these outputs are combined locally (using an aggregate function), they reveal the correct result. Through extensive experiments across various QNNs and datasets, our technique has proven to effectively masks the accuracy and losses of the individually hosted models by upto $76\%$, albeit at the expense of $\leq 2\times$ increase in the total computational overhead. This trade-off, however, is a small price to pay for the enhanced security and integrity of QNNs in a cloud-based environment prone to untrusted adversaries. We also demonstrated STIQ's practical application by evaluating it on multiple real quantum hardwares, showing that STIQ achieves up to $\approx 70\%$ obfuscation, with combined performance similar to an unobfuscated model.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。