{
  "id": "2024/071",
  "url": "https://opencryptology.org/2024/071",
  "original_url": "https://eprint.iacr.org/2024/071",
  "title": "Too Hot To Be True: Temperature Calibration for Higher Confidence in NN-assisted Side-channel Analysis",
  "authors": [
    "Seyedmohammad Nouraniboosjin",
    "Fatemeh Ganji"
  ],
  "affiliations": null,
  "abstract": "The past years have witnessed a considerable increase in research\nefforts on neural network-assisted profiled side-channel analysis\n(SCA). At the same time, studies have identified challenges, including\nclosing the gap between machine learning (ML) classification metrics and\nside-channel attack evaluation. In fact, in NN-assisted SCA, the NN’s\noutput distribution forms the basis for successful key recovery. In this\nrespect, prior work has studied many aspects of integrating NNs into\nSCA, including model selection, training, and hyperparameter tuning.\nNevertheless, a well-known fact has been largely overlooked in the SCA-related\nliterature, namely NNs’ tendency to become over-confident, that\nis, assigning overly high probability to the correct class (the secret key\nin the sense of SCA). Temperature scaling is a powerful remedy for this\nbehavior. From the perspective of deep learning, temperature scaling\ndoes not affect NN accuracy; however, its impact on secret-key recovery\nmetrics, mainly guessing entropy, is worth investigating. This paper\nreintroduces temperature scaling into SCA and demonstrates that key\nrecovery can become more effective. Importantly, temperature scaling\ncan be integrated into SCA without re-tuning the network. In doing so,\ntemperature can be treated as a metric to assess NN performance before\nlaunching the attack. In this regard, we study the impact of hyperparameter tuning, network variance, and capacity, and derive recommendations to prevent miscalibration and overconfidence.",
  "category": "Attacks and cryptanalysis",
  "license": {
    "code": "CC BY-NC-ND",
    "url": "https://creativecommons.org/licenses/by-nc-nd/4.0/",
    "label": "CC BY-NC-ND 4.0",
    "attribution": "“Too Hot To Be True: Temperature Calibration for Higher Confidence in NN-assisted Side-channel Analysis” by Seyedmohammad Nouraniboosjin, Fatemeh Ganji, Cryptology ePrint Archive, Paper 2024/071, https://eprint.iacr.org/2024/071. 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": "2024-01-17T04:22:46Z",
    "updated": "2026-03-17T13:16:34Z",
    "withdrawn": null
  },
  "withdrawn": false,
  "withdrawn_on": null,
  "pdf": {
    "url": "https://opencryptology.org/2024/071.pdf",
    "sha256": "d5e6d8d144a5a12698ff85609178e9908c03259f5257d339d2c53650ce3ca2ed",
    "size": 1935382,
    "source": "github-mirror",
    "source_date": "2026-04-28T17:20:00Z",
    "maybe_stale": false,
    "newer_on_eprint": null,
    "withdrawn": false
  },
  "versions": [
    {
      "url": "https://opencryptology.org/2024/071/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/071.pdf",
      "size": 1935382,
      "sha256": "d5e6d8d144a5a12698ff85609178e9908c03259f5257d339d2c53650ce3ca2ed",
      "is_default_pdf": true
    },
    {
      "url": "https://opencryptology.org/2024/071/versions/20240117T143540Z.pdf",
      "captured_at": "2024-01-17T14:35:40Z",
      "label": "copy captured 2024-01-17",
      "source": "wayback",
      "source_url": "https://web.archive.org/web/20240117143540id_/https://eprint.iacr.org/2024/071.pdf",
      "size": 1954070,
      "sha256": "bc5e19de92ec54434c512eefa0a37abf1c3b0152e12ccdc39b914402cc11caf5",
      "is_default_pdf": false
    }
  ],
  "other_sources": [
    {
      "kind": "github-mirror",
      "url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2024/071.pdf",
      "captured_at": "2026-04-28T17:20:00Z",
      "size": 1935382
    },
    {
      "kind": "wayback",
      "url": "https://web.archive.org/web/20260110165455id_/https://eprint.iacr.org/2024/071.pdf",
      "captured_at": "2026-01-10T16:54:55Z",
      "size": 1763195
    }
  ],
  "bibtex": "@misc{cryptoeprint:2024/071,\n      author = {Seyedmohammad Nouraniboosjin and Fatemeh Ganji},\n      title = {Too Hot To Be True: Temperature Calibration for Higher Confidence in NN-assisted Side-channel Analysis},\n      howpublished = {Cryptology {ePrint} Archive, Paper 2024/071},\n      year = {2024},\n      url = {https://eprint.iacr.org/2024/071}\n}"
}
