Research map / Large language models / Language, safety and interpretability
Can Sequence-to-Sequence Models Crack Substitution Ciphers?
Nada Aldarrab, Jonathan May
University of Southern California
Read the paperPlace an idea next to itCheck your own paper ↗
11measured effects
5improved
6hurt
AI-extracted. The measured effects below were read by AI from the paper's full text (no summary yet). Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.
Measured effects reported in the paper
| What was changed | Where | Measured | Effect |
|---|---|---|---|
| add frequency encoding of ciphertext characters (ablation) | Transformer · length-256 ciphers | SER (%): 71.75 -> 0.00 | Improved |
| use Transformer + Freq separate models instead of Beam NLM | decipherment model · length-16 ciphers | SER (%): 26.80 -> 20.62 | Improved |
| use Transformer + Freq instead of Beam NLM on long ciphers | decipherment model · length-64 ciphers | SER (%): 0.07 -> 0.41 | Hurt |
| train a single mixed-length model instead of separate models (ablation) | Transformer + Freq · length-32 ciphers | SER (%): 1.44 -> 2.44 | Hurt |
| train a single mixed-length model instead of separate models (ablation) | Transformer + Freq · length-16 ciphers | SER (%): 20.62 -> 19.38 | Improved |
| remove spaces from ciphers (ablation) | Transformer + Freq · length-256 ciphers | TER (%): 0.00 -> 0.77 | Hurt |
| also generate spaces when none in cipher (ablation) | Transformer + Freq · length-256 ciphers | TER (%): 0.77 -> 1.88 | Hurt |
| increase number of training languages from 3 to 14 (ablation) | multilingual Transformer + Freq · length-256 ciphers | SER (%) avg: 0.29 -> 0.68 | Hurt |
| increase substitution/ins/del noise from 5% to 25% (ablation) | Transformer + Freq · length-256 ciphers | TER (%): 2.87 -> 27.43 | Hurt |
| use monolingual Latin model instead of 14-language model (ablation) | Transformer + Freq · Borg cipher | SER (%): 5.47 -> 3.91 | Improved |
| train on Gigaword instead of Europarl (ablation) | anagram decryption model · Wikipedia ciphers (prior work test set) | word accuracy: 96.05 -> 97.16 | Improved |
Open problems in text generation and evaluation metrics
Do language, text and evaluation results hold beyond one language, one corpus and one LLM judge?
- Results come from one language, one pair or a few mostly high-resource languages. · 14 papers state it
- Data come from one corpus, genre or platform, so other settings are untested. · 14 papers state it
- LLM judges and LLM labels are used without human checks. · 8 papers state it
Closest papers by meaning
- Decipherment of Substitution Ciphers with Neural Language Models (EMNLP 2018 · similarity 0.94)
- Better Language Model Inversion by Compactly Representing Next-Token Distributions (NeurIPS 2025 · similarity 0.81)
- All Code, No Thought: Language Models Struggle to Reason in Ciphered Language (ICLR 2026 · similarity 0.80)
- SentinelLMs: Encrypted Input Adaptation and Fine-Tuning of Language Models for Private and Secure Inference (AAAI 2024 · similarity 0.79)
- Against All Odds: Overcoming Typology, Script, and Language Confusion in Multilingual Embedding Inversion Attacks (AAAI 2025 · similarity 0.79)
- Unnatural Languages Are Not Bugs but Features for LLMs (ICML 2025 · similarity 0.79)
Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.