Salsa Fresca: Angular Embeddings and Pre-Training for ML Attacks on Learning With Errors
Improves ML attacks on sparse-secret LWE with faster Flatter preprocessing, an encoder-only angular-embedding transformer, and pre-training; first ML recovery at n=768 and 1024.
Schemes: LWE, SALSA, PICANTE, VERDE, Flatter, BKZ2.0, DeBERTa
Numbers (as extracted, not quote-checked)
- Largest binary/ternary Hamming weight recovered for n=1024, log2 q=50 (with pre-training sample-efficient training): h = 13
- Total attack time for n=512, log2 q=41: 50 hours (full CPU parallelization)
- Preprocessing cost per matrix for n=1024: 26.0 CPU-hours per matrix
- Samples needed to recover n=512 secrets with pre-training (mean): 409K (down from 1.7M)
For builders
Treat this as a cryptanalysis data point: sparse small-secret LWE at n=1024 is attackable by ML at low Hamming weight, so parameter choices for HE-style sparse secrets need a margin, not a claim of PQ security for the chain.
Limits
Attacks cover only sparse binary/ternary secrets with h<=15 at n=1024 and larger q/σ settings than deployed; results need one V100 or CPU cluster time and do not break ML-KEM or ML-DSA directly.
Topics: cryptanalysis sig-lattice kem quantum-resource-estimates