通过协变混淆实现隐私保护的大语言模型推断(技术报告)
Towards Privacy-Preserving LLM Inference via Covariant Obfuscation (Technical Report)
AI总结:
本文提出AloePri,首个适用于工业应用的隐私保护大语言模型推断方法,通过协变混淆同时保护输入输出数据,实现高准确性和隐私性,兼容现有基础设施。
摘要:
大语言模型(LLMs)的快速发展推动了基于云的LLM推断服务的广泛应用,但同时也带来了隐私风险,特别是在远程推断中传输和处理私人数据。为了在工业场景中实际应用隐私保护的LLM推断技术,必须同时满足三个核心要求:(1)最小化准确性和效率损失以减轻服务体验下降;(2)能够在由异构遗留xPUs组成的大型集群上运行推断过程;(3)与现有LLM基础设施兼容以重用其工程优化。据我们所知,现有的隐私保护LLM推断方法没有同时满足上述所有约束并提供有意义的隐私保障。在本文中,我们提出AloePri,这是首个适用于工业应用的隐私保护LLM推断方法。AloePri通过协变混淆保护输入和输出数据,通过联合变换数据和模型参数以实现更好的准确性和隐私。我们精心设计每个模型组件的变换,以确保推断准确性和数据隐私,同时保持与现有语言模型即服务基础设施的完全兼容性。AloePri已被集成到一个工业系统中,用于评估主流LLM。在Deepseek-V3.1-Terminus模型(671B参数)上的评估显示,AloePri导致的准确率损失为0.0%~3.5%,其效率等同于明文推断。同时,AloePri成功抵御了最先进的攻击,仅恢复了不到5%的token。据我们所知,AloePri是首个在现实系统中展示对大规模模型实际适用性的方法。
英文摘要:
The rapid development of large language models (LLMs) has driven the widespread adoption of cloud-based LLM inference services, while also bringing prominent privacy risks associated with the transmission and processing of private data in remote inference. For privacy-preserving LLM inference technologies to be practically applied in industrial scenarios, three core requirements must be satisfied simultaneously: (1) Accuracy and efficiency losses should be minimized to mitigate degradation in service experience. (2) The inference process can be run on large-scale clusters consist of heterogeneous legacy xPUs. (3) Compatibility with existing LLM infrastructures should be ensured to reuse their engineering optimizations. To the best of our knowledge, none of the existing privacy-preserving LLM inference methods satisfy all the above constraints while delivering meaningful privacy guarantees. In this paper, we propose AloePri, the first privacy-preserving LLM inference method for industrial applications. AloePri protects both the input and output data by covariant obfuscation, which jointly transforms data and model parameters to achieve better accuracy and privacy. We carefully design the transformation for each model component to ensure inference accuracy and data privacy while keeping full compatibility with existing infrastructures of Language Model as a Service. AloePri has been integrated into an industrial system for the evaluation of mainstream LLMs. The evaluation on Deepseek-V3.1-Terminus model (671B parameters) demonstrates that AloePri causes accuracy loss of 0.0%~3.5% and exhibits efficiency equivalent to that of plaintext inference. Meanwhile, AloePri successfully resists state-of-the-art attacks, with less than 5\% of tokens recovered. To the best of our knowledge, AloePri is the first method to exhibit practical applicability to large-scale models in real-world systems.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。