mlsanityData to 7 Oct 2026

SALSA PICANTE: a machine learning attack on LWE with binary secrets

arXiv 2303.04178 ↗First posted 7 Mar 2023cs.CR cs.LGcited by 11

Not on the map. Why?

Abstract (arXiv)

Learning with Errors (LWE) is a hard math problem underpinning many proposed post-quantum cryptographic (PQC) systems. The only PQC Key Exchange Mechanism (KEM) standardized by NIST is based on module~LWE, and current publicly available PQ Homomorphic Encryption (HE) libraries are based on ring LWE. The security of LWE-based PQ cryptosystems is critical, but certain implementation choices could weaken them. One such choice is sparse binary secrets, desirable for PQ HE schemes for efficiency reasons. Prior work, SALSA, demonstrated a machine learning-based attack on LWE with sparse binary secrets in small dimensions (n ≤ 128) and low Hamming weights (h ≤ 4). However, this attack assumes access to millions of eavesdropped LWE samples and fails at higher Hamming weights or dimensions. We present PICANTE, an enhanced machine learning attack on LWE with sparse binary secrets, which recovers secrets in much larger dimensions (up to n=350) and with larger Hamming weights (roughly n/10, and up to h=60 for n=350). We achieve this dramatic improvement via a novel preprocessing step, which allows us to generate training data from a linear number of eavesdropped LWE samples (4n) and changes the distribution of the data to improve transformer training. We also improve the secret recovery methods of SALSA and introduce a novel cross-attention recovery mechanism allowing us to read off the secret directly from the trained models. While PICANTE does not threaten NIST's proposed LWE standards, it demonstrates significant improvement over SALSA and could scale further, highlighting the need for future investigation into machine learning attacks on LWE with sparse binary secrets.

Key facts. Cited by 11 papers in the map (data through 7 Oct 2026). Builds on 17 of its 56 references that are in the map. First posted on arXiv 7 Mar 2023.

Builds on

17 of 56 references.

References · 17

  1. 2017Attention Is All You Needcited by 59,932
  2. 2014Adam: A Method for Stochastic Optimizationcited by 36,960
  3. 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 29,915
  4. 2020End-to-End Object Detection with Transformerscited by 7,384
  5. 2014Neural Machine Translation by Jointly Learning to Align and Translatecited by 4,530
  6. 2021Zero-Shot Text-to-Image Generationcited by 4,276
  7. 2014Learning Phrase Representations using RNN Encoder-Decoder for Statistical Machine Translationcited by 4,016
  8. 2019Mastering Atari, Go, Chess and Shogi by Planning with a Learned Modelcited by 1,327
  9. 2019Solving Rubik's Cube with a Robot Handcited by 699
  10. 2018Universal Transformerscited by 613
  11. 2020Generative Language Modeling for Automated Theorem Provingcited by 379
  12. 2019Deep Learning for Symbolic Mathematicscited by 266
5 more
  1. 2019Transformer-based Acoustic Modeling for Hybrid Speech Recognitioncited by 86
  2. 2021The Neural Data Router: Adaptive Control Flow in Transformers Improves Systematic Generalizationcited by 62
  3. 2021Linear algebra with transformerscited by 62
  4. 2022SALSA: Attacking Lattice Cryptography with Transformerscited by 28
  5. 2013Classical Hardness of Learning with Errorscited by 11

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2024: 3; 2025: 6; 2026: 2.

11 papers.