Meta-DAN: towards an efficient prediction strategy for page-level handwritten text recognition

Denis Coquenet
4/4/2025
cs.CV

No official code found. Best implementation: FactoDeepLearning/META-DAN (12 stars, last commit 2025-04-07).

Abstract

Recent advances in text recognition led to a paradigm shift for page-level recognition, from multi-step segmentation-based approaches to end-to-end attention-based ones. However, the naïve character-level autoregressive decoding process results in long prediction times: it requires several seconds to process a single page image on a modern GPU. We propose the Meta Document Attention Network (Meta-DAN) as a novel decoding strategy to reduce the prediction time while enabling a better context modeling. It relies on two main components: windowed queries, to process several transformer queries altogether, enlarging the context modeling with near future; and multi-token predictions, whose goal is to predict several tokens per query instead of only the next one. We evaluate the proposed approach on 10 full-page handwritten datasets and demonstrate state-of-the-art results on average in terms of character error rate. Source code and weights of trained models are available at https://github.com/FactoDeepLearning/meta_dan.

View on arXivView PDF

Code Implementations(1)

121Mar 12, 20251 years ago

Similar Papers

Cite this paper

@article{coquenet2025metadan,
  title  = {Meta-DAN: towards an efficient prediction strategy for page-level handwritten text recognition},
  author = {Denis Coquenet},
  year   = {2025},
  eprint = {2504.03349},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2504.03349v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2504.03349.svg)](https://codeofpaper.com/paper/2504.03349)

Discussion