Papers › C^2Prompt: Class-aware Client Knowledge Interaction for Federated Continual Learning

C^2Prompt: Class-aware Client Knowledge Interaction for Federated Continual Learning

24 Sep 2025NeurIPSarXiv:2509.19674added by Syntology

Kunlun Xu, Yibo Feng, Jiangmeng Li, Yongsheng Qi, Jiahuan Zhou

Title, abstract, authors and date from arXiv's metadata (CC0); this paper is not in the Papers with Code archive (frozen 2025-07-28).

Federated continual learning (FCL) tackles scenarios of learning from continuously emerging task data across distributed clients, where the key challenge lies in addressing both temporal forgetting over time and spatial forgetting simultaneously. Recently, prompt-based FCL methods have shown advanced performance through task-wise prompt communication.In this study, we underscore that the existing prompt-based FCL methods are prone to class-wise knowledge coherence between prompts across clients. The class-wise knowledge coherence includes two aspects: (1) intra-class distribution gap across clients, which degrades the learned semantics across prompts, (2) inter-prompt class-wise relevance, which highlights cross-class knowledge confusion. During prompt communication, insufficient class-wise coherence exacerbates knowledge conflicts among new prompts and induces interference with old prompts, intensifying both spatial and temporal forgetting. To address these issues, we propose a novel Class-aware Client Knowledge Interaction (C${}^2$Prompt) method that explicitly enhances class-wise knowledge coherence during prompt communication. Specifically, a local class distribution compensation mechanism (LCDC) is introduced to reduce intra-class distribution disparities across clients, thereby reinforcing intra-class knowledge consistency. Additionally, a class-aware prompt aggregation scheme (CPA) is designed to alleviate inter-class knowledge confusion by selectively strengthening class-relevant knowledge aggregation. Extensive experiments on multiple FCL benchmarks demonstrate that C${}^2$Prompt achieves state-of-the-art performance. Our source code is available at https://github.com/zhoujiahuan1991/NeurIPS2025-C2Prompt

PaperPDFCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2509.19674")

Code

Syntology Ran 3 of 11 code samples harvested from 1 repository linked to this paper; 8 have no recorded run. Of those that ran: 1 ran · honoured contract; 2 ran · our draft was wrong.

By repository: found in paper text by Syntology: 11 samples from 1 repository, 3 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

zhoujiahuan1991/NeurIPS2025-C2Prompt found in paper text by Syntology report

Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

11 samples harvested; 3 ran; 1 honoured the contract we drafted; 8 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

1ran · honoured contract
2ran · our draft was wrong
8unverified

Licence: 11 of the 11 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from zhoujiahuan1991/NeurIPS2025-C2Prompt. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

conv3x3 zhoujiahuan1991/NeurIPS2025-C2Prompt/ResNet.py found in paper text by Syntology ran · our draft was wrong no licence file found · pointer only · fac5364e2f53c6db · report
interpolate_pos_embed zhoujiahuan1991/NeurIPS2025-C2Prompt/models_Cprompt/vision_transformer.py found in paper text by Syntology ran · our draft was wrong no licence file found · pointer only · c6ec173f19f5c34d · report
tensor_prompt zhoujiahuan1991/NeurIPS2025-C2Prompt/models_Cprompt/vit_coda_p_hard.py found in paper text by Syntology ran · honoured contract fingerprinted no licence file found · pointer only · 238a8354f5b75bd3 · report
FedAvg_our_v1 zhoujiahuan1991/NeurIPS2025-C2Prompt/Fed_utils.py found in paper text by Syntology unverified no licence file found · pointer only · d85e54f53f9fe2ab · report
get_one_hot zhoujiahuan1991/NeurIPS2025-C2Prompt/models_Cprompt/vit_coda_p_hard.py found in paper text by Syntology unverified no licence file found · pointer only · 453899a2d9cac459 · report
jpg_image_to_array zhoujiahuan1991/NeurIPS2025-C2Prompt/iDOMAINNET.py found in paper text by Syntology unverified no licence file found · pointer only · e1da3ea75e559fb9 · report
local_train_cprompt zhoujiahuan1991/NeurIPS2025-C2Prompt/Fed_utils.py found in paper text by Syntology unverified no licence file found · pointer only · 90f8aa1cf4ecb2be · report
model_to_device zhoujiahuan1991/NeurIPS2025-C2Prompt/Fed_utils.py found in paper text by Syntology unverified no licence file found · pointer only · febf8e5408ed0e01 · report
resnet18_cbam zhoujiahuan1991/NeurIPS2025-C2Prompt/ResNet.py found in paper text by Syntology unverified no licence file found · pointer only · 4cded09fb058f2b6 · report
resnet34_cbam zhoujiahuan1991/NeurIPS2025-C2Prompt/ResNet.py found in paper text by Syntology unverified no licence file found · pointer only · 7e00d29fd6c8423a · report
tensor_prompt zhoujiahuan1991/NeurIPS2025-C2Prompt/models_Cprompt/vit_coda_p.py found in paper text by Syntology unverified no licence file found · pointer only · c6db6c2bceedd520 · report

Results from the paper

The Papers with Code archive ends with its 2025-07-28 snapshot. This paper's arXiv identifier, 2509.19674, was issued in September 2025, after that date, so the archive has no leaderboard rows for it.

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections