Sequence-to-Sequence Contrastive Learning for Text Recognition
Aviad Aberdam, Ron Litman, Shahar Tsiper, Oron Anschel, Ron Slossberg, Shai Mazor, R. Manmatha, Pietro Perona
Abstract
We propose a framework for sequence-to-sequence contrastive learning (SeqCLR) of visual representations, which we apply to text recognition. To account for the sequenceto-sequence structure, each feature map is divided into different instances over which the contrastive loss is computed. This operation enables us to contrast in a sub-word level, where from each image we extract several positive pairs and multiple negative examples. To yield effective visual representations for text recognition, we further suggest novel augmentation heuristics, different encoder architectures and custom projection heads. Experiments on handwritten text and on scene text show that when a text decoder is trained on the learned representations, our method outperforms non-sequential contrastive methods. In addition, when the amount of supervision is reduced, SeqCLR significantly improves performance compared with supervised training, and when fine-tuned with 100% of the labels, our method achieves state-of-the-art results on standard handwritten text recognition benchmarks.
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
30 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- Context-Based Contrastive Learning for Scene Text Recognition cites A Simple Framework for Contrastive Learning of Visual Representations
- Revisiting Scene Text Recognition: A Data Perspective cites A Simple Framework for Contrastive Learning of Visual Representations
- Revisiting Scene Text Recognition: A Data Perspective cites Reading and Writing: Discriminative and Generative Modeling for Self-Supervised Text Recognition
- Unsupervised Learning of Visual Features by Contrasting Cluster Assignments cites Data-Efficient Image Recognition with Contrastive Predictive Coding
- Unsupervised Learning of Visual Features by Contrasting Cluster Assignments cites A Simple Framework for Contrastive Learning of Visual Representations
- A Simple Framework for Contrastive Learning of Visual Representations cites Data-Efficient Image Recognition with Contrastive Predictive Coding
- Big Self-Supervised Models are Strong Semi-Supervised Learners cites Data-Efficient Image Recognition with Contrastive Predictive Coding
- Big Self-Supervised Models are Strong Semi-Supervised Learners cites A Simple Framework for Contrastive Learning of Visual Representations
- Reading and Writing: Discriminative and Generative Modeling for Self-Supervised Text Recognition cites A Simple Framework for Contrastive Learning of Visual Representations
- Reading and Writing: Discriminative and Generative Modeling for Self-Supervised Text Recognition cites Big Self-Supervised Models are Strong Semi-Supervised Learners
- wav2vec 2.0: A Framework for Self-Supervised Learning of Speech Representations cites Data-Efficient Image Recognition with Contrastive Predictive Coding
- wav2vec 2.0: A Framework for Self-Supervised Learning of Speech Representations cites A Simple Framework for Contrastive Learning of Visual Representations
Cited by top-tier papers30
- Neighbor Contrastive Learning on Learnable Graph AugmentationXiao Shen, Dewang Sun, Shirui Pan, Xi Zhou et al.AAAI 2023 · 144 citations
- LaTr: Layout-Aware Transformer for Scene-Text VQAAli Furkan Biten, Ron Litman, Yusheng Xie, Srikar Appalaraju et al.CVPR 2022 · 82 citations
- Context-Based Contrastive Learning for Scene Text RecognitionXinyun Zhang, Binwu Zhu, Xufeng Yao, Qi Sun et al.AAAI 2022 · 70 citations
- Revisiting Scene Text Recognition: A Data PerspectiveQing Jiang, Jiapeng Wang, Dezhi Peng, Chongyu Liu et al.ICCV 2023 · 70 citations
- Reading and Writing: Discriminative and Generative Modeling for Self-Supervised Text RecognitionMingkun Yang, Minghui Liao, Pu Lu, Jing Wang et al.ACM MM 2022 · 69 citations
Builds on13
- A Simple Framework for Contrastive Learning of Visual RepresentationsTing Chen, Simon Kornblith, Mohammad Norouzi, Geoffrey E. HintonICML 2020 · 24,064 citations
- wav2vec 2.0: A Framework for Self-Supervised Learning of Speech RepresentationsAlexei Baevski, Yuhao Zhou, Abdelrahman Mohamed, Michael AuliNeurIPS 2020 · 9,451 citations
- Unsupervised Learning of Visual Features by Contrasting Cluster AssignmentsMathilde Caron, Ishan Misra, Julien Mairal, Priya Goyal et al.NeurIPS 2020 · 5,249 citations
- Big Self-Supervised Models are Strong Semi-Supervised LearnersTing Chen, Simon Kornblith, Kevin Swersky, Mohammad Norouzi et al.NeurIPS 2020 · 2,611 citations
- Data-Efficient Image Recognition with Contrastive Predictive CodingOlivier J. HénaffICML 2020 · 1,553 citations
Related papers
- Free Lunch: Frame-level Contrastive Learning with Text Perceiver for Robust Scene Text Recognition in Lightweight ModelsHongjian Zhan, Yangfu Li, Yu-Jie Xiong, Umapada Pal et al.ACM MM 2024 · 1 citation
- Relational Contrastive Learning for Scene Text RecognitionJinglei Zhang, Tiancheng Lin, Yi Xu, Kai Chen et al.ACM MM 2023 · 14 citations
- SupCL-Seq: Supervised Contrastive Learning for Downstream Optimized Sequence RepresentationsHooman Sedghamiz, Shivam Raval, Enrico Santus, Tuka Alhanai et al.EMNLP Findings 2021 · 19 citations
- Perceiving Stroke-Semantic Context: Hierarchical Contrastive Learning for Robust Scene Text RecognitionHao Liu, Bin Wang, Zhimin Bao, Mobai Xue et al.AAAI 2022 · 49 citations
- Incorporating Hierarchy into Text Encoder: a Contrastive Learning Approach for Hierarchical Text ClassificationZihan Wang, Peiyi Wang, Lianzhe Huang, Xin Sun et al.ACL 2022 · 157 citations
