Lune

NeurIPS2022Top-tier venue

SALSA: Attacking Lattice Cryptography with Transformers

Emily Wenger, Mingjie Chen, François Charton, Kristin E. Lauter

Abstract

Currently deployed public-key cryptosystems will be vulnerable to attacks by fullscale 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.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

4 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Learning Plaintext-Ciphertext Cryptographic Problems via ANF-based SAT Instance Representation cites A Deeper Look at Machine Learning-Based Cryptanalysis
  • Symbolic Brittleness in Sequence Models: On Systematic Generalization in Symbolic Mathematics cites Deep Learning For Symbolic Mathematics
  • Computational Algebra with Attention: Transformer Oracles for Border Basis Algorithms cites Deep Learning For Symbolic Mathematics
  • Computational Algebra with Attention: Transformer Oracles for Border Basis Algorithms cites Learning to compute Gröbner bases
  • Neural Symbolic Regression that scales cites Deep Learning For Symbolic Mathematics
  • Learning to compute Gröbner bases cites Deep Learning For Symbolic Mathematics
  • Learning to compute Gröbner bases cites Neural Symbolic Regression that scales
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers4

  1. Learning to compute Gröbner basesHiroshi Kera, Yuki Ishihara, Yuta Kambe, Tristan Vaccon et al.NeurIPS 2024 · 9 citations
  2. Computational Algebra with Attention: Transformer Oracles for Border Basis AlgorithmsHiroshi Kera, Nico Pelleriti, Yuki Ishihara, Max Zimmer et al.NeurIPS 2025 · 8 citations
  3. Learning Plaintext-Ciphertext Cryptographic Problems via ANF-based SAT Instance RepresentationXinhao Zheng, Yang Li, Cunxin Fan, Huaijin Wu et al.NeurIPS 2024 · 7 citations
  4. Cool + Cruel = Dual, and New Benchmarks for Sparse LWEAlexander Karenin, Elena Kirshanova, Julian Nowakowski, Eamonn W. Postlethwaite et al.EUROCRYPT 2026 · 1 citation

Builds on7

  1. Deep Learning For Symbolic MathematicsGuillaume Lample, François ChartonICLR 2020 · 477 citations
  2. Neural Symbolic Regression that scalesLuca Biggio, Tommaso Bendinelli, Alexander Neitz, Aurélien Lucchi et al.ICML 2021 · 251 citations
  3. A Deeper Look at Machine Learning-Based CryptanalysisAdrien Benamira, David Gérault, Thomas Peyrin, Quan Quan TanEUROCRYPT 2021 · 119 citations
  4. The Neural Data Router: Adaptive Control Flow in Transformers Improves Systematic GeneralizationRóbert Csordás, Kazuki Irie, Jürgen SchmidhuberICLR 2022 · 70 citations
  5. Symbolic Brittleness in Sequence Models: On Systematic Generalization in Symbolic MathematicsSean Welleck, Peter West, Jize Cao, Yejin ChoiAAAI 2022 · 32 citations

Related papers

  1. SalsaPicante: A Machine Learning Attack on LWE with Binary SecretsCathy Yuanchen Li, Jana Sotáková, Emily Wenger, Mohamed Malhou et al.CCS 2023 · 11 citations
  2. SALSA VERDE: a machine learning attack on LWE with sparse small secretsCathy Yuanchen Li, Emily Wenger, Zeyuan Allen-Zhu, François Charton et al.NeurIPS 2023 · 13 citations
  3. Making Hard Problems Easier with Custom Data Distributions and Loss Regularization: A Case Study in Modular ArithmeticEshika Saxena, Alberto Alfarano, Emily Wenger, Kristin E. LauterICML 2025
  4. Benchmarking Attacks on Learning with ErrorsEmily Wenger, Eshika Saxena, Mohamed Malhou, Ellie Thieu et al.S&P 2025
  5. Continuous LWEJoan Bruna, Oded Regev, Min Jae Song, Yi TangSTOC 2021 · 18 citations
Dusk over the sea between two cliffs drawn in fine vertical lines