{"title":"$$\\hbox {D}^2$$RSM-former: a directional deformable refinement transformer with soft-edge smooth span mask for robust handwritten text recognition","authors":"Yao Wei, Haicheng Qu, Jiandong Li","doi":"10.1007/s40747-026-02477-z","DOIUrl":null,"url":null,"abstract":"Handwritten text recognition technology plays a crucial role in historical document digitization, archive management systems, and cultural heritage preservation. Although existing methods based on Convolutional Neural Networks and Vision Transformers have achieved remarkable progress in feature extraction and global modeling, they still exhibit limitations when addressing inherent challenges of handwritten text, including stroke deformation, character adhesion, and cross-lingual robustness. To address these challenges, we propose a Directional Deformable Refinement Transformer with Soft-edge Smooth Span Mask for Robust Handwritten Text Recognition ( <jats:inline-formula> <jats:alternatives> <jats:tex-math>$$\\hbox {D}^2$$</jats:tex-math> <mml:math xmlns:mml=\"http://www.w3.org/1998/Math/MathML\"> <mml:msup> <mml:mtext>D</mml:mtext> <mml:mn>2</mml:mn> </mml:msup> </mml:math> </jats:alternatives> </jats:inline-formula> RSM-Former), which innovatively integrates a Hierarchical Adaptive Directional Deformable Feature Extractor (HADD-FE), a Soft-edge Smooth Span Mask (SSSM) strategy, and a Heterogeneous Interactive Refinement Encoder (HIREncoder). HADD-FE dynamically adjusts receptive field configurations through an adaptive directional deformable mechanism, effectively capturing anisotropic features of handwritten text. The SSSM enhances generalization through smooth boundary transitions and adaptive length sampling. HIREncoder achieves synergistic modeling of local–global features through dialogic head contextual attention and heterogeneous iterative refinement mechanisms. Extensive experiments on six benchmark datasets demonstrate that, without relying on any pre-training or synthetic data, <jats:inline-formula> <jats:alternatives> <jats:tex-math>$$\\hbox {D}^2$$</jats:tex-math> <mml:math xmlns:mml=\"http://www.w3.org/1998/Math/MathML\"> <mml:msup> <mml:mtext>D</mml:mtext> <mml:mn>2</mml:mn> </mml:msup> </mml:math> </jats:alternatives> </jats:inline-formula> RSM-Former achieves state-of-the-art performance on READ2016, LAM, and IAM datasets, while also demonstrating highly competitive results on RIMES2011, BRESSAY, and VOHTR2018 datasets.","PeriodicalId":10524,"journal":{"name":"Complex & Intelligent Systems","volume":"132 1","pages":""},"PeriodicalIF":4.5000,"publicationDate":"2026-08-20","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Complex & Intelligent Systems","FirstCategoryId":"94","ListUrlMain":"https://doi.org/10.1007/s40747-026-02477-z","RegionNum":2,"RegionCategory":"计算机科学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q1","JCRName":"COMPUTER SCIENCE, ARTIFICIAL INTELLIGENCE","Score":null,"Total":0}
引用次数: 0
Abstract
Handwritten text recognition technology plays a crucial role in historical document digitization, archive management systems, and cultural heritage preservation. Although existing methods based on Convolutional Neural Networks and Vision Transformers have achieved remarkable progress in feature extraction and global modeling, they still exhibit limitations when addressing inherent challenges of handwritten text, including stroke deformation, character adhesion, and cross-lingual robustness. To address these challenges, we propose a Directional Deformable Refinement Transformer with Soft-edge Smooth Span Mask for Robust Handwritten Text Recognition ( $$\hbox {D}^2$$D2 RSM-Former), which innovatively integrates a Hierarchical Adaptive Directional Deformable Feature Extractor (HADD-FE), a Soft-edge Smooth Span Mask (SSSM) strategy, and a Heterogeneous Interactive Refinement Encoder (HIREncoder). HADD-FE dynamically adjusts receptive field configurations through an adaptive directional deformable mechanism, effectively capturing anisotropic features of handwritten text. The SSSM enhances generalization through smooth boundary transitions and adaptive length sampling. HIREncoder achieves synergistic modeling of local–global features through dialogic head contextual attention and heterogeneous iterative refinement mechanisms. Extensive experiments on six benchmark datasets demonstrate that, without relying on any pre-training or synthetic data, $$\hbox {D}^2$$D2 RSM-Former achieves state-of-the-art performance on READ2016, LAM, and IAM datasets, while also demonstrating highly competitive results on RIMES2011, BRESSAY, and VOHTR2018 datasets.
期刊介绍:
Complex & Intelligent Systems aims to provide a forum for presenting and discussing novel approaches, tools and techniques meant for attaining a cross-fertilization between the broad fields of complex systems, computational simulation, and intelligent analytics and visualization. The transdisciplinary research that the journal focuses on will expand the boundaries of our understanding by investigating the principles and processes that underlie many of the most profound problems facing society today.