A Benchmark of State-Space Models vs. Transformers and BiLSTM-based Models for Historical Newspaper OCR
On the map: State-space sequence models (S4, Mamba) → Core SSM architectures for language
Abstract (arXiv)
End-to-end OCR for historical newspapers remains challenging, as models must handle long text sequences, degraded print quality, and complex layouts. While Transformer-based recognizers dominate current research, their quadratic complexity limits efficient paragraph-level transcription and large-scale deployment. We investigate linear-time State-Space Models (SSMs), specifically Mamba, as a scalable alternative to Transformer-based sequence modeling for OCR. We present to our knowledge, the first OCR architecture based on SSMs, combining a CNN visual encoder with bi-directional and autoregressive Mamba sequence modeling, and conduct a large-scale benchmark comparing SSMs with Transformer- and BiLSTM-based recognizers. Multiple decoding strategies (CTC, autoregressive, and non-autoregressive) are evaluated under identical training conditions alongside strong neural baselines (VAN, DAN, DANIEL) and widely used off-the-shelf OCR engines (PERO-OCR, Tesseract OCR, TrOCR, Gemini). Experiments on historical newspapers from the Bibliotheque nationale du Luxembourg, with newly released >99% verified gold-standard annotations, and cross-dataset tests on Fraktur and Antiqua lines, show that all neural models achieve low error rates (~2% CER), making computational efficiency the main differentiator. Mamba-based models maintain competitive accuracy while halving inference time and exhibiting superior memory scaling (1.26x vs 2.30x growth at 1000 chars), reaching 6.07% CER at the severely degraded paragraph level compared to 5.24% for DAN, while remaining 2.05x faster. We release code, trained models, and standardized evaluation protocols to enable reproducible research and guide practitioners in large-scale cultural heritage OCR available at https://github.com/MarcoPerson/ssm-ocr-benchmark.
Key facts. Cited by 1 paper in the map (data through 7 Oct 2026). Placed in Core SSM architectures for language, one of 10 directions in State-space sequence models (S4, Mamba). Builds on 21 of its 37 references that are in the map. First posted on arXiv 1 Apr 2026.
Builds on
21 of 37 references.
Closest ancestors · 2
Same direction, newest first
- 2023Mamba: Linear-Time Sequence Modeling with Selective State Spaces1 Dec
- 2021Efficiently Modeling Long Sequences with Structured State Spaces31 Oct
Other references · 19
- 2019BART: Denoising Sequence-to-Sequence Pre-training for Natural Language Generation, Translation, and Comprehensioncited by 5,874
- 2024Vision Mamba: Efficient Visual Representation Learning with Bidirectional State Space Modelcited by 1,051
- 2024VMamba: Visual State Space Modelcited by 955
- 2015An End-to-End Trainable Neural Network for Image-based Sequence Recognition and Its Application to Scene Text Recognitioncited by 519
- 2021OCR-free Document Understanding Transformercited by 400
- 2021TrOCR: Transformer-based Optical Character Recognition with Pre-trained Modelscited by 278
- 2022Scene Text Recognition with Permuted Autoregressive Sequence Modelscited by 148
- 2018Show, Attend and Read: A Simple and Strong Baseline for Irregular Text Recognitioncited by 130
- 2019Decoupled Attention Network for Text Recognitioncited by 102
- 2024VL-Mamba: Exploring State Space Models for Multimodal Learningcited by 93
- 2022DAN: a Segmentation-free Document Attention Network for Handwritten Document Recognitioncited by 62
- 2020End-to-end Handwritten Paragraph Text Recognition Using a Vertical Attention Networkcited by 50
7 more
- 2016Scan, Attend and Read: End-to-End Handwritten Paragraph Recognition with MDLSTM Attentioncited by 45
- 2021SPAN: a Simple Predict & Align Network for Handwritten Paragraph Recognitioncited by 19
- 2017READ-BAD: A New Dataset and Evaluation Scheme for Baseline Detection in Archival Documentscited by 17
- 2024DANIEL: A fast Document Attention Network for Information Extraction and Labelling of handwritten documentscited by 9
- 2016OCR of historical printings with an application to building diachronic corpora: A case study using the RIDGES herbal corpuscited by 6
- 2024DocMamba: Efficient Document Pre-training with State Space Modelcited by 3
- 2025TextMamba: Scene Text Detector with Mambacited by 2
Built on by
Citing papers per year: 2026: 1.
1 paper.
Similar, not cited
Close in wording, no citation either way
- 2026A Free Lunch? Adapting PP-OCRv6 for Historical Text Recognition
- 2026A Survey of OCR Evaluation Methods and Metrics and the Invisibility of Historical Documents
- 2026PP-OCRv5: A Specialized 5M-Parameter Model Rivaling Billion-Parameter Vision-Language Models on OCR Tasks
- 2026Error Patterns in Historical OCR: A Comparative Analysis of TrOCR and a Vision-Language Model
- 2025Multimodal LLMs for OCR, OCR Post-Correction, and Named Entity Recognition in Historical Documents
- 2026DharmaOCR: Specialized Small Language Models for Structured OCR that outperform Open-Source and Commercial Baselines
- 2026When Low CER is Not Enough: An Analysis of Hallucinations in Vision-Language OCR Systems on Historical Uruguayan Documents
- 2026OmniHandwritingOCR: A Diagnostic Benchmark for Evaluating Multimodal LLMs in Handwritten OCR Scenarios