arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2205.11935cs.CR
收藏

CryptoTL:私密、高效、安全的迁移学习

CryptoTL: Private, Efficient and Secure Transfer Learning

Roman Walch, Samuel Sousa, Lukas Helminger, Stefanie Lindstaedt, Christian Rechberger, Andreas Trügler

摘要:

近年来,大数据一直是一个普遍的流行语,但处理数据稀缺性已成为许多现实世界深度学习(DL)应用程序的关键问题。迁移学习(TL)是一种流行的方法,可以有效地训练DL模型,以便在数据可用性低的情况下执行任务。TL允许将知识从一般领域转移到特定的目标领域。然而,当涉及敏感或隐私数据时,这种知识转移可能会使隐私面临风险。通过CryptoTL,我们引入了这个问题的解决方案,并首次展示了一种基于同态加密的加密隐私保护TL方法,该方法对于现实世界的用例是有效和可行的。我们通过仔细设计框架来实现这一点,使得训练总是在平原上进行,同时仍然受益于同态加密所获得的隐私。为了证明我们的框架的效率,我们用流行的CKKS HE方案实例化它,并将CryptoTL应用于小数据集的分类任务,并显示我们的方法用于情感分析和垃圾邮件检测的适用性。此外,我们强调我们的方法可以与差分隐私,以进一步提高安全保证相结合。我们广泛的基准测试表明,使用CryptoTL导致高准确性,同时仍然具有实用的微调和分类运行时,尽管使用同态加密。具体地说,在笔记本电脑CPU上,通过我们设置的加密层的一次前向传递大约需要1秒。

英文摘要:

Big data has been a pervasive catchphrase in recent years, but dealing with data scarcity has become a crucial question for many real-world deep learning (DL) applications. A popular methodology to efficiently enable the training of DL models to perform tasks in scenarios with low availability of data is transfer learning (TL). TL allows to transfer knowledge from a general domain to a specific target one. However, such a knowledge transfer may put privacy at risk when it comes to sensitive or private data. With CryptoTL we introduce a solution to this problem, and show for the first time a cryptographic privacy-preserving TL approach based on homomorphic encryption that is efficient and feasible for real-world use cases. We achieve this by carefully designing the framework such that training is always done in plain while still profiting from the privacy gained by homomorphic encryption. To demonstrate the efficiency of our framework, we instantiate it with the popular CKKS HE scheme and apply CryptoTL to classification tasks with small datasets and show the applicability of our approach for sentiment analysis and spam detection. Additionally, we highlight how our approach can be combined with differential privacy to further increase the security guarantees. Our extensive benchmarks show that using CryptoTL leads to high accuracy while still having practical fine-tuning and classification runtimes despite using homomorphic encryption. Concretely, one forward-pass through the encrypted layers of our setup takes roughly 1s on a notebook CPU.

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

↑