SAGHOG: Self-Supervised Autoencoder for Generating HOG Features for Writer Retrieval

Marco Peer, Florian Kleber, Robert Sablatnig
4/26/2024
cs.CV

No official code found. Best implementation: marco-peer/icdar24 (4 stars, last commit 2024-04-29).

Abstract

This paper introduces SAGHOG, a self-supervised pretraining strategy for writer retrieval using HOG features of the binarized input image. Our preprocessing involves the application of the Segment Anything technique to extract handwriting from various datasets, ending up with about 24k documents, followed by training a vision transformer on reconstructing masked patches of the handwriting. SAGHOG is then finetuned by appending NetRVLAD as an encoding layer to the pretrained encoder. Evaluation of our approach on three historical datasets, Historical-WI, HisFrag20, and GRK-Papyri, demonstrates the effectiveness of SAGHOG for writer retrieval. Additionally, we provide ablation studies on our architecture and evaluate un- and supervised finetuning. Notably, on HisFrag20, SAGHOG outperforms related work with a mAP of 57.2 % - a margin of 11.6 % to the current state of the art, showcasing its robustness on challenging data, and is competitive on even small datasets, e.g. GRK-Papyri, where we achieve a Top-1 accuracy of 58.0%.

View on arXivView PDF

Code Implementations(1)

marco-peer/icdar24Community100%

Code implementation of our ICDAR24 submission "SAGHOG: Self-Supervised Autoencoder for Generating HOG Features for Writer Retrieval"

40PythonJan 1, 20242 years ago

Similar Papers

Cite this paper

@article{peer2024saghog,
  title  = {SAGHOG: Self-Supervised Autoencoder for Generating HOG Features for Writer Retrieval},
  author = {Marco Peer and Florian Kleber and Robert Sablatnig},
  year   = {2024},
  eprint = {2404.17221},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2404.17221v1}
}

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/2404.17221.svg)](https://codeofpaper.com/paper/2404.17221)

Discussion