arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2310.08948cs.CVcs.AI
收藏

基于提示的联邦类增量学习

Federated Class-Incremental Learning with Prompting

School of Software, Shandong University(山东大学软件学院);Department of Computer Science and Technology, Tsinghua University(清华大学计算机科学与技术系)

Xin Luo, Fang-Yi Liang, Jiale Liu, Yu-Wei Zhan, Zhen-Duo Chen, Xin-Shun Xu

AI总结:

本文针对联邦类增量学习中的灾难性遗忘和非独立同分布问题,提出FCILPT方法,通过提示编码任务知识并在聚合前对齐任务信息,在多个数据集上显著提升了准确率。

摘要:

随着Web技术的持续发展,使用存储在不同客户端上的数据已变得越来越普遍。与此同时,联邦学习因其在让模型从分布在各个客户端的数据中学习时能够保护数据隐私而受到广泛关注。然而,大多数现有工作假设客户端的数据是固定的。在现实场景中,这种假设很可能不成立,因为数据可能持续生成,新的类别也可能不断出现。为此,我们聚焦于实用且具有挑战性的联邦类增量学习(FCIL)问题。在FCIL中,本地模型和全局模型可能因新类别的到来而遭受对旧类别的灾难性遗忘,并且客户端的数据分布是非独立同分布(non-iid)的。在本文中,我们提出了一种新颖的方法,称为基于提示的联邦类增量学习(FCILPT)。考虑到隐私和有限的内存,FCILPT不使用基于重放的缓冲区来保存旧数据的样本。我们选择使用提示来缓解对旧类别的灾难性遗忘。具体而言,我们将任务相关和任务无关的知识编码到提示中,保留本地客户端的旧知识和新知识,并解决灾难性遗忘问题。我们首先在本地客户端的提示池中对任务信息进行排序,以便在全局聚合之前对齐不同客户端上的任务信息。这确保了同一任务的知识被充分整合,解决了同一增量任务中不同客户端之间因类别缺失而导致的非独立同分布问题。在CIFAR-100、Mini-ImageNet和Tiny-ImageNet上的实验表明,FCILPT相较于最先进的方法取得了显著的准确率提升。

英文摘要:

As Web technology continues to develop, it has become increasingly common to use data stored on different clients. At the same time, federated learning has received widespread attention due to its ability to protect data privacy when let models learn from data which is distributed across various clients. However, most existing works assume that the client's data are fixed. In real-world scenarios, such an assumption is most likely not true as data may be continuously generated and new classes may also appear. To this end, we focus on the practical and challenging federated class-incremental learning (FCIL) problem. For FCIL, the local and global models may suffer from catastrophic forgetting on old classes caused by the arrival of new classes and the data distributions of clients are non-independent and identically distributed (non-iid). In this paper, we propose a novel method called Federated Class-Incremental Learning with PrompTing (FCILPT). Given the privacy and limited memory, FCILPT does not use a rehearsal-based buffer to keep exemplars of old data. We choose to use prompts to ease the catastrophic forgetting of the old classes. Specifically, we encode the task-relevant and task-irrelevant knowledge into prompts, preserving the old and new knowledge of the local clients and solving the problem of catastrophic forgetting. We first sort the task information in the prompt pool in the local clients to align the task information on different clients before global aggregation. It ensures that the same task's knowledge are fully integrated, solving the problem of non-iid caused by the lack of classes among different clients in the same incremental task. Experiments on CIFAR-100, Mini-ImageNet, and Tiny-ImageNet demonstrate that FCILPT achieves significant accuracy improvements over the state-of-the-art methods.

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

↑