English

Salsa Fresca: Angular Embeddings and Pre-Training for ML Attacks on Learning With Errors

Cryptography and Security 2024-02-05 v1 Machine Learning

Abstract

Learning with Errors (LWE) is a hard math problem underlying recently standardized post-quantum cryptography (PQC) systems for key exchange and digital signatures. Prior work 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 preprocessing, angular embeddings and model pre-training -- to improve these attacks, speeding up preprocessing by 25×25\times and improving model sample efficiency by 10×10\times. We demonstrate for the first time that pre-training improves and reduces the 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=1024n=1024, the smallest dimension used in practice for homomorphic encryption applications of LWE where sparse binary secrets are proposed.

Keywords

Cite

@article{arxiv.2402.01082,
  title  = {Salsa Fresca: Angular Embeddings and Pre-Training for ML Attacks on Learning With Errors},
  author = {Samuel Stevens and Emily Wenger and Cathy Li and Niklas Nolte and Eshika Saxena and François Charton and Kristin Lauter},
  journal= {arXiv preprint arXiv:2402.01082},
  year   = {2024}
}

Comments

8 pages (main text)

R2 v1 2026-06-28T14:35:21.259Z