Making Hard Problems Easier with Custom Data Distributions and Loss Regularization: A Case Study in Modular Arithmetic
Uses custom training data distributions and a structured loss to make ML models do modular arithmetic better, enabling ML attacks on LWE to recover secrets twice as hard as before.
Schemes: LWE
Findings (quotes checked against the source text)
-
Custom training data distributions and a designed loss function let ML models sum up to N=128 elements modulo q up to 974269.
To address this, we develop techniques that significantly boost the performance of ML models on modular arithmetic tasks—enabling the models to sum up to $N=128$ elements modulo $q \le 974269$.
-
Applied to LWE as a proof of concept, the techniques recover secrets that are 2x harder than prior ML attacks.
We apply an initial proof of concept of our techniques to LWE specifically and find that they allow recovery of 2x harder secrets than prior work.
-
ML attacks on LWE were shown to outperform classical algebraic attacks in certain settings but struggle to scale to more complex LWE settings.
Recent work showed that ML-based attacks on Learning with Errors (LWE), a hard problem used in post-quantum cryptography, outperform classical algebraic attacks in certain settings.
Numbers (as extracted, not quote-checked)
- Maximum number of summed elements in modular arithmetic task: N=128
- Maximum modulus q for modular arithmetic task: q <= 974269
For builders
Treat ML-based LWE attacks as an emerging cryptanalysis signal for parameter choice, not a current threat to lattice schemes; the paper only shows a proof of concept.
Limits
Based on the ePrint abstract only (full text not read); the 2x result is a proof-of-concept on LWE secrets of limited size, and the paper does not claim to break any standardized scheme.
Topics: sig-lattice cryptanalysis quantum-resource-estimates