arXiv:2507.05228cs.LGcs.CR2025-07

通过分片推理提升大模型私有部署效率,兼顾速度与隐私。

Cascade: Token-Sharded Private LLM Inference

  • 将序列分片处理,避免加密开销,实现高效多方推理
  • 速度比现有方案快多个数量级,支持现代大模型部署
  • 抵御统计和学习型攻击,适合需要隐私保护的生产场景

随着大语言模型参数规模持续增长,运行它们所需的计算资源愈发集中。第三方推理服务(由具备强大算力的第三方托管模型)因此日益流行,但用户数据隐私面临严峻挑战。尽管已有研究提出基于安全多方计算(SMPC)等可证明安全的方案,但其计算与通信开销巨大,难以扩展至大规模模型。本文提出一种新协议 Cascade,通过在序列维度进行分片来维持隐私,以牺牲部分密码学保障为代价换取显著性能提升与可扩展性。实验表明,Cascade能抵御近期针对统计隐私方案的有效攻击,并对学习型攻击具有强鲁棒性。相比现有方案,其速度提升数个数量级,为现代先进大模型的安全部署提供了实用解决方案。

原文摘要 · Abstract (English)

As LLMs continue to increase in parameter size, the computational resources required to run them are available to fewer parties. Therefore, third-party inference services -- where LLMs are hosted by third parties with significant computational resources -- are becoming increasingly popular. However, third party inference raises critical concerns about user data privacy. To mitigate these risks, privacy researchers have developed provably secure schemes for third-party inference, such as Secure Multi-Party Computation (SMPC). However, SMPC protocols have significant computational and communication overhead, and do not scale to large models. In this work, we propose a new multi-party inference protocol, Cascade, that avoids these punitive costs by leveraging sharding in the sequence dimension to maintain privacy, trading off cryptographic privacy guarantees for increased performance and scalability. We demonstrate that Cascade is resistant to a generalization of a recent attack that is highly effective against other statistical privacy schemes, and that it is further resistant to learning-based attacks. As Cascade is orders of magnitude faster than existing schemes, our findings offer practical solutions for secure deployment of modern state-of-the-art LLMs.

隐私计算大模型推理分片技术

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。