Reproduce “NRTR: A No-Recurrence Sequence-to-Sequence Model For Scene Text Recognition” on OpenResearch

Run Claude Code, Codex or any coding agent as a research agent: literature, hypotheses and experiments on your laptop, cluster or cloud GPUs.

Universal app for Apple silicon and Intel. Requires macOS 11 or later.

About this paper

Fenfen Sheng, Zhineng Chen, Bo Xu

NRTR introduces a sequence-to-sequence model for scene text recognition that entirely replaces recurrent and convolutional layers with self-attention. This architecture achieves state-of-the-art or competitive accuracy on various benchmarks while demonstrating an 8x faster training speed and significantly quicker inference compared to previous methods.

Key insights

  • The Transformer's self-attention mechanism can effectively model global dependencies in visual feature sequences for scene text recognition, providing superior parallelization and efficiency.
  • Completely replacing traditional recurrent and convolutional components with attention leads to substantial improvements in training speed and overall computational efficiency without compromising recognition accuracy.
  • A specialized modality-transform block is critical for bridging the gap between 2D image inputs and the 1D sequence requirements of Transformer-like encoders while preserving crucial visual information.

Summary by alphaXiv.

Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.