A Probabilistic Generative Model for Typographical Analysis of Early Modern Printing

Kartik Goyal, Chris Dyer, Christopher N. Warren, Max G'Sell, Taylor Berg-Kirkpatrick

Introduction

In the study of Early Modern books, individual characters are more than just text; they are physical artifacts. Printers used sets of metal stamps, and identifying the specific stamps used can reveal clandestine operations, anonymous printers, and forgeries. However, automated analysis is hindered by the extreme visual variance caused by the printing process itself.

The Challenge of Early Modern Typography

Two impressions from the same metal stamp can appear significantly different due to "inking variance" (excessive or insufficient ink), "spatial jitter" (misalignment), and "archiving noise" (smudges or paper decay). Standard machine learning models, such as Variational Autoencoders (VAEs), often fail because they prioritize these high-variance printing artifacts over the subtle geometric differences that define a typeface.

The challenge of typographical analysis: inking variance often outweighs the subtle geometric differences between typefaces.

As shown in the figure above, the "inking" effect can dominate the observed variance, leading models to cluster images by their darkness rather than their underlying shape (e.g., the length of a letter's middle arm).

A Generative "Neural Editor"

To address this, researchers developed a probabilistic generative model that explicitly separates geometric distortions from printing noise. The model assumes an image is generated in two stages:

  1. Interpretable Spatial Adjustment ($\lambda$): Applies transformations like rotation, offset, shear, and scale to an ideal "template" of the stamp.
  2. Residual Neural Filtering ($z$): Uses a latent vector to account for non-interpretable effects like ink bleed via a neural convolution filter.
The proposed generative model architecture, disentangling spatial adjustments from neural filtering of printing artifacts.

The Restricted Inference Network

The "secret sauce" of this approach is the Restricted Inference Network. To prevent the neural filter from "cheating" and learning the typeface shape itself, the network is only allowed to see the residual—the difference between the observed image and the geometrically adjusted template. This forces the latent variable $z$ to focus exclusively on noise, leaving the template $T$ to capture the true typographical structure.

Results and Historical Discovery

The model was tested on both synthetic and historical datasets. On synthetic data, it achieved a V-measure of 0.73, significantly outperforming standard VAEs (0.22) and previous state-of-the-art systems like Ocular (0.42).

In a case study of Thomas Hobbes’ Leviathan (1651), a text famous for its bibliographic mysteries, the model successfully identified two distinct typefaces for the letters 'F' and 'R'. These differences, such as a slightly shorter middle arm on the 'F', are nearly invisible to the naked eye but were clearly isolated by the model's disentangled architecture.

Conclusion

By baking the physics of the printing press into a deep generative framework, this "neural editor" provides a powerful tool for book historians. Future work aims to integrate this model into OCR engines to improve the transcription of messy historical documents and to scale the analysis across massive digital archives.

Summary updated

BibTeX
@inproceedings{goyal2020probabilistic,
  author = {Kartik Goyal and Chris Dyer and Christopher N. Warren and Max G'Sell and Taylor Berg-Kirkpatrick},
  title = {{A Probabilistic Generative Model for Typographical Analysis of Early Modern Printing}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2020},
  doi = {10.18653/v1/2020.acl-main.266},
}
Figure