Practical Fine-Tuning of Autoregressive Models on Limited Handwritten Texts

Jan Kohút, Michal Hradiš
3/25/2025
cs.CV

No confident code implementation found for this paper.

Abstract

A common use case for OCR applications involves users uploading documents and progressively correcting automatic recognition to obtain the final transcript. This correction phase presents an opportunity for progressive adaptation of the OCR model, making it crucial to adapt early, while ensuring stability and reliability. We demonstrate that state-of-the-art transformer-based models can effectively support this adaptation, gradually reducing the annotator's workload. Our results show that fine-tuning can reliably start with just 16 lines, yielding a 10% relative improvement in CER, and scale up to 40% with 256 lines. We further investigate the impact of model components, clarifying the roles of the encoder and decoder in the fine-tuning process. To guide adaptation, we propose reliable stopping criteria, considering both direct approaches and global trend analysis. Additionally, we show that OCR models can be leveraged to cut annotation costs by half through confidence-based selection of informative lines, achieving the same performance with fewer annotations.

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!

Similar Papers

Cite this paper

@article{koht2025practical,
  title  = {Practical Fine-Tuning of Autoregressive Models on Limited Handwritten Texts},
  author = {Jan Kohút and Michal Hradiš},
  year   = {2025},
  eprint = {2503.19546},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2503.19546v1}
}

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

Discussion