Manuscript Offprint
arXiv:2610.34461Task Relevance-Driven Prompt Expansion for Federated Continual Learning
Jiahua Dong, Wenqi Liang, Yang Cong, Yichen Li, Hongyuan Yu, Henghui Ding, Yulun Zhang, Salman Khan and Fahad Shahbaz Khan
Abstract—Federated continual learning (FCL) has attracted considerable interest by enabling local clients to continually acquire knowledge from new tasks. However, most FCL methods assume that the global server has prior knowledge of the arrival times and number of categories for new tasks, which is unrealistic in the real world. Furthermore, they neglect the importance of positive inter-task semantic relationships when learning new tasks and are significantly affected by irrelevant relationships from old tasks, thereby exacerbating catastrophic forgetting. To resolve the above challenges, we develop a novel Task Relevance-driven Prompt Expansion (TRPE) model. Specifically, to eliminate the reliance on prior knowledge of new tasks, we propose an out-of-distribution detector to identify the arrival of new tasks within local clients, along with a radius-adaptive DBSCAN to infer the quantity of categories in new tasks on the proxy server. Moreover, to explore positive inter-task relationships, we calculate the affinity between the original gradient for learning new task and its gradient orthogonal to the feature space of old tasks to evaluate semantic relevance between old and new tasks from a global perspective. Then, we use this global task relevance to determine the key-prompt pair for new tasks and identify highly related old tasks. After concatenating their prompts for training, we can leverage such positive inter-task relations to improve the continual learning of newly arriving tasks. To balance the learning of new tasks and the forgetting of old ones, a soft orthogonality constraint is applied to the local key and prompt gradients. Experiments spanning diverse datasets and backbones confirm the efficacy of our TRPE model.
Index Terms—Federated Continual Learning, Task Relevance Measure, Prior Knowledge, Catastrophic Forgetting.
1 INTRODUCTION
FEDERATED learning (FL) [23], [25], [60], [73] is a widely adopted collaborative training paradigm that enables multiple distributed local clients to develop a global model while protecting the privacy of their local data [55], [75]. Unlike traditional approaches that require centralizing data, FL allows each client to train the model locally on their own data and communicate only the necessary model updates with a global server [23], [25], [58]. In recent decades, federated learning has achieved significant success in addressing growing concerns over data privacy and security [6], [25], [38], making it particularly valuable in information-sensitive applications such as finance [32], healthcare [9], and mobile technology [31]. While successful, most FL approaches [6],
Jiahua Dong, Salman Khan and Fahad Shahbaz Khan are with the Mohamed bin Zayed University of Artificial Intelligence, Abu Dhabi, UAE. Email: dongjiahua1995@gmail.com, salman.khan@mbzuai.ac.ae, fahad.khan@mbzuai.ac.ae.
• Wenqi Liang is with the University of Trento, Trento, Italy. Email: liangwenqi0123@gmail.com.
• Yang Cong is with the South China University of Technology, Guangzhou, China. Email: congyang81@gmail.com.
• Yichen Li is with the School of Computer Science and Technology, Huazhong University of Science and Technology. Email: ycli0204@hust.edu.cn.
• Hongyuan Yu is with the Xiaomi, Beijing, China. Email: yuhyuan1995@gmail.com.
• Henghui Ding is with the Institute of Big Data, Fudan University, Shanghai, China. Email: henghui.ding@gmail.com.
• Yulun Zhang is with the Shanghai Jiao Tong University, Shanghai, China. Email: yulun100@gmail.com.
Manuscript received April 19, 2005; revised August 26, 2015.
This work was supported in part by the National Nature Science Foundation of China under Grant 62225310, and 62127807.
Jiahua Dong and Wenqi Liang contributed equally to this work.
The corresponding author is Dr. Jiahua Dong.
[58] aim to learn a single task with a fixed dataset on local clients. They struggle to continually learn a sequence of new tasks over time and may experience catastrophic forgetting [44], [74] of old tasks when local clients do not have memory to store all training samples from previous tasks. To tackle this limitation, recent studies have focused on federated continual learning (FCL) [10], [13], [69]. As presented in Fig. 1, FCL allows local clients to learn new tasks consecutively while retaining knowledge from previous tasks, facilitating applications in areas such as healthcare and smart cities.
Generally, mainstream studies on FCL [12], [17], [34], [37] can be broadly classified into two categories: rehearsal-based and rehearsal-free methods. The former allocates a fixed rehearsal buffer to retain some samples from old tasks [10], [13], which can help mitigate catastrophic forgetting by retraining the global model using the training data from both old and new tasks. Unfortunately, this exemplar buffer may raise privacy concerns in many applications [54], further limiting its practical adoption. To address this issue, rehearsal-free FCL approaches apply a regularization term to the global model to preserve the semantic information of old tasks [34], [69] or utilize generative models to replay the training data of old tasks [2], [28]. Nevertheless, they require transmitting the entire model to learn new tasks continuously, resulting in high communication overhead. In light of this, some rehearsal-free FCL methods [37], [41] incorporate prompt learning [62], [65] with FL to enhance communication efficiency. They inject task-specific prompts into a pretrained vision transformer (ViT) [14], achieving state-of-the-art performance in tackling catastrophic forgetting and thereby driving recent advancements in FCL [17].
However, the aforementioned FCL methods [10], [13],

Fig. 1. Illustration of the Federated Continual Learning (FCL) problem.
[28], [34], [69] unreasonably assume that the global server knows both the arrival times and the total class number of new tasks in advance. This assumption violates privacy protection requirement of FCL [54]. Once this prior knowledge is unavailable, they cannot continue to learn new tasks. Moreover, existing FCL methods [17], [29], [54] overlook the importance of inherent semantic relationships between new and old tasks in addressing forgetting of previous tasks while facilitating the learning of newly arriving tasks. They cannot determine which types of inter-task relationships are effective for facilitating the learning of new tasks from a global perspective, and the improper use of irrelevant semantic relations may exacerbate catastrophic forgetting. To better comprehend these challenges, we introduce an intuitive example in this paper. The structural information of the bus learned from old tasks can provide positive guidance for learning the truck in new tasks, and their shared characteristics help mitigate forgetting related to the bus. Some irrelevant relations, such as correlations in modalities and appearances between the bus and truck, may hinder the learning of new tasks. To explore positive semantic relations between the bus and truck, the global server is assumed to know in advance when local clients receive novel tasks, which is not realistic in the real world.
Inspired by the example above, we summarize two key aspects to address the limitations of existing FCL methods:
• How to Address Dependence on Prior Knowledge: Owing to the heterogeneous data distributions across local clients, the global server cannot realistically obtain prior information about when new tasks emerge or how many classes each incoming task contains. The lack of this prior knowledge makes it difficult for existing FCL methods [10], [54] to learn new tasks continually. Thus, in this work, we aim to enable the global server to automatically detect newly arriving tasks and the quantity of classes in new tasks, so that we exploit intrinsic inter-task relations to facilitate the learning of new tasks while alleviating the forgetting of old tasks.
• How to Explore Positive Inter-Task Relationships: It is challenging to manually evaluate which old task has a closer relationship with the new task, especially when data distributions across local clients are heterogeneous in FCL [29], [34], [37], [69]. In light of this, we focus on developing a novel task relevance measure to accurately quantify the affinity between each old task and the new task from a global perspective. This task relevance measure is essential for exploring positive semantic relations between the new task and highly relevant old tasks, while disregarding irrelevant and noisy inter-task relationships to alleviate forgetting of previous tasks.
To tackle the above challenges, we develop a novel Task Relevance-driven Prompt Expansion (TRPE) model, which falls under the category of prompt-based rehearsal-free FCL [41]. Our model is a pioneering work to eliminate the reliance on prior knowledge of new tasks while exploring positive inter-task relationships to address the forgetting of previous tasks in the FCL field. Specifically, to address the dependence on prior knowledge of new tasks, we propose an out-of-distribution detector to identify when local clients encounter new tasks. Moreover, we design a radius-adaptive DBSCAN module on the proxy server to accurately infer the quantity of classes in each new task without prior knowledge. Additionally, to exploit positive inter-task relations, we utilize singular value decomposition to build feature spaces for old tasks and compute the affinity between the original gradient for learning a novel task and its gradient orthogonal to the feature space of old tasks. This enables us to measure the semantic relevance between new and old tasks from a global perspective. We then use the global task relevance to determine whether the global server expands a new key-prompt pair for the new task or reuses the key-prompt pair from the previous task most relevant to the new one. After concatenating the prompts of the new task with those of some highly relevant old tasks, we inject this concatenated prompt into a pretrained ViT [14] to leverage positive inter-task relations for learning new tasks. Finally, a soft orthogonality constraint is imposed on the key and prompt gradients, achieving a better balance between learning new tasks and mitigating forgetting of previously learned tasks.
The superiority of the proposed TRPE model is validated through extensive experimental studies across diverse benchmarks. The contributions of this work are listed as follows:
• We design a novel Task Relevance-driven Prompt Expansion (TRPE) model, a pioneering work that eliminates strong reliance on prior knowledge of new tasks and explores positive inter-task relationships to mitigate the catastrophic forgetting of old tasks in the FCL field.
• We develop an out-of-distribution detector and a radius-adaptive DBSCAN to address the dependence on prior knowledge. They can detect when new tasks emerge and how many classes each incoming task contains.
• We devise an effective task relevance measure to evaluate intrinsic semantic relations between new and old tasks from a global perspective, which explores positive inter-task relationships for the learning of new tasks.
• We conduct extensive experiments to validate that our model has state-of-the-art performance in addressing diverse class/domain-incremental settings of FCL.
This work extends the methodology proposed in our conference paper [11] from the centralized continual learning paradigm to the more challenging FCL setting, encompassing both class- and domain-incremental scenarios, in which task boundaries and the quantity of categories in each incremental task are unknown and must be inferred in a decentralized manner. While retaining the backbone architectures and the prompt-learning framework proposed by [11] for continual learning at local clients, we introduce several significant methodological improvements to address the challenges of FCL: 1) Unlike [11], which relies heavily on prior knowledge of newly emerging tasks, we design an out-of-distribution detector and a radius-adaptive DBSCAN module to identify newly arriving tasks and estimate the number of classes in each incoming task. 2) We develop an effective task relevance measure to assess the semantic affinity between new and old tasks from a global perspective within the proxy server, and use the resulting global task relevance to determine whether the global server should expand a new key-prompt pair for the new task or reuse the key-prompt pair of the previous task that is most semantically relevant to it. 3) We use the task relevance measure to identify previous semantically relevant tasks and incorporate the corresponding prompts to exploit positive inter-task semantic relationships, thereby facilitating continual learning of novel tasks in FCL. Such exploitation of positive inter-task relationships is largely overlooked by [11] and existing FCL methods. 4) Our TRPE model applies a soft orthogonality constraint to the key and prompt gradients during optimization, achieving a better balance between learning novel tasks and mitigating forgetting of old tasks.
Continual Learning (CL) [11], [19], [36], [78] involves learning from a stream of consecutive tasks without sacrificing knowledge accumulated from previous experiences. As introduced in [63], it is divided into four categories. Some regularizer-based CL methods introduce a penalty term to constrain the updating of network parameters related to old tasks [21], [30], [46], [74], or they perform knowledge distillation [30], [44], [51] between old and new models. The replay-based CL methods store some exemplars of old categories [4], [33] or rely on generative models to synthesize some images belonging to old classes [50], [56], [67]. In order to continually learn new tasks, architecture-based methods [1], [15], [39], [70] dynamically expand their networks to encode additional semantic knowledge while minimizing forgetting. Moreover, some representation-based methods use contrastive learning [16], [35], [40] or prompt learning [53], [66] to continually learn new tasks. However, the above CL methods [11], [46], [70] cannot be directly applied to FCL, as they require privacy-sensitive prior knowledge of when new incremental tasks are introduced on local clients.
Federated Continual Learning (FCL) [12], [17], [69], [72] allows multiple local clients to continually learn new tasks while collaborating with others without compromising privacy. Yoon et al. [69] propose an inter-client knowledge transfer framework to address the task-incremental setting, while Dong et al. [10], [13] focus on tackling the class-incremental setting by mitigating both local and global forgetting. Inspired by [13], some works [2], [41], [42], [76] employ a data generator to synthesize some images of old classes for local clients. Additionally, [57] introduces the text embeddings to enrich semantic information of old classes, effectively addressing catastrophic forgetting of old tasks. To improve the communication efficiency, some prompt-based FCL methods [3], [17], [37], [41] leverage prompt learning [18], [53], [65] to help local clients collaboratively alleviate forgetting. However, most existing FCL approaches [10], [13], [17], [69] neglect the importance of leveraging intrinsic inter-task relationships to reduce forgetting of old tasks and improve continual learning on newly emerging tasks.
3 PROBLEM DEFINITION
Federated continual learning (FCL) [13], [41], [70] aims to collaboratively learn a sequence of tasks, denoted by , across multiple distributed clients while preserving data privacy, where denotes the task quantity. Each task consists of image-label pairs, with denoting the -th input image and representing its one-hot label. Here, denotes the image space, whereas is the label space associated with the -th task and contains categories. The FCL framework comprises a global server together with distributed clients, denoted by . During the learning process of the -th task , training proceeds through global communication rounds. In the -th round ( ), the global server distributes the current global model to the -th client . Upon receiving , updates its local model by training on its private dataset , which includes pairs of samples and labels . Here, is a subset of the -th task . represents the label space of the -th local client , and is a subset of . is composed of classes, where . is the data distribution of , and exhibit large divergence.
As requiring task identity in a task-incremental setting severely compromises the privacy of local clients [62], we focus solely on class/domain-incremental settings in FCL:
-
Class-Incremental Setting: The feature spaces of any two incremental tasks are disjoint: . At the -th task, the label space contains new categories, which are different from old categories learned from previous tasks . For the -th local client , its label space comprises new classes, which are a subset of .
-
Domain-Incremental Setting: All tasks are defined over an identical label space, i.e., for , while their underlying data distributions differ substantially across domains. For the -th incremental task, the label
space of client , denoted by , is a subset of and contains categories, satisfying .
At the -th task, the local client optimizes its local model using , resulting in an updated model denoted by . Then collects the updated local models from the selected clients and integrates them to produce the global model for the next round of training. Motivated by [13], we do not allocate memory for local clients to store any exemplars from old tasks (i.e., rehearsal-free). Additionally, new local clients that only collect data for new tasks can join the global training of FL [60] randomly at each incremental task. The data distributions of local clients, the quantity of tasks, and the arrival times of new tasks are all unknown in advance. To address the FCL problem, we focus on training a global model on decentralized local data to learn new tasks consecutively without forgetting.
4 THE PROPOSED MODEL
4.1 Preliminary
Recently, many works [37], [41] have adopted prompt-based continual learning [43], [66] to address the FCL problem without storing or replaying data from old tasks. In this paper, we use L2P [66] as an example to revisit the core components of most prompt-based FCL methods [37], where L2P [66] can be replaced with other commonly used prompt technologies (e.g., DualPrompt [65], S-Prompt [64], HiDePrompt [62] and PGP [43]). Specifically, in the -th global round, they use the pretrained vision transformer (ViT) [14] as the global model , and introduce a global key-prompt pair for the -th task . Here, denotes the frozen feature extractor, is the one-layer global classifier, and is the feature dimension. is the prompt, and denotes the key used to retrieve its corresponding prompt during testing, where is the sequence length of .
At task in communication round , the global server sends and to local client , which inherits these parameters to obtain local classifier and local key-prompt pair . Then the local model of is defined as . To learn the -th task, Masum et al. [37] propose to inject the local prompt into the feature extractor via the prefix tuning strategy [26]. Subsequently, they introduce a matching loss to align the local key with the features of input images at the -th task [66]. Here, is the feature of extracted by , and is used to measure cosine similarity. Thus, the objective for learning the -th task at client is defined as:
where is cross-entropy loss and denotes contrastive learning loss [37], [62]. and are the hyperparameters.
When optimizing Eq. (1) to learn the -th task in the -th global round, updates the local key-prompt pair and classifier . After receiving all updated parameters from local clients, averages them to obtain the global key-prompt pair and global classifier , which are then broadcast to local clients for training in the -th round. Once the learning of the -th task is completed in the -th round, will obtain the global key-prompt pair and the global classifier , which are denoted as and , respectively. Then, stores all the key-prompt pairs and classifiers learned so far in and shares them with local clients for evaluation. Given a test image , first determines the task index from via , and then injects the prompt to the model for prediction, where is the concatenation of all task classifiers, and .
4.2 Task Relevance-Driven Prompt Expansion
Despite leveraging some prompt technologies [53], [66] to improve communication efficiency, existing prompt-based FCL approaches [37], [41], [71], [72] require prior knowledge of the arrival times and the total number of classes for new tasks to enable continual learning. This requirement severely compromises privacy protection and is impractical in real-world applications. Additionally, the aforementioned FCL methods [37], [72] overlook the importance of intrinsic relationships between old and new tasks in facilitating the learning of new tasks. Therefore, they are susceptible to the negative effects of irrelevant inter-task relationships, which may aggravate catastrophic forgetting of previous tasks. To tackle these issues, as presented in Fig. 2, we develop a novel Task Relevance-driven Prompt Expansion (TRPE) model. The proposed TRPE model effectively addresses the dependence on advance task information in Sec. 4.2.1, while exploring positive inter-task relations through a task relevance measure to enhance the continual learning of new tasks in Sec. 4.2.2.
4.2.1 How to Address Dependence on Prior Knowledge
If local clients intend to learn consecutive new tasks, existing FCL methods [13], [37], [41], [69], [72] require advance information about when local clients encounter new tasks and how many classes each incoming task contains. They use such prior knowledge to initialize the global task classifier for the continual learning of new tasks. However, it heavily compromises the privacy of local data, thereby violating the privacy protection requirements in FCL. Furthermore, because clients exhibit heterogeneous data distributions in real-world settings, it is unrealistic for the global server to know the class number of a new task in advance or to detect new tasks through class labels. To eliminate the dependence on prior knowledge, as shown in Fig. 2, we propose an out-of-distribution detector to identify the arrival of new tasks at local clients, and a radius-adaptive DBSCAN module at the proxy server to detect the quantity of classes in new tasks.
• Out-Of-Distribution Detector: When a data stream associated with new task , , unexpectedly reaches local client , the current global model learning the -th task treats those samples as out-of-distribution data (i.e., outliers). Inspired by this observation, we design an out-of-distribution detector for local clients to identify new tasks without prior knowledge. Specifically, during the -th global round for task , the global server transmits the most recent global key-prompt pair and the global classifier to the local client . Subsequently, denotes them as and merges them into learned from previous tasks.

