{
  "id": "2024/1611",
  "url": "https://opencryptology.org/2024/1611",
  "original_url": "https://eprint.iacr.org/2024/1611",
  "title": "Rhombus: Fast Homomorphic Matrix-Vector Multiplication for Secure Two-Party Inference",
  "authors": [
    "Jiaxing He",
    "Kang Yang",
    "Guofeng Tang",
    "Zhangjie Huang",
    "Li Lin",
    "Changzheng Wei",
    "Ying Yan",
    "Wei Wang"
  ],
  "affiliations": null,
  "abstract": "We present $\\textit{Rhombus}$, a new secure matrix-vector multiplication (MVM) protocol in the semi-honest two-party setting, which is able to be seamlessly integrated into existing privacy-preserving machine learning (PPML) frameworks and serve as the basis of secure computation in linear layers. \n$\\textit{Rhombus}$ adopts RLWE-based homomorphic encryption (HE) with coefficient encoding, which allows messages to be chosen from not only a field $\\mathbb{F}_p$ but also a ring $\\mathbb{Z}_{2^\\ell}$, where the latter supports faster computation in non-linear layers. To achieve better efficiency, we develop an input-output packing technique that reduces the communication cost incurred by HE with coefficient encoding by about $21\\times$, and propose a split-point picking technique that reduces the number of rotations to that sublinear in the matrix dimension. Compared to the recent protocol $\\textit{HELiKs}$ by Balla and Koushanfar (CCS'23), our implementation demonstrates that $\\textit{Rhombus}$ improves the whole performance of an MVM protocol by a factor of $7.4\\times \\sim 8\\times$, and improves the end-to-end performance of secure two-party inference of ResNet50 by a factor of $4.6\\times \\sim 18\\times$.",
  "category": "Applications",
  "license": {
    "code": "CC BY",
    "url": "https://creativecommons.org/licenses/by/4.0/",
    "label": "CC BY 4.0",
    "attribution": "“Rhombus: Fast Homomorphic Matrix-Vector Multiplication for Secure Two-Party Inference” by Jiaxing He, Kang Yang, Guofeng Tang, Zhangjie Huang, Li Lin, Changzheng Wei, Ying Yan, Wei Wang, Cryptology ePrint Archive, Paper 2024/1611, https://eprint.iacr.org/2024/1611. Licensed under CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/).",
    "retroactive": false,
    "redistribute_verbatim_only": false,
    "non_commercial": false
  },
  "dates": {
    "submitted": "2024-10-10T02:45:46Z",
    "updated": "2025-06-26T02:50:17Z",
    "withdrawn": null
  },
  "withdrawn": false,
  "withdrawn_on": null,
  "pdf": {
    "url": "https://opencryptology.org/2024/1611.pdf",
    "sha256": "64986a00774775b2955fabe75df9740b6ab0c08b563441afab334e7fcaade463",
    "size": 2215626,
    "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/2024/1611/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/2024/1611.pdf",
      "size": 2215626,
      "sha256": "64986a00774775b2955fabe75df9740b6ab0c08b563441afab334e7fcaade463",
      "is_default_pdf": true
    },
    {
      "url": "https://opencryptology.org/2024/1611/versions/20241105T080322Z.pdf",
      "captured_at": "2024-11-05T08:03:22Z",
      "label": "copy captured 2024-11-05",
      "source": "wayback",
      "source_url": "https://web.archive.org/web/20241105080322id_/https://eprint.iacr.org/2024/1611.pdf",
      "size": 2212675,
      "sha256": "ccc955bfe1a1655aa0c820bf100d42b63f37fa4a4673046f3257bc113f77014e",
      "is_default_pdf": false
    }
  ],
  "other_sources": [
    {
      "kind": "github-mirror",
      "url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2024/1611.pdf",
      "captured_at": "2026-04-28T17:20:00Z",
      "size": 2215626
    },
    {
      "kind": "wayback",
      "url": "https://web.archive.org/web/20251214182424id_/https://eprint.iacr.org/2024/1611.pdf",
      "captured_at": "2025-12-14T18:24:24Z",
      "size": 1729323
    }
  ],
  "bibtex": "@misc{cryptoeprint:2024/1611,\n      author = {Jiaxing He and Kang Yang and Guofeng Tang and Zhangjie Huang and Li Lin and Changzheng Wei and Ying Yan and Wei Wang},\n      title = {Rhombus: Fast Homomorphic Matrix-Vector Multiplication for Secure Two-Party Inference},\n      howpublished = {Cryptology {ePrint} Archive, Paper 2024/1611},\n      year = {2024},\n      url = {https://eprint.iacr.org/2024/1611}\n}"
}
