Teaching Transformers Modular Arithmetic at Scale
원문 초록
Modular addition is, on its face, a simple operation: given $N$ elements in $\mathbb{Z}_q$, compute their sum modulo $q$. Yet, scalable machine learning solutions to this problem remain elusive: prior work trains ML models that sum $N \le 6$ elements mod $q \le 1000$. Promising applications of ML models for cryptanalysis-which often involve modular arithmetic with large $N$ and $q$-motivate reconsideration of this problem. This work proposes three changes to the modular addition model training pipeline: more diverse training data, an angular embedding, and a custom loss function. With these changes, we demonstrate success with our approach for $N = 256, q = 3329$, a case which is interesting for cryptographic applications, and a significant increase in $N$ and $q$ over prior work. These techniques also generalize to other modular arithmetic problems, motivating future work.
함께 살펴볼 논문
공통 태그를 근거로 연결했습니다. 실제 인용 관계나 논문의 우수성을 뜻하지 않습니다.
Learning Quantum Processes with Quantum Statistical Queries
Memorization for Good: Encryption with Autoregressive Language Models
Improved (Related-key) Differential-based Neural Distinguishers for SIMON and SIMECK Block Ciphers
Machine Learning Cryptanalysis of a Quantum Random Number Generator
Learning the Enigma with Recurrent Neural Networks
Encoding Cryptographic Functions to SAT Using Transalg System
토론
이 논문과 연결된 포럼 글이 아직 없습니다.