{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,11,25]],"date-time":"2026-11-25T18:33:16Z","timestamp":1795631596495,"version":"4.11.3"},"reference-count":55,"publisher":"MDPI AG","issue":"11","license":[{"start":{"date-parts":[[2023,11,15]],"date-time":"2023-11-15T00:00:00Z","timestamp":1700006400000},"content-version":"vor","delay-in-days":0,"URL":"https:\/\/creativecommons.org\/licenses\/by\/4.0\/"}],"funder":[{"name":"JSPS Kakenhi","award":["22H00540"],"award-info":[{"award-number":["22H00540"]}]},{"name":"JSPS Kakenhi","award":["RUPP-OMU\/HEIP"],"award-info":[{"award-number":["RUPP-OMU\/HEIP"]}]}],"content-domain":{"domain":[],"crossmark-restriction":false},"short-container-title":["J. Imaging"],"abstract":"<jats:p>Connectionist temporal classification (CTC) is a favored decoder in scene text recognition (STR) for its simplicity and efficiency. However, most CTC-based methods utilize one-dimensional (1D) vector sequences, usually derived from a recurrent neural network (RNN) encoder. This results in the absence of explainable 2D spatial relationship between the predicted characters and corresponding image regions, essential for model explainability. On the other hand, 2D attention-based methods enhance recognition accuracy and offer character location information via cross-attention mechanisms, linking predictions to image regions. However, these methods are more computationally intensive, compared with the 1D CTC-based methods. To achieve both low latency and model explainability via character localization using a 1D CTC decoder, we propose a marginalization-based method that processes 2D feature maps and predicts a sequence of 2D joint probability distributions over the height and class dimensions. Based on the proposed method, we newly introduce an association map that aids in character localization and model prediction explanation. This map parallels the role of a cross-attention map, as seen in computationally-intensive attention-based architectures. With the proposed method, we consider a ViT-CTC STR architecture that uses a 1D CTC decoder and a pretrained vision Transformer (ViT) as a 2D feature extractor. Our ViT-CTC models were trained on synthetic data and fine-tuned on real labeled sets. These models outperform the recent state-of-the-art (SOTA) CTC-based methods on benchmarks in terms of recognition accuracy. Compared with the baseline Transformer-decoder-based models, our ViT-CTC models offer a speed boost up to 12 times regardless of the backbone, with a maximum 3.1% reduction in total word recognition accuracy. In addition, both qualitative and quantitative assessments of character locations estimated from the association map align closely with those from the cross-attention map and ground-truth character-level bounding boxes.<\/jats:p>","DOI":"10.3390\/jimaging9110248","type":"journal-article","created":{"date-parts":[[2023,11,15]],"date-time":"2023-11-15T10:57:46Z","timestamp":1700045866000},"page":"248","update-policy":"https:\/\/doi.org\/10.3390\/mdpi_crossmark_policy","source":"Crossref","is-referenced-by-count":10,"title":["Explainable Connectionist-Temporal-Classification-Based Scene Text Recognition"],"prefix":"10.3390","volume":"9","author":[{"ORCID":"https:\/\/orcid.org\/0000-0002-6960-4262","authenticated-orcid":false,"given":"Rina","family":"Buoy","sequence":"first","affiliation":[{"name":"Department of Core Informatics, Graduate School of Informatics, Osaka Metropolitan University, Osaka 599-8531, Japan"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0000-0003-2508-2869","authenticated-orcid":false,"given":"Masakazu","family":"Iwamura","sequence":"additional","affiliation":[{"name":"Department of Core Informatics, Graduate School of Informatics, Osaka Metropolitan University, Osaka 599-8531, Japan"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Sovila","family":"Srun","sequence":"additional","affiliation":[{"name":"Department of Information Technology Engineering, Faculty of Engineering, Royal University of Phnom Penh, Phnom Penh 12156, Cambodia"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0000-0001-5779-6968","authenticated-orcid":false,"given":"Koichi","family":"Kise","sequence":"additional","affiliation":[{"name":"Department of Core Informatics, Graduate School of Informatics, Osaka Metropolitan University, Osaka 599-8531, Japan"}],"role":[{"vocabulary":"crossref","role":"author"}]}],"member":"1968","published-online":{"date-parts":[[2023,11,15]]},"reference":[{"key":"ref_1","unstructured":"Atienza, R. (2021). Document Analysis and Recognition\u2014ICDAR 2021: 16th International Conference, Lausanne, Switzerland, September 5\u201310, 2021, Proceedings, Part III, Springer."},{"key":"ref_2","first-page":"8714","article-title":"Scene text recognition from two-dimensional perspective","volume":"33","author":"Liao","year":"2019","journal-title":"Proc. AAAI Conf. Artif. Intell."},{"key":"ref_3","unstructured":"Diaz, D., Qin, S., Ingle, R., Fujii, Y., and Bissacco, A. (2021). Rethinking Text Line Recognition Models. arXiv."},{"key":"ref_4","first-page":"11005","article-title":"GTC: Guided Training of CTC towards efficient and accurate scene text recognition","volume":"34","author":"Hu","year":"2020","journal-title":"Proc. AAAI Conf. Artif. Intell."},{"key":"ref_5","doi-asserted-by":"crossref","unstructured":"Yang, M., Liao, M., Lu, P., Wang, J., Zhu, S., Luo, H., Tian, Q., and Bai, X. (2022, January 10\u201314). Reading and writing: Discriminative and generative modeling for self-supervised text recognition. Proceedings of the 30th ACM International Conference On Multimedia, Lisboa, Portugal.","DOI":"10.1145\/3503161.3547784"},{"key":"ref_6","doi-asserted-by":"crossref","unstructured":"Carion, N., Massa, F., Synnaeve, G., Usunier, N., Kirillov, A., and Zagoruyko, S. (2020, January 23\u201328). End-to-end object detection with transformers. Proceedings of the European Conference On Computer Vision, Glasgow, UK.","DOI":"10.1007\/978-3-030-58452-8_13"},{"key":"ref_7","unstructured":"Shen, Y., Geng, Z., Yuan, Y., Lin, Y., Liu, Z., Wang, C., Hu, H., Zheng, N., and Guo, B. (2023). V-DETR: DETR with Vertex Relative Position Encoding for 3D Object Detection. arXiv."},{"key":"ref_8","unstructured":"Xu, K., Ba, J., Kiros, R., Cho, K., Courville, A., Salakhudinov, R., Zemel, R., and Bengio, Y. (2015, January 6\u201311). Show, Attend and Tell: Neural Image Caption Generation with Visual Attention. Proceedings of the 32nd International Conference On Machine Learning, Lille, France. Available online: https:\/\/proceedings.mlr.press\/v37\/xuc15.html."},{"key":"ref_9","first-page":"8610","article-title":"Show, attend and read: A simple and strong baseline for irregular text recognition","volume":"33","author":"Li","year":"2019","journal-title":"Proc. AAAI Conf. Artif. Intell."},{"key":"ref_10","unstructured":"Vaswani, A., Shazeer, N., Parmar, N., Uszkoreit, J., Jones, L., Gomez, A., Kaiser, L., and Polosukhin, I. (2017). Advances in Neural Information Processing Systems, The MIT Press."},{"key":"ref_11","doi-asserted-by":"crossref","unstructured":"Chefer, H., Gur, S., and Wolf, L. (2021, January 19\u201325). Transformer interpretability beyond attention visualization. Proceedings of the 2021 IEEE\/CVF Conference On Computer Vision and Pattern Recognition (CVPR), Virtual.","DOI":"10.1109\/CVPR46437.2021.00084"},{"key":"ref_12","doi-asserted-by":"crossref","unstructured":"Caron, M., Touvron, H., Misra, I., Jegou, H., Mairal, J., Bojanowski, P., and Joulin, A. (2021, January 10\u201317). Emerging properties in self-supervised Vision Transformers. Proceedings of the 2021 IEEE\/CVF International Conference On Computer Vision (ICCV), Montreal, BC, Canada.","DOI":"10.1109\/ICCV48922.2021.00951"},{"key":"ref_13","doi-asserted-by":"crossref","unstructured":"Baek, Y., Shin, S., Baek, J., Park, S., Lee, J., Nam, D., and Lee, H. (2020, January 23\u201328). Character region attention for text spotting. Proceedings of the Computer Vision\u2014ECCV 2020, Glasgow, UK.","DOI":"10.1007\/978-3-030-58526-6_30"},{"key":"ref_14","doi-asserted-by":"crossref","unstructured":"Baek, J., Kim, G., Lee, J., Park, S., Han, D., Yun, S., Oh, S., and Lee, H. (November, January 27). What is wrong with scene text recognition model comparisons? Dataset and model analysis. Proceedings of the 2019 IEEE\/CVF International Conference On Computer Vision (ICCV), Seoul, Republic of Korea.","DOI":"10.1109\/ICCV.2019.00481"},{"key":"ref_15","doi-asserted-by":"crossref","first-page":"2298","DOI":"10.1109\/TPAMI.2016.2646371","article-title":"An end-to-end trainable neural network for image-based sequence recognition and its application to scene text recognition","volume":"39","author":"Shi","year":"2017","journal-title":"IEEE Trans. Pattern Anal. Mach. Intell."},{"key":"ref_16","doi-asserted-by":"crossref","unstructured":"Borisyuk, F., Gordo, A., and Sivakumar, V. (2018, January 19\u201323). Rosetta: Large scale system for text detection and recognition in images. Proceedings of the 24th ACM SIGKDD International Conference On Knowledge Discovery & Data Mining, London, UK.","DOI":"10.1145\/3219819.3219861"},{"key":"ref_17","unstructured":"Wang, J., and Hu, X. (2017). Gated Recurrent Convolution Neural Network for OCR. Advances in Neural Information Processing Systems, The MIT Press."},{"key":"ref_18","doi-asserted-by":"crossref","unstructured":"Liu, W., Chen, C., Wong, K., Su, Z., and Han, J. (2016, January 19\u201322). Star-net: A spatial attention residue network for scene text recognition. Proceedings of the British Machine Vision Conference 2016, York, UK.","DOI":"10.5244\/C.30.43"},{"key":"ref_19","unstructured":"Wan, Z., Xie, F., Liu, Y., Bai, X., and Yao, C. (2019). 2D-CTC for Scene Text Recognition. arXiv."},{"key":"ref_20","doi-asserted-by":"crossref","unstructured":"Graves, A., Fern\u00e1ndez, S., Gomez, F., and Schmidhuber, J. (2006, January 25\u201329). Connectionist Temporal Classification. Proceedings of the 23rd International Conference On Machine Learning\u2014ICML\u201906, Pittsburgh, PA, USA.","DOI":"10.1145\/1143844.1143891"},{"key":"ref_21","doi-asserted-by":"crossref","unstructured":"Gunna, S., Saluja, R., and Jawahar, C. (2021, January 5\u201310). Transfer learning for scene text recognition in Indian languages. Proceedings of the Document Analysis and Recognition\u2014ICDAR 2021 Workshops, Lausanne, Switzerland.","DOI":"10.1007\/978-3-030-86198-8_14"},{"key":"ref_22","doi-asserted-by":"crossref","unstructured":"Shi, B., Wang, X., Lyu, P., Yao, C., and Bai, X. (2016, January 27\u201330). Robust scene text recognition with automatic rectification. Proceedings of the 2016 IEEE Conference On Computer Vision and Pattern Recognition (CVPR), Las Vegas, NV, USA.","DOI":"10.1109\/CVPR.2016.452"},{"key":"ref_23","doi-asserted-by":"crossref","first-page":"2035","DOI":"10.1109\/TPAMI.2018.2848939","article-title":"Aster: An attentional scene text recognizer with flexible rectification","volume":"41","author":"Shi","year":"2019","journal-title":"IEEE Trans. Pattern Anal. Mach. Intell."},{"key":"ref_24","unstructured":"Krylov, I., Nosov, S., and Sovrasov, V. (2021, January 17\u201319). Open Images V5 Text Annotation and Yet Another Mask Text Spotter. Proceedings of the Asian Conference On Machine Learning, ACML 2021, Virtual."},{"key":"ref_25","doi-asserted-by":"crossref","unstructured":"Lee, J., Park, S., Baek, J., Oh, S., Kim, S., and Lee, H. (2020, January 14\u201319). On recognizing texts of arbitrary shapes with 2D self-attention. Proceedings of the 2020 IEEE\/CVF Conference On Computer Vision and Pattern Recognition Workshops (CVPRW), Seattle, WA, USA.","DOI":"10.1109\/CVPRW50498.2020.00281"},{"key":"ref_26","unstructured":"Li, M., Lv, T., Cui, L., Lu, Y., Flor\u00eancio, D., Zhang, C., Li, Z., and Wei, F. (2021). TrOCR: Transformer-based Optical Character Recognition with Pre-trained Models. arXiv."},{"key":"ref_27","unstructured":"Dosovitskiy, A., Beyer, L., Kolesnikov, A., Weissenborn, D., Zhai, X., Unterthiner, T., Dehghani, M., Minderer, M., Heigold, G., and Gelly, S. (2021). An Image is Worth 16 \u00d7 16 Words: Transformers for Image Recognition at Scale. arXiv."},{"key":"ref_28","unstructured":"Touvron, H., Cord, M., Douze, M., Massa, F., Sablayrolles, A., and Jegou, H. (2021, January 18\u201324). Training data-efficient image transformers & distillation through attention. Proceedings of the 38th International Conference On Machine Learning, Virtual. Available online: https:\/\/proceedings.mlr.press\/v139\/touvron21a.html."},{"key":"ref_29","doi-asserted-by":"crossref","unstructured":"Touvron, H., Cord, M., Sablayrolles, A., Synnaeve, G., and J\u2019egou, H. (2021, January 10\u201317). Going deeper with Image Transformers. Proceedings of the 2021 IEEE\/CVF International Conference On Computer Vision (ICCV), Montreal, BC, Canada.","DOI":"10.1109\/ICCV48922.2021.00010"},{"key":"ref_30","doi-asserted-by":"crossref","unstructured":"Touvron, H., Cord, M., and Jegou, H. (2022). DeiT III: Revenge of the ViT. arXiv.","DOI":"10.1007\/978-3-031-20053-3_30"},{"key":"ref_31","first-page":"1702","article-title":"Perceiving stroke-semantic context: Hierarchical contrastive learning for robust scene text recognition","volume":"36","author":"Liu","year":"2022","journal-title":"Proc. AAAI Conf. Artif. Intell."},{"key":"ref_32","doi-asserted-by":"crossref","unstructured":"An, J., and Joe, I. (2022). Attention Map-Guided Visual Explanations for Deep Neural Networks. Appl. Sci., 12.","DOI":"10.3390\/app12083846"},{"key":"ref_33","doi-asserted-by":"crossref","unstructured":"Selvaraju, R., Cogswell, M., Das, A., Vedantam, R., Parikh, D., and Batra, D. (2017, January 22\u201329). Grad-cam: Visual explanations from deep networks via gradient-based localization. Proceedings of the 2017 IEEE International Conference On Computer Vision (ICCV), Venice, Italy.","DOI":"10.1109\/ICCV.2017.74"},{"key":"ref_34","doi-asserted-by":"crossref","first-page":"e8","DOI":"10.23915\/distill.00008","article-title":"Sequence Modeling with CTC","volume":"2","author":"Hannun","year":"2017","journal-title":"Distill"},{"key":"ref_35","unstructured":"Jurafsky, D., and Martin, J. (2022). Speech and Language Processing: An Introduction to Natural Language Processing, Computational Linguistics, and Speech Recognition, Pearson."},{"key":"ref_36","unstructured":"Jaderberg, M., Simonyan, K., Vedaldi, A., and Zisserman, A. (2014). Synthetic Data and Artificial Neural Networks for Natural Scene Text Recognition. arXiv."},{"key":"ref_37","doi-asserted-by":"crossref","unstructured":"Gupta, A., Vedaldi, A., and Zisserman, A. (2016, January 27\u201330). Synthetic data for text localisation in natural images. Proceedings of the 2016 IEEE Conference On Computer Vision and Pattern Recognition (CVPR), Las Vegas, NV, USA.","DOI":"10.1109\/CVPR.2016.254"},{"key":"ref_38","doi-asserted-by":"crossref","unstructured":"Yim, M., Kim, Y., Cho, H., and Park, S. (2021, January 5\u201310). Synthtiger: Synthetic Text Image Generator towards better text recognition models. Proceedings of the Document Analysis and Recognition\u2014ICDAR 2021 Workshops, Lausanne, Switzerland.","DOI":"10.1007\/978-3-030-86337-1_8"},{"key":"ref_39","unstructured":"Wang, K., Babenko, B., and Belongie, S. (2011, January 6\u201313). End-to-end scene text recognition. Proceedings of the 2011 International Conference On Computer Vision, Barcelona, Spain."},{"key":"ref_40","doi-asserted-by":"crossref","unstructured":"Mishra, A., Alahari, K., and Jawahar, C. (2012, January 3\u20137). Scene text recognition using higher order language priors. Proceedings of the British Machine Vision Conference 2012, Surrey, UK.","DOI":"10.5244\/C.26.127"},{"key":"ref_41","doi-asserted-by":"crossref","unstructured":"Karatzas, D., Shafait, F., Uchida, S., Iwamura, M., Bigorda, L., Mestre, S., Mas, J., Mota, D., Almazan, J., and Heras, L. (2013, January 25\u201328). ICDAR 2013 robust reading competition. Proceedings of the 2013 12th International Conference On Document Analysis and Recognition, Washington, DC, USA.","DOI":"10.1109\/ICDAR.2013.221"},{"key":"ref_42","doi-asserted-by":"crossref","unstructured":"Karatzas, D., Gomez-Bigorda, L., Nicolaou, A., Ghosh, S., Bagdanov, A., Iwamura, M., Matas, J., Neumann, L., Chandrasekhar, V.R., and Lu, S. (2015, January 23\u201326). ICDAR 2015 competition on robust reading. Proceedings of the 2015 13th International Conference On Document Analysis and Recognition (ICDAR), Tunis, Tunisia.","DOI":"10.1109\/ICDAR.2015.7333942"},{"key":"ref_43","doi-asserted-by":"crossref","unstructured":"Phan, T., Shivakumara, P., Tian, S., and Tan, C. (2013, January 1\u20138). Recognizing text with perspective distortion in natural scenes. Proceedings of the 2013 IEEE International Conference On Computer Vision, Sydney, Australia.","DOI":"10.1109\/ICCV.2013.76"},{"key":"ref_44","doi-asserted-by":"crossref","first-page":"8027","DOI":"10.1016\/j.eswa.2014.07.008","article-title":"A robust arbitrary text detection system for natural scene images","volume":"41","author":"Risnumawan","year":"2014","journal-title":"Expert Syst. Appl."},{"key":"ref_45","doi-asserted-by":"crossref","unstructured":"Baek, J., Matsui, Y., and Aizawa, K. (2021, January 19\u201325). What if we only use real datasets for scene text recognition? Toward scene text recognition with fewer labels. Proceedings of the 2021 IEEE\/CVF Conference On Computer Vision and Pattern Recognition (CVPR), Virtual.","DOI":"10.1109\/CVPR46437.2021.00313"},{"key":"ref_46","unstructured":"Veit, A., Matera, T., Neumann, L., Matas, J., and Belongie, S. (2016). COCO-Text: Dataset and Benchmark for Text Detection and Recognition in Natural Images. arXiv."},{"key":"ref_47","doi-asserted-by":"crossref","unstructured":"Shi, B., Yao, C., Liao, M., Yang, M., Xu, P., Cui, L., Belongie, S., Lu, S., and Bai, X. (2017, January 9\u201315). ICDAR2017 competition on reading Chinese text in the wild (RCTW-17). Proceedings of the 2017 14th IAPR International Conference On Document Analysis and Recognition (ICDAR), Kyoto, Japan.","DOI":"10.1109\/ICDAR.2017.233"},{"key":"ref_48","unstructured":"Zhang, Y., Gueguen, L., Zharkov, I., Zhang, P., Seifert, K., and Kadlec, B. (2017, January 21\u201326). Uber-Text: A Large-Scale Dataset for Optical Character Recognition from Street-Level Imagery. Proceedings of the SUNw: Scene Understanding Workshop\u2014CVPR 2017, Honolulu, HI, USA."},{"key":"ref_49","doi-asserted-by":"crossref","unstructured":"Chng, C., Ding, E., Liu, J., Karatzas, D., Chan, C., Jin, L., Liu, Y., Sun, Y., Ng, C., and Luo, C. (2019, January 20\u201325). ICDAR2019 robust reading challenge on arbitrary-shaped text-RRC-art. Proceedings of the 2019 International Conference On Document Analysis and Recognition (ICDAR), Sydney, Australia.","DOI":"10.1109\/ICDAR.2019.00252"},{"key":"ref_50","doi-asserted-by":"crossref","unstructured":"Sun, Y., Karatzas, D., Chan, C., Jin, L., Ni, Z., Chng, C., Liu, Y., Luo, C., Ng, C., and Han, J. (2019, January 20\u201325). ICDAR 2019 competition on large-scale street view text with partial labeling - RRC-LSVT. Proceedings of the 2019 International Conference On Document Analysis and Recognition (ICDAR), Sydney, Australia.","DOI":"10.1109\/ICDAR.2019.00250"},{"key":"ref_51","doi-asserted-by":"crossref","unstructured":"Zhang, R., Yang, M., Bai, X., Shi, B., Karatzas, D., Lu, S., Jawahar, C., Zhou, Y., Jiang, Q., and Song, Q. (2019, January 20\u201325). ICDAR 2019 robust reading challenge on reading Chinese text on Signboard. Proceedings of the 2019 International Conference On Document Analysis and Recognition (ICDAR), Sydney, Australia.","DOI":"10.1109\/ICDAR.2019.00253"},{"key":"ref_52","doi-asserted-by":"crossref","unstructured":"Singh, A., Pang, G., Toh, M., Huang, J., Galuba, W., and Hassner, T. (2021, January 19\u201325). TextOCR: Towards large-scale end-to-end reasoning for arbitrary-shaped scene text. Proceedings of the 2021 IEEE\/CVF Conference On Computer Vision and Pattern Recognition (CVPR), Virtual.","DOI":"10.1109\/CVPR46437.2021.00869"},{"key":"ref_53","doi-asserted-by":"crossref","unstructured":"Liu, N., Schwartz, R., and Smith, N. (2019, January 3\u20135). Inoculation by fine-tuning: A method for analyzing challenge datasets. Proceedings of the 2019 Conference of the North American Chapter of the Association for Computational Linguistics (Demonstrations), Minneapolis, MN, USA.","DOI":"10.18653\/v1\/N19-1225"},{"key":"ref_54","doi-asserted-by":"crossref","unstructured":"Andriyanov, N., and Andriyanov, D. (2020, January 14). Pattern recognition on radar images using augmentation. Proceedings of the 2020 Ural Symposium On Biomedical Engineering, Radioelectronics and Information Technology (USBEREIT), Yekaterinburg, Russia.","DOI":"10.1109\/USBEREIT48449.2020.9117669"},{"key":"ref_55","doi-asserted-by":"crossref","unstructured":"Buslaev, A., Iglovikov, V., Khvedchenya, E., Parinov, A., Druzhinin, M., and Kalinin, A. (2020). Albumentations: Fast and flexible image augmentations. Information, 11.","DOI":"10.3390\/info11020125"}],"container-title":["Journal of Imaging"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/www.mdpi.com\/2313-433X\/9\/11\/248\/pdf","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2025,10,10]],"date-time":"2025-10-10T21:23:35Z","timestamp":1760131415000},"score":1,"resource":{"primary":{"URL":"https:\/\/www.mdpi.com\/2313-433X\/9\/11\/248"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2023,11,15]]},"references-count":55,"journal-issue":{"issue":"11","published-online":{"date-parts":[[2023,11]]}},"alternative-id":["jimaging9110248"],"URL":"https:\/\/doi.org\/10.3390\/jimaging9110248","relation":{},"ISSN":["2313-433X"],"issn-type":[{"value":"2313-433X","type":"electronic"}],"subject":[],"published":{"date-parts":[[2023,11,15]]}}}