Meta-DAN: Towards an efficient prediction strategy for page-level handwritten text recognition
Abstract
• We propose a novel autoregressive decoding strategy for end-to-end text recognition • We achieve state-of-the-art results on 8 full-page handwriting recognition datasets • The proposed strategy enables speeding up decoding while improving context modeling • We propose a confidence-based approach offering a speed/performance trade-off 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 better context modeling. It relies on two main components: windowed queries, to process several transformer queries altogether, enlarging the context modeling with the 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 .
Fields of Study & Subjects
Handwritten Text Recognition Techniques
Topic Modeling
Advanced Neural Network Applications
Publication details
- Journal / source
- Pattern Recognition
- Publisher
- Elsevier BV
- Volume
- 177
- Pages
- 113373–113373
- Publication date
- 25 February 2026
- Language
- EN