FedBE通过动态扩展模型块缓解联邦微调中的灾难性遗忘。
Mitigating Catastrophic Forgetting with Adaptive Transformer Block Expansion in Federated Fine-Tuning
- 动态扩展模型结构,分离新旧知识避免遗忘
- 相比现有方法,通用任务准确率提升12%-74%
- 适合资源差异大、数据异构的联邦学习场景
大型语言模型在联邦微调(FedFT)中已成为适应分布式数据环境并保障数据隐私的有前景方案。现有方法多采用参数高效微调(PEFT)降低通信与计算开销,但难以有效应对持续适应带来的灾难性遗忘问题。传统中心化微调方法因未针对联邦环境的异构性与隐私约束设计,难以缓解此问题。此外,客户端间数据分布与设备能力的显著差异加剧了遗忘现象并损害模型泛化能力。为此,我们提出FedBE框架,结合自适应变压器块扩展机制与动态可训练块分配策略。该框架在模型结构中扩展可训练块,将新学的任务特定知识与原始预训练表示结构分离,并根据客户端数据分布与算力动态分配这些块。这使系统更适应异构联邦环境,提升模型泛化能力。大量实验表明,相比现有方法,FedBE在微调后通用任务上实现12%-74%更高的准确率保留,模型收敛速度提升1.9-3.1倍,且不降低下游任务准确率。
原文摘要 · Abstract (English)
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.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。