Fig. 2. Diagram of our model. It contains an out-of-distribution detector for recognizing new-task arrivals at local clients and a radius-adaptive DBSCAN module for estimating new-task category counts at the proxy server, thereby addressing dependence on prior knowledge (Sec. 4.2.1). Our TRPE also comprises a task relevance measure to exploit positive inter-task relations for the continual learning of new tasks (Sec. 4.2.2).
Given an image , retrieves its task index via , and then injects the prompt into the model to predict the probability , where , and . Thus, the average task entropy for the novel task is:
where denotes s entropy value. When the average task entropy experiences a sudden increase: , we consider this an indication that has discovered out-of-distribution data (i.e., a new task). Here, we empirically set (see Fig. 7).
• Radius-Adaptive DBSCAN: When local clients detect the arrival of task via Eq. (2), denotes the latest global key-prompt pair and classifier as and , respectively. Then, stores them in . Subsequently, local clients compute the global prototype for class () of the -th new task without prompt injection:
where . After obtaining via Eq. (3), transmits them to the proxy server . Then, collects all global class prototypes from the selected local clients to construct a prototype pool . In this paper, consists of the indices of all local clients that have detected the arrival of task via Eq. (2).
As presented in Fig. 2, the proxy server utilizes the prototype pool not only to detect the quantity of classes in task from a global perspective, but also to construct the feature space for the task relevance measure in Sec. 4.2.2. This subsection focuses solely on how to implement the former. Since prototypes belonging to the same class can be grouped into a single cluster, DBSCAN [49] provides a feasible clustering approach for estimating the number of categories in task . It utilizes a radius and a minimal cluster size to group different clusters, where defines the size of cluster space, and ensures that each cluster contains at least global class prototypes. However, directly applying the conventional DBSCAN [49] with a constant radius to estimate the category count in the -th task makes the method highly susceptible to noisy class prototypes and outliers introduced by the heterogeneous data distribution across local clients in FCL. Clearly, such noise and outliers can produce erroneous clustering outcomes.
To address this issue, we develop a radius-adaptive DBSCAN module that dynamically adjusts radius to estimate the quantity of classes within novel task :
where is the radius at the -th ( ) iteration. calculates the Euclidean distance between each pair of global class prototypes in . Considering the class imbalance among prototypes, we set to mitigate its negative impact on clustering. Unlike traditional DBSCAN [49], we employ the dynamic radius and to group the prototype pool into clusters at the -th iteration. Evidently, the dynamic radius in Eq. (4) can mitigate the influence of noises and outliers caused by heterogeneous data distributions on clustering results by determining the size of each cluster space based on the distances between different prototypes. Thus, the category count for the -th new task is obtained by:
After receiving from , uses it to initialize global classifier in the first global round ( ) of task and distributes to clients for learning the new task.
4.2.2 How to Explore Positive Inter-Task Relationships
As introduced in [33], [43], [77], when the updating gradient of the new task is strictly orthogonal to the feature spaces of old tasks, the learning of the new task does not interfere with the semantic knowledge acquired from the old tasks, effectively preventing catastrophic forgetting. Inspired by this phenomenon, we argue that the affinity between the original gradient for learning the new task and its gradient orthogonal to the feature space of old tasks can be employed to evaluate the semantic relevance between old and new tasks (i.e., task relevance measure). This task relevance measure is crucial for identifying positive semantic relationships between the new task and highly relevant previous tasks while ignoring irrelevant inter-task relationships. Undoubtedly, exploring such positive inter-task relationships can facilitate the learning of new tasks and alleviate the catastrophic forgetting of old tasks. Nevertheless, existing FCL methods [13], [17], [37], [41], [72] cannot determine which types of inter-task relationships are important for addressing the FCL problem and therefore suffer substantial performance drop from irrelevant relations between old and new tasks.
To leverage positive inter-task semantic relationships, as illustrated in Fig. 2, the proxy server first constructs feature spaces for the -th new task. Then, incorporates the prompt gradients collected from local clients to measure task relevance from a global perspective, addressing the heterogeneity of data distribution in FCL. These task relevance values are transmitted from to the global server and local clients. On the one hand, relies on these values to determine whether it should expand a new key-prompt pair for the new task or reuse the key-prompt pair from the old task most relevant to the novel task. On the other hand, local clients select some semantically relevant old tasks using the global task relevance values and concatenate their prompts for training, thereby facilitating the learning of task .
•Feature Space Construction: As aforementioned, the prototype pool obtained in Sec. 4.2.1 is used to construct the feature space for the -th new task. In this section, we respectively define and as the feature spaces at the -th and the -th tasks. Here, and are the numbers of orthogonal bases. inherits from and adds new orthogonal bases at the -th task. In light of this, the proxy server concatenates all global class prototypes in to form the representation matrix , which is used to explore the newly added orthogonal bases at the -th task. denotes the total quantity of class prototypes. Specifically, first projects the representation matrix onto the feature space of the -th task to eliminate those common orthogonal bases between and :
Then performs Singular Value Decomposition (SVD) on , where and are two orthogonal matrices. ( ) and ( ) denote

