arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2501.11558cs.CRcs.PF
收藏

基于虚拟机的可信执行环境用于机密联邦学习的性能分析

A performance analysis of VM-based Trusted Execution Environments for Confidential Federated Learning

Bruno Casella

AI总结:

本文比较了基于虚拟机与基于应用隔离的可信执行环境在机密联邦学习中的性能,发现前者开销有限(最多1.5倍),可安全利用公共计算环境。

摘要:

联邦学习(FL)是一种分布式机器学习方法,已成为解决近期隐私问题的有效途径。然而,联邦学习本身仍易受模型和数据投毒以及推理攻击等漏洞的影响,因此需要额外的安全措施。机密计算(CC)是一种通过利用基于硬件的可信执行环境(TEE)来保护机器学习模型和数据的机密性与完整性的范式,从而成为联邦学习应用的有力盟友。典型的TEE提供应用隔离级别,但存在许多缺点,如可用内存有限以及调试和编码困难。新一代TEE提供基于虚拟机(VM)的隔离级别,从而减少了现有应用的移植工作量。在本工作中,我们比较了基于VM的TEE和应用隔离级别的TEE在机密联邦学习(CFL)应用中的性能。具体而言,我们评估了TEE以及额外安全机制(如TLS用于保护通信信道)的影响。在三个数据集和两个深度学习模型上获得的结果表明,新的基于VM的TEE引入了有限的开销(最多1.5倍),从而为利用公共和不可信的计算环境(如HPC设施或公共云)铺平了道路,且不会损害性能。

英文摘要:

Federated Learning (FL) is a distributed machine learning approach that has emerged as an effective way to address recent privacy concerns. However, FL introduces the need for additional security measures as FL alone is still subject to vulnerabilities such as model and data poisoning and inference attacks. Confidential Computing (CC) is a paradigm that, by leveraging hardware-based trusted execution environments (TEEs), protects the confidentiality and integrity of ML models and data, thus resulting in a powerful ally of FL applications. Typical TEEs offer an application-isolation level but suffer many drawbacks, such as limited available memory and debugging and coding difficulties. The new generation of TEEs offers a virtual machine (VM)-based isolation level, thus reducing the porting effort for existing applications. In this work, we compare the performance of VM-based and application-isolation level TEEs for confidential FL (CFL) applications. In particular, we evaluate the impact of TEEs and additional security mechanisms such as TLS (for securing the communication channel). The results, obtained across three datasets and two deep learning models, demonstrate that the new VM-based TEEs introduce a limited overhead (at most 1.5x), thus paving the way to leverage public and untrusted computing environments, such as HPC facilities or public cloud, without detriment to performance.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