arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2506.05977cs.LGcs.DC
收藏

联邦微调中基于自适应Transformer块扩展的灾难性遗忘缓解方法

Mitigating Catastrophic Forgetting with Adaptive Transformer Block Expansion in Federated Fine-Tuning

School of Computer Science and Technology, University of Science and Technology of China(计算机科学与技术学院,中国科学技术大学);Suzhou Institute for Advanced Research, University of Science and Technology of China(苏州市先进研究 institute,中国科学技术大学);School of Computer Science and Technology, China University of Mining and Technology(计算机科学与技术学院,中国矿业大学);Mine Digitization Engineering Research Center of the Ministry of Education(教育部矿山数字化工程研究中心)

Yujia Huo, Jianchun Liu, Hongli Xu, Zhenguo Ma, Shilong Wang, Liusheng Huang

AI总结:

针对联邦微调中的灾难性遗忘问题,本文提出FedBE框架,通过自适应Transformer块扩展和动态可训练块分配策略分离新旧知识并适配异构客户端,显著提升准确率保持率和收敛速度。

摘要:

大语言模型(LLMs)的联邦微调(FedFT)已成为一种有前景的解决方案,用于在保证数据隐私的同时将模型适配到分布式数据环境。现有的FedFT方法主要采用参数高效微调(PEFT)技术来降低通信和计算开销。然而,它们往往未能充分解决灾难性遗忘这一在分布式环境中持续适配所产生的关键挑战。传统的集中式微调方法并非为联邦环境固有的异构性和隐私受限特性而设计,难以有效缓解该问题。此外,客户端之间数据分布和设备能力的显著差异进一步加剧了遗忘并降低了模型泛化能力。为解决这些问题,我们提出FedBE,一种新颖的FedFT框架,该框架将自适应Transformer块扩展机制与动态可训练块分配策略相结合。具体而言,FedBE在模型架构内扩展可训练块,从结构上将新学习的任务特定知识与原始预训练表示分离开来。此外,FedBE根据客户端的数据分布和计算能力动态分配这些可训练块。这使该框架能够更好地适应异构联邦环境,并增强模型的泛化能力。大量实验表明,与现有联邦微调方法相比,FedBE在微调后的通用任务上实现了12-74%更高的准确率保持率,并在不降低下游任务准确率的情况下实现了1.9-3.1倍的模型收敛加速比。

英文摘要:

Federated fine-tuning (FedFT) of large language models (LLMs) has emerged as a promising solution for adapting models to distributed data environments while ensuring data privacy. Existing FedFT methods predominantly utilize parameter-efficient fine-tuning (PEFT) techniques to reduce communication and computation overhead. However, they often fail to adequately address the catastrophic forgetting, a critical challenge arising from continual adaptation in distributed environments. The traditional centralized fine-tuning methods, which are not designed for the heterogeneous and privacy-constrained nature of federated environments, struggle to mitigate this issue effectively. Moreover, the challenge is further exacerbated by significant variation in data distributions and device capabilities across clients, which leads to intensified forgetting and degraded model generalization. To tackle these issues, we propose FedBE, a novel FedFT framework that integrates an adaptive transformer block expansion mechanism with a dynamic trainable-block allocation strategy. Specifically, FedBE expands trainable blocks within the model architecture, structurally separating newly learned task-specific knowledge from the original pre-trained representations. Additionally, FedBE dynamically assigns these trainable blocks to clients based on their data distributions and computational capabilities. This enables the framework to better accommodate heterogeneous federated environments and enhances the generalization ability of the model.Extensive experiments show that compared with existing federated fine-tuning methods, FedBE achieves 12-74% higher accuracy retention on general tasks after fine-tuning and a model convergence acceleration ratio of 1.9-3.1x without degrading the accuracy of downstream tasks.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