[Paper Review] Bidirectional Scene Text Recognition with a Single Decoder
This paper proposes Bi-STET, a single-decoder transformer-based architecture for bidirectional scene text recognition that conditions decoding direction via an input-level direction embedding, achieving state-of-the-art performance with 50% fewer training iterations and reduced model parameters compared to dual-decoder approaches.
Scene Text Recognition (STR) is the problem of recognizing the correct word or character sequence in a cropped word image. To obtain more robust output sequences, the notion of bidirectional STR has been introduced. So far, bidirectional STRs have been implemented by using two separate decoders; one for left-to-right decoding and one for right-to-left. Having two separate decoders for almost the same task with the same output space is undesirable from a computational and optimization point of view. We introduce the bidirectional Scene Text Transformer (Bi-STET), a novel bidirectional STR method with a single decoder for bidirectional text decoding. With its single decoder, Bi-STET outperforms methods that apply bidirectional decoding by using two separate decoders while also being more efficient than those methods, Furthermore, we achieve or beat state-of-the-art (SOTA) methods on all STR benchmarks with Bi-STET. Finally, we provide analyses and insights into the performance of Bi-STET.
Motivation & Objective
- To address the inefficiency and redundancy of existing bidirectional scene text recognition (STR) methods that use two separate decoders for left-to-right and right-to-left decoding.
- To explore a more efficient and unified architecture for bidirectional STR by implementing task conditioning at the input level rather than at the architecture or algorithmic level.
- To improve model efficiency and parameter sharing while maintaining or exceeding state-of-the-art performance on standard STR benchmarks.
- To investigate whether a single transformer decoder can effectively learn and exploit bidirectional decoding without specialized attention heads per direction.
Proposed method
- Introduces a single-decoder transformer architecture (Bi-STET) that uses a direction embedding added to the input sequence to condition decoding direction (left-to-right or right-to-left).
- Leverages the self-attention mechanism of the transformer to process sequences without recurrence, enabling global context modeling and eliminating inductive bias toward a specific decoding order.
- Conditions the model on decoding direction by injecting a learnable direction token (e.g., 'L2R' or 'R2L') into the input embedding, allowing one decoder to serve both directions.
- Shares all model parameters—including attention heads—between decoding directions, promoting parameter efficiency and multi-task learning.
- Employs a standard transformer encoder-decoder setup with cross-attention for alignment between image features and predicted characters.
- Trains the unified model end-to-end on both decoding directions simultaneously, optimizing for joint performance.
Experimental results
Research questions
- RQ1Can bidirectional scene text recognition be effectively achieved with a single shared decoder instead of two separate decoders?
- RQ2Does input-level task conditioning (via direction embeddings) enable a single transformer decoder to outperform dual-decoder architectures in accuracy and efficiency?
- RQ3To what extent does the single-decoder approach generalize to curved, rotated, and perspective-distorted text?
- RQ4Are attention heads in the transformer model specialized for one decoding direction, or do they learn shared representations across both directions?
- RQ5How does the model perform on long sequence recognition compared to RNN-based and dual-decoder transformer baselines?
Key findings
- Bi-STET outperforms or matches state-of-the-art STR methods on all standard benchmarks, including IIIT-5K, ICDAR2013, and CUTE80.
- The model achieves state-of-the-art performance with 50% fewer training iterations and significantly fewer model parameters than dual-decoder approaches.
- Bi-STET demonstrates robustness to curved and perspective-distorted text, correctly recognizing words like 'ballys' and 'chathamkent' even under strong distortions.
- The model maintains high accuracy on longer sequences (up to 17 characters), outperforming prior dual-decoder methods on sequences longer than 11 characters.
- Attention heads are not specialized for a single decoding direction; instead, they are shared and utilized effectively across both left-to-right and right-to-left decoding.
- The method generalizes well to challenging text variations, including rotated and skewed words, without requiring explicit rectification modules.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.