Self-Distillation Regularized Connectionist Temporal Classification Loss for Text Recognition: A Simple Yet Effective Approach

Authors

  • Ziyin Zhang Huawei Technologies Co., Ltd
  • Ning Lu Huawei Technologies Co., Ltd
  • Minghui Liao Huawei Technologies Co., Ltd
  • Yongshuai Huang Huawei Technologies Co., Ltd
  • Cheng Li Huawei Technologies Co., Ltd
  • Min Wang Huawei Technologies Co., Ltd
  • Wei Peng Huawei Technologies Co., Ltd

DOI:

https://doi.org/10.1609/aaai.v38i7.28575

Keywords:

CV: Language and Vision, CV: Applications, CV: Learning & Optimization for CV, CV: Representation Learning for Vision

Abstract

Text recognition methods are gaining rapid development. Some advanced techniques, e.g., powerful modules, language models, and un- and semi-supervised learning schemes, consecutively push the performance on public benchmarks forward. However, the problem of how to better optimize a text recognition model from the perspective of loss functions is largely overlooked. CTC-based methods, widely used in practice due to their good balance between performance and inference speed, still grapple with accuracy degradation. This is because CTC loss emphasizes the optimization of the entire sequence target while neglecting to learn individual characters. We propose a self-distillation scheme for CTC-based model to address this issue. It incorporates a framewise regularization term in CTC loss to emphasize individual supervision, and leverages the maximizing-a-posteriori of latent alignment to solve the inconsistency problem that arises in distillation between CTC-based models. We refer to the regularized CTC loss as Distillation Connectionist Temporal Classification (DCTC) loss. DCTC loss is module-free, requiring no extra parameters, longer inference lag, or additional training data or phases. Extensive experiments on public benchmarks demonstrate that DCTC can boost text recognition model accuracy by up to 2.6%, without any of these drawbacks.

Published

2024-03-24

How to Cite

Zhang, Z., Lu, N., Liao, M., Huang, Y., Li, C., Wang, M., & Peng, W. (2024). Self-Distillation Regularized Connectionist Temporal Classification Loss for Text Recognition: A Simple Yet Effective Approach. Proceedings of the AAAI Conference on Artificial Intelligence, 38(7), 7441–7449. https://doi.org/10.1609/aaai.v38i7.28575

Issue

Section

AAAI Technical Track on Computer Vision VI