Paper Reading AI Learner

DA-Font: Few-Shot Font Generation via Dual-Attention Hybrid Integration

2025-09-20 11:12:15
Weiran Chen, Guiqian Zhu, Ying Li, Yi Ji, Chunping Liu

Abstract

Few-shot font generation aims to create new fonts with a limited number of glyph references. It can be used to significantly reduce the labor cost of manual font design. However, due to the variety and complexity of font styles, the results generated by existing methods often suffer from visible defects, such as stroke errors, artifacts and blurriness. To address these issues, we propose DA-Font, a novel framework which integrates a Dual-Attention Hybrid Module (DAHM). Specifically, we introduce two synergistic attention blocks: the component attention block that leverages component information from content images to guide the style transfer process, and the relation attention block that further refines spatial relationships through interacting the content feature with both original and stylized component-wise representations. These two blocks collaborate to preserve accurate character shapes and stylistic textures. Moreover, we also design a corner consistency loss and an elastic mesh feature loss to better improve geometric alignment. Extensive experiments show that our DA-Font outperforms the state-of-the-art methods across diverse font styles and characters, demonstrating its effectiveness in enhancing structural integrity and local fidelity. The source code can be found at \href{this https URL}{\textit{this https URL}}.

Abstract (translated)

少样本字体生成旨在使用有限数量的字符参考来创建新字体。这种方法可以显著降低手动设计字体的工作量。然而,由于字体风格的变化和复杂性,现有方法生成的结果往往存在明显的缺陷,如笔画错误、伪影和模糊。为了解决这些问题,我们提出了DA-Font框架,该框架集成了双注意力混合模块(DAHM)。具体来说,我们引入了两个协同的注意力块:组件注意块通过利用内容图像中的部件信息来指导风格转换过程;关系注意块进一步通过交互原始和样式化的部件级表示来细化空间关系。这两个模块协作以保持准确的文字形状和风格纹理。 此外,我们还设计了一致性角损失和弹性网格特征损失,以便更好地改善几何对齐。广泛的实验表明,在各种字体风格和字符中,我们的DA-Font方法优于最先进的方法,证明了其在增强结构完整性和局部保真度方面的有效性。源代码可以在 [此链接](this https URL) 获取。

URL

https://arxiv.org/abs/2509.16632

PDF

https://arxiv.org/pdf/2509.16632.pdf


Tags
3D Action Action_Localization Action_Recognition Activity Adversarial Agent Attention Autonomous Bert Boundary_Detection Caption Chat Classification CNN Compressive_Sensing Contour Contrastive_Learning Deep_Learning Denoising Detection Dialog Diffusion Drone Dynamic_Memory_Network Edge_Detection Embedding Embodied Emotion Enhancement Face Face_Detection Face_Recognition Facial_Landmark Few-Shot Gait_Recognition GAN Gaze_Estimation Gesture Gradient_Descent Handwriting Human_Parsing Image_Caption Image_Classification Image_Compression Image_Enhancement Image_Generation Image_Matting Image_Retrieval Inference Inpainting Intelligent_Chip Knowledge Knowledge_Graph Language_Model LLM Matching Medical Memory_Networks Multi_Modal Multi_Task NAS NMT Object_Detection Object_Tracking OCR Ontology Optical_Character Optical_Flow Optimization Person_Re-identification Point_Cloud Portrait_Generation Pose Pose_Estimation Prediction QA Quantitative Quantitative_Finance Quantization Re-identification Recognition Recommendation Reconstruction Regularization Reinforcement_Learning Relation Relation_Extraction Represenation Represenation_Learning Restoration Review RNN Robot Salient Scene_Classification Scene_Generation Scene_Parsing Scene_Text Segmentation Self-Supervised Semantic_Instance_Segmentation Semantic_Segmentation Semi_Global Semi_Supervised Sence_graph Sentiment Sentiment_Classification Sketch SLAM Sparse Speech Speech_Recognition Style_Transfer Summarization Super_Resolution Surveillance Survey Text_Classification Text_Generation Time_Series Tracking Transfer_Learning Transformer Unsupervised Video_Caption Video_Classification Video_Indexing Video_Prediction Video_Retrieval Visual_Relation VQA Weakly_Supervised Zero-Shot