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

Plinius:安全且持久的机器学习模型训练

Plinius: Secure and Persistent Machine Learning Model Training

University of Neuchâtel(纳沙泰尔大学);ENS Lyon, France(里昂高等师范学院);Inria(法国国家信息与自动化技术研究院)

Peterson Yuhala, Pascal Felber, Valerio Schiavoni, Alain Tchana

AI总结:

Plinius提出一种结合Intel SGX飞地与持久内存的机器学习训练框架,通过加密镜像机制实现模型与训练数据的快速容错恢复,在真实PM硬件上比磁盘检查点系统保存和恢复模型分别快3.2倍和3.7倍。

摘要:

随着基于云的机器学习(ML)技术日益普及,对ML数据的隐私和完整性保障需求也随之产生。此外,DRAM所面临的显著可扩展性挑战,加上二级存储的高访问时间,构成了ML系统的巨大性能瓶颈。虽然已有解决方案应对安全方面的问题,但性能仍然是一个问题。持久内存(PM)对断电具有恢复能力(不同于DRAM),提供快速且细粒度的内存访问(不同于磁盘存储),并且其延迟和带宽接近DRAM(分别约为纳秒级和GB/s级)。我们提出了PLINIUS,这是一个使用Intel SGX飞地进行ML模型安全训练并利用PM提供容错保证的ML框架。PLINIUS采用一种新颖的镜像机制来创建并维护(i)PM上ML模型的加密镜像副本,以及(ii)字节可寻址PM中的加密训练数据,以便在系统故障后实现近乎即时的数据恢复。与基于磁盘的检查点系统相比,PLINIUS在真实PM硬件上保存和恢复模型的速度分别快3.2倍和3.7倍,从而在SGX飞地中实现了稳健且安全的ML模型训练。

英文摘要:

With the increasing popularity of cloud based machine learning (ML) techniques there comes a need for privacy and integrity guarantees for ML data. In addition, the significant scalability challenges faced by DRAM coupled with the high access-times of secondary storage represent a huge performance bottleneck for ML systems. While solutions exist to tackle the security aspect, performance remains an issue. Persistent memory (PM) is resilient to power loss (unlike DRAM), provides fast and fine-granular access to memory (unlike disk storage) and has latency and bandwidth close to DRAM (in the order of ns and GB/s, respectively). We present PLINIUS, a ML framework using Intel SGX enclaves for secure training of ML models and PM for fault tolerance guarantees. PLINIUS uses a novel mirroring mechanism to create and maintain (i) encrypted mirror copies of ML models on PM, and (ii) encrypted training data in byte-addressable PM, for near-instantaneous data recovery after a system failure. Compared to disk-based checkpointing systems, PLINIUS is 3.2x and 3.7x faster respectively for saving and restoring models on real PM hardware, achieving robust and secure ML model training in SGX enclaves.

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

↑