English

Visual Semantics Allow for Textual Reasoning Better in Scene Text Recognition

Computer Vision and Pattern Recognition 2021-12-28 v1 Artificial Intelligence

Abstract

Existing Scene Text Recognition (STR) methods typically use a language model to optimize the joint probability of the 1D character sequence predicted by a visual recognition (VR) model, which ignore the 2D spatial context of visual semantics within and between character instances, making them not generalize well to arbitrary shape scene text. To address this issue, we make the first attempt to perform textual reasoning based on visual semantics in this paper. Technically, given the character segmentation maps predicted by a VR model, we construct a subgraph for each instance, where nodes represent the pixels in it and edges are added between nodes based on their spatial similarity. Then, these subgraphs are sequentially connected by their root nodes and merged into a complete graph. Based on this graph, we devise a graph convolutional network for textual reasoning (GTR) by supervising it with a cross-entropy loss. GTR can be easily plugged in representative STR models to improve their performance owing to better textual reasoning. Specifically, we construct our model, namely S-GTR, by paralleling GTR to the language model in a segmentation-based STR baseline, which can effectively exploit the visual-linguistic complementarity via mutual learning. S-GTR sets new state-of-the-art on six challenging STR benchmarks and generalizes well to multi-linguistic datasets. Code is available at https://github.com/adeline-cs/GTR.

Keywords

Cite

@article{arxiv.2112.12916,
  title  = {Visual Semantics Allow for Textual Reasoning Better in Scene Text Recognition},
  author = {Yue He and Chen Chen and Jing Zhang and Juhua Liu and Fengxiang He and Chaoyue Wang and Bo Du},
  journal= {arXiv preprint arXiv:2112.12916},
  year   = {2021}
}

Comments

Accepted by AAAI-22

R2 v1 2026-06-24T08:30:36.912Z