ST-KeyS: Self-Supervised Transformer for Keyword Spotting in Historical Handwritten Documents

Sana Khamekhem Jemni, Sourour Ammar, Mohamed Ali Souibgui, Yousri Kessentini, Abbas Cheddad
3/6/2023
cs.CV

No confident code implementation found for this paper.

Abstract

Keyword spotting (KWS) in historical documents is an important tool for the initial exploration of digitized collections. Nowadays, the most efficient KWS methods are relying on machine learning techniques that require a large amount of annotated training data. However, in the case of historical manuscripts, there is a lack of annotated corpus for training. To handle the data scarcity issue, we investigate the merits of the self-supervised learning to extract useful representations of the input data without relying on human annotations and then using these representations in the downstream task. We propose ST-KeyS, a masked auto-encoder model based on vision transformers where the pretraining stage is based on the mask-and-predict paradigm, without the need of labeled data. In the fine-tuning stage, the pre-trained encoder is integrated into a siamese neural network model that is fine-tuned to improve feature embedding from the input images. We further improve the image representation using pyramidal histogram of characters (PHOC) embedding to create and exploit an intermediate representation of images based on text attributes. In an exhaustive experimental evaluation on three widely used benchmark datasets (Botany, Alvermann Konzilsprotokolle and George Washington), the proposed approach outperforms state-of-the-art methods trained on the same datasets.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Cite this paper

@article{jemni2023stkeys,
  title  = {ST-KeyS: Self-Supervised Transformer for Keyword Spotting in Historical Handwritten Documents},
  author = {Sana Khamekhem Jemni and Sourour Ammar and Mohamed Ali Souibgui and Yousri Kessentini and Abbas Cheddad},
  year   = {2023},
  eprint = {2303.03127},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2303.03127v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2303.03127.svg)](https://codeofpaper.com/paper/2303.03127)

Discussion