# Domain Adaptation Based Pipeline for Character Classification and Handwritten Text Recognition

DevFeed: [Domain Adaptation Based Pipeline for Character Classification and Handwritten Text Recognition](<https://devfeed.tech/articles/domain-adaptation-based-pipeline-for-character-classification-and-handwritten-text-recognition-135846.md>)

Original publisher: [Read original article](<https://arxiv.org/abs/2611.17952>)

Author: Florent Imbert, Simon Corbill\\'e, Hui Han, Elisa H. Barney Smith

Published: 2026-11-16T05:00:00Z

Content type: article

Language: en

Sources: [arXiv: Machine Learning](<https://devfeed.tech/sources/arxiv-machine-learning.md>)

Topics: [text-classification](<https://devfeed.tech/topics/text-classification.md>), [scikit-learn](<https://devfeed.tech/topics/scikit-learn.md>)

Tags: [classification](<https://devfeed.tech/tags/classification.md>), [cs-cv](<https://devfeed.tech/tags/cs-cv.md>), [cs-lg](<https://devfeed.tech/tags/cs-lg.md>), [distribution](<https://devfeed.tech/tags/distribution.md>), [domain](<https://devfeed.tech/tags/domain.md>), [pipeline](<https://devfeed.tech/tags/pipeline.md>), [recognition](<https://devfeed.tech/tags/recognition.md>)

## AI overview

The pipeline uses unlabeled target-domain data to adapt a model for character classification and handwritten text recognition when labeled target data is scarce. It first pretrains an expert model on source data, then performs unsupervised domain adaptation, and finally trains the expert on source data in the target style. The authors report that adaptation adds computation during training but not inference. Evaluations cover character classification and historical handwritten-line recognition: the method achieves 76.17% Macro F1 on Safran-MNIST-DLS (DAGECC Track 2), reported as a new state of the art, and competitive results on READ 2018 datasets without target labels.

## Source excerpt

arXiv:2611.17952v1 Announce Type: cross Abstract: Character classification and handwritten text recognition, particularly in specialized tasks, often suffer from limited labeled data, while a large amount of unlabeled data remains unused. To address this challenge, we propose a novel unsupervised domain adaptation-based pipeline to reduce the distribution gap between source and target domains. Our pipeline follows three main steps. In the first step, we pretrained an expert model on source data, to learn a strong general representation. In the second step, we perform unsupervised domain adaptation to leverage unlabeled target data, adapting the model to the specific characteristics of the target domain. In the third step, we trained the expert model on source data in the target style. By aligning the feature distributions between the source and target, our method enables the model to generalize effectively across diverse datasets. The unsupervised training increases the computation time only during training not in inference. We evaluate the pipeline on both character-level and historical handwritten line recognition tasks, demonstrating its flexibility. We establish a new state-of-the-art on the Safran-MNIST-DLS dataset defined in Track 2 of the DAGECC competition with 76.17% Macro F1-score and achieve competitive results on each of the specific datasets of READ 2018 without using the labels of the target data. Code is available at https://github.com/simon-corbi/DRANet-for-classification-and-htr