Papers › Scene Text Recognition with Permuted Autoregressive Sequence Models

Scene Text Recognition with Permuted Autoregressive Sequence Models

14 Jul 2022arXiv:2207.06966archive 2025-07-28

Darwin Bautista, Rowel Atienza

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.

PaperPDFCodeCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2207.06966")

Code

Syntology Ran 5 of 8 code samples harvested from 1 repository linked to this paper; 3 have no recorded run. Of those that ran: 5 ran with no contract checked.

By repository: official repository: 8 samples from 1 repository, 5 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

baudm/parseq officialmentioned in papermentioned on GitHubpytorch report
topdu/openocr pytorchApache-2.0 report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

8 samples harvested; 5 ran; 0 honoured the contract we drafted; 3 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

5ran
3unverified

Licence: 0 of the 8 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from baudm/parseq. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

Decoder baudm/parseq/strhub/models/parseq/model.py official repository ran Apache-2.0 (permissive) · 14420f1c54acc73a · report
DecoderLayer baudm/parseq/strhub/models/parseq/model.py official repository ran Apache-2.0 (permissive) · e75df7801ed60b29 · report
Encoder baudm/parseq/strhub/models/parseq/model.py official repository ran Apache-2.0 (permissive) · d2bf9894d7816ca4 · report
TokenEmbedding baudm/parseq/strhub/models/parseq/model.py official repository ran Apache-2.0 (permissive) · 7d1582338e324271 · report
Tokenizer baudm/parseq/strhub/models/parseq/model.py official repository ran Apache-2.0 (permissive) · 7daac2bdca87bc4f · report
BaseTokenizer baudm/parseq/strhub/models/parseq/model.py official repository unverified Apache-2.0 (permissive) · ce00de4b6e009b3e · report
PARSeq baudm/parseq/strhub/models/parseq/model.py official repository unverified Apache-2.0 (permissive) · e612549a1621ae51 · report
init_weights baudm/parseq/strhub/models/parseq/model.py official repository unverified Apache-2.0 (permissive) · 56c14b92b1a1aad9 · report

Tasks

Language ModelingLanguage ModellingScene Text Recognition

Results from the paper archive 2025-07-28

TaskDatasetModelMetricValueRank at snapshotLeaderboardReport
Scene Text Recognition COCO-Text PARSeq 1:1 Accuracy 79.8±0.1 #4 of 4 Archive leaderboard report
Scene Text Recognition CUTE80 PARSeq Accuracy 98.3±0.6 #8 of 18 Archive leaderboard report
Scene Text Recognition IC19-Art PARSeq Accuracy (%) 84.5±0.1 #5 of 5 Archive leaderboard report
Scene Text Recognition ICDAR2013 PARSeq Accuracy 98.4±0.2 #6 of 38 Archive leaderboard report
Scene Text Recognition ICDAR2015 PARSeq Accuracy 89.6±0.3 #8 of 27 Archive leaderboard report
Scene Text Recognition IIIT5k PARSeq Accuracy 99.1±0.1 #7 of 17 Archive leaderboard report
Scene Text Recognition SVT PARSeq Accuracy 97.9±0.2 #9 of 37 Archive leaderboard report
Scene Text Recognition SVTP PARSeq Accuracy 95.7±0.9 #9 of 17 Archive leaderboard report

Ranks are positions in the archive's leaderboards as they stood at the 2025-07-28 snapshot. Results published since then are not among these rows, so a rank here is not a current standing.

Methods

AttentionDense ConnectionsLayer NormalizationLinear LayerMulti-Head AttentionResidual ConnectionSoftmaxVision Transformer

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections