arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2212.08354cs.CL
收藏

FewFedWeight:跨多个NLP任务的Few-Shot联邦学习框架

FewFedWeight: Few-shot Federated Learning Framework across Multiple NLP Tasks

Tianjin University(天津大学);ByteDance(字节跳动)

Weilong Dong, Xinwei Wu, Junzhuo Li, Shuangzhi Wu, Chao Bian, Deyi Xiong

摘要:

大规模多任务学习与大语言模型最近取得了实质性进展的Few-Shot泛化。然而,这通常以集中式学习的方式执行,忽略了多个任务中使用的(注释)数据的隐私敏感性问题。为了缓解这个问题,我们提出了FewFedWeight,一个跨多个任务的Few-Shot联邦学习框架,以实现两全其美:隐私保护和跨任务泛化。FewFedWeight在隔离的设备中训练客户端模型,而不共享数据。它将服务器中的全局模型广播到每个客户端,并为客户端产生伪数据,以便可以探索来自全局模型的知识,以增强每个客户端模型的少样本学习。进一步提出了一种基于能量的算法来加权伪样本,以减少来自所生成的伪数据的噪声的负面影响。客户端模型的自适应模型权重也根据其性能进行调整。我们使用这些模型权重来动态聚合客户端模型以更新全局模型。在118个NLP任务上的实验表明,FewFedWeight可以显著提高客户端模型在61%任务上的性能,平均性能提高率为30.5%,并且大大优于FedAvg和其他分散式学习方法。

英文摘要:

Massively multi-task learning with large language models has recently made substantial progress on few-shot generalization. However, this is usually performed in a centralized learning fashion, ignoring the privacy sensitivity issue of (annotated) data used in multiple tasks. To mitigate this issue, we propose FewFedWeight, a few-shot federated learning framework across multiple tasks, to achieve the best of both worlds: privacy preservation and cross-task generalization. FewFedWeight trains client models in isolated devices without sharing data. It broadcasts the global model in the server to each client and produces pseudo data for clients so that knowledge from the global model can be explored to enhance few-shot learning of each client model. An energy-based algorithm is further proposed to weight pseudo samples in order to reduce the negative impact of noise from the generated pseudo data. Adaptive model weights of client models are also tuned according to their performance. We use these model weights to dynamically aggregate client models to update the global model. Experiments on 118 NLP tasks show that FewFedWeight can significantly improve the performance of client models on 61% tasks with an average performance improvement rate of 30.5% over the baseline and substantially outperform FedAvg and other decentralized learning methods.

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

↑