面向隐私保护的大语言模型推理:基于协变混淆的方法(技术报告) Towards Privacy-Preserving LLM Inference via Covariant Obfuscation (Technical Report) 预印本

⚠️ 本文为 预印本(arXiv 公开版本),尚未经过正式同行评审。作者自发公开,结论未经期刊审稿验证,阅读时请知悉。
发布时间:2026-03-02
👁️ 预览文献
💡 AI 中文简介
大模型云端推理存在隐私泄露风险。本文提出AloePri,通过协变混淆同时变换数据和模型参数,在保护输入输出隐私的同时保持推理精度和效率。在671B参数的Deepseek-V3.1-Terminus上测试,精度损失仅0%~3.5%,效率与明文推理相当,且能抵御现有攻击,恢复的token不足5%。这是首个可实际应用于工业级大规模模型的隐私保护推理方法。
领域大语言模型安全与隐私保护
适合谁读需要一定专业背景(了解LLM推理与隐私保护基础)
核心贡献1. 提出首个面向工业应用的隐私保护LLM推理方法AloePri,同时满足精度、效率、异构硬件兼容性和基础设施兼容性四大要求;2. 设计协变混淆机制,联合变换数据与模型参数,在保护输入输出隐私的同时保持推理精度。
关键数据在671B参数的Deepseek-V3.1-Terminus模型上,精度损失0.0%~3.5%,效率与明文推理相当;成功抵御现有攻击,token恢复率低于5%。
推荐理由如果你关心大模型云端推理的隐私问题,这篇工作首次在671B级模型上实现了近乎无损的隐私保护,工业落地价值极高,值得一读。
关键词["隐私保护推理", "大语言模型", "协变混淆", "云端推理", "模型即服务", "工业级部署"]

原文摘要

查看英文原文摘要

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.