Sign inGet started
Paper · arXiv

N-gram Injection into Transformers for Dynamic Language Model Adaptation in Handwritten Text Recognition

Transformer-based encoder-decoder networks have recently achieved impressive results in handwritten text recognition, partly thanks to their auto-regressive decoder which implicitly learns a language model. However, such networks suffer from a large performance drop when evaluated on a target corpus whose language distribution is shifted from the source text seen during training. To retain recognition accuracy despite this language shift, we propose an external n-gram injection (NGI) for dynamic adaptation of the network's language modeling at inference time. Our method allows switching to an n-gram language model estimated on a corpus close to the target distribution, therefore mitigatin...

AuthorsFlorent Meyer, Laurent Guichard, Yann Soullard et al.
Primary categorycs.CV
Published4 March 2026
Last updated at source10 March 2026
cs.CV
Embed this entry
<iframe src="https://silytics.si/embed/item/ba171b7e-3067-41c8-a972-a6e805cba7d5" width="420" height="190" style="border:0" loading="lazy" title="Silytics entry"></iframe>

Free, no tracking. More about feeds and embeds.

Silytics shows public metadata from arXiv and links to the original. Information may be incomplete or out of date. Last refreshed 17 October 2026. Licenses and terms of the original apply to the work itself. Not financial, legal or professional advice.