Our new X account is live! Follow @wizwand_team for updates
WorkDL logo mark

Symmetrical Linguistic Feature Distillation with CLIP for Scene Text Recognition

About

In this paper, we explore the potential of the Contrastive Language-Image Pretraining (CLIP) model in scene text recognition (STR), and establish a novel Symmetrical Linguistic Feature Distillation framework (named CLIP-OCR) to leverage both visual and linguistic knowledge in CLIP. Different from previous CLIP-based methods mainly considering feature generalization on visual encoding, we propose a symmetrical distillation strategy (SDS) that further captures the linguistic knowledge in the CLIP text encoder. By cascading the CLIP image encoder with the reversed CLIP text encoder, a symmetrical structure is built with an image-to-text feature flow that covers not only visual but also linguistic information for distillation.Benefiting from the natural alignment in CLIP, such guidance flow provides a progressive optimization objective from vision to language, which can supervise the STR feature forwarding process layer-by-layer.Besides, a new Linguistic Consistency Loss (LCL) is proposed to enhance the linguistic capability by considering second-order statistics during the optimization. Overall, CLIP-OCR is the first to design a smooth transition between image and text for the STR task.Extensive experiments demonstrate the effectiveness of CLIP-OCR with 93.8% average accuracy on six popular STR benchmarks.Code will be available at https://github.com/wzx99/CLIPOCR.

Zixiao Wang, Hongtao Xie, Yuxin Wang, Jianjun Xu, Boqiang Zhang, Yongdong Zhang• 2023

Related benchmarks

TaskDatasetResultRank
Scene Text Recognition6 common benchmarks (test)
Word Accuracy (IIIT)98.8
57
Scene Text RecognitionUnion14M Benchmark
Curve Accuracy84.6
42
Scene Text RecognitionUber-Text (test)
Word Accuracy42.4
35
Scene Text RecognitionCOCO-text (test)
Accuracy66.5
33
Scene Text RecognitionWordArt
Accuracy83.5
24
Scene Text RecognitionCOCO
Accuracy78.3
24
Scene Text RecognitionArT
Accuracy82.7
24
Scene Text RecognitionUBER
Accuracy86.3
24
Scene Text RecognitionArT (test)
Word Accuracy70.5
19
Showing 9 of 9 rows

Other info

Follow for update