Few-shot Writer Adaptation via Multimodal In-Context Learning
Not on the map. Why?
Abstract (arXiv)
While state-of-the-art Handwritten Text Recognition (HTR) models perform well on standard benchmarks, they frequently struggle with writers exhibiting highly specific styles that are underrepresented in the training data. To handle unseen and atypical writers, writer adaptation techniques personalize HTR models to individual handwriting styles. Leading writer adaptation methods require either offline fine-tuning or parameter updates at inference time, both involving gradient computation and backpropagation, which increase computational costs and demand careful hyperparameter tuning. In this work, we propose a novel context-driven HTR framework3 inspired by multimodal in-context learning, enabling inference-time writer adaptation using only a few examples from the target writer without any parameter updates. We further demonstrate the impact of context length, design a compact 8M-parameter CNN-Transformer that enables few-shot in-context adaptation, and show that combining context-driven and standard OCR training strategies leads to complementary improvements. Experiments on IAM and RIMES validate our approach with Character Error Rates of 3.92% and 2.34%, respectively, surpassing all writer-independent HTR models without requiring any parameter updates at inference time.
Key facts. Cited by 1 paper in the map (data through 14 Oct 2026). Builds on 32 of its 45 references that are in the map. First posted on arXiv 31 Mar 2026.
Builds on
32 of 45 references.
References · 32
- 2020Language Models are Few-Shot Learnerscited by 32,419
- 2022Flamingo: a Visual Language Model for Few-Shot Learningcited by 4,386
- 2021An Explanation of In-context Learning as Implicit Bayesian Inferencecited by 938
- 2023OpenFlamingo: An Open-Source Framework for Training Large Autoregressive Vision-Language Modelscited by 565
- 2015An End-to-End Trainable Neural Network for Image-based Sequence Recognition and Its Application to Scene Text Recognitioncited by 520
- 2021OCR-free Document Understanding Transformercited by 407
- 2023OBELICS: An Open Web-Scale Filtered Dataset of Interleaved Image-Text Documentscited by 316
- 2021TrOCR: Transformer-based Optical Character Recognition with Pre-trained Modelscited by 279
- 2014Synthetic Data and Artificial Neural Networks for Natural Scene Text Recognitioncited by 214
- 2023MMICL: Empowering Vision-language Model with Multi-Modal In-Context Learningcited by 172
- 2019Decoupled Attention Network for Text Recognitioncited by 102
- 2022End-to-end Document Recognition and Understanding with Dessurtcited by 73
20 more
- 2020Pay Attention to What You Read: Non-recurrent Handwritten Text-Line Recognitioncited by 71
- 2022DAN: a Segmentation-free Document Attention Network for Handwritten Document Recognitioncited by 62
- 2024What Makes Multimodal In-Context Learning Work?cited by 56
- 2023Multi-modal In-Context Learning Makes an Ego-evolving Scene Text Recognizercited by 53
- 2020End-to-end Handwritten Paragraph Text Recognition Using a Vertical Attention Networkcited by 50
- 2023DTrOCR: Decoder-only Transformer for Optical Character Recognitioncited by 40
- 2021MetaHTR: Towards Writer-Adaptive Handwritten Text Recognitioncited by 27
- 2023WordStylist: Styled Verbatim Handwritten Text Generation with Latent Diffusion Modelscited by 23
- 2021Page Layout Analysis System for Unconstrained Historic Documentscited by 20
- 2021SPAN: a Simple Predict & Align Network for Handwritten Paragraph Recognitioncited by 19
- 2024VATr++: Choose Your Words Wisely for Handwritten Text Generationcited by 18
- 2025True Multimodal In-Context Learning Needs Attention to the Visual Contextcited by 16
- 2023How to Choose Pretrained Handwriting Recognition Models for Single Writer Fine-Tuningcited by 13
- 2024On the Generalization of Handwritten Text Recognition Modelscited by 10
- 2024DANIEL: A fast Document Attention Network for Information Extraction and Labelling of handwritten documentscited by 9
- 2023Towards Writing Style Adaptation in Handwriting Recognitioncited by 6
- 2023Fine-tuning Is a Surprisingly Effective Domain Adaptation Baseline in Handwriting Recognitioncited by 5
- 2025DocTTT: Test-Time Training for Handwritten Document Recognition Using Meta-Auxiliary Learningcited by 3
- 2025MetaWriter: Personalized Handwritten Text Recognition Using Meta-Learned Prompt Tuningcited by 2
- 2025Classifying the Unknown: In-Context Learning for Open-Vocabulary Text and Symbol Recognitioncited by 1
Built on by
Citing papers per year: 2026: 1.
1 paper.