Solving Historical Dictionary Codes with a Neural Language Model
Christopher Chu, Raphael Valenti, Kevin Knight
Abstract
We solve difficult word-based substitution codes by constructing a decoding lattice and searching that lattice with a neural language model. We apply our method to a set of enciphered letters exchanged between US Army General James Wilkinson and agents of the Spanish Crown in the late 1700s and early 1800s, obtained from the US Library of Congress. We are able to decipher 75.1% of the cipher-word tokens correctly.
Ask Lune
Ask anything. The answer quotes the paper.
Lune reads all of it and the papers around it, then shows you the passages behind every answer.
Related papers
- Can Sequence-to-Sequence Models Crack Substitution Ciphers?Nada Aldarrab, Jonathan MayACL 2021
- Segmenting Numerical Substitution CiphersNada Aldarrab, Jonathan MayEMNLP 2022 · 1 citation
- ICL CIPHERS: Quantifying "Learning" in In-Context Learning via Substitution CiphersZhouxiang Fang, Aayush Mishra, Muhan Gao, Anqi Liu et al.EMNLP 2025
- Cross-Modal Cloze Task: A New Task to Brain-to-Word DecodingShuxian Zou, Shaonan Wang, Jiajun Zhang, Chengqing ZongACL Findings 2022 · 7 citations
- Near-imperceptible Neural Linguistic Steganography via Self-Adjusting Arithmetic CodingJiaming Shen, Heng Ji, Jiawei HanEMNLP 2020 · 39 citations
