Self-supervised Deep Reconstruction of Mixed Strip-shredded Text Documents

Thiago M. Paixão, Rodrigo Ferreira Berriel, Maria C. S. Boeres, Alessandro L. Koerich, Claudine Badue, Alberto Ferreira de Souza, Thiago Oliveira-Santos

Introduction

Reconstructing shredded documents is a critical task in forensics and data recovery, often likened to solving a complex jigsaw puzzle. Traditional approaches typically rely on pixel-wise edge matching, which frequently fails when applied to real-world shreds due to the jagged and distorted edges left by mechanical blades. This paper introduces a deep learning-based system capable of reconstructing multiple mixed, strip-shredded documents with over 90% accuracy.

The Multi-Reconstruction Challenge

Most existing research focuses on "single-page" reconstruction, assuming the shreds belonging to a specific page are already isolated. However, real-world scenarios involve a heterogeneous mix of shreds from dozens of different documents. This study addresses the "multi-reconstruction" problem: simultaneously identifying which pieces belong together and determining their correct sequence from a large, mixed collection.

Proposed Methodology

The researchers developed a two-stage pipeline consisting of Compatibility Evaluation and Optimization Search.

Overview of the training and reconstruction pipelines.

Self-Supervised Learning and Simulated Shredding

To overcome the lack of labeled data, the system uses a self-supervised approach. Digital documents are used to simulate the shredding process. By "cutting" digital pages and adding random noise to the edges to mimic mechanical damage, the authors generated millions of "positive" (adjacent) and "negative" (non-adjacent) samples.

Simulated shredding process for self-supervised training.

Model Architecture and Inference

The core of the system is a SqueezeNet model, a lightweight fully convolutional neural network (FCNN). It processes 32x32 pixel patches from the boundaries of two shreds to output the probability of them being neighbors. To account for vertical misalignment during scanning, the system employs a sliding window search across 21 different vertical offsets.

Global Optimization

Pairwise compatibility scores are aggregated into a matrix. The reconstruction is then framed as a Minimum-cost Hamiltonian Path Problem (MCHPP). The Concorde TSP solver is utilized to find the global permutation of shreds that maximizes total compatibility across the entire document set.

Experimental Evaluation

The system was evaluated on three primary datasets featuring real mechanical shredding at 300 dpi:

  • S-MARQUES: 60 uniform Portuguese documents.
  • S-ISRI-OCR: 20 business letters and legal reports.
  • S-CDIP: A new, challenging benchmark of 100 heterogeneous documents, including handwritten notes, emails, and forms.

Results and Discussion

The proposed method achieved over 90% accuracy across all datasets, even when processing over 2,200 shreds from 100 mixed documents. Key findings include:

  • Locality Assumption: 32x32 pixel patches are sufficient to capture essential local features like character strokes, allowing the model to generalize across languages and fonts.
  • Simulation Generalization: Training entirely on simulated shreds proved effective for real-world mechanical shreds, bypassing the need for manual annotation.
  • Robustness: Unlike OCR-based methods, this "segmentation-free" approach is robust to handwritten content and non-textual elements.

Conclusion

While highly effective, the system faces challenges with documents containing heavy grid patterns or large blank areas. Future work will focus on even more complex scenarios, such as missing shreds, rotated pieces, and damaged paper. Nonetheless, this self-supervised approach represents a significant advancement in automated forensic document reconstruction.

Summary updated

BibTeX
@article{paixao2020self,
  author = {Thiago M. Paixão and Rodrigo Ferreira Berriel and Maria C. S. Boeres and Alessandro L. Koerich and Claudine Badue and Alberto Ferreira de Souza and Thiago Oliveira-Santos},
  title = {{Self-supervised Deep Reconstruction of Mixed Strip-shredded Text Documents}},
  journal = {Pattern Recognition},
  year = {2020},
  doi = {10.1016/j.patcog.2020.107535},
}
Figure