Volumetric Fast Fourier Convolution for Detecting Ink on the Carbonized Herculaneum Papyri

Fabio Quattrini, Vittorio Pippi, Silvia Cascianelli, Rita Cucchiara

Abstract

The Herculaneum papyri, carbonized by the eruption of Mount Vesuvius, present a unique challenge for non-destructive reading: the carbon-based ink is nearly indistinguishable from the carbonized papyrus in X-ray scans. We present a novel Volumetric Fast Fourier Convolution (vFFC) operator designed to detect ink by identifying subtle textural changes in the frequency domain. By integrating global receptive fields through 3D Fast Fourier Transforms, our model successfully maps ink on 3D micro-CT volumes, earning a silver medal in the Vesuvius Challenge.

Introduction

The eruption of Mount Vesuvius in 79 C.E. buried hundreds of papyrus scrolls, transforming them into fragile "charcoal logs." While X-ray micro-computed tomography (micro-CT) allows for 3D internal visualization, the use of carbon-based ink creates a "carbon-on-carbon" problem where traditional density-based contrast is absent. Virtual unwrapping fails because the ink and papyrus share nearly identical X-ray attenuation coefficients.

The pipeline for ink detection: from 3D volumetric scans of carbonized scrolls to 2D ink maps using the vFFC bottleneck.

To overcome this, ink detection must be treated as a 3D texture recognition task. The ink subtly alters the physical morphology of the papyrus—changing its thickness, smoothness, or crack patterns. This study utilizes the EduceLab-Scrolls dataset, which provides high-resolution (3.2µm/voxel) 3D scans and infrared-based ground truth for training.

Methodology

The core contribution of this work is the Volumetric Fast Fourier Convolution (vFFC) operator. Unlike standard convolutions that rely on local receptive fields, vFFC processes data in both the spatial and frequency domains.

The vFFC Operator

The vFFC operator splits the input into two parallel branches:

  1. Local Branch: Employs standard 3D convolutions to capture fine-grained spatial details.
  2. Global Branch: Utilizes a 3D Real Fast Fourier Transform (FFT) to operate in the frequency domain. This provides a global receptive field, allowing the model to identify "pseudo-periodic" patterns, such as the repeating texture of papyrus fibers and the disruptions caused by ink.
Comparison of Spatial, Spatio-Temporal, and Volumetric Fast Fourier Convolution architectures.

Architecture and Training

The model uses a U-Net-style architecture with a 3D ResNet-34 encoder. The vFFC blocks are placed at the bottleneck to capture global textural features before the 3D data is collapsed into a 2D ink map via a decoder. The loss function combines Dice loss, to address the imbalance between ink and background, and Weighted Binary Cross Entropy. Training involves 3D subvolume sampling and heavy augmentation, including "Dihedral" transformations and random depth-axis cropping. The latter makes the model robust to segmentation inaccuracies during the virtual unwrapping process.

Results

The vFFC-based model demonstrated superior performance compared to standard 3D and spatio-temporal convolution baselines.

  • Quantitative Metrics: The model achieved an $F_{\beta}$ score of 0.47 and a PSNR of 10.09 on the test fragment.
  • Competition Performance: An ensemble of six vFFC models secured a silver medal in the Kaggle Vesuvius Challenge, placing in the top 5% of global participants.
  • Qualitative Analysis: Visualizations indicate that the frequency-domain analysis significantly reduces background noise and false positives, producing cleaner, more legible ink maps.

Conclusion

Volumetric Fast Fourier Convolutions provide a powerful tool for detecting subtle morphological signatures in 3D data where density contrast is lacking. While the method is computationally intensive—currently limited to 16-slice subvolumes to manage memory—and dependent on high-quality initial segmentation, it represents a major step forward in reading the "unreadable" Herculaneum library. Future work will explore applying vFFC to full scroll geometries and other volumetric domains like medical imaging.

Summary updated

Abstract

Recent advancements in Digital Document Restoration (DDR) have led to significant breakthroughs in analyzing highly damaged written artifacts. Among those, there has been an increasing interest in applying Artificial Intelligence techniques for virtually unwrapping and automatically detecting ink on the Herculaneum papyri collection. This collection consists of carbonized scrolls and fragments of documents, which have been digitized via X-ray tomography to allow the development of ad-hoc deep learning-based DDR solutions. In this work, we propose a modification of the Fast Fourier Convolution operator for volumetric data and apply it in a segmentation architecture for ink detection on the challenging Herculaneum papyri, demonstrating its suitability via deep experimental analysis. To encourage the research on this task and the application of the proposed operator to other tasks involving volumetric data, we will release our implementation (https://github.com/aimagelab/vffc)
BibTeX
@inproceedings{quattrini2023volumetric,
  author = {Fabio Quattrini and Vittorio Pippi and Silvia Cascianelli and Rita Cucchiara},
  title = {{Volumetric Fast Fourier Convolution for Detecting Ink on the Carbonized Herculaneum Papyri}},
  booktitle = {Workshops @ ICCV},
  year = {2023},
}
Figure