cs.CRApr 5, 2026

Improving ML Attacks on LWE with Data Repetition and Stepwise Regression

Authors: Alberto Alfarano, Eshika Saxena, Emily Wenger, François Charton, Kristin Lauter

Organizations: Axiom Math · FAIR at Meta · Duke University

Abstract

The Learning with Errors (LWE) problem is a hard math problem in lattice-based cryptography. In the simplest case of binary secrets, it is the subset sum problem, with error. Effective ML attacks on LWE were demonstrated in the case of binary, ternary, and small secrets, succeeding on fairly sparse secrets. The ML attacks recover secrets with up to 3 active bits in the "cruel region" (Nolte et al., 2024) on samples pre-processed with BKZ. We show that using larger training sets and repeated examples enables recovery of denser secrets. Empirically, we observe a power-law relationship between model-based attempts to recover the secrets, dataset size, and repeated examples. We introduce a stepwise regression technique to recover the "cool bits" of the secret.

Figures & tables

Appendix figures & tables9 assets

Supplementary material from the paper’s appendix.

Appendix

Explore similar work

CardsList
  1. Discovering Lattice Reduction Strategies via Self-Play

    Jun 13, 2026Mohamed Malhou, Kristin Lauter, Ludovic PerretReinforcement LearningRL for Combinatorial Optimization

  2. CREBench: Evaluating Large Language Models in Cryptographic Binary Reverse Engineering

    Apr 4, 2026Baicheng Chen, Yu Wang, Ziheng Zhou +4Software Reverse EngineeringLLMs for Cybersecurity

  3. Learning to Detect Language Model Training Data via Active Reconstruction

    Feb 22, 2026Junjie Oscar Yin, John X. Morris, Vitaly Shmatikov +2Membership Inference AttacksPrivacy Leakage in Language Models