Fig. 3. Graphical illustration of the proposed task relevance measure.
their orthogonal bases. consists of the singular values arranged in descending order along its main diagonal. Thus, the -rank approximation of is defined as:
where and include the first orthogonal bases of and , respectively. is composed of the first singular values. As can be seen from Eq. (7), is orthogonal to the feature space . Thus, we regard as new orthogonal bases, and use it to construct the -th incremental-task feature space :
•Task Relevance Measure: After initializing for task , broadcasts along with the global key-prompt pool (learned from previous tasks) to selected clients. To measure the semantic relevance between the -th old task and the -th new task, first injects the prompt of the -th old task into the local model , and then computes the objective loss for task via Eq. (1). Therefore, the prompt gradient is given by:
After obtaining for all previously learned prompts via Eq. (9), local client forwards them directly to proxy server . To address the negative influence of heterogeneous data distributions across clients in FCL, aggregates the prompt gradients from all selected clients to obtain the global prompt gradient . In this paper, uses and the feature spaces obtained from Eq. (8) to measure task relevance from a global perspective. To achieve this, as illustrated in Fig. 3, we project onto the -th task orthogonal feature space to obtain the orthogonal prompt gradient :
where maps the prompt gradient onto the given space , and is orthogonal to the feature space of the -th task. Subsequently, we compute the affinity between and to globally evaluate the semantic relevance between the -th and the -th tasks:
where represents the inverse cosine function. Evidently, if the -th old task is more semantically relevant to task , the orthogonal feature space of the -th task will overlap more with the feature space of the -th task. Greater overlap between and indicates a stronger semantic correlation between and (i.e., a smaller semantic relevance value in Eq. (11)).
However, identifying which old task has the highest semantic relevance to task solely from the values in Eq. (11) is challenging, as heterogeneous data distributions across incremental tasks can distort these values. For example, a pair of tasks with high semantic relevance may exhibit a low score in Eq. (11) due to large data heterogeneity. To tackle this issue, we propose an elastic threshold strategy to accurately measure task relevance within the proxy server. Specifically, as presented in Fig. 3, we further project the global prompt gradient onto the orthogonal feature space of task , and denote this orthogonal gradient as . Here, is orthogonal to the feature space of task obtained via Eq. (8). Similar to in Eq. (11), we formulate the affinity between and as follows:
If the semantic knowledge within the pretrained feature extractor can better facilitate the learning of the -th task, the orthogonality between and will be weaker, thereby resulting in a smaller correlation between and (i.e., a higher value of ). Inspired by this observation, we consider as the elastic threshold to measure task relevance between the -th and the -th tasks:
When , it indicates high semantic relevance between the -th and -th incremental tasks, and that the semantic information encoded by the pretrained feature extractor is particularly beneficial for learning the -th task. In contrast, when , the irrelevant semantic knowledge acquired from the -th task may significantly hinder the learning of task . Evidently, in Eq. (13), the task relevance measure addresses the negative influences of heterogeneous data distributions by incorporating the threshold .
• Determination of : As aforementioned, after obtaining the task relevance values from the proxy server , the global server utilizes this information to determine whether to expand a new key-prompt pair for the new task or reuse the key-prompt pair from the previous task most relevant to the novel task during the first global round of the -th task. Thus, the key-prompt pair for the -th task in the first round can be determined by:
Here, and are both sampled from a Gaussian distribution . When none of the prior tasks exhibit significant semantic relevance to task (namely, ), global server utilizes to expand a new key-prompt pair for task . If , selects the key-prompt pair of the -th task, which has the closest semantic relevance to the -th task, to initialize for learning the -th task. In this paper, is selected from , which is stored by the global server in FCL. Compared with random key-prompt initialization, this key-prompt determination strategy leverages previously learned relevant semantic knowledge to provide a better warm start for learning the -th new task.
• The Learning of New Tasks: Based on the above, we can infer that upon detecting the arrival of task , local clients can obtain task relevance values from the proxy server, along with and from the global server. To exploit positive inter-task relationships, local clients first sort in the ascending order and denote their corresponding task indices as , where . Subsequently, local clients use to select prompts from , and concatenate these prompts along the sequence length to obtain :
where represents the concatenation operation along the sequence length. After obtaining from the global server in the first round ( ) of task , the -th local client initializes its local key-prompt pair and local classifier . Then concatenates and along the sequence length to obtain :
where FRZ( ) is a gradient-freezing function used to halt updates to . Subsequently, utilizes the local prompt to replace the original prompt for learning the -th task. When the training of the first global round ( ) is finished, collects the updated local key-prompt pairs and classifiers to aggregate them for the second training round. By iteratively training in this manner until the -th round, obtains the final key-prompt pair and classifier for the -th task. Then, redefines them as and stores them in to continually learn new tasks.
As previously mentioned, if the update gradients of the new task are strictly orthogonal to the feature spaces of all old tasks, learning the new task will not interfere with previously learned knowledge, thereby alleviating forgetting. However, such strictly orthogonal optimization may hinder the learning of the new task when a significant distribution discrepancy exists between the t-th task and the semantic knowledge encoded in the pretrained ViT [14]. To strike a balance between learning the new task and mitigating forgetting of old tasks, we devise a soft orthogonality constraint on the updating gradients of local key and prompt. At the r-th training round of task t, the gradients used to update local key-prompt pair are defined as:
After applying the soft orthogonality constraint on and , we reformulate Eq. (17) as follows:
Algorithm 1: The Proposed TRPE Model.
Initialize: While learning task ( ) during global round , local clients unexpectedly receive a data stream from task , .
▷ Local Clients:
for in do
Compute the average task entropy via Eq. (2);
if then
Compute class prototypes via Eq. (3);
Send to the proxy server ;
Compute local prompt gradients via Eq. (9) after receiving from ;
Send local prompt gradients to ;
Receive and from ;
Obtain via Eq. (15) after receiving task relevance values from ;
Obtain via Eq. (16);
for do
Inject into to optimize Eq. (1);
Transmit updated to ;
else
Continue learning the -th task by using to optimize on ;
Transmit updated to ;
▷ Proxy Server:
if is a new task then
Build after receiving ;
Obtain via Eq. (5) and send it to ;
Construct via Eq. (8) and send it to local clients;
Receive to obtain via Eq. (13);
Transmit to and ;
▷ Global Server:
if is a new task then
Store the latest in ;
Initialize after receiving from ;
Obtain via Eq. (14) and send them along with to local clients after receiving ;
Average the parameters of as for the next training round;
else
Aggregate as for the next round.
where can flexibly control the orthogonality of the update gradients to balance the new-task learning and the mitigation of forgetting of old tasks. will be fully updated within the orthogonal feature space of task when (i.e., making it difficult to learn the new task), and updated using the original gradients when . Here, is broadcast from the proxy server to selected local clients.
4.3 Optimization
Algorithm 1 presents the optimization procedure adopted by our proposed TRPE model. At the -th task , local clients receive from the global server to initialize their local key-prompt pair and classifier for training during the -th global round. Once the local client identifies the arrival of task through the proposed out-of-distribution detector, it computes global class prototypes using Eq. (3), and sends them to the proxy server . Then builds a prototype pool , applies radius-adaptive DBSCAN to determine the quantity of classes within the -th task from a global perspective, and transmits this information to . When receiving , denotes as and stores them in for the continual learning of new tasks. Then leverages to initialize the global classifier during the first round of task . After receiving from , local clients compute local prompt gradients via Eq. (9), and send them to the proxy server again. Then concatenates the class prototypes in as to construct the feature space using Eq. (8). Meanwhile, receives to compute the task relevance values via Eq. (13). Subsequently, sends to the global server and local clients. relies on these values to determine via Eq. (14) and sends them along with to local clients. When obtaining the task relevance values from and from , local clients determine using Eq. (16), and inject into local models to begin the first round of learning for task . By the end of the -th training round for the -th task, collects the updated from local clients. Finally, aggregates these parameters into , denoted as , and stores them in for continual learning of new tasks.
5 EXPERIMENTS
5.1 Implementation Details
Datasets: To validate the effectiveness of our proposed TRPE model, we set a series of successive class/domain-incremental tasks under the FCL setting. Specifically, we set up class-incremental configurations on CIFAR-100 [22] with 100 classes, CUB-200 [59] with 200 classes, and ImageNet-R [66] with 200 classes. As introduced in [62], ImageNet-R [66] is composed of 30,000 difficult examples from ImageNet-1K [8]. Following [13], we split all images of CIFAR-100 [22] and CUB-200 [59] into class-incremental tasks, and divide ImageNet-R [66] into class-incremental tasks. Notably, class sets assigned to distinct tasks do not overlap. For the domain-incremental setting, we compare overall performance using the Office [47] and Digit [29] datasets. The Office dataset [47] consists of 31 categories and three domain-incremental tasks: DSLR→Webcam→Amazon. The Digit dataset [29] contains 10 classes and four domain-incremental tasks: USPS [20]→MNIST [24]→EMNIST [7]→Fashion-MNIST (FMNIST) [68]. In FCL, each domain is considered a task, and the label space is shared across different domain-incremental tasks.
Experimental Settings: In the rehearsal-free FCL setting, we initialize 30 local clients for the first incremental task. Starting from the second task, we randomly introduce 10 new local clients at each incremental task. In each global round, we randomly select 10 local clients for local training. Given the large heterogeneity in data distributions among local clients, we randomly sample 40% of the classes from CIFAR-100 [22] and 60% from the other datasets within the label space associated with the t-th incremental task,
TABLE 1
Comparison results on the CIFAR-100 dataset [22] under different class-incremental settings of FCL, where Imp. refers to the improvements.
| Backbone | Methods | Exemplars | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| FAA | Imp. | CAA | Imp. | FAA | Imp. | CAA | Imp. | FAA | Imp. | CAA | Imp. | |||
| Sup-21K [45] | GLFC [13] | 500 | 45.94 | ↑42.50 | 58.67 | ↑16.93 | 45.84 | ↑41.80 | 53.86 | ↑22.18 | 41.10 | ↑43.20 | 44.12 | ↑39.65 |
| HFC [11] + FL | 500 | 54.20 | ↑34.24 | 64.05 | ↑11.55 | 49.49 | ↑38.15 | 55.68 | ↑20.36 | 46.03 | ↑38.27 | 47.98 | ↑35.79 | |
| DualPrompt [65] + FL | 0 | 71.35 | ↑17.09 | 48.16 | ↑27.44 | 64.48 | ↑23.16 | 50.92 | ↑25.13 | 54.31 | ↑29.99 | 47.63 | ↑36.14 | |
| CODA-Prompt [53] + FL | 0 | 72.40 | ↑16.04 | 60.40 | ↑15.20 | 68.42 | ↑19.22 | 63.41 | ↑12.63 | 58.42 | ↑25.88 | 55.31 | ↑28.46 | |
| HiDe-Prompt [62] + FL | 0 | 80.52 | ↑ 7.92 | 57.98 | ↑17.62 | 82.77 | ↑ 4.87 | 69.18 | ↑ 6.86 | 80.38 | ↑ 3.92 | 70.90 | ↑12.87 | |
| PGP [43] + FL | 0 | 70.47 | ↑17.97 | 47.37 | ↑28.23 | 64.25 | ↑23.39 | 51.09 | ↑24.96 | 54.49 | ↑29.81 | 47.99 | ↑35.78 | |
| MFCL [2] | 0 | 67.50 | ↑20.94 | 72.40 | ↑ 3.20 | 63.70 | ↑23.94 | 70.50 | ↑ 5.54 | 62.10 | ↑22.20 | 69.70 | ↑14.07 | |
| PIP [37] | 0 | 68.30 | ↑20.14 | 70.50 | ↑ 5.10 | 73.40 | ↑14.24 | 74.80 | ↑ 1.24 | 71.20 | ↑13.10 | 75.33 | ↑ 8.44 | |
| Powder [41] | 0 | 57.70 | ↑30.74 | 62.40 | ↑13.20 | 55.30 | ↑32.34 | 58.00 | ↑18.04 | 51.32 | ↑32.98 | 58.30 | ↑25.47 | |
| TRPE (Ours) | 0 | 88.44 | - | 75.60 | - | 87.64 | - | 76.04 | - | 84.30 | - | 83.77 | - | |
| DINO-1K [5] | GLFC [13] | 300 | 62.56 | ↑20.61 | 69.77 | ↑ 7.18 | 65.52 | ↑16.35 | 67.18 | ↑ 5.10 | 67.08 | ↑12.47 | 67.27 | ↑10.24 |
| HFC [11] + FL | 300 | 65.64 | ↑17.53 | 71.38 | ↑ 5.57 | 67.21 | ↑14.66 | 68.11 | ↑ 4.17 | 66.24 | ↑13.31 | 69.28 | ↑ 3.23 | |
| DualPrompt [65] + FL | 0 | 48.60 | ↑34.57 | 44.91 | ↑32.04 | 48.78 | ↑33.09 | 45.96 | ↑26.32 | 42.87 | ↑36.68 | 40.66 | ↑31.85 | |
| CODA-Prompt [53] + FL | 0 | 55.10 | ↑28.07 | 50.80 | ↑26.15 | 53.20 | ↑28.67 | 45.80 | ↑26.48 | 51.80 | ↑27.75 | 41.70 | ↑30.81 | |
| HiDe-Prompt [62] + FL | 0 | 77.08 | ↑ 6.09 | 55.94 | ↑21.01 | 78.85 | ↑ 3.02 | 53.66 | ↑18.62 | 78.67 | ↑ 0.88 | 49.54 | ↑22.97 | |
| PGP [43] + FL | 0 | 47.27 | ↑35.90 | 43.97 | ↑32.98 | 50.05 | ↑31.82 | 46.00 | ↑26.28 | 43.73 | ↑35.82 | 40.70 | ↑31.81 | |
| MFCL [2] | 0 | 70.10 | ↑13.07 | 73.80 | ↑ 3.15 | 65.80 | ↑16.07 | 70.80 | ↑ 1.48 | 63.50 | ↑16.05 | 68.40 | ↑ 4.11 | |
| PIP [37] | 0 | 73.07 | ↑10.10 | 71.13 | ↑ 5.82 | 69.89 | ↑11.98 | 68.51 | ↑ 3.77 | 60.82 | ↑18.73 | 70.03 | ↑ 2.47 | |
| Powder [41] | 0 | 65.20 | ↑17.97 | 71.80 | ↑ 5.15 | 60.40 | ↑21.47 | 68.30 | ↑ 3.98 | 55.90 | ↑23.65 | 67.20 | ↑ 5.31 | |
| TRPE (Ours) | 0 | 83.17 | - | 76.95 | - | 81.87 | - | 72.28 | - | 79.55 | - | 72.51 | - | |
| iBOT-1K [79] | GLFC [13] | 200 | 65.59 | ↑19.33 | 70.09 | ↑ 6.53 | 67.78 | ↑13.56 | 69.75 | ↑ 4.37 | 69.78 | ↑12.11 | 66.37 | ↑ 7.30 |
| HFC [11] + FL | 200 | 69.03 | ↑15.89 | 71.14 | ↑ 5.48 | 69.85 | ↑11.49 | 70.14 | ↑ 3.98 | 69.16 | ↑12.73 | 68.26 | ↑ 5.41 | |
| DualPrompt [65] + FL | 0 | 47.87 | ↑37.05 | 45.61 | ↑31.01 | 51.14 | ↑30.20 | 47.80 | ↑26.31 | 43.80 | ↑38.09 | 40.91 | ↑32.76 | |
| CODA-Prompt [53] + FL | 0 | 57.40 | ↑27.52 | 49.80 | ↑26.82 | 55.80 | ↑25.54 | 53.10 | ↑21.02 | 50.40 | ↑31.49 | 49.30 | ↑24.37 | |
| HiDe-Prompt [62] + FL | 0 | 78.11 | ↑ 6.81 | 55.70 | ↑20.91 | 78.71 | ↑ 2.63 | 52.26 | ↑21.86 | 78.94 | ↑ 2.95 | 58.33 | ↑15.34 | |
| PGP [43] + FL | 0 | 50.97 | ↑33.95 | 43.03 | ↑33.59 | 52.63 | ↑28.71 | 47.79 | ↑26.33 | 43.94 | ↑37.95 | 41.12 | ↑32.55 | |
| MFCL [2] | 0 | 68.10 | ↑16.82 | 74.50 | ↑ 2.12 | 63.50 | ↑17.84 | 70.10 | ↑ 4.02 | 62.80 | ↑19.09 | 67.40 | ↑ 6.27 | |
| PIP [37] | 0 | 75.78 | ↑ 9.14 | 73.88 | ↑ 2.73 | 74.34 | ↑ 7.00 | 68.52 | ↑ 5.59 | 67.62 | ↑14.27 | 67.20 | ↑ 6.48 | |
| Powder [41] | 0 | 60.60 | ↑24.32 | 73.20 | ↑ 3.42 | 53.10 | ↑28.24 | 68.10 | ↑ 6.02 | 49.50 | ↑32.39 | 63.10 | ↑10.57 | |
| TRPE (Ours) | 0 | 84.92 | - | 76.62 | - | 81.34 | - | 74.12 | - | 81.89 | - | 73.67 | - | |
distributing all images of these categories among clients under a class-incremental setting. Besides, for Digit [29] and Office [47], we randomly allocate 50% of current-task images among selected clients under a domain-incremental setting. More importantly, local clients have no memory allocated for storing any training images of previously learned tasks.
We assess the advantages of TRPE under rehearsal-free FCL by benchmarking it against several representative FCL methods (i.e., GLFC [13], MFCL [2], PIP [37] and Powder [41]), as well as some continual learning methods (i.e., HFC [11], DualPrompt [65], CODA-Prompt [53], HiDe-Prompt [62] and PGP [43]) combined with a federated learning framework. All comparative approaches employ the proposed out-of-distribution detector to recognize new-task arrivals at local clients, whereas the radius-adaptive DBSCAN module is used for estimating the number of categories for every new task, ensuring that the evaluation focuses solely on continual learning performance rather than task discovery. All comparison experiments are conducted on three commonly used backbones: a supervised pretained model on ImageNet-21K [45] (denoted as Sup-21K), and two self-supervised pretrained models on ImageNet-1K [8] (i.e., DINO-1K [5] and iBOT-1K [79]). We use the Adam optimizer with the initial learning rate as to optimize local key-prompt pairs and classifiers. The batch size is set to 24. We set and to balance and in Eq. (1). Besides, we set in Eqs. (18)(19) and in Eq. (15).
Evaluation Metrics: We assess performance of our model and comparison methods using cumulative average accuracy (CAA) and final average accuracy (FAA). Specifically, FAA refers to the average accuracy of all learned classes over the last task. means the average accuracy of all learned tasks, where is the accuracy of the -th task.
5.2 Performance Comparison
To examine the effectiveness of our TRPE model in tackling the FCL problem, as presented in Tabs. 1–5, we conduct comparative experiments on five benchmark datasets. Based on the comparison results between our model and other methods, the following observations are obtained: 1) Although the proposed TRPE model does not use memory storage for exemplars of old tasks, it substantially surpasses the rehearsal-based methods (e.g., GLFC [13] and HFC [11]), which store some exemplars of old tasks, by 5.50%~43.51% in FAA and 2.48%~39.65% in CAA across various class-incremental settings of FCL. These considerable gains demonstrate that our TRPE model effectively tackles the FCL problem by exploring positive inter-task semantic relationships and addressing strong dependence on prior knowledge. 2) Our model outperforms the continual learning methods combined with federated learning (e.g., DualPrompt [65], CODA-Prompt [53], HiDe-Prompt [62] and PGP [43]) by a large margin in terms of FAA and CAA. These comparison
TABLE 2
Comparison results on the CUB-200 dataset [59] under different class-incremental settings of FCL, where Imp. refers to the improvements.
| Backbone | Methods | Exemplars | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| FAA | Imp. | CAA | Imp. | FAA | Imp. | CAA | Imp. | FAA | Imp. | CAA | Imp. | |||
| Sup-21K[45] | GLFC [13] | 200 | 53.71 | ↑31.49 | 60.20 | ↑22.44 | 45.89 | ↑38.00 | 50.43 | ↑33.41 | 39.84 | ↑43.51 | 43.24 | ↑38.95 |
| HFC [11] + FL | 200 | 55.15 | ↑30.05 | 63.29 | ↑19.35 | 46.58 | ↑37.31 | 53.44 | ↑30.40 | 40.63 | ↑42.72 | 45.37 | ↑36.82 | |
| DualPrompt [65] + FL | 0 | 64.93 | ↑20.27 | 72.09 | ↑10.55 | 60.20 | ↑23.69 | 69.77 | ↑14.08 | 52.41 | ↑30.94 | 59.61 | ↑22.58 | |
| CODA-Prompt [53] + FL | 0 | 63.81 | ↑21.39 | 68.97 | ↑13.67 | 61.25 | ↑22.64 | 67.62 | ↑16.22 | 55.48 | ↑27.87 | 57.98 | ↑24.21 | |
| HiDe-Prompt [62] + FL | 0 | 82.60 | ↑ 2.59 | 80.46 | ↑ 2.18 | 81.96 | ↑ 1.93 | 81.09 | ↑ 1.76 | 82.05 | ↑ 1.30 | 80.96 | ↑ 1.23 | |
| PGP [43] + FL | 0 | 65.02 | ↑20.17 | 71.99 | ↑10.64 | 60.24 | ↑23.65 | 69.77 | ↑14.08 | 52.77 | ↑30.58 | 59.80 | ↑22.39 | |
| MFCL [2] | 0 | 75.47 | ↑ 9.73 | 79.62 | ↑ 3.02 | 74.15 | ↑ 9.74 | 78.16 | ↑ 5.68 | 70.37 | ↑12.98 | 78.11 | ↑ 4.08 | |
| PIP [37] | 0 | 74.19 | ↑11.01 | 78.44 | ↑ 4.20 | 74.74 | ↑ 9.15 | 79.66 | ↑ 4.18 | 71.53 | ↑11.82 | 76.35 | ↑ 5.84 | |
| Powder [41] | 0 | 67.98 | ↑17.22 | 75.19 | ↑ 7.45 | 63.58 | ↑20.31 | 70.44 | ↑13.40 | 58.12 | ↑25.23 | 67.45 | ↑14.74 | |
| TRPE (Ours) | 0 | 85.20 | - | 82.64 | - | 83.89 | - | 83.84 | - | 83.35 | - | 82.19 | - | |
| DINO-1K[5] | GLFC [13] | 100 | 53.44 | ↑23.47 | 58.42 | ↑ 3.47 | 58.15 | ↑16.80 | 54.49 | ↑ 6.08 | 38.89 | ↑28.99 | 46.68 | ↑13.18 |
| HFC [11] + FL | 100 | 53.97 | ↑22.94 | 59.41 | ↑ 2.48 | 50.65 | ↑24.30 | 57.18 | ↑ 3.39 | 50.66 | ↑22.22 | 50.32 | ↑ 9.54 | |
| DualPrompt [65] + FL | 0 | 48.40 | ↑28.51 | 48.44 | ↑13.45 | 35.65 | ↑39.30 | 46.65 | ↑13.92 | 38.01 | ↑34.87 | 43.84 | ↑16.02 | |
| CODA-Prompt [53] + FL | 0 | 47.25 | ↑29.66 | 45.19 | ↑16.70 | 42.58 | ↑32.37 | 43.97 | ↑16.60 | 40.18 | ↑32.70 | 45.81 | ↑14.05 | |
| HiDe-Prompt [62] + FL | 0 | 73.66 | ↑ 3.25 | 59.12 | ↑ 2.77 | 71.36 | ↑ 3.60 | 59.56 | ↑ 1.01 | 71.07 | ↑ 1.81 | 42.99 | ↑16.87 | |
| PGP [43] + FL | 0 | 48.67 | ↑28.24 | 49.20 | ↑12.69 | 35.88 | ↑39.07 | 47.22 | ↑13.35 | 38.28 | ↑34.60 | 43.83 | ↑16.03 | |
| MFCL [2] | 0 | 48.99 | ↑27.92 | 58.76 | ↑ 3.13 | 42.87 | ↑32.08 | 51.42 | ↑ 9.15 | 42.44 | ↑30.44 | 48.93 | ↑10.93 | |
| PIP [37] | 0 | 50.79 | ↑26.12 | 59.34 | ↑ 2.55 | 40.70 | ↑34.25 | 54.36 | ↑ 6.22 | 45.15 | ↑27.73 | 47.01 | ↑12.85 | |
| Powder [41] | 0 | 55.68 | ↑21.23 | 59.43 | ↑ 2.46 | 51.65 | ↑23.30 | 57.88 | ↑ 2.69 | 49.62 | ↑23.26 | 53.17 | ↑ 6.69 | |
| TRPE (Ours) | 0 | 76.91 | - | 61.89 | - | 74.95 | - | 60.57 | - | 72.88 | - | 59.86 | - | |
| iBOT-1K[79] | GLFC [13] | 200 | 57.19 | ↑18.80 | 64.18 | ↑ 4.06 | 54.63 | ↑19.73 | 60.85 | ↑ 5.07 | 47.66 | ↑22.74 | 53.18 | ↑ 7.75 |
| HFC [11] + FL | 200 | 59.37 | ↑16.62 | 65.58 | ↑ 2.66 | 56.44 | ↑17.92 | 63.15 | ↑ 2.77 | 49.11 | ↑21.29 | 56.69 | ↑ 4.24 | |
| DualPrompt [65] + FL | 0 | 45.98 | ↑30.01 | 41.11 | ↑27.13 | 44.44 | ↑29.92 | 40.60 | ↑25.32 | 38.35 | ↑32.05 | 33.70 | ↑27.24 | |
| CODA-Prompt [53] + FL | 0 | 50.39 | ↑25.60 | 45.68 | ↑22.56 | 45.69 | ↑28.67 | 44.14 | ↑21.78 | 41.53 | ↑28.87 | 39.66 | ↑21.27 | |
| HiDe-Prompt [62] + FL | 0 | 70.92 | ↑ 5.07 | 50.72 | ↑17.52 | 71.52 | ↑ 2.84 | 60.60 | ↑ 5.32 | 67.19 | ↑ 1.71 | 51.24 | ↑ 9.69 | |
| PGP [43] + FL | 0 | 46.97 | ↑29.02 | 41.61 | ↑26.64 | 45.02 | ↑29.33 | 40.25 | ↑25.68 | 38.83 | ↑31.57 | 33.29 | ↑27.64 | |
| MFCL [2] | 0 | 53.12 | ↑22.87 | 62.48 | ↑ 5.76 | 50.47 | ↑23.89 | 60.07 | ↑ 5.85 | 47.51 | ↑22.89 | 57.30 | ↑ 3.63 | |
| PIP [37] | 0 | 55.66 | ↑20.33 | 66.18 | ↑ 2.06 | 51.56 | ↑22.80 | 59.38 | ↑ 6.54 | 42.92 | ↑27.48 | 52.94 | ↑ 7.99 | |
| Powder [41] | 0 | 52.35 | ↑23.64 | 63.94 | ↑ 4.30 | 50.44 | ↑23.92 | 62.87 | ↑ 3.05 | 46.09 | ↑24.31 | 55.43 | ↑ 5.50 | |
| TRPE (Ours) | 0 | 75.99 | - | 68.24 | - | 74.36 | - | 65.92 | - | 70.40 | - | 60.93 | - | |

t=2

t=5
Fig. 4. Representation visualization of 10 randomly-selected classes from CIFAR-100 [22] when the backbone is Sup-21K [45] and .
results validate that our proposed model can effectively measure the task relevance from a global perspective under class/domain-incremental settings of FCL and rely on it to improve the continual learning of new tasks. 3) The proposed TRPE model achieves better performance than existing FCL approaches (e.g., Powder [41], PIP [37] and pFedDIL [29]) under a variety of FCL settings. This is because our proposed TRPE model leverages global task relevance across local clients to explore positive inter-task relationships.
5.3 Ablation Study
This subsection presents comprehensive ablation experiments in terms of final average accuracy (FAA) and cumulative average accuracy (CAA) to evaluate the contribu- tion of every proposed TRPE component under the class-incremental setting (Tabs. 6–7) and domain-incremental setting (Tab. 8) of FCL. For simplicity, we denote the contrastive learning loss as CT, the task relevance measure used to initialize as TR, the determination of in Eq. (15) as DP, and the soft orthogonality constraint in Eqs. (18)(19) as SO. Additionally, “Base” represents the baseline model, which excludes the CT, TR, DP, and SO modules and is optimized solely with the loss .
From the ablation experiments in Tabs. 6–8, we can conclude that all proposed modules play an indispensable role in tackling both domain-incremental and class-incremental setting of FCL. Specifically, when we add the CT module to “Base”, the performance increases 3.19%~20.28% in FAA and 1.40%~19.52% in CAA. It illustrates that the CT module can effectively explore discriminative latent features to construct feature spaces for task relevance measure, thereby improving the model performance. As presented in Fig. 4, we visualize some representations of 10 randomly-selected classes from CIFAR-100 [22] to verify the superiority of the contrastive learning loss in building feature spaces. Moreover, the TR module improves the performance by 0.54%~5.65% in FAA and 0.59%~18.29% in CAA. Such significant improvement validates its superiority in determining key-prompt pairs for new tasks by evaluating task relevance from a global perspective within the proxy server. It is important to explore positive inter-task semantic relationships, facilitating
TABLE 3
Comparison results on the ImageNet-R dataset [66] under different class-incremental settings of FCL, where Imp. refers to the improvements.
| Backbone | Methods | Exemplars | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| FAA | Imp. | CAA | Imp. | FAA | Imp. | CAA | Imp. | FAA | Imp. | CAA | Imp. | |||
| Sup-21K [45] | GLFC [13] | 100 | 50.20 | ↑16.21 | 57.13 | ↑ 5.22 | 48.82 | ↑14.38 | 52.97 | ↑ 7.31 | 45.53 | ↑15.02 | 51.82 | ↑ 7.03 |
| HFC [11] + FL | 100 | 51.74 | ↑14.67 | 58.91 | ↑ 3.44 | 50.08 | ↑ 9.12 | 55.35 | ↑ 4.93 | 48.47 | ↑12.08 | 55.65 | ↑ 3.20 | |
| DualPrompt [65] + FL | 0 | 55.36 | ↑11.05 | 51.78 | ↑10.57 | 50.87 | ↑12.33 | 49.32 | ↑10.97 | 42.66 | ↑17.89 | 44.67 | ↑14.18 | |
| CODA-Prompt [53] + FL | 0 | 57.40 | ↑ 9.01 | 53.10 | ↑ 9.25 | 52.90 | ↑10.30 | 51.20 | ↑ 9.08 | 47.30 | ↑13.25 | 46.90 | ↑11.95 | |
| HiDe-Prompt [62] + FL | 0 | 65.21 | ↑ 1.19 | 54.67 | ↑ 7.68 | 61.05 | ↑ 2.15 | 57.55 | ↑ 2.74 | 57.81 | ↑ 2.74 | 56.24 | ↑ 2.61 | |
| PGP [43] + FL | 0 | 55.13 | ↑11.28 | 51.67 | ↑10.68 | 50.89 | ↑12.31 | 49.40 | ↑10.88 | 42.91 | ↑17.64 | 44.76 | ↑14.08 | |
| MFCL [2] | 0 | 52.89 | ↑13.52 | 59.70 | ↑ 2.65 | 51.32 | ↑11.88 | 57.90 | ↑ 2.38 | 49.50 | ↑11.05 | 54.63 | ↑ 4.22 | |
| PIP [37] | 0 | 55.40 | ↑11.01 | 60.43 | ↑ 1.92 | 53.87 | ↑ 9.33 | 58.21 | ↑ 2.07 | 51.20 | ↑ 9.35 | 55.90 | ↑ 2.95 | |
| Powder [41] | 0 | 60.16 | ↑ 6.25 | 48.82 | ↑13.53 | 55.11 | ↑ 8.09 | 55.99 | ↑ 4.29 | 52.00 | ↑ 8.55 | 54.57 | ↑ 4.27 | |
| TRPE (Ours) | 0 | 66.41 | - | 62.35 | - | 63.20 | - | 60.28 | - | 60.55 | - | 58.85 | - | |
| DINO-1K [5] | GLFC [13] | 200 | 55.98 | ↑ 8.43 | 52.55 | ↑ 7.47 | 47.35 | ↑14.16 | 52.51 | ↑ 7.03 | 45.87 | ↑13.25 | 51.72 | ↑ 8.13 |
| HFC [11] + FL | 200 | 58.91 | ↑ 5.50 | 55.70 | ↑ 4.32 | 47.69 | ↑13.82 | 54.83 | ↑ 4.71 | 47.45 | ↑11.67 | 53.89 | ↑ 5.96 | |
| DualPrompt [65] + FL | 0 | 46.70 | ↑17.71 | 38.03 | ↑21.98 | 40.75 | ↑20.76 | 32.25 | ↑27.29 | 29.48 | ↑29.64 | 34.88 | ↑24.97 | |
| CODA-Prompt [53] + FL | 0 | 50.48 | ↑13.93 | 47.21 | ↑12.81 | 48.19 | ↑13.32 | 44.25 | ↑15.29 | 43.98 | ↑15.14 | 40.17 | ↑19.68 | |
| HiDe-Prompt [62] + FL | 0 | 62.67 | ↑ 1.74 | 55.68 | ↑ 4.34 | 60.94 | ↑ 0.58 | 54.37 | ↑ 5.17 | 57.42 | ↑ 1.70 | 52.65 | ↑ 7.20 | |
| PGP [43] + FL | 0 | 46.97 | ↑17.44 | 38.06 | ↑21.96 | 40.82 | ↑20.69 | 32.42 | ↑27.12 | 29.89 | ↑29.23 | 34.81 | ↑25.04 | |
| MFCL [2] | 0 | 50.43 | ↑13.98 | 55.84 | ↑ 4.18 | 50.29 | ↑11.22 | 53.17 | ↑ 6.37 | 43.85 | ↑15.27 | 50.12 | ↑ 9.73 | |
| PIP [37] | 0 | 51.33 | ↑13.08 | 56.25 | ↑ 3.77 | 49.24 | ↑12.27 | 54.00 | ↑ 5.54 | 34.89 | ↑24.24 | 37.68 | ↑22.17 | |
| Powder [41] | 0 | 62.17 | ↑ 2.23 | 53.88 | ↑ 6.14 | 57.61 | ↑ 3.90 | 49.77 | ↑ 9.77 | 56.44 | ↑ 2.68 | 52.33 | ↑ 7.52 | |
| TRPE (Ours) | 0 | 64.41 | - | 60.02 | - | 61.51 | - | 59.54 | - | 59.12 | - | 59.85 | - | |
| iBOT-1K [79] | GLFC [13] | 200 | 51.43 | ↑14.71 | 55.84 | ↑ 6.46 | 52.47 | ↑11.01 | 56.18 | ↑ 6.34 | 50.41 | ↑11.42 | 54.69 | ↑ 5.77 |
| HFC [11] + FL | 200 | 52.82 | ↑13.32 | 57.91 | ↑ 4.39 | 53.28 | ↑10.20 | 57.70 | ↑ 4.82 | 52.35 | ↑ 9.48 | 56.04 | ↑ 4.42 | |
| DualPrompt [65] + FL | 0 | 50.99 | ↑15.15 | 42.98 | ↑19.32 | 45.25 | ↑18.23 | 35.51 | ↑27.00 | 33.77 | ↑28.06 | 29.08 | ↑31.38 | |
| CODA-Prompt [53] + FL | 0 | 47.85 | ↑18.29 | 43.68 | ↑18.62 | 48.42 | ↑15.06 | 42.19 | ↑20.33 | 42.44 | ↑19.39 | 39.29 | ↑21.17 | |
| HiDe-Prompt [62] + FL | 0 | 64.19 | ↑ 1.95 | 59.93 | ↑ 2.37 | 61.86 | ↑ 1.62 | 58.44 | ↑ 4.07 | 60.01 | ↑ 1.82 | 53.80 | ↑ 6.66 | |
| PGP [43] + FL | 0 | 51.31 | ↑14.83 | 43.55 | ↑18.74 | 45.48 | ↑18.00 | 35.57 | ↑26.94 | 33.87 | ↑27.96 | 29.19 | ↑31.27 | |
| MFCL [2] | 0 | 55.61 | ↑10.53 | 60.23 | ↑ 2.07 | 56.37 | ↑ 7.11 | 61.15 | ↑ 1.37 | 50.66 | ↑11.17 | 58.94 | ↑ 1.52 | |
| PIP [37] | 0 | 54.69 | ↑11.45 | 59.40 | ↑ 2.90 | 55.36 | ↑ 8.12 | 56.35 | ↑ 6.17 | 50.31 | ↑11.52 | 58.44 | ↑ 2.02 | |
| Powder [41] | 0 | 62.17 | ↑ 3.97 | 53.88 | ↑ 8.42 | 60.67 | ↑ 2.81 | 53.77 | ↑ 8.75 | 56.43 | ↑ 5.40 | 51.75 | ↑ 8.71 | |
| TRPE (Ours) | 0 | 66.14 | - | 62.30 | - | 63.48 | - | 62.52 | - | 61.83 | - | 60.46 | - | |
TABLE 4
Comparisons on the Office dataset [47] under the domain-incremental setting of FCL, where Imp. refers to the improvements.
| Backbone | Methods | FAA | Imp. | CAA | Imp. |
|---|---|---|---|---|---|
| Sup-21K [79] | DualPrompt [65] + FL | 39.74 | ↑8.33 | 38.24 | ↑7.58 |
| HiDe-Prompt [62] + FL | 45.11 | ↑2.96 | 41.65 | ↑4.17 | |
| PGP [43] + FL | 40.51 | ↑7.56 | 38.96 | ↑6.86 | |
| MFCL [2] | 40.37 | ↑7.70 | 40.08 | ↑5.74 | |
| PIP [37] | 40.58 | ↑7.49 | 43.79 | ↑2.03 | |
| Powder [41] | 41.45 | ↑6.62 | 40.26 | ↑5.56 | |
| pFedDIL [29] | 40.90 | ↑7.17 | 41.68 | ↑4.14 | |
| TRPE (Ours) | 48.07 | - | 45.82 | - | |
| iBOT-1K [45] | DualPrompt [65] + FL | 41.66 | ↑5.29 | 40.83 | ↑4.79 |
| HiDe-Prompt [62] + FL | 44.88 | ↑2.07 | 42.05 | ↑3.57 | |
| PGP [43] + FL | 42.18 | ↑4.77 | 40.29 | ↑5.33 | |
| MFCL [2] | 42.08 | ↑4.87 | 40.60 | ↑5.02 | |
| PIP [37] | 41.85 | ↑5.10 | 43.80 | ↑1.82 | |
| Powder [41] | 40.02 | ↑6.93 | 42.61 | ↑3.01 | |
| pFedDIL [29] | 42.55 | ↑4.40 | 43.58 | ↑2.04 | |
| TRPE (Ours) | 46.95 | - | 45.62 | - |
the learning of new tasks under class/domain-incremental settings of FCL. Moreover, the proposed DP and SO modules result in significant performance improvements in both FAA and CAA. This demonstrates that our TRPE model effectively incorporates prompts from previously learned tasks with higher semantic correlations to the new task, addressing catastrophic forgetting of old tasks. Additionally, the soft orthogonality constraint facilitates the learning of new tasks.
5.4 Analysis of Task Relevance Measure
This subsection investigates the effectiveness of the proposed task relevance measure in resolving the FCL problem. First, we use entropy-based information gain, Fisher information and dual task correlation matrix [41] as alternatives to measure task relevance. 1) Entropy-Based Information Gain: Upon identifying the arrival of the -th task, client injects the prompt of the -th task () into the model to compute the entropy for the -th task. Then, transmits the prestored entropy of the -th task and the entropy of the -th task to the proxy server . averages the -th task entropy from all local clients to obtain , and the -th task entropy from all local clients to obtain . Thus, the relevance between the -th and -th tasks based on information gain is expressed as . A smaller value of indicates higher relevance between the -th and -th tasks. We then utilize to determine for learning the -th task, and denote this strategy as Ours w/ IG. 2) Fisher information: After completing the -th task, each local client obtains a diagonal Fisher information vector by computing the squared gradients of the
TABLE 5
Comparisons on the Digit dataset [29] under the domain-incremental setting of FCL, where Imp. refers to the improvements.
| Backbone | Methods | FAA | Imp. | CAA | Imp. |
|---|---|---|---|---|---|
| Sup-21K [45] | DualPrompt [65] + FL | 67.20 | ↑15.81 | 72.57 | ↑3.37 |
| HiDe-Prompt [62] + FL | 79.71 | ↑ 2.30 | 72.85 | ↑3.09 | |
| PGP [43] + FL | 64.23 | ↑18.78 | 71.51 | ↑4.43 | |
| MFCL [2] | 73.37 | ↑ 9.64 | 71.67 | ↑4.27 | |
| PIP [37] | 72.57 | ↑10.44 | 74.33 | ↑1.61 | |
| Powder [41] | 72.15 | ↑10.86 | 73.58 | ↑2.36 | |
| pFedDIL [29] | 74.83 | ↑ 8.18 | 72.58 | ↑3.36 | |
| TRPE (Ours) | 83.01 | — | 75.94 | — | |
| DINO-1K [5] | DualPrompt [65] + FL | 70.31 | ↑11.65 | 67.63 | ↑5.66 |
| HiDe-Prompt [62] + FL | 77.65 | ↑ 4.31 | 71.33 | ↑1.96 | |
| PGP [43] + FL | 70.58 | ↑11.38 | 68.01 | ↑5.28 | |
| MFCL [2] | 72.69 | ↑ 9.27 | 71.44 | ↑1.85 | |
| PIP [37] | 69.54 | ↑12.42 | 72.03 | ↑1.26 | |
| Powder [41] | 70.58 | ↑11.38 | 68.76 | ↑4.53 | |
| pFedDIL [29] | 73.59 | ↑ 8.37 | 71.58 | ↑1.71 | |
| TRPE (Ours) | 81.96 | — | 73.29 | — | |
| iBOT-1K [79] | DualPrompt [65] + FL | 69.71 | ↑11.95 | 65.82 | ↑7.83 |
| HiDe-Prompt [62] + FL | 78.15 | ↑ 3.51 | 70.51 | ↑3.14 | |
| PGP [43] + FL | 69.12 | ↑12.54 | 66.02 | ↑7.63 | |
| MFCL [2] | 71.76 | ↑ 9.90 | 68.30 | ↑5.35 | |
| PIP [37] | 68.60 | ↑13.06 | 72.01 | ↑1.64 | |
| Powder [41] | 70.18 | ↑11.48 | 69.05 | ↑4.60 | |
| pFedDIL [29] | 74.44 | ↑ 6.22 | 70.26 | ↑3.39 | |
| TRPE (Ours) | 81.66 | — | 73.65 | — |
TABLE 6
Ablation studies under different class-incremental settings of FCL on the CIFAR-100 dataset [22].
| Variants | Base | Base+CT | Base+CL +TR | Base+CT +TR+DP | Ours | ||
|---|---|---|---|---|---|---|---|
| Modules | CT | ✕ | ✓ | ✓ | ✓ | ✓ | |
| TR | ✕ | ✕ | ✓ | ✓ | ✓ | ||
| DP | ✕ | ✕ | ✕ | ✓ | ✓ | ||
| SO | ✕ | ✕ | ✕ | ✕ | ✓ | ||
| Sup-21K [45] | FAA | 73.51 | 80.52 | 86.17 | 86.49 | 88.44 | |
| CAA | 53.27 | 57.98 | 72.81 | 73.02 | 75.60 | ||
| FAA | 68.41 | 82.77 | 86.40 | 86.72 | 87.64 | ||
| CAA | 55.07 | 69.18 | 75.31 | 75.49 | 76.04 | ||
| FAA | 60.10 | 80.38 | 83.05 | 83.27 | 84.30 | ||
| CAA | 51.38 | 70.90 | 81.60 | 82.10 | 83.77 | ||
| iBOT-1K [79] | FAA | 67.66 | 78.11 | 83.08 | 83.48 | 84.92 | |
| CAA | 50.05 | 55.70 | 73.19 | 74.21 | 76.62 | ||
| FAA | 63.59 | 80.21 | 80.96 | 81.17 | 81.34 | ||
| CAA | 50.86 | 52.26 | 70.55 | 72.05 | 74.12 | ||
| FAA | 59.72 | 78.94 | 80.03 | 80.56 | 81.89 | ||
| CAA | 51.85 | 58.33 | 72.23 | 73.31 | 73.67 | ||
objective loss with respect to all trainable parameters, where is the total number of learnable parameters, including the prompts and the classifier. The proxy server aggregates these local vectors to obtain the global Fisher information for the -th task. Likewise, the global Fisher information for the -th task is calculated after local clients inject the prompt of the -th task into the local model and train it on the -th task for a few epochs. The relevance between the -th and -th tasks is defined as , and a larger value of indicates higher task relevance. The relevance scores are then used to compute for learning the -th task. We denote this
TABLE 7
Ablation studies on the CUB-200 dataset [59] under different class-incremental settings of FCL.
| Variants | Base | Base+CT | Base+CT +TR | Base+CT +TR+DP | Ours | ||
|---|---|---|---|---|---|---|---|
| Modules | CT | ✕ | ✓ | ✓ | ✓ | ✓ | |
| TR | ✕ | ✕ | ✓ | ✓ | ✓ | ||
| DP | ✕ | ✕ | ✕ | ✓ | ✓ | ||
| SO | ✕ | ✕ | ✕ | ✕ | ✓ | ||
| Sup-21K [45] | T=5 | FAA | 70.89 | 82.60 | 84.09 | 84.70 | 85.20 |
| CAA | 68.44 | 80.46 | 81.07 | 81.58 | 82.64 | ||
| T=10 | FAA | 70.32 | 82.76 | 83.30 | 83.60 | 83.89 | |
| CAA | 73.58 | 81.09 | 82.31 | 82.76 | 83.84 | ||
| T=20 | FAA | 68.95 | 82.05 | 82.76 | 83.14 | 83.35 | |
| CAA | 67.20 | 80.96 | 81.56 | 81.75 | 82.19 | ||
| DINO-1K [5] | T=5 | FAA | 59.64 | 73.66 | 75.05 | 75.60 | 76.91 |
| CAA | 50.11 | 59.12 | 59.96 | 60.88 | 61.89 | ||
| T=10 | FAA | 62.55 | 71.36 | 73.88 | 74.23 | 74.95 | |
| CAA | 51.30 | 59.56 | 60.15 | 60.23 | 60.57 | ||
| T=20 | FAA | 60.19 | 71.07 | 72.18 | 72.37 | 72.88 | |
| CAA | 40.65 | 42.99 | 56.85 | 57.90 | 59.86 | ||
| iBOT-1K [79] | T=5 | FAA | 59.57 | 70.92 | 74.66 | 74.87 | 75.99 |
| CAA | 51.20 | 53.72 | 67.89 | 68.18 | 68.24 | ||
| T=10 | FAA | 61.78 | 71.52 | 73.01 | 74.10 | 74.36 | |
| CAA | 49.09 | 60.60 | 63.85 | 64.28 | 65.92 | ||
| T=20 | FAA | 57.33 | 67.39 | 68.15 | 68.69 | 70.40 | |
| CAA | 47.18 | 51.24 | 57.98 | 58.64 | 60.93 | ||
TABLE 8
Ablation on Office [47] under the domain-incremental setting of FCL.
| Variants | Base | Base+CT | Base+CT +TR | Base+CT +TR+DP | Ours | ||
|---|---|---|---|---|---|---|---|
| Modules | CT | ✕ | ✓ | ✓ | ✓ | ✓ | |
| TR | ✕ | ✕ | ✓ | ✓ | ✓ | ||
| DP | ✕ | ✕ | ✕ | ✓ | ✓ | ||
| SO | ✕ | ✕ | ✕ | ✕ | ✓ | ||
| Sup-21K [45] | FAA | 41.59 | 45.11 | 46.88 | 47.08 | 48.07 | |
| CAA | 39.66 | 41.65 | 43.24 | 44.31 | 45.82 | ||
| DINO-1K [5] | FAA | 39.20 | 43.05 | 43.85 | 44.05 | 45.18 | |
| CAA | 38.97 | 41.67 | 43.44 | 43.71 | 44.24 | ||
| iBOT-1K [79] | FAA | 41.69 | 44.88 | 46.01 | 46.40 | 46.95 | |
| CAA | 40.33 | 42.05 | 43.81 | 44.33 | 45.62 | ||
method as Ours w/ Fl. 3) Dual Task Correlation Matrix: We directly adopt the dual task correlation matrix in Powder [41] to measure task relevance and determine for continually learning new tasks, which we denote as Ours w/ TC.
Secondly, we introduce several variants built upon our model to further analyze the superiority of our proposed task relevance measure. To determine , we randomly choose prompts from the key-prompt pool and define this variant as Ours-RandP. Moreover, Ours-w/o TR does not use the task relevance measure and follows L2P [66] to select prompts. Ours-w/o ET refers to our model without the elastic threshold strategy, and this variant only uses Eq. (11) to select semantically relevant prompts. From the comparison results in Tabs. 9-10, we conclude that the proposed task relevance measure with an elastic threshold can accurately evaluate the semantic relationships between old and novel tasks from a global perspective. More importantly, the proposed
TABLE 9
Analysis of task relevance measure on CIFAR-100 [22] when .
| Backbone | Variants | FAA | Imp. | CAA | Imp. |
|---|---|---|---|---|---|
| Sup-21K [45] | Powder [41] | 57.70 | ↑30.74 | 62.40 | ↑13.20 |
| Ours w/ IG | 84.05 | ↑4.39 | 73.26 | ↑2.34 | |
| Ours w/ FI | 85.62 | ↑2.82 | 74.01 | ↑1.59 | |
| Ours w/ TC | 83.92 | ↑4.52 | 72.79 | ↑2.81 | |
| Ours-RandP | 80.13 | ↑8.31 | 71.64 | ↑3.96 | |
| Ours-w/o TR | 83.57 | ↑4.87 | 73.05 | ↑2.55 | |
| Ours-w/o ET | 85.15 | ↑3.29 | 73.54 | ↑2.06 | |
| Ours | 88.44 | — | 75.60 | — | |
| DINO-1K [5] | Powder [41] | 65.20 | ↑17.97 | 71.80 | ↑5.15 |
| Ours w/ IG | 80.64 | ↑2.53 | 73.68 | ↑3.27 | |
| Ours w/ FI | 81.03 | ↑2.14 | 74.69 | ↑2.26 | |
| Ours w/ TC | 79.45 | ↑3.72 | 73.50 | ↑3.45 | |
| Ours-RandP | 78.05 | ↑5.12 | 72.23 | ↑4.72 | |
| Ours-w/o TR | 80.57 | ↑2.60 | 74.05 | ↑2.90 | |
| Ours-w/o ET | 81.44 | ↑1.73 | 73.97 | ↑2.98 | |
| Ours | 83.17 | — | 76.95 | — |
TABLE 10
Analysis of task relevance measure on CIFAR-100 [22] when .
| Backbone | Variants | FAA | Imp. | CAA | Imp. |
|---|---|---|---|---|---|
| Sup-21K [45] | Powder [41] | 55.30 | ↑32.34 | 58.00 | ↑18.04 |
| Ours w/ IG | 84.46 | ↑3.18 | 72.08 | ↑3.96 | |
| Ours w/ FI | 83.79 | ↑3.85 | 72.30 | ↑3.74 | |
| Ours w/ TC | 84.50 | ↑3.14 | 73.28 | ↑2.76 | |
| Ours-RandP | 80.35 | ↑7.29 | 71.50 | ↑4.54 | |
| Ours-w/o TR | 82.56 | ↑5.08 | 72.45 | ↑3.59 | |
| Ours-w/o ET | 83.49 | ↑4.15 | 73.37 | ↑2.67 | |
| Ours | 87.64 | — | 76.04 | — | |
| DINO-1K [5] | Powder [41] | 60.40 | ↑21.47 | 68.30 | ↑3.98 |
| Ours w/ IG | 79.57 | ↑2.30 | 70.02 | ↑2.26 | |
| Ours w/ FI | 78.40 | ↑3.47 | 70.31 | ↑1.97 | |
| Ours w/ TC | 78.69 | ↑3.18 | 69.20 | ↑3.08 | |
| Ours-RandP | 76.02 | ↑5.85 | 67.15 | ↑5.13 | |
| Ours-w/o TR | 79.65 | ↑2.22 | 70.08 | ↑2.20 | |
| Ours-w/o ET | 80.15 | ↑1.72 | 70.64 | ↑1.64 | |
| Ours | 81.87 | — | 72.28 | — |
model relies on such task relevance to effectively alleviate the forgetting of old tasks, while facilitating the learning of newly emerging tasks under the FCL setting.
5.5 Analysis of Asynchronous FCL
In this subsection, we analyze the performance of our model in addressing the asynchronous FCL problem, as shown in Tab. 11. For fair comparisons, we follow Powder [41] to simulate asynchrony in FCL. Specifically, after every three global rounds within each task, we randomly select 30% of local clients and transition them to the subsequent new task. These selected local clients first determine the key-prompt pair via Eq. (14) for the new task and then participate in global aggregation with the remaining clients for the continual learning of new tasks under the asynchronous setting. From Tab. 11, we observe that the proposed TRPE model achieves the best performance across different asynchronous settings, demonstrating strong robustness to client-task asynchrony and consistently outperforming other approaches as the number of tasks increases. Furthermore, our TRPE model significantly surpasses prompt-based continual learning baselines combined with FL, as well as representative FCL
TABLE 11
Comparisons on CIFAR-100 [22] under the asynchronous FCL setting, where all methods use Sup-21K [45] as the backbone.
| Task | Methods | FAA | Imp. | CAA | Imp. |
|---|---|---|---|---|---|
| DualPrompt [65] + FL | 70.54 | ↑15.85 | 46.30 | ↑28.03 | |
| CODA-Prompt [53] + FL | 71.28 | ↑15.11 | 56.49 | ↑17.84 | |
| HiDe-Prompt [62] + FL | 79.13 | ↑7.26 | 55.18 | ↑19.10 | |
| PGP [43] + FL 5 | 70.15 | ↑16.24 | 46.72 | ↑27.61 | |
| MFCL [2] | 65.01 | ↑21.38 | 69.13 | ↑5.20 | |
| PIP [37] | 65.45 | ↑20.94 | 70.28 | ↑4.05 | |
| Powder [41] | 62.03 | ↑24.36 | 65.19 | ↑9.14 | |
| TRPE (Ours) | 86.39 | — | 74.33 | — | |
| DualPrompt [65] + FL | 62.54 | ↑23.64 | 49.31 | ↑24.97 | |
| CODA-Prompt [53] + FL | 68.21 | ↑17.97 | 62.15 | ↑12.13 | |
| HiDe-Prompt [62] + FL | 80.37 | ↑5.81 | 67.50 | ↑6.78 | |
| PGP [43] + FL | 62.07 | ↑24.11 | 50.57 | ↑23.71 | |
| MFCL [2] | 60.44 | ↑25.74 | 68.03 | ↑6.25 | |
| PIP [37] | 68.09 | ↑18.09 | 72.04 | ↑2.24 | |
| Powder [41] | 61.39 | ↑24.79 | 64.70 | ↑9.58 | |
| TRPE (Ours) | 86.18 | — | 74.28 | — |

t=2
t=3
t=4
t=5
t=6
t=7
Fig. 5. Cluster visualization () grouped by radius-adaptive DBSCAN on CUB-200 [59] when the backbone is Sup-21K [45] and .
methods, validating the efficacy of leveraging task relevance to exploit positive inter-task relationships for the continual learning of novel tasks under asynchronous settings.
5.6 Analysis of Radius-Adaptive DBSCAN
This subsection examines the effectiveness of the proposed radius-adaptive DBSCAN for estimating the quantity of classes in the -th task. As shown in Figs. 5–6, we use CIFAR-100 [22] and CUB-200 [59] as examples, randomly sampling some incremental tasks to visualize global class prototypes grouped by the radius-adaptive DBSCAN. As can be seen from Figs. 5–6, we observe that our model can accurately group global class prototypes from local clients into different clusters. It also illustrates that our model can effectively address noisy prototypes and outliers introduced by heterogeneous data distribution across local clients in FCL, enabling correct clustering through an adaptive radius.
5.7 Analysis of Computation Complexity
This subsection examines our model's computational complexity in addressing the FCL problem. As shown in Tab. 12, we introduce some comparisons between our model and

t=2
t=3
t=4
Fig. 6. Cluster visualization () grouped by radius-adaptive DBSCAN on CIFAR-100 [22] when the backbone is Sup-21K [45] and .
TABLE 12
Comparisons of computation complexity on CIFAR-100 [22] under the Sup-21K backbone [45] when .
| Methods | #Params | Memory | #Comm | Training | Test |
|---|---|---|---|---|---|
| GLFC [13] | 86.64M | 351.63M | 3465.63M | 0.38s | 0.05s |
| HFC [11] + FL | 86.64M | 351.63M | 3465.63M | 0.38s | 0.05s |
| DualPrompt [65] + FL | 1.04M | 4.10M | 41.65M | 0.13s | 0.05s |
| CODA-Prompt [53] + FL | 0.93M | 3.74M | 37.28M | 0.13s | 0.05s |
| HiDe-Prompt [62] + FL | 0.84M | 3.38M | 33.62M | 0.21s | 0.09s |
| PGP [43] + FL | 1.04M | 4.10M | 41.65M | 0.14s | 0.05s |
| MFCL [2] | 21.93M | 88.74M | 877.25M | 0.35s | 0.05s |
| PIP [37] | 1.04M | 4.10M | 41.65M | 0.15s | 0.05s |
| Powder [41] | 0.93M | 3.74M | 37.28M | 0.13s | 0.05s |
| TRPE (Ours) | 0.84M | 3.38M | 42.19M | 0.21s | 0.09s |
other comparative methods regarding trainable parameters (#Params), memory storage, communication cost (#Comm), training and test time per batch. For a fair comparison, every evaluation is performed using one NVIDIA 4090 GPU. From Tab. 12, we observe that our model has the fewest trainable parameters and the lowest memory storage. Moreover, the proposed TRPE model achieves comparable communication costs, training time, and testing time to other approaches. Since and are small (i.e., ) in this paper, SVD on can be performed efficiently on a single NVIDIA 4090 GPU. Consequently, our proposed TRPE model has comparable computational complexity to other SOTA comparison methods, but achieves substantial performance improvements over them (see Tabs. 1–5).
5.8 Analysis of Heterogeneous Data Distributions
Tab. 13 demonstrates how data heterogeneity affects the performance of our proposed TRPE model on the CIFAR-100 dataset [22]. To set different data heterogeneity across local clients, we randomly select classes from the current incremental task's label space and distribute all images of these categories among local clients under FCL's class-incremental setting. Results reported in Tab. 13 indicate that our proposed TRPE model performs worse as the degree of data heterogeneity increases. These findings further confirm our model's effectiveness in resolving the FCL problem by accurately evaluating inter-task semantic relevance and estimating the number of classes within newly emerging tasks from a global perspective.
5.9 Analysis of Out-Of-Distribution Detector
This subsection evaluates the effectiveness of the proposed out-of-distribution detector in automatically identifying newly emerging tasks on local clients in both synchronous and asynchronous FCL settings under varying degrees of data heterogeneity. Specifically, we adopt the asynchronous
TABLE 13
Analysis of heterogeneous data distributions on CIFAR-100 [22] under the Sup-21K backbone [45] when .
| Heterogeneity | t = 1 | t = 2 | t = 3 | t = 4 | t = 5 |
|---|---|---|---|---|---|
| 30% | 60.50 | 60.72 | 61.60 | 66.61 | 77.03 |
| 40% | 75.81 | 66.55 | 75.15 | 72.06 | 88.44 |
| 50% | 76.80 | 72.37 | 77.80 | 80.75 | 89.07 |
| 60% | 83.80 | 84.85 | 86.70 | 86.04 | 90.33 |
TABLE 14
Task-boundary detection accuracy (%) of the proposed out-of-distribution detector on the CIFAR-100 dataset [22] under synchronous and asynchronous FCL settings, using Sup-21K [45] as the backbone and .
| Setting | Heterogeneity | t = 2 | t = 3 | t = 4 | t = 5 |
|---|---|---|---|---|---|
| Synchronous FCL | 5% | 17.00 | 100.00 | 100.00 | 100.00 |
| 10% | 79.00 | 100.00 | 100.00 | 100.00 | |
| 15% | 100.00 | 100.00 | 100.00 | 100.00 | |
| 20% | 100.00 | 100.00 | 100.00 | 100.00 | |
| 30% | 100.00 | 100.00 | 100.00 | 100.00 | |
| 40% | 100.00 | 100.00 | 100.00 | 100.00 | |
| 50% | 100.00 | 100.00 | 100.00 | 100.00 | |
| 60% | 100.00 | 100.00 | 100.00 | 100.00 | |
| Asynchronous FCL | 5% | 11.00 | 100.00 | 100.00 | 100.00 |
| 10% | 61.00 | 100.00 | 100.00 | 100.00 | |
| 15% | 100.00 | 100.00 | 100.00 | 100.00 | |
| 20% | 100.00 | 100.00 | 100.00 | 100.00 | |
| 30% | 100.00 | 100.00 | 100.00 | 100.00 | |
| 40% | 100.00 | 100.00 | 100.00 | 100.00 | |
| 50% | 100.00 | 100.00 | 100.00 | 100.00 | |
| 60% | 100.00 | 100.00 | 100.00 | 100.00 |
protocol proposed in Powder [41], in which 30% of the local clients are randomly transitioned to the next incremental task after every three global communication rounds, while the remaining clients continue learning on the current task. To simulate different levels of data heterogeneity across clients, we randomly select of the classes from the label space of the present learning task and assign all images belonging to the selected classes to the local clients. The task-boundary detection accuracies reported in Tab. 14 are averaged over 100 independent runs with the detection threshold set to .
From the results in Tab. 14, we observe that our model achieves task-boundary detection accuracy even under extremely high data heterogeneity (i.e., only or of the classes from the present task are assigned to each client) for . In contrast, for , the detection accuracy falls below under these highly heterogeneous settings. This is because, under extreme data heterogeneity, each local client is exposed to only one or two classes in the first task (). Such limited class diversity prevents the classifier from learning sufficiently discriminative representations, resulting in relatively high task entropy for samples from the first task (). Consequently, when the second task () arrives, the entropy difference between consecutive tasks remains small and can easily fall below the detection threshold , leading to missed task-boundary detections. As continual learning progresses, the proposed relevance-driven prompt expansion and global aggregation strategy effectively mitigate the adverse effects of client heterogeneity. As a result, our model produces more
(a) Sup-21K T=5 (CIFAR-100)

(b) DINO-1K T=5 (CIFAR-100)
(c) Sup-21K T=5 (CIFAR-100)
(d) Sup-21K T=5 (CIFAR-100)
(e) Sup-21K T=10 (CIFAR-100)
(f) DINO-1K T=10 (CIFAR-100)
Fig. 7. Hyperparameter analysis of (a)(b)(c)(d) and (e)(f) on CIFAR-100 dataset [22] when .

(b) CUB-200 T=5 (Sup-21K)
Fig. 8. Task-wise convergence analysis on CIFAR-100 [22] (a) and CUB-200 [59] (b) when T = 5.
accurate and stable predictions for previously learned classes, thereby yielding more reliable task entropy estimates for task-boundary detection. Consequently, even under extremely high data heterogeneity, the out-of-distribution detector consistently achieves 100% task-boundary detection accuracy for t > 2. Experiments in Tab. 14 verify the effectiveness of our out-of-distribution detector in detecting task boundaries under synchronous and asynchronous FCL settings.
5.10 Analysis of Hyperparameters
As shown in Fig. 7, we introduce sensitivity analyses of the hyperparameters (a)(b)(c)(d) and (e)(f) on CIFAR-100 dataset [22], using Sup-21K and DINO-1K backbones with . In Figs. 7(a)(b), we visualize the entropy differences between adjacent incremental tasks, where the entropy increase consistently exceeds 0.9. In contrast, Figs. 7(c)(d) illustrate the within-task entropy differences between consecutive global rounds across different incremental tasks, which are generally less than 0.9. Based on these observations, we demonstrate that the proposed out-of-distribution detector can accurately detect the arrival of new tasks at local clients when . In Figs. 7(e)(f), we analyze the effect of the quantity of reused prompts on the performance (CAA) of our proposed TRPE model by varying over . Our TRPE model demonstrates robust and stable performance across different tasks and parameter settings, with the best performance achieved when .
5.11 Convergence Analysis
This subsection presents a detailed convergence analysis for the proposed TRPE model as it addresses the FCL problem. As depicted in Fig. 8, task-wise convergence of our model is visualized on CIFAR-100 [22] and CUB-200 [59] when the backbones are DINO-1K [5] and Sup-21K [45]. From the presented results, we observe that all incremental tasks can effectively converge to a stable value when the global round is set to five (i.e., R = 5). These visualization curves in Fig. 8 demonstrate the capability of our proposed TRPE model to tackle the FCL problem by eliminating strong dependence on prior knowledge and leveraging positive semantic relationships between old and novel tasks.
6 CONCLUSION
In this paper, we propose a new Task Relevance-driven Prompt Expansion (TRPE) model to resolve the FCL problem. The proposed model not only eliminates the strong dependence on prior knowledge but also explores positive inter-task relationships. Specifically, to address the reliance on prior knowledge of novel tasks, we propose an out-of-distribution detector and a radius-adaptive DBSCAN module. They can detect the arrival of novel tasks and the quantity of classes in each new task without any prior knowledge. Furthermore, to explore positive inter-task relationships, we compute the affinity between the original gradient for learning the new task and its component that is orthogonal to the old-task feature space, thereby accurately measuring the semantic relevance between old and new tasks from a global perspective. Subsequently, this global task relevance is used to initialize the key-prompt pair for new tasks and select old tasks that are highly related to the new ones. Once their prompts are concatenated for training, we can harness these positive inter-task relationships to promote the continual learning of new tasks. Then a soft orthogonality constraint is applied to the local key and prompt gradients to balance new-task learning against the forgetting of old ones. Experiments on diverse datasets and backbones demonstrate the effectiveness of our TRPE model in tackling both class-incremental and domain-incremental settings of FCL. In future work, our efforts will be directed toward designing more effective algorithms that reduce communication and computational costs, particularly in federated settings characterized by severe heterogeneity.
REFERENCES
[1] Davide Abati, Jakub Tomczak, Tijmen Blankevoort, Simone Calderara, Rita Cucchiara, and Babak Ehteshami Bejnordi. Conditional channel gated networks for task-aware continual learning. In CVPR, pages 3931–3940, 2020.
[2] Sara Babakniya, Zalan Fabian, Chaoyang He, Mahdi Soltanolkotabi, and Salman Avestimehr. A data-free approach to mitigate catastrophic forgetting in federated class incremental learning for vision tasks. In NeurIPS, pages 66408–66425, 2023.
[3] Gaurav Bagwe, Xiaoyong Yuan, Miao Pan, and Lan Zhang. FedCPrompt: Contrastive prompt for rehearsal-free federated continual learning. In Federated Learning and Analytics in Practice: Algorithms, Systems, Applications, and Opportunities, 2023.
[4] Eden Belouadah and Adrian Popescu. Il2m: Class incremental learning with dual memory. In ICCV, pages 583–592, 2019.
[5] Mathilde Caron, Hugo Touvron, Ishan Misra, Hervé Jegou, Julien Mairal, Piotr Bojanowski, and Armand Joulin. Emerging properties in self-supervised vision transformers. In ICCV, pages 9650–9660, 2021.
[6] Yang Chen, Xiaoyan Sun, and Yaochu Jin. Communication-efficient federated deep learning with layerwise asynchronous model update and temporally weighted aggregation. IEEE Transactions on Neural Networks and Learning Systems, 31(10):4229–4238, 2020.
[7] Gregory Cohen, Saeed Afshar, Jonathan Tapson, and André van Schaik. Emnist: Extending mnist to handwritten letters. In IJCNN, pages 2921–2926, 2017.
[8] Jia Deng, Wei Dong, Richard Socher, Li-Jia Li, Kai Li, and Li Fei-Fei. Imagenet: A large-scale hierarchical image database. In CVPR, pages 248–255, 2009.
[9] Pallavi Dhade and Prajakta Shirke. Federated learning for healthcare: A comprehensive review. Engineering Proceedings, 59(1), 2023.
[10] Jiahua Dong, Hongliu Li, Yang Cong, Gan Sun, Yulun Zhang, and Luc Van Gool. No one left behind: Real-world federated class-incremental learning. IEEE Transactions on Pattern Analysis and Machine Intelligence, 46(4):2054–2070, 2024.
[11] Jiahua Dong, Wenqi Liang, Yang Cong, and Gan Sun. Heterogeneous forgetting compensation for class-incremental learning. In ICCV, pages 11742–11751, October 2023.
[12] Jiahua Dong, Wenqi Liang, Yang Cong, Gan Sun, Lixu Wang, Henghui Ding, Yulun Zhang, and Luc Van Gool. Learning from each other: Generalized federated incremental semantic segmentation. IEEE Transactions on Pattern Analysis and Machine Intelligence, pages 1–18, 2026.
[13] Jiahua Dong, Lixu Wang, Zhen Fang, Gan Sun, Shichao Xu, Xiao Wang, and Qi Zhu. Federated class-incremental learning. In CVPR, pages 10164–10173, June 2022.
[14] Alexey Dosovitskiy, Lucas Beyer, Alexander Kolesnikov, Dirk Weissenborn, Xiaohua Zhai, Thomas Unterthiner, Mostafa Dehghani, Matthias Minderer, Georg Heigold, Sylvain Gelly, Jakob Uszkoreit, and Neil Houlsby. An image is worth words: Transformers for image recognition at scale. In ICLR, 2021.
[15] Arthur Douillard, Alexandre Ramé, Guillaume Couairon, and Matthieu Cord. Dytox: Transformers for continual learning with dynamic token expansion. In CVPR, pages 9285–9295, June 2022.
[16] Enrico Fini, Victor G. Turrisi Da Costa, Xavier Alameda-Pineda, Elisa Ricci, Karteek Alahari, and Julien Mairal. Self-supervised models are continual learners. In CVPR, pages 9621–9630, 2022.
[17] Shaunak Halbe, James Smith, Junjiao Tian, and Zsolt Kira. HePCo: Data-free heterogeneous prompt consolidation for continual federated learning. In International Workshop on Federated Learning in the Age of Foundation Models in Conjunction with NeurIPS 2023, 2023.
[18] Shaunak Halbe, James Seale Smith, Junjiao Tian, and Zsolt Kira. Continual adaptation of vision transformers for federated learning. Transactions on Machine Learning Research, 2024.
[19] Jiangpeng He. Gradient reweighting: Towards imbalanced class-incremental learning. In CVPR, pages 16668–16677, June 2024.
[20] J.J. Hull. A database for handwritten text recognition research. IEEE Transactions on Pattern Analysis and Machine Intelligence, 16(5):550–554, 1994.
[21] James Kirkpatrick, Razvan Pascanu, Neil Rabinowitz, Joel Veness, Guillaume Desjardins, Andrei A. Rusu, Kieran Milan, John Quan, Tiago Ramalho, Agnieszka Grabska-Barwinska, Demis Hassabis, Claudia Clopath, Dharshan Kumaran, and Raia Hadsell. Overcoming catastrophic forgetting in neural networks. Proceedings of the National Academy of Sciences, 114(13):3521–3526, 2017.
[22] Alex Krizhevsky, Geoffrey Hinton, et al. Learning multiple layers of features from tiny images. Technical report, 2009.
[23] K Naveen Kumar, Reshmi Mitra, and C Krishna Mohan. Revamping federated learning security from a defender's perspective: A unified defense with homomorphic encrypted data space. In CVPR, pages 24387–24397, June 2024.
[24] Y. Lecun, L. Bottou, Y. Bengio, and P. Haffner. Gradient-based learning applied to document recognition. Proceedings of the IEEE, 86(11):2278–2324, 1998.
[25] Junyi Li and Heng Huang. Resolving the tug-of-war: A separation of communication and learning in federated learning. In NeurIPS, volume 36, pages 3462–3473, 2023.
[26] Xiang Lisa Li and Percy Liang. Prefix-tuning: Optimizing continuous prompts for generation. In ACL, pages 4582–4597, August 2021.
[27] Xiaoxiao Li, Meirui Jiang, Xiaofei Zhang, Michael Kamp, and Qi Dou. Fedbn: Federated learning on non-iid features via local batch normalization. In ICLR, 2021.
[28] Yichen Li, Qunwei Li, Haozhao Wang, Ruixuan Li, Wenliang Zhong, and Guannan Zhang. Towards efficient replay in federated incremental learning. In CVPR, pages 12820–12829, 2024.
[29] Yichen Li, Wenchao Xu, Haozhao Wang, Ruixuan Li, Yining Qi, and Jingcai Guo. Personalized federated domain-incremental learning based on adaptive knowledge matching. In ECCV, pages 127–144, 2024.
[30] Zhizhong Li and Derek Hoiem. Learning without forgetting. In ECCV, pages 614–629, 2016.
[31] Wei Yang Bryan Lim, Nguyen Cong Luong, Dinh Thai Hoang, Yutao Jiao, Ying-Chang Liang, Qiang Yang, Dusit Niyato, and Chunyan Miao. Federated learning in mobile edge networks: A comprehensive survey. IEEE Communications Surveys and Tutorials, 22(3):2031–2063, 2020.
[32] Tao Liu, Zhi Wang, Hui He, Wei Shi, Liangliang Lin, Ran An, and Chenhao Li. Efficient and secure federated learning for financial applications. Applied Sciences, 13:5877, 2023.
[33] David Lopez-Paz and Marc'Aurelio Ranzato. Gradient episodic memory for continual learning. In NeurIPS, page 6470–6479, 2017.
[34] Yuhang Ma, Zhongle Xie, Jue Wang, Ke Chen, and Lidan Shou. Continual federated learning based on knowledge distillation. In IJCAI, pages 2182–2188, 2022.
[35] Divyam Madaan, Jaehong Yoon, Yuanchun Li, Yunxin Liu, and Sung Ju Hwang. Representational continuity for unsupervised continual learning. In ICLR, 2022.
[36] Marc Masana, Xialei Liu, Bartłomiej Twardowski, Mikel Menta, Andrew D. Bagdanov, and Joost van de Weijer. Class-incremental learning: Survey and performance evaluation on image classification. IEEE Transactions on Pattern Analysis and Machine Intelligence, 45(5):5513–5533, 2022.
[37] Muhammad Anwar Masum, Mahardhika Pratama, Savitha Ramasamy, Lin Liu, H Habibullah, and Ryszard Kowalczyk. Pip: Prototypes-injected prompt for federated class incremental learning. In Proceedings of the 33rd ACM International Conference on Information and Knowledge Management, page 1670–1679, 2024.
[38] H. Brendan McMahan, Eider Moore, Daniel Ramage, and Blaise Agüera y Arcas. Federated learning of deep networks using model averaging. arXiv preprint arXiv:1602.05629, 2016.
[39] Oleksiy Ostapenko, Mihai Puscas, Tassilo Klein, Patrick Jähnichen, and Moin Nabi. Learning to remember: A synaptic plasticity driven framework for continual learning. In CVPR, pages 11321–11329, 2019.
[40] Quang Pham, Chenghao Liu, and Steven HOI. Dualnet: Continual learning, fast and slow. In NeurIPS, pages 16131–16144, 2021.
[41] Hongming Piao, Yichen Wu, Dapeng Wu, and Ying Wei. Federated continual learning via prompt-based dual knowledge transfer. In ICML, pages 40725–40739, 2024.
[42] Daiqing Qi, Handong Zhao, and Sheng Li. Better generative replay for continual federated learning. In ICLR, 2023.
[43] Jingyang Qiao, Zhizhong Zhang, Xin Tan, Chengwei Chen, Yanyun Qu, Yong Peng, and Yuan Xie. Prompt gradient projection for continual learning. In ICLR, 2024.
[44] Sylvestre-Alvise Rebuffi, Alexander Kolesnikov, Georg Sperl, and Christoph H. Lampert. icarl: Incremental classifier and representation learning. In CVPR, pages 2001–2010, 2017.
[45] Tal Ridnik, Emanuel Ben-Baruch, Asaf Noy, and Lihi Zelnik-Manor. Imagenet-21k pretraining for the masses. In Thirty-fifth Conference on Neural Information Processing Systems Datasets and Benchmarks Track (Round 1), 2021.
[46] Hippolyt Ritter, Aleksandar Botev, and David Barber. Online structured laplace approximations for overcoming catastrophic forgetting. In NeurIPS, page 3738–3748, 2018.
[47] Kate Saenko, Brian Kulis, Mario Fritz, and Trevor Darrell. Adapting visual category models to new domains. In ECCV, pages 213–226, 2010.
[48] Anit Kumar Sahu, Tian Li, Maziar Sanjabi, Manzil Zaheer, Ameet Talwalkar, and Virginia Smith. On the convergence of federated optimization in heterogeneous networks. arXiv preprint arXiv:1812.06127, 2018.
[49] Erich Schubert, Jörg Sander, Martin Ester, Hans Peter Kriegel, and Xiaowei Xu. Dbscan revisited, revisited: Why and how you should (still) use dbscan. ACM Trans. Database Syst., 42(3):1–21, jul 2017.
[50] Hanul Shin, Jung Kwon Lee, Jaehong Kim, and Jiwon Kim. Continual learning with deep generative replay. In NeurIPS, page 2990–2999, 2017.
[51] Konstantin Shmelkov, Cordelia Schmid, and Karteek Alahari. Incremental learning of object detectors without catastrophic forgetting. In ICCV, pages 3400–3409, 2017.
[52] Neta Shoham, Tomer Avidor, Aviv Keren, Nadav Israel, Daniel Benditkis, Liron Mor-Yosef, and Itai Zeitak. Overcoming forgetting in federated learning on non-iid data. arXiv preprint arXiv:1910.07796, 2019.
[53] James Seale Smith, Leonid Karlinsky, Vyshnavi Gutta, Paola Cascante-Bonilla, Donghyun Kim, Assaf Arbelle, Rameswar Panda, Rogerio Feris, and Zsolt Kira. Coda-prompt: Continual decomposed attention-based prompting for rehearsal-free continual learning. In CVPR, pages 11909–11919, June 2023.
[54] James Seale Smith, Junjiao Tian, Shaunak Halbe, Yen-Chang Hsu, and Zsolt Kira. A closer look at rehearsal-free continual learning*. In CVPRW, pages 2410–2420, 2023.
[55] Ha Min Son, Moon-Hyun Kim, Tai-Myoung Chung, Chao Huang, and Xin Liu. Feduv: Uniformity and variance for heterogeneous federated learning. In CVPR, pages 5863–5872, June 2024.
[56] Marco Toldo and Mete Ozay. Bring evanescent representations to life in lifelong class incremental learning. In CVPR, pages 16732–16741, 2022.
[57] Minh-Tuan Tran, Trung Le, Xuan-May Le, Mehrtash Harandi, and Dinh Phung. Text-enhanced data-free approach for federated class-incremental learning. In CVPR, pages 23870–23880, June 2024.
[58] Oriol Vinyals, Charles Blundell, Timothy Lillicrap, koray kavukcuoglu, and Daan Wierstra. Matching networks for one shot learning. In NeurIPS, volume 29, pages 3630–3638, 2016.
[59] Catherine Wah, Steve Branson, Peter Welinder, Pietro Perona, and Serge Belongie. Caltech-ucsd birds-200-2011. Technical report, 2011.
[60] Hongyi Wang, Mikhail Yurochkin, Yuekai Sun, Dimitris Papailiopoulos, and Yasaman Khazaeni. Federated learning with matched averaging. In ICLR, 2020.
[61] Jiaqi Wang, Xingyi Yang, Suhan Cui, Liwei Che, Lingjuan Lyu, Dongkuan (DK) Xu, and Fenglong Ma. Towards personalized federated learning via heterogeneous model reassembly. In NeurIPS, volume 36, pages 29515–29531, 2023.
[62] Liyuan Wang, Jingyi Xie, Xingxing Zhang, Mingyi Huang, Hang Su, and Jun Zhu. Hierarchical decomposition of prompt-based continual learning: Rethinking obscured sub-optimality. In NeurIPS, pages 69054–69076, 2023.
[63] Liyuan Wang, Xingxing Zhang, Hang Su, and Jun Zhu. A comprehensive survey of continual learning: Theory, method and application. IEEE Transactions on Pattern Analysis and Machine Intelligence, 46(8):5362–5383, 2024.
[64] Yabin Wang, Zhiwu Huang, and Xiaopeng Hong. S-prompts learning with pre-trained transformers: An occam's razor for domain incremental learning. In NeurIPS, pages 5682–5695, 2022.
[65] Zifeng Wang, Zizhao Zhang, Sayna Ebrahimi, Ruoxi Sun, Han Zhang, Chen-Yu Lee, Xiaoqi Ren, Guolong Su, Vincent Perot, Jennifer Dy, et al. Dualprompt: Complementary prompting for rehearsal-free continual learning. ECCV, pages 631–648, 2022.
[66] Zifeng Wang, Zizhao Zhang, Chen-Yu Lee, Han Zhang, Ruoxi Sun, Xiaoqi Ren, Guolong Su, Vincent Perot, Jennifer Dy, and Tomas Pfister. Learning to prompt for continual learning. In CVPR, pages 139–149, 2022.
[67] Chenshen Wu, Luis Herranz, Xialei Liu, yaxing wang, Joost van de Weijer, and Bogdan Raducanu. Memory replay gans: Learning to generate new categories without forgetting. In NeurIPS, pages 5962–5972, 2018.
[68] Han Xiao, Kashif Rasul, and Roland Vollgraf. Fashion-mnist: a novel image dataset for benchmarking machine learning algorithms. arXiv preprint arXiv:1708.07747, 2017.
[69] Jaehong Yoon, Wonyoung Jeong, Giwoong Lee, Eunho Yang, and Sung Ju Hwang. Federated continual learning with weighted inter-client transfer. In ICML, pages 12073–12086, 2020.
[70] Jaehong Yoon, Eunho Yang, Jeongtae Lee, and Sung Ju Hwang. Lifelong learning with dynamically expandable networks. In ICLR, 2018.
[71] Hao Yu, Xin Yang, Xin Gao, Yihui Feng, Hao Wang, Yan Kang, and Tianrui Li. Overcoming spatial-temporal catastrophic forgetting for federated class-incremental learning. In ACM MM, page 5280–5288, 2024.
[72] Hao Yu, Xin Yang, Xin Gao, Yan Kang, Hao Wang, Junbo Zhang, and Tianrui Li. Personalized federated continual learning via multi-granularity prompt. In KDD, page 4023–4034, 2024.
[73] Mikhail Yurochkin, Mayank Agarwal, Soumya Ghosh, Kristjan Greenewald, Nghia Hoang, and Yasaman Khazaeni. Bayesian nonparametric federated learning of neural networks. In ICML, pages 7252–7261, 2019.
[74] Friedemann Zenke, Ben Poole, and Surya Ganguli. Continual learning through synaptic intelligence. In ICML, page 3987–3995. JMLR.org, 2017.
[75] Jianqing Zhang, Yang Liu, Yang Hua, and Jian Cao. An upload-efficient scheme for transferring knowledge from a server-side pretrained generator to clients in heterogeneous federated learning. In CVPR, pages 12109–12119, June 2024.
[76] Jie Zhang, Chen Chen, Weiming Zhuang, and Lingjuan Lyu. Target: Federated class-continual learning via exemplar-free distillation. In ICCV, pages 4782–4793, October 2023.
[77] Zhen Zhao, Zhizhong Zhang, Xin Tan, Jun Liu, Yanyun Qu, Yuan Xie, and Lizhuang Ma. Rethinking gradient projection continual learning: Stability/plasticity feature space decoupling. In CVPR, pages 3718–3727, 2023.
[78] Da-Wei Zhou, Hai-Long Sun, Han-Jia Ye, and De-Chuan Zhan. Expandable subspace ensemble for pre-trained model-based class-incremental learning. In CVPR, pages 23554–23564, June 2024.
[79] Jinghao Zhou, Chen Wei, Huiyu Wang, Wei Shen, Cihang Xie, Alan Yuille, and Tao Kong. Image BERT pre-training with online tokenizer. In ICLR, 2022.