协作式中文文本识别与个性化联邦学习
Collaborative Chinese Text Recognition with Personalized Federated Learning
AI总结:
针对中文文本识别中数据隐私与本地数据不足问题,提出基于个性化联邦学习的pFedCR算法,通过全局训练与本地微调结合注意力机制,在真实工业数据集上提升本地模型性能约20%,并优于现有方法6%-8%。
摘要:
在中文文本识别中,为了弥补本地数据的不足并提升本地少样本字符识别的性能,一个组织通常需要从相似组织收集大量数据。然而,由于文本数据中天然存在地址、电话号码等隐私信息,不同组织不愿共享私有数据。因此,设计一种隐私保护的协作式训练框架用于中文文本识别任务变得日益重要。本文首次将个性化联邦学习(pFL)引入中文文本识别任务,提出pFedCR算法,在不共享私有数据的前提下显著提升每个客户端(组织)的模型性能。具体而言,pFedCR包含两个阶段:多轮全局模型训练阶段和本地个性化阶段。在第一阶段,CRNN模型中融入注意力机制以适应各客户端的数据分布差异;利用字符数据固有特征,在服务器端构建均衡数据集以缓解字符不平衡问题。在个性化阶段,对全局模型微调一个epoch以生成本地模型;通过本地模型与全局模型之间的参数平均,融合个性化与全局特征提取能力。最后,仅微调注意力层以增强其对本地个性化特征的关注。在三个真实工业场景数据集上的实验结果表明,pFedCR算法能将本地个性化模型的性能提升约20%,同时提升其在其他客户端数据域上的泛化性能。与其他最先进的个性化联邦学习方法相比,pFedCR性能提升6%至8%。
英文摘要:
In Chinese text recognition, to compensate for the insufficient local data and improve the performance of local few-shot character recognition, it is often necessary for one organization to collect a large amount of data from similar organizations. However, due to the natural presence of private information in text data, such as addresses and phone numbers, different organizations are unwilling to share private data. Therefore, it becomes increasingly important to design a privacy-preserving collaborative training framework for the Chinese text recognition task. In this paper, we introduce personalized federated learning (pFL) into the Chinese text recognition task and propose the pFedCR algorithm, which significantly improves the model performance of each client (organization) without sharing private data. Specifically, pFedCR comprises two stages: multiple rounds of global model training stage and the the local personalization stage. During stage 1, an attention mechanism is incorporated into the CRNN model to adapt to various client data distributions. Leveraging inherent character data characteristics, a balanced dataset is created on the server to mitigate character imbalance. In the personalization phase, the global model is fine-tuned for one epoch to create a local model. Parameter averaging between local and global models combines personalized and global feature extraction capabilities. Finally, we fine-tune only the attention layers to enhance its focus on local personalized features. The experimental results on three real-world industrial scenario datasets show that the pFedCR algorithm can improve the performance of local personalized models by about 20\% while also improving their generalization performance on other client data domains. Compared to other state-of-the-art personalized federated learning methods, pFedCR improves performance by 6\% $\sim$ 8\%.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。