{
  "id": "2023/1918",
  "url": "https://opencryptology.org/2023/1918",
  "original_url": "https://eprint.iacr.org/2023/1918",
  "title": "FANNG-MPC: Framework for Artificial Neural Networks and Generic MPC",
  "authors": [
    "Najwa Aaraj",
    "Abdelrahaman Aly",
    "Tim Güneysu",
    "Chiara Marcolla",
    "Johannes Mono",
    "Rogerio Paludo",
    "Iván Santos-González",
    "Mireia Scholz",
    "Eduardo Soria-Vazquez",
    "Victor Sucasas",
    "Ajith Suresh"
  ],
  "affiliations": null,
  "abstract": "In this work, we introduce FANNG-MPC, a versatile secure multi-party computation framework capable to offer active security for privacy preserving machine learning as a service (MLaaS). Derived from the now deprecated SCALE-MAMBA, FANNG is a data-oriented fork, featuring novel set of libraries and instructions for realizing private neural networks, effectively reviving the popular framework. To the best of our knowledge, FANNG is the first MPC framework to offer actively secure MLaaS in the dishonest majority setting.\n\nFANNG goes beyond SCALE-MAMBA by decoupling offline and online phases and materializing the dealer model in software, enabling a separate set of entities to produce offline material. The framework incorporates database support, a new instruction set for pre-processed material, including garbled circuits and convolutional and matrix multiplication triples. FANNG also implements novel private comparison protocols and an optimized library supporting Neural Network functionality. All our theoretical claims are substantiated by an extensive evaluation using an open-sourced implementation, including the private inference of popular neural networks like LeNet and VGG16.",
  "category": "Cryptographic protocols",
  "license": {
    "code": "CC BY-SA",
    "url": "https://creativecommons.org/licenses/by-sa/4.0/",
    "label": "CC BY-SA 4.0",
    "attribution": "“FANNG-MPC: Framework for Artificial Neural Networks and Generic MPC” by Najwa Aaraj, Abdelrahaman Aly, Tim Güneysu, Chiara Marcolla, Johannes Mono, Rogerio Paludo, Iván Santos-González, Mireia Scholz, Eduardo Soria-Vazquez, Victor Sucasas, Ajith Suresh, Cryptology ePrint Archive, Paper 2023/1918, https://eprint.iacr.org/2023/1918. Licensed under CC BY-SA 4.0 (https://creativecommons.org/licenses/by-sa/4.0/).",
    "retroactive": false,
    "redistribute_verbatim_only": false,
    "non_commercial": false
  },
  "dates": {
    "submitted": "2023-12-14T13:21:42Z",
    "updated": "2024-10-03T11:51:28Z",
    "withdrawn": null
  },
  "withdrawn": false,
  "withdrawn_on": null,
  "pdf": {
    "url": "https://opencryptology.org/2023/1918.pdf",
    "sha256": "4d63e657f657c8383d4e7c2b05fbc6d6e79f7928639c38d6c3afbb3ff351fcd8",
    "size": 1714558,
    "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/2023/1918/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/2023/1918.pdf",
      "size": 1714558,
      "sha256": "4d63e657f657c8383d4e7c2b05fbc6d6e79f7928639c38d6c3afbb3ff351fcd8",
      "is_default_pdf": true
    },
    {
      "url": "https://opencryptology.org/2023/1918/versions/20231215T015609Z.pdf",
      "captured_at": "2023-12-15T01:56:09Z",
      "label": "copy captured 2023-12-15",
      "source": "wayback",
      "source_url": "https://web.archive.org/web/20231215015609id_/https://eprint.iacr.org/2023/1918.pdf",
      "size": 1467724,
      "sha256": "a36d7c4bed2c7a6a3ba8def667d9805d79eed160c91e18e6cc1cd090059babf0",
      "is_default_pdf": false
    }
  ],
  "other_sources": [
    {
      "kind": "github-mirror",
      "url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2023/1918.pdf",
      "captured_at": "2026-04-28T17:20:00Z",
      "size": 1714558
    },
    {
      "kind": "wayback",
      "url": "https://web.archive.org/web/20251230160238id_/https://eprint.iacr.org/2023/1918.pdf",
      "captured_at": "2025-12-30T16:02:38Z",
      "size": 1705390
    }
  ],
  "bibtex": "@misc{cryptoeprint:2023/1918,\n      author = {Najwa Aaraj and Abdelrahaman Aly and Tim Güneysu and Chiara Marcolla and Johannes Mono and Rogerio Paludo and Iván Santos-González and Mireia Scholz and Eduardo Soria-Vazquez and Victor Sucasas and Ajith Suresh},\n      title = {FANNG-MPC: Framework for Artificial Neural Networks and Generic MPC},\n      howpublished = {Cryptology {ePrint} Archive, Paper 2023/1918},\n      year = {2023},\n      url = {https://eprint.iacr.org/2023/1918}\n}"
}
