mlsanityData to 7 Oct 2026

DocLangID: Improving Few-Shot Training to Identify the Language of Historical Documents

arXiv 2305.02208 ↗First posted 3 May 2023cs.CVcited by 0

Not on the map. Why?

Abstract (arXiv)

Language identification describes the task of recognizing the language of written text in documents. This information is crucial because it can be used to support the analysis of a document's vocabulary and context. Supervised learning methods in recent years have advanced the task of language identification. However, these methods usually require large labeled datasets, which often need to be included for various domains of images, such as documents or scene images. In this work, we propose DocLangID, a transfer learning approach to identify the language of unlabeled historical documents. We achieve this by first leveraging labeled data from a different but related domain of historical documents. Secondly, we implement a distance-based few-shot learning approach to adapt a convolutional neural network to new languages of the unlabeled dataset. By introducing small amounts of manually labeled examples from the set of unlabeled images, our feature extractor develops a better adaptability towards new and different data distributions of historical documents. We show that such a model can be effectively fine-tuned for the unlabeled set of images by only reusing the same few-shot examples. We showcase our work across 10 languages that mostly use the Latin script. Our experiments on historical documents demonstrate that our combined approach improves the language identification performance, achieving 74% recognition accuracy on the four unseen languages of the unlabeled dataset.

Key facts. No citing papers in the map yet (data through 7 Oct 2026). Builds on 12 of its 22 references that are in the map. First posted on arXiv 3 May 2023.

Builds on

12 of 22 references.

References · 12

  1. 2015Deep Residual Learning for Image Recognitioncited by 51,809
  2. 2017Model-Agnostic Meta-Learning for Fast Adaptation of Deep Networkscited by 4,861
  3. 2017Prototypical Networks for Few-shot Learningcited by 3,001
  4. 2016Matching Networks for One Shot Learningcited by 2,246
  5. 2016Bag of Tricks for Efficient Text Classificationcited by 869
  6. 2019A Closer Look at Few-shot Classificationcited by 679
  7. 2018Meta-Learning with Latent Embedding Optimizationcited by 476
  8. 2018Dynamic Few-Shot Visual Learning without Forgettingcited by 385
  9. 2016FastText.zip: Compressing text classification modelscited by 331
  10. 2019Mask TextSpotter: An End-to-End Trainable Neural Network for Spotting Text with Arbitrary Shapescited by 171
  11. 2017Scene Text Recognition with Sliding Convolutional Character Modelscited by 7
  12. 2020On-Device Language Identification of Text in Images using Diacritic Characterscited by 1

Built on by

Not cited yet.