HyperAIHyperAI

Command Palette

Search for a command to run...

3 months ago

Pay Attention to What You Read: Non-recurrent Handwritten Text-Line Recognition

Lei Kang Pau Riba Marçal Rusiñol Alicia Fornés Mauricio Villegas

Pay Attention to What You Read: Non-recurrent Handwritten Text-Line Recognition

Abstract

The advent of recurrent neural networks for handwriting recognition marked an important milestone reaching impressive recognition accuracies despite the great variability that we observe across different writing styles. Sequential architectures are a perfect fit to model text lines, not only because of the inherent temporal aspect of text, but also to learn probability distributions over sequences of characters and words. However, using such recurrent paradigms comes at a cost at training stage, since their sequential pipelines prevent parallelization. In this work, we introduce a non-recurrent approach to recognize handwritten text by the use of transformer models. We propose a novel method that bypasses any recurrence. By using multi-head self-attention layers both at the visual and textual stages, we are able to tackle character recognition as well as to learn language-related dependencies of the character sequences to be decoded. Our model is unconstrained to any predefined vocabulary, being able to recognize out-of-vocabulary words, i.e. words that do not appear in the training vocabulary. We significantly advance over prior art and demonstrate that satisfactory recognition accuracies are yielded even in few-shot learning scenarios.

Benchmarks

BenchmarkMethodologyMetrics
handwritten-text-recognition-on-iamTransformer w/ CNN
CER: 7.62
handwritten-text-recognition-on-iamTransformer w/ CNN (+synth)
CER: 4.67

Build AI with AI

From idea to launch — accelerate your AI development with free AI co-coding, out-of-the-box environment and best price of GPUs.

AI Co-coding
Ready-to-use GPUs
Best Pricing
Get Started

Hyper Newsletters

Subscribe to our latest updates
We will deliver the latest updates of the week to your inbox at nine o'clock every Monday morning
Powered by MailChimp
Pay Attention to What You Read: Non-recurrent Handwritten Text-Line Recognition | Papers | HyperAI