Paper Reading AI Learner

Few-shot Writer Adaptation via Multimodal In-Context Learning

2026-03-31 08:55:11
Tom Simon, Stephane Nicolas, Pierrick Tranouez, Clement Chatelain, Thierry Paquet

Abstract

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.

Abstract (translated)

尽管最先进的手写文本识别(HTR)模型在标准基准测试中表现良好,但它们经常难以处理在训练数据中代表性不足的高度特定书写风格。为应对未见且非典型的书写者,书写者自适应技术能够将HTR模型个性化以适应个体书写风格。领先的书写者自适应方法需要离线微调或在推理时进行参数更新,两者都涉及梯度计算和反向传播,这会增加计算成本并需要仔细的超参数调优。在本研究中,我们提出了一种新颖的、受多模态上下文学习启发的上下文驱动HTR框架,能够在推理时仅使用目标书写者的少量示例实现书写者自适应,且无需任何参数更新。我们进一步展示了上下文长度的影响,设计了一个紧凑的8M参数CNN-Transformer模型以实现少样本上下文自适应,并证明结合上下文驱动与标准OCR训练策略能带来互补性改进。在IAM和RIMES数据集上的实验验证了我们的方法,分别达到3.92%和2.34%的字符错误率,超越了所有无需在推理时进行参数更新的书写者无关HTR模型。

URL

https://arxiv.org/abs/2603.29450

PDF

https://arxiv.org/pdf/2603.29450.pdf


Tags
3D Action Action_Localization Action_Recognition Activity Adversarial Agent Attention Autonomous Bert Boundary_Detection Caption Chat Classification CNN Compressive_Sensing Contour Contrastive_Learning Deep_Learning Denoising Detection Dialog Diffusion Drone Dynamic_Memory_Network Edge_Detection Embedding Embodied Emotion Enhancement Face Face_Detection Face_Recognition Facial_Landmark Few-Shot Gait_Recognition GAN Gaze_Estimation Gesture Gradient_Descent Handwriting Human_Parsing Image_Caption Image_Classification Image_Compression Image_Enhancement Image_Generation Image_Matting Image_Retrieval Inference Inpainting Intelligent_Chip Knowledge Knowledge_Graph Language_Model LLM Matching Medical Memory_Networks Multi_Modal Multi_Task NAS NMT Object_Detection Object_Tracking OCR Ontology Optical_Character Optical_Flow Optimization Person_Re-identification Point_Cloud Portrait_Generation Pose Pose_Estimation Prediction QA Quantitative Quantitative_Finance Quantization Re-identification Recognition Recommendation Reconstruction Regularization Reinforcement_Learning Relation Relation_Extraction Represenation Represenation_Learning Restoration Review RNN Robot Salient Scene_Classification Scene_Generation Scene_Parsing Scene_Text Segmentation Self-Supervised Semantic_Instance_Segmentation Semantic_Segmentation Semi_Global Semi_Supervised Sence_graph Sentiment Sentiment_Classification Sketch SLAM Sparse Speech Speech_Recognition Style_Transfer Summarization Super_Resolution Surveillance Survey Text_Classification Text_Generation Time_Series Tracking Transfer_Learning Transformer Unsupervised Video_Caption Video_Classification Video_Indexing Video_Prediction Video_Retrieval Visual_Relation VQA Weakly_Supervised Zero-Shot