HyperAIHyperAI

Command Palette

Search for a command to run...

3 months ago

Scene Text Recognition with Permuted Autoregressive Sequence Models

Darwin Bautista Rowel Atienza

Scene Text Recognition with Permuted Autoregressive Sequence Models

Abstract

Context-aware STR methods typically use internal autoregressive (AR) language models (LM). Inherent limitations of AR models motivated two-stage methods which employ an external LM. The conditional independence of the external LM on the input image may cause it to erroneously rectify correct predictions, leading to significant inefficiencies. Our method, PARSeq, learns an ensemble of internal AR LMs with shared weights using Permutation Language Modeling. It unifies context-free non-AR and context-aware AR inference, and iterative refinement using bidirectional context. Using synthetic training data, PARSeq achieves state-of-the-art (SOTA) results in STR benchmarks (91.9% accuracy) and more challenging datasets. It establishes new SOTA results (96.0% accuracy) when trained on real data. PARSeq is optimal on accuracy vs parameter count, FLOPS, and latency because of its simple, unified structure and parallel token processing. Due to its extensive use of attention, it is robust on arbitrarily-oriented text which is common in real-world images. Code, pretrained weights, and data are available at: https://github.com/baudm/parseq.

Code Repositories

baudm/parseq
Official
pytorch
Mentioned in GitHub

Benchmarks

BenchmarkMethodologyMetrics
scene-text-recognition-on-coco-textPARSeq
1:1 Accuracy: 79.8±0.1
scene-text-recognition-on-cute80PARSeq
Accuracy: 98.3±0.6
scene-text-recognition-on-ic19-artPARSeq
Accuracy (%): 84.5±0.1
scene-text-recognition-on-icdar2013PARSeq
Accuracy: 98.4±0.2
scene-text-recognition-on-icdar2015PARSeq
Accuracy: 89.6±0.3
scene-text-recognition-on-iiit5kPARSeq
Accuracy: 99.1±0.1
scene-text-recognition-on-svtPARSeq
Accuracy: 97.9±0.2
scene-text-recognition-on-svtpPARSeq
Accuracy: 95.7±0.9

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
Scene Text Recognition with Permuted Autoregressive Sequence Models | Papers | HyperAI