Historical Language Models in Cryptanalysis: Case Studies on English and German

Authors

  • Béata Megyesi
  • Justyna Sikora
  • Filip Fornmark
  • Michelle Waldispühl
  • Nils Kopal
  • Vasily Mikhalev

DOI:

https://doi.org/10.3384/ecp195701

Keywords:

language models, decipherment, historical texts

Abstract

In this paper, we study the impact of language models (LM) on decipherment of historical homophonic substitution ciphers. In particular, we investigate if decipherment by using hill-climbing and simulated annealing can benefit from LMs generated from historical texts in general and century-specific texts in particular. We carry out experiments on homophonic substitution ciphers with English and German as plaintext languages. We take into account ciphertext length as well as n-gram size of the LMs. We compare the results on decipherment based on historical LMs with large LMs generated from modern texts. The results show that using historical LMs in decipherment of homophonic substitution ciphers leads to significantly better performance on ciphertext produced in the 17th century or earlier, and century-specific language models yield better results on longer and older ciphertexts.

Downloads

Published

2023-05-30