{
  "id": "2024/1403",
  "url": "https://opencryptology.org/2024/1403",
  "original_url": "https://eprint.iacr.org/2024/1403",
  "title": "Hard-Label Cryptanalytic Extraction of Neural Network Models",
  "authors": [
    "Yi Chen",
    "Xiaoyang Dong",
    "Jian Guo",
    "Yantian Shen",
    "Anyu Wang",
    "Xiaoyun Wang"
  ],
  "affiliations": null,
  "abstract": "The machine learning problem of  extracting neural network parameters has been proposed for nearly three decades. Functionally equivalent extraction is a crucial goal for research on this problem. When the adversary has access to  the raw output of neural networks, various attacks,  including those presented at CRYPTO 2020 and EUROCRYPT 2024,  have successfully achieved this goal. However, this goal is not achieved when neural networks operate under a hard-label setting where the raw output is inaccessible.\nIn this paper, we propose the first attack that theoretically achieves functionally equivalent extraction under the hard-label setting, which applies to ReLU neural networks. The effectiveness of our attack is  validated through practical experiments  on a wide range of ReLU neural networks, including neural networks trained on two real benchmarking datasets (MNIST, CIFAR10) widely used in computer vision. For a neural network consisting of $10^5$ parameters, our attack only requires several hours on a single core.",
  "category": "Attacks and cryptanalysis",
  "license": {
    "code": "CC BY",
    "url": "https://creativecommons.org/licenses/by/4.0/",
    "label": "CC BY 4.0",
    "attribution": "“Hard-Label Cryptanalytic Extraction of Neural Network Models” by Yi Chen, Xiaoyang Dong, Jian Guo, Yantian Shen, Anyu Wang, Xiaoyun Wang, Cryptology ePrint Archive, Paper 2024/1403, https://eprint.iacr.org/2024/1403. 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-09-08T10:23:45Z",
    "updated": "2024-09-08T10:23:45Z",
    "withdrawn": null
  },
  "withdrawn": false,
  "withdrawn_on": null,
  "pdf": {
    "url": "https://opencryptology.org/2024/1403.pdf",
    "sha256": "ef85d32b23c0dc621d8249e0ed7e14f1a39ae11dd66997289379b2fe4d2ac4f8",
    "size": 617820,
    "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/1403/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/1403.pdf",
      "size": 617820,
      "sha256": "ef85d32b23c0dc621d8249e0ed7e14f1a39ae11dd66997289379b2fe4d2ac4f8",
      "is_default_pdf": true
    }
  ],
  "other_sources": [
    {
      "kind": "github-mirror",
      "url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2024/1403.pdf",
      "captured_at": "2026-04-28T17:20:00Z",
      "size": 617820
    },
    {
      "kind": "wayback",
      "url": "https://web.archive.org/web/20260217230719id_/https://eprint.iacr.org/2024/1403.pdf",
      "captured_at": "2026-02-17T23:07:19Z",
      "size": 613280
    }
  ],
  "bibtex": "@misc{cryptoeprint:2024/1403,\n      author = {Yi Chen and Xiaoyang Dong and Jian Guo and Yantian Shen and Anyu Wang and Xiaoyun Wang},\n      title = {Hard-Label Cryptanalytic Extraction of Neural Network Models},\n      howpublished = {Cryptology {ePrint} Archive, Paper 2024/1403},\n      year = {2024},\n      url = {https://eprint.iacr.org/2024/1403}\n}"
}
