Novel Siamese CNN-Transformer Architecture for Efficient and Robust Cross-Domain Image Recognition

IF 0.9 Q4 OPTICS
Ali Zeydi Abdian, Mohammad Masoud Javidi, Najme Mansouri
{"title":"Novel Siamese CNN-Transformer Architecture for Efficient and Robust Cross-Domain Image Recognition","authors":"Ali Zeydi Abdian,&nbsp;Mohammad Masoud Javidi,&nbsp;Najme Mansouri","doi":"10.3103/S1060992X25600429","DOIUrl":null,"url":null,"abstract":"<p>Machine learning models often struggle with limited training data, particularly in multi-domain scenarios where stylistic variations and data scarcity pose challenges. Although Siamese neural networks have shown promise in resource-limited settings, their generalization ability across various image processing domains, especially for culturally specific scripts (e.g., Persian/Arabic numerals), remains understudied. This study introduces a Siamese-CNN with a multi-scale dynamic self-attention module, designed to enhance feature extraction and cross-domain generalization across various handwritten digit (Persian/Arabic, English), and fashion item datasets. The proposed framework integrates five distinct Siamese-CNN architectures, incorporating multi-scale attention mechanisms and dynamic weight-sharing strategies to improve feature discrimination in low-data regimes. The attention module refines feature representations adaptively, mitigating overfitting while capturing fine-grained details across different styles and scripts. Extensive experiments on the Hoda dataset, a benchmark with complex stroke structures and cultural specificity, demonstrate the superiority of the proposed model, achieving 98.34% accuracy a 6.01% improvement over previous Siamese approaches while maintaining high precision (99.32%), recall (97.35%), and F1-score (98.32%). With an average epoch time of 16.26 s, the model is computationally efficient, making it suitable for real-time applications. This study advances Siamese-CNNs for cross-domain image recognition by: (1) introducing a multi-scale adaptive attention strategy for feature refinement, (2) validating generalization across eight datasets, and (3) demonstrating the role of dynamic weight-sharing in improving representation learning under constrained resources. The proposed framework outperforms conventional methods in both accuracy and efficiency, paving the way for enhanced image recognition in handwritten text digitization, multilingual document analysis, and real-time visual perception tasks.</p>","PeriodicalId":721,"journal":{"name":"Optical Memory and Neural Networks","volume":"35 3","pages":"481 - 507"},"PeriodicalIF":0.9000,"publicationDate":"2026-10-05","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Optical Memory and Neural Networks","FirstCategoryId":"1085","ListUrlMain":"https://link.springer.com/article/10.3103/S1060992X25600429","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q4","JCRName":"OPTICS","Score":null,"Total":0}
引用次数: 0

Abstract

Machine learning models often struggle with limited training data, particularly in multi-domain scenarios where stylistic variations and data scarcity pose challenges. Although Siamese neural networks have shown promise in resource-limited settings, their generalization ability across various image processing domains, especially for culturally specific scripts (e.g., Persian/Arabic numerals), remains understudied. This study introduces a Siamese-CNN with a multi-scale dynamic self-attention module, designed to enhance feature extraction and cross-domain generalization across various handwritten digit (Persian/Arabic, English), and fashion item datasets. The proposed framework integrates five distinct Siamese-CNN architectures, incorporating multi-scale attention mechanisms and dynamic weight-sharing strategies to improve feature discrimination in low-data regimes. The attention module refines feature representations adaptively, mitigating overfitting while capturing fine-grained details across different styles and scripts. Extensive experiments on the Hoda dataset, a benchmark with complex stroke structures and cultural specificity, demonstrate the superiority of the proposed model, achieving 98.34% accuracy a 6.01% improvement over previous Siamese approaches while maintaining high precision (99.32%), recall (97.35%), and F1-score (98.32%). With an average epoch time of 16.26 s, the model is computationally efficient, making it suitable for real-time applications. This study advances Siamese-CNNs for cross-domain image recognition by: (1) introducing a multi-scale adaptive attention strategy for feature refinement, (2) validating generalization across eight datasets, and (3) demonstrating the role of dynamic weight-sharing in improving representation learning under constrained resources. The proposed framework outperforms conventional methods in both accuracy and efficiency, paving the way for enhanced image recognition in handwritten text digitization, multilingual document analysis, and real-time visual perception tasks.

基于Siamese CNN-Transformer架构的高效鲁棒跨域图像识别
机器学习模型经常与有限的训练数据作斗争,特别是在风格变化和数据稀缺性构成挑战的多领域场景中。尽管Siamese神经网络在资源有限的环境中显示出前景,但其在各种图像处理领域的泛化能力,特别是对特定文化的脚本(例如波斯/阿拉伯数字)的泛化能力仍有待研究。本研究引入了带有多尺度动态自关注模块的Siamese-CNN,旨在增强各种手写数字(波斯语/阿拉伯语、英语)和时尚单品数据集的特征提取和跨域泛化。该框架集成了五种不同的Siamese-CNN架构,结合了多尺度关注机制和动态权重共享策略,以改善低数据状态下的特征识别。注意力模块自适应地细化特征表示,在捕获不同风格和脚本的细粒度细节的同时,减少了过度拟合。在Hoda数据集(具有复杂笔画结构和文化特异性的基准)上进行的大量实验表明,所提出的模型具有优势,在保持高精度(99.32%)、召回率(97.35%)和f1分数(98.32%)的同时,准确率达到98.34%,比之前的Siamese方法提高了6.01%。该模型平均历元时间为16.26 s,计算效率高,适合于实时应用。本研究通过(1)引入多尺度自适应关注策略进行特征细化,(2)验证跨8个数据集的泛化,以及(3)展示动态权重共享在改善资源约束下表示学习中的作用,来推进siamese - cnn在跨域图像识别中的应用。该框架在准确性和效率方面都优于传统方法,为手写文本数字化、多语言文档分析和实时视觉感知任务中的增强图像识别铺平了道路。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
CiteScore
1.50
自引率
11.10%
发文量
25
期刊介绍: The journal covers a wide range of issues in information optics such as optical memory, mechanisms for optical data recording and processing, photosensitive materials, optical, optoelectronic and holographic nanostructures, and many other related topics. Papers on memory systems using holographic and biological structures and concepts of brain operation are also included. The journal pays particular attention to research in the field of neural net systems that may lead to a new generation of computional technologies by endowing them with intelligence.
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术官方微信
小红书