[Paper Review] OrigamiNet: Weakly-Supervised, Segmentation-Free, One-Step, Full Page Text Recognition by learning to unfold
OrigamiNet introduces a novel, weakly-supervised, segmentation-free, one-step neural network module that enables any fully convolutional single-line text recognizer to perform full-page text recognition by learning to implicitly unfold 2D text layouts into 1D sequences. It achieves state-of-the-art character error rates on IAM and ICDAR 2017 benchmarks using only unsegmented image-text pairs and a single forward pass.
Text recognition is a major computer vision task with a big set of associated challenges. One of those traditional challenges is the coupled nature of text recognition and segmentation. This problem has been progressively solved over the past decades, going from segmentation based recognition to segmentation free approaches, which proved more accurate and much cheaper to annotate data for. We take a step from segmentation-free single line recognition towards segmentation-free multi-line / full page recognition. We propose a novel and simple neural network module, termed extbf{OrigamiNet}, that can augment any CTC-trained, fully convolutional single line text recognizer, to convert it into a multi-line version by providing the model with enough spatial capacity to be able to properly collapse a 2D input signal into 1D without losing information. Such modified networks can be trained using exactly their same simple original procedure, and using only extbf{unsegmented} image and text pairs. We carry out a set of interpretability experiments that show that our trained models learn an accurate implicit line segmentation. We achieve state-of-the-art character error rate on both IAM \& ICDAR 2017 HTR benchmarks for handwriting recognition, surpassing all other methods in the literature. On IAM we even surpass single line methods that use accurate localization information during training. Our code is available online at \url{https://github.com/IntuitionMachines/OrigamiNet}.
Motivation & Objective
- To eliminate the need for explicit text-line segmentation in full-page handwritten text recognition.
- To enable end-to-end training of multi-line text recognizers using only unsegmented image-text pairs.
- To develop a simple, plug-and-play module that converts any single-line CTC-based recognizer into a full-page recognizer.
- To demonstrate that models can implicitly learn accurate line segmentation without any localization supervision.
- To achieve state-of-the-art performance on full-page handwriting recognition benchmarks without requiring line-level annotations or complex training recipes.
Proposed method
- The method introduces OrigamiNet, a neural network sub-module that applies a spatial bottleneck followed by up-sampling to transform 2D input features into a 1D sequence representation.
- It leverages the CTC loss function, which inherently encourages a linear 1D alignment, to guide the model in learning to collapse 2D spatial arrangements into a 1D sequence of characters.
- The module is added to existing fully convolutional single-line text recognizers, enabling them to process full-page images in a single forward pass.
- The model is trained using only unsegmented image and text pairs, with no need for ground-truth line boundaries or word-level annotations.
- The method relies solely on feed-forward connections, avoiding recurrent layers and enabling efficient, one-step inference.
- Interpretability is assessed via gradient-based attribution maps, which visualize how each character's output is linked to spatial regions in the input image.
Experimental results
Research questions
- RQ1Can a neural network learn to implicitly segment multi-line text layouts into individual lines without any supervision on line boundaries?
- RQ2Can a single, unified network forward pass achieve full-page text recognition with performance surpassing methods that use explicit line segmentation?
- RQ3Does a CTC-based architecture augmented with a spatial unfolding module maintain or improve accuracy when trained on weakly-supervised, unsegmented data?
- RQ4Can the model generalize to challenging document layouts such as warped, touching, or rotated text lines without fine-tuning?
- RQ5Is the implicit line segmentation learned by the model interpretable and spatially accurate, even without supervision?
Key findings
- OrigamiNet achieves a state-of-the-art character error rate (CER) of 5.5% on the IAM dataset using 750×750 input resolution, outperforming prior methods that use line-level annotations.
- On the ICDAR 2017 HTR benchmark, the GTR-12 OrigamiNet model achieves a CER of 4.7%, surpassing all previous methods, including those using full line-break annotations.
- The model achieves a CER of 5.6% on IAM with 500×500 input, demonstrating strong performance even at lower resolution.
- Interpretability experiments show that gradient attribution maps clearly localize characters to their respective lines, indicating that the model learns accurate implicit line segmentation.
- The model generalizes well to synthetic distortions such as touching lines and warped text, maintaining robust performance without fine-tuning.
- The method achieves comparable performance when trained on horizontally flipped images and transcriptions, confirming that the model learns reading order from data rather than relying on spatial bias.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.