Rethinking HTG Evaluation: Bridging Generation and Recognition

Konstantina Nikolaidou, George Retsinas, Giorgos Sfikas, Marcus Liwicki
9/4/2024
cs.CV

Official code: koninik/HTG_evaluation (17 stars, MIT, last commit 2024-09-23).

Abstract

The evaluation of generative models for natural image tasks has been extensively studied. Similar protocols and metrics are used in cases with unique particularities, such as Handwriting Generation, even if they might not be completely appropriate. In this work, we introduce three measures tailored for HTG evaluation, $ \text{HTG}_{\text{HTR}} $, $ \text{HTG}_{\text{style}} $, and $ \text{HTG}_{\text{OOV}} $, and argue that they are more expedient to evaluate the quality of generated handwritten images. The metrics rely on the recognition error/accuracy of Handwriting Text Recognition and Writer Identification models and emphasize writing style, textual content, and diversity as the main aspects that adhere to the content of handwritten images. We conduct comprehensive experiments on the IAM handwriting database, showcasing that widely used metrics such as FID fail to properly quantify the diversity and the practical utility of generated handwriting samples. Our findings show that our metrics are richer in information and underscore the necessity of standardized evaluation protocols in HTG. The proposed metrics provide a more robust and informative protocol for assessing HTG quality, contributing to improved performance in HTR. Code for the evaluation protocol is available at: https://github.com/koninik/HTG_evaluation.

View on arXivView PDF

Code Implementations(1)

MIT

Official PyTorch Implementation of "Rethinking HTG Evaluation: Bridging Generation and Recognition" (Oral) - 1st Workshop on Critical Evaluation of Generative Models and their Impact on Society - ECCV 2024

170PythonJul 14, 20242 years agoMIT
evaluationevaluation-metricsgenerative-modelhandwritinghandwriting-generation+1 more

Similar Papers

Cite this paper

@article{nikolaidou2024rethinking,
  title  = {Rethinking HTG Evaluation: Bridging Generation and Recognition},
  author = {Konstantina Nikolaidou and George Retsinas and Giorgos Sfikas and Marcus Liwicki},
  year   = {2024},
  eprint = {2409.02683},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2409.02683v1}
}

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

Discussion