{
  "id": "2024/150",
  "url": "https://opencryptology.org/2024/150",
  "original_url": "https://eprint.iacr.org/2024/150",
  "title": "SALSA FRESCA: Angular Embeddings and Pre-Training for ML Attacks on Learning With Errors",
  "authors": [
    "Samuel Stevens",
    "Emily Wenger",
    "Cathy Yuanchen Li",
    "Niklas Nolte",
    "Eshika Saxena",
    "Francois Charton",
    "Kristin Lauter"
  ],
  "affiliations": null,
  "abstract": "Learning with Errors (LWE) is a hard math problem underlying post-quantum cryptography (PQC) systems for key exchange and digital signatures, recently standardized by NIST.  Prior work [Wenger et al., 2022; Li et al., 2023a;b] proposed new machine learning (ML)-based attacks on LWE problems with small, sparse secrets, but these attacks require millions of LWE samples to train on and take days to recover secrets. We propose three key methods—better pre-processing, angular embeddings and model pre-training—to improve these attacks, speeding up preprocessing by 25× and improving model sample efficiency by 10×. We demonstrate for the first time that pre-training improves and reduces\nthe cost of ML attacks on LWE. Our architecture improvements enable scaling to larger-dimension LWE problems: this work is the first instance of ML attacks recovering sparse binary secrets in dimension n = 1024, the smallest dimension used in practice for homomorphic encryption applications of LWE where sparse binary secrets are proposed.",
  "category": "Attacks and cryptanalysis",
  "license": {
    "code": "CC BY",
    "url": "https://creativecommons.org/licenses/by/4.0/",
    "label": "CC BY 4.0",
    "attribution": "“SALSA FRESCA: Angular Embeddings and Pre-Training for ML Attacks on Learning With Errors” by Samuel Stevens, Emily Wenger, Cathy Yuanchen Li, Niklas Nolte, Eshika Saxena, Francois Charton, Kristin Lauter, Cryptology ePrint Archive, Paper 2024/150, https://eprint.iacr.org/2024/150. 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-02-02T00:27:10Z",
    "updated": "2024-02-02T00:27:10Z",
    "withdrawn": null
  },
  "withdrawn": false,
  "withdrawn_on": null,
  "pdf": {
    "url": "https://opencryptology.org/2024/150.pdf",
    "sha256": "8022d305455531340750c7a46a54f96733e8c722e5c8cbed81c1fb7a34d2783c",
    "size": 969322,
    "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/150/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/150.pdf",
      "size": 969322,
      "sha256": "8022d305455531340750c7a46a54f96733e8c722e5c8cbed81c1fb7a34d2783c",
      "is_default_pdf": true
    }
  ],
  "other_sources": [
    {
      "kind": "github-mirror",
      "url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2024/150.pdf",
      "captured_at": "2026-04-28T17:20:00Z",
      "size": 969322
    },
    {
      "kind": "wayback",
      "url": "https://web.archive.org/web/20251230054030id_/https://eprint.iacr.org/2024/150.pdf",
      "captured_at": "2025-12-30T05:40:30Z",
      "size": 781717
    }
  ],
  "bibtex": "@misc{cryptoeprint:2024/150,\n      author = {Samuel Stevens and Emily Wenger and Cathy Yuanchen Li and Niklas Nolte and Eshika Saxena and Francois Charton and Kristin Lauter},\n      title = {SALSA FRESCA: Angular Embeddings and Pre-Training for ML Attacks on Learning With Errors},\n      howpublished = {Cryptology {ePrint} Archive, Paper 2024/150},\n      year = {2024},\n      url = {https://eprint.iacr.org/2024/150}\n}"
}
