Learning to Decipher from Pixels: A Case Study of Copiale

Lei Kang, Giuseppe De Gregorio, Raphaela Heil, Alicia Fornés, Beáta Megyesi
4/26/2026
cs.CV

Official code: leitro/Decipher-from-Pixels-Copiale (1 star, Python, MIT, last commit 2026-04-08).

Abstract

Historical encrypted manuscripts require both paleographic interpretation of cipher symbols and cryptanalytic recovery of plaintext. Most existing computational workflows rely on a transcription-first paradigm, in which handwritten symbols are transcribed prior to decipherment.

Show full abstract

This intermediate step is labor-intensive, error-prone, and not always aligned with the goal of direct plaintext recovery. We propose an end-to-end, transcription-free approach that directly maps handwritten cipher images to plaintext. Using the Copiale cipher as a case study, we introduce the first text-line-level dataset pairing cipher images with German plaintext. We show that pretraining on generic handwriting data followed by cipher-specific fine-tuning substantially improves decipherment accuracy. Our results demonstrate that transcription-free image-to-plaintext decipherment is both feasible and effective for historical substitution ciphers, offering a simplified and scalable alternative to traditional pipelines. https://github.com/leitro/Decipher-from-Pixels-Copiale

View on arXivView PDF

Code Implementations(1)

MIT

Learning to Decipher from Pixels — A Case Study of Copiale

10PythonApr 8, 20267 months agoMIT

Similar Papers

Cite this paper

@article{kang2026learning,
  title  = {Learning to Decipher from Pixels: A Case Study of Copiale},
  author = {Lei Kang and Giuseppe De Gregorio and Raphaela Heil and Alicia Fornés and Beáta Megyesi},
  year   = {2026},
  eprint = {2604.23683},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2604.23683v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2604.23683.svg)](https://codeofpaper.com/paper/2604.23683)

Discussion