{
  "id": "2025/1532",
  "url": "https://opencryptology.org/2025/1532",
  "original_url": "https://eprint.iacr.org/2025/1532",
  "title": "Breaking the Layer Barrier: Remodeling Private Transformer Inference with Hybrid CKKS and MPC",
  "authors": [
    "Tianshi Xu",
    "Wen-jie Lu",
    "Jiangrui Yu",
    "Yi Chen",
    "Chenqi Lin",
    "Runsheng Wang",
    "Meng Li"
  ],
  "affiliations": null,
  "abstract": "This paper presents an efficient framework for private Transformer inference that combines Homomorphic Encryption (HE) and Secure Multi-party Computation (MPC) to protect data privacy. Existing methods often leverage HE for linear layers (e.g., matrix multiplications) and MPC for non-linear layers (e.g., Softmax activation functions), but the conversion between HE and MPC introduces significant communication costs. The proposed framework, dubbed BLB, overcomes this by breaking down layers into fine-grained operators and further fusing adjacent linear operators, reducing the need for HE/MPC conversions. To manage the increased ciphertext bit width from the fused linear operators, BLB proposes the first secure conversion protocol between CKKS and MPC and enables CKKS-based computation of the fused operators. Additionally, BLB proposes an efficient matrix multiplication protocol for fused computation in Transformers. Extensive evaluations on BERT-base, BERT-large, and GPT2-base show that BLB achieves a $21\\times$ reduction in communication overhead compared to BOLT (S&P'24) and a $2\\times$ reduction compared to Bumblebee (NDSS'25), along with latency reductions of $13\\times$ and $1.8\\times$, respectively, when leveraging GPU acceleration.",
  "category": "Applications",
  "license": {
    "code": "CC BY-NC-ND",
    "url": "https://creativecommons.org/licenses/by-nc-nd/4.0/",
    "label": "CC BY-NC-ND 4.0",
    "attribution": "“Breaking the Layer Barrier: Remodeling Private Transformer Inference with Hybrid CKKS and MPC” by Tianshi Xu, Wen-jie Lu, Jiangrui Yu, Yi Chen, Chenqi Lin, Runsheng Wang, Meng Li, Cryptology ePrint Archive, Paper 2025/1532, https://eprint.iacr.org/2025/1532. Licensed under CC BY-NC-ND 4.0 (https://creativecommons.org/licenses/by-nc-nd/4.0/).",
    "retroactive": false,
    "redistribute_verbatim_only": true,
    "non_commercial": true
  },
  "dates": {
    "submitted": "2025-08-27T02:46:32Z",
    "updated": "2025-09-01T13:19:10Z",
    "withdrawn": null
  },
  "withdrawn": false,
  "withdrawn_on": null,
  "pdf": {
    "url": "https://opencryptology.org/2025/1532.pdf",
    "sha256": "0494c775eaff9221dedc0a4c3f8819ad1bf1390d3154cb859dd02c1efada429a",
    "size": 2539948,
    "source": "github-mirror",
    "source_date": "2026-04-28T17:20:00Z",
    "maybe_stale": false,
    "newer_on_eprint": null,
    "eprint_size": null,
    "withdrawn": false
  },
  "versions": [
    {
      "url": "https://opencryptology.org/2025/1532/versions/20260428T172000Z.pdf",
      "captured_at": "2026-04-28T17:20:00Z",
      "label": "copy captured 2026-04-28",
      "source": "github-mirror",
      "source_url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2025/1532.pdf",
      "size": 2539948,
      "sha256": "0494c775eaff9221dedc0a4c3f8819ad1bf1390d3154cb859dd02c1efada429a",
      "is_default_pdf": true
    }
  ],
  "other_sources": [
    {
      "kind": "github-mirror",
      "url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2025/1532.pdf",
      "captured_at": "2026-04-28T17:20:00Z",
      "size": 2539948
    },
    {
      "kind": "wayback",
      "url": "https://web.archive.org/web/20260112155933id_/https://eprint.iacr.org/2025/1532.pdf",
      "captured_at": "2026-01-12T15:59:33Z",
      "size": 2522177
    }
  ],
  "bibtex": "@misc{cryptoeprint:2025/1532,\n      author = {Tianshi Xu and Wen-jie Lu and Jiangrui Yu and Yi Chen and Chenqi Lin and Runsheng Wang and Meng Li},\n      title = {Breaking the Layer Barrier: Remodeling Private Transformer Inference with Hybrid CKKS and MPC},\n      howpublished = {Cryptology {ePrint} Archive, Paper 2025/1532},\n      year = {2025},\n      url = {https://eprint.iacr.org/2025/1532}\n}"
}
