English

SALSA: Attacking Lattice Cryptography with Transformers

Cryptography and Security 2023-04-25 v2 Machine Learning

Abstract

Currently deployed public-key cryptosystems will be vulnerable to attacks by full-scale quantum computers. Consequently, "quantum resistant" cryptosystems are in high demand, and lattice-based cryptosystems, based on a hard problem known as Learning With Errors (LWE), have emerged as strong contenders for standardization. In this work, we train transformers to perform modular arithmetic and combine half-trained models with statistical cryptanalysis techniques to propose SALSA: a machine learning attack on LWE-based cryptographic schemes. SALSA can fully recover secrets for small-to-mid size LWE instances with sparse binary secrets, and may scale to attack real-world LWE-based cryptosystems.

Keywords

Cite

@article{arxiv.2207.04785,
  title  = {SALSA: Attacking Lattice Cryptography with Transformers},
  author = {Emily Wenger and Mingjie Chen and François Charton and Kristin Lauter},
  journal= {arXiv preprint arXiv:2207.04785},
  year   = {2023}
}

Comments

Extended version of work published at NeurIPS 2022

R2 v1 2026-06-25T00:48:32.346Z