{
  "id": "2025/1551",
  "url": "https://opencryptology.org/2025/1551",
  "original_url": "https://eprint.iacr.org/2025/1551",
  "title": "M&M: Secure Two-Party Machine Learning through Efficient Modulus Conversion and Mixed-Mode Protocols (Full Version)",
  "authors": [
    "Ye Dong",
    "Wen-jie Lu",
    "Xiaoyang Hou",
    "Kang Yang",
    "Jian Liu"
  ],
  "affiliations": null,
  "abstract": "Secure two-party machine learning has made substantial progress through the use of mixed-mode protocols.  Despite these advancements, existing approaches often suffer from efficiency bottlenecks due to the inherent mismatch between the optimal domains of various cryptographic primitives, such as Homomorphic Encryption and Oblivious Transfer. In response to these challenges, we introduce the \\tNAME{} framework, which features an efficient modulus conversion protocol.  This breakthrough enables seamless integration of the most suitable cryptographic subprotocols within their optimal modulus domains, allowing linear computations to be executed over a prime modulus and nonlinear computations over a two-power modulus, with a minimal modulus conversion overhead. We further establish new benchmarks for the performance of fundamental primitives, namely comparison and multiplication, across various two-party techniques, together with our practical optimizations to improve efficiency. By incorporating these techniques, \\tNAME{} demonstrates significant performance enhancements over state-of-the-art solutions: \\romannumeral1) we report a $6\\times$-$100\\times$ improvement for approximated truncations with 1-bit error tolerance; \\romannumeral2) an average of $5\\times$ (resp. $4\\times$) reduction in communication (resp. runtime) for machine learning functions; \\romannumeral3) and a 25\\%-99\\% improvement in cost-efficiency for private inference of deep neural networks and 50\\% improvement in private training of gradient boosting decision trees.",
  "category": "Applications",
  "license": {
    "code": "CC BY-NC-SA",
    "url": "https://creativecommons.org/licenses/by-nc-sa/4.0/",
    "label": "CC BY-NC-SA 4.0",
    "attribution": "“M&M: Secure Two-Party Machine Learning through Efficient Modulus Conversion and Mixed-Mode Protocols (Full Version)” by Ye Dong, Wen-jie Lu, Xiaoyang Hou, Kang Yang, Jian Liu, Cryptology ePrint Archive, Paper 2025/1551, https://eprint.iacr.org/2025/1551. Licensed under CC BY-NC-SA 4.0 (https://creativecommons.org/licenses/by-nc-sa/4.0/).",
    "retroactive": false,
    "redistribute_verbatim_only": false,
    "non_commercial": true
  },
  "dates": {
    "submitted": "2025-08-29T08:41:23Z",
    "updated": "2025-12-13T19:42:58Z",
    "withdrawn": null
  },
  "withdrawn": false,
  "withdrawn_on": null,
  "pdf": {
    "url": "https://opencryptology.org/2025/1551.pdf",
    "sha256": "e8303ce09cf24837f35bc203589baea232eea65335dad7a96e20b6fc72e853e2",
    "size": 584314,
    "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/1551/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/1551.pdf",
      "size": 584314,
      "sha256": "e8303ce09cf24837f35bc203589baea232eea65335dad7a96e20b6fc72e853e2",
      "is_default_pdf": true
    },
    {
      "url": "https://opencryptology.org/2025/1551/versions/20251006T032431Z.pdf",
      "captured_at": "2025-10-06T03:24:31Z",
      "label": "copy captured 2025-10-06",
      "source": "wayback",
      "source_url": "https://web.archive.org/web/20251006032431id_/https://eprint.iacr.org/2025/1551.pdf",
      "size": 584231,
      "sha256": "26f19c0c0dff1dbde9019b42d323eee211620baa32fc25b50cb30788e9b82a2a",
      "is_default_pdf": false
    },
    {
      "url": "https://opencryptology.org/2025/1551/versions/20250905T095537Z.pdf",
      "captured_at": "2025-09-05T09:55:37Z",
      "label": "copy captured 2025-09-05",
      "source": "wayback",
      "source_url": "https://web.archive.org/web/20250905095537id_/https://eprint.iacr.org/2025/1551.pdf",
      "size": 586120,
      "sha256": "e245549327474cf47c66e2a068ef46c7a3544be0fe2cfc30d62fdffb3f0b6fdb",
      "is_default_pdf": false
    }
  ],
  "other_sources": [
    {
      "kind": "github-mirror",
      "url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2025/1551.pdf",
      "captured_at": "2026-04-28T17:20:00Z",
      "size": 584314
    },
    {
      "kind": "wayback",
      "url": "https://web.archive.org/web/20260101093347id_/https://eprint.iacr.org/2025/1551.pdf",
      "captured_at": "2026-01-01T09:33:47Z",
      "size": 580176
    }
  ],
  "bibtex": "@misc{cryptoeprint:2025/1551,\n      author = {Ye Dong and Wen-jie Lu and Xiaoyang Hou and Kang Yang and Jian Liu},\n      title = {M&M: Secure Two-Party Machine Learning through Efficient Modulus Conversion and Mixed-Mode Protocols (Full Version)},\n      howpublished = {Cryptology {ePrint} Archive, Paper 2025/1551},\n      year = {2025},\n      url = {https://eprint.iacr.org/2025/1551}\n}"
}
