ExpertHTR: Unified Handwritten Text Recognition with Multi-Task Learning and Sparse Mixture-of-Experts
Dang Hoai Nam, Nguyen Duy Hieu, Quang Huu Hieu, Vo Nguyen Le Duy
Abstract
Handwritten text recognition resources are often small and distributed across collections that differ in language, script, document structure, and annotation format, making joint page-level training difficult. We propose ExpertHTR, a unified vision-language framework that addresses this problem through complementary supervision and conditional model capacity. Structural annotations from heterogeneous datasets are first organized through a common Page-Region-Line representation and used to construct four related training tasks for complete transcription, physical-line coverage, text localization, and localized recognition, without requiring additional manual labels. Building on a jointly trained dense model, ExpertHTR introduces a sparse Mixture-of-Experts architecture with an always-active shared branch and conditionally routed full-MLP experts. Sparsegen allows the number of active routed experts to vary with the hidden representation, while routing regularization reduces persistent concentration on a small subset of experts. Experiments on seven heterogeneous handwriting benchmarks show that complementary supervision consistently improves training with page transcription alone, while joint multi-source training provides further gains on most datasets. The proposed sparse expert model further improves the dense baseline on six of the seven sources. The final unified model also substantially outperforms the evaluated general-purpose OCR and vision-language systems on most benchmarks and achieves state-of-the-art performance on the IAM paragraph-level benchmark, while specialized HTR systems remain stronger on several challenging collections.
Create a lesson
Metadata
- Categories
- cs.CV, cs.LG
Related papers
Two-Stage Mixture-of-LoRA for Multi-Task Medical Vision-Language Learning
Shared title terminologycs.CVZhanghao Chen, Yuanyuan Li, Zhenyu Lu et al.
Bi-Level Routing and Sparse Spatial Attention based Multi-View BEV 3D Object Detection for Autonomous Driving
Shared title terminologycs.CVJing Zhang, Jiaqi Liu, Zibo Wang
PA-CDM: Position-Aware Character Detection Matching for Evaluating Handwritten Mathematical Expression Recognition
Shared title terminologycs.CVShiliang Luo
Single-Stream Multi-Feature Fusion with Temporal Robustness for Gait Emotion Recognition
Shared title terminologycs.CVShirong Lyu, Silu Quan, Yixuan Ding et al.
MMGait: Benchmarking and Unifying Gait Recognition across Heterogeneous Modalities
Shared title terminologycs.CVSaihui Hou, Chenye Wang, Qingyuan Cai et al.
DINO-Med: A Unified Patch-Based Adaptation Framework for Multi-Modal Medical Image Analysis Applied to Liver Fibrosis Staging
Shared title terminologycs.CVBoya Wang, Ruizhe Li, Chao Chen et al.