{
  "id": "2021/1408",
  "url": "https://opencryptology.org/2021/1408",
  "original_url": "https://eprint.iacr.org/2021/1408",
  "title": "Focus is Key to Success: A Focal Loss Function for Deep Learning-based Side-channel Analysis",
  "authors": [
    "Maikel Kerkhof",
    "Lichao Wu",
    "Guilherme Perin",
    "Stjepan Picek"
  ],
  "affiliations": null,
  "abstract": "The deep learning-based side-channel analysis represents one of the most powerful side-channel attack approaches. Thanks to its capability in dealing with raw features and countermeasures, it becomes the de facto standard evaluation method for the evaluation labs/certification schemes. To reach this performance level, recent works significantly improved the deep learning-based attacks from various perspectives, like hyperparameter tuning, design guidelines, or custom neural network architecture elements. Still, limited attention has been given to the core of the learning process - the loss function.\n\nThis paper analyzes the limitations of the existing loss functions and then proposes a novel side-channel analysis-optimized loss function: Focal Loss Ratio (FLR), to cope with the identified drawbacks observed in other loss functions.\nTo validate our design, we 1) conduct a thorough experimental study considering various scenarios (datasets, leakage models, neural network architectures) and 2) compare with other loss functions commonly used in the deep learning-based side-channel analysis (both ``traditional'' one and those designed for side-channel analysis). Our results show that FLR loss outperforms other loss functions in various conditions while not having computation overheads compared to common loss functions like categorical cross-entropy.",
  "category": "Implementation",
  "license": {
    "code": "CC BY",
    "url": "https://creativecommons.org/licenses/by/4.0/",
    "label": "CC BY 4.0",
    "attribution": "“Focus is Key to Success: A Focal Loss Function for Deep Learning-based Side-channel Analysis” by Maikel Kerkhof, Lichao Wu, Guilherme Perin, Stjepan Picek, Cryptology ePrint Archive, Paper 2021/1408, https://eprint.iacr.org/2021/1408. Licensed under CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/).",
    "retroactive": true,
    "redistribute_verbatim_only": false,
    "non_commercial": false
  },
  "dates": {
    "submitted": "2021-10-24T07:29:05Z",
    "updated": "2021-10-24T07:29:05Z",
    "withdrawn": null
  },
  "withdrawn": false,
  "withdrawn_on": null,
  "pdf": {
    "url": "https://opencryptology.org/2021/1408.pdf",
    "sha256": "8fd6ff965b50945d8e830cca5bc1822d9bb96483e1a2fdc85e6f6f7a7ec2dc71",
    "size": 3103387,
    "source": "github-mirror",
    "source_date": "2024-01-14T06:13:28Z",
    "maybe_stale": false,
    "newer_on_eprint": null,
    "withdrawn": false
  },
  "versions": [
    {
      "url": "https://opencryptology.org/2021/1408/versions/20240114T061328Z.pdf",
      "captured_at": "2024-01-14T06:13:28Z",
      "label": "copy captured 2024-01-14",
      "source": "github-mirror",
      "source_url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2021/1408.pdf",
      "size": 3103387,
      "sha256": "8fd6ff965b50945d8e830cca5bc1822d9bb96483e1a2fdc85e6f6f7a7ec2dc71",
      "is_default_pdf": true
    }
  ],
  "other_sources": [
    {
      "kind": "github-mirror",
      "url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2021/1408.pdf",
      "captured_at": "2024-01-14T06:13:28Z",
      "size": 3103387
    },
    {
      "kind": "wayback",
      "url": "https://web.archive.org/web/20220802111149id_/https://eprint.iacr.org/2021/1408.pdf",
      "captured_at": "2022-08-02T11:11:49Z",
      "size": 2934994
    }
  ],
  "bibtex": "@misc{cryptoeprint:2021/1408,\n      author = {Maikel Kerkhof and Lichao Wu and Guilherme Perin and Stjepan Picek},\n      title = {Focus is Key to Success: A Focal Loss Function for Deep Learning-based Side-channel Analysis},\n      howpublished = {Cryptology {ePrint} Archive, Paper 2021/1408},\n      year = {2021},\n      url = {https://eprint.iacr.org/2021/1408}\n}"
}
