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

加密的大型模型推理:等变加密范式

Encrypted Large Model Inference: The Equivariant Encryption Paradigm

Nesa Research(Nesa研究院)
James Buban, Hongyang Zhang, Claudio Angione, Harry Yang, Ahmad Farhan, Seyfal Sultanov, Michael Du, Xuran Ma, Zihao Wang, Yue Zhao, Arria Owlia, Fielding Johns… 展开作者

James Buban, Hongyang Zhang, Claudio Angione, Harry Yang, Ahmad Farhan, Seyfal Sultanov, Michael Du, Xuran Ma, Zihao Wang, Yue Zhao, Arria Owlia, Fielding Johnston, Patrick Colangelo

AI总结:

针对大型模型推理中的隐私与效率问题,提出等变加密(EE)范式,通过选择性混淆神经网络内部表示实现安全盲推理,在保证数据机密性的同时实现近零性能开销。

摘要:

大型深度学习模型,如现代语言模型和扩散架构,已经彻底改变了从自然语言处理到计算机视觉的应用。然而,它们在分布式或去中心化环境中的部署引发了重大的隐私问题,因为敏感数据可能在推理过程中暴露。安全多方计算、同态加密和差分隐私等传统技术提供了部分补救措施,但通常会带来大量的计算开销、延迟惩罚或与非线网络操作的兼容性有限。在这项工作中,我们引入了等变加密(EE),这是一种新颖的范式,旨在对加密数据进行安全、盲推理,且性能开销几乎为零。与加密整个计算图的完全同态方法不同,EE选择性地混淆神经网络层内的关键内部表示,同时保留线性和一组指定的非线性操作的精确功能。这种有针对性的加密确保了原始输入、中间激活和输出保持机密,即使在不受信任的基础设施上处理也是如此。我们详细介绍了EE的理论基础,将其性能和集成复杂性与传统的隐私保护技术进行了比较,并展示了其在从卷积网络到大型语言模型的一系列架构中的适用性。此外,我们的工作提供了全面的威胁分析,概述了潜在的攻击向量和基线策略,并在去中心化环境中将EE与标准推理管道进行了基准测试。结果证实,EE保持了高保真度和吞吐量,有效地弥合了强大的数据机密性与现代大规模模型推理的严格效率要求之间的差距。

英文摘要:

Large scale deep learning model, such as modern language models and diffusion architectures, have revolutionized applications ranging from natural language processing to computer vision. However, their deployment in distributed or decentralized environments raises significant privacy concerns, as sensitive data may be exposed during inference. Traditional techniques like secure multi-party computation, homomorphic encryption, and differential privacy offer partial remedies but often incur substantial computational overhead, latency penalties, or limited compatibility with non-linear network operations. In this work, we introduce Equivariant Encryption (EE), a novel paradigm designed to enable secure, "blind" inference on encrypted data with near zero performance overhead. Unlike fully homomorphic approaches that encrypt the entire computational graph, EE selectively obfuscates critical internal representations within neural network layers while preserving the exact functionality of both linear and a prescribed set of non-linear operations. This targeted encryption ensures that raw inputs, intermediate activations, and outputs remain confidential, even when processed on untrusted infrastructure. We detail the theoretical foundations of EE, compare its performance and integration complexity against conventional privacy preserving techniques, and demonstrate its applicability across a range of architectures, from convolutional networks to large language models. Furthermore, our work provides a comprehensive threat analysis, outlining potential attack vectors and baseline strategies, and benchmarks EE against standard inference pipelines in decentralized settings. The results confirm that EE maintains high fidelity and throughput, effectively bridging the gap between robust data confidentiality and the stringent efficiency requirements of modern, large scale model inference.

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

↑