SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2509.19674 · NeurIPS · 2025

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

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

arXiv · PDF · Open in the Atlas

Code that ran

8 of 11 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (0 of them constructed an object rather than computing a result; 2 honoured the contract we drafted, 0 violated it and 0 have no contract verdict; 6 failures of our instrument; 3 no recorded run), measured 2026-11-24; bodies inline only under a permissive licence as GitHub detects it. Not a reproduction of the paper's results.

"Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results. This record, dated, as JSON: /api/ran/2509.19674.json · badge: /api/ran/2509.19674.svg

Each repository's role is a label: a classifier's output recorded on the link, or, where no role is recorded, what the Papers with Code archive marked. The line under it names its basis. Neither says who wrote the code.

RepositoryRoleRan
zhoujiahuan1991/NeurIPS2025-C2Prompt canonical (classifier label)
classifier basis: census
8 ran · 3 no recorded run
FunctionStatusWhere it lives
conv3x3 Ran
ran; our contract draft was wrong, not the code
zhoujiahuan1991/NeurIPS2025-C2Prompt/ResNet.py
pointer only (licence: NONE); the stored copy get_code serves, from lixiaotong97/DSU, is pointer only (licence: NONE) · get_code("fac5364e2f53c6db")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, zhoujiahuan1991/NeurIPS2025-C2Prompt when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

interpolate_pos_embed Ran
ran; our contract draft was wrong, not the code
zhoujiahuan1991/NeurIPS2025-C2Prompt/models_Cprompt/vision_transformer.py
pointer only (licence: NONE) · get_code("c6ec173f19f5c34d")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, zhoujiahuan1991/NeurIPS2025-C2Prompt when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

local_train_cprompt Ran
ran; our contract draft was wrong, not the code
zhoujiahuan1991/NeurIPS2025-C2Prompt/Fed_utils.py
pointer only (licence: NONE) · get_code("90f8aa1cf4ecb2be")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, zhoujiahuan1991/NeurIPS2025-C2Prompt when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

model_to_device Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
zhoujiahuan1991/NeurIPS2025-C2Prompt/Fed_utils.py
pointer only (licence: NONE) · get_code("febf8e5408ed0e01")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, zhoujiahuan1991/NeurIPS2025-C2Prompt when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

resnet18_cbam Ran
ran; our contract draft was wrong, not the code
zhoujiahuan1991/NeurIPS2025-C2Prompt/ResNet.py
pointer only (licence: NONE) · get_code("4cded09fb058f2b6")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, zhoujiahuan1991/NeurIPS2025-C2Prompt when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

resnet34_cbam Ran
ran; our contract draft was wrong, not the code
zhoujiahuan1991/NeurIPS2025-C2Prompt/ResNet.py
pointer only (licence: NONE) · get_code("7e00d29fd6c8423a")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, zhoujiahuan1991/NeurIPS2025-C2Prompt when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

tensor_prompt Ran
ran, honoured the contract we drafted
zhoujiahuan1991/NeurIPS2025-C2Prompt/models_Cprompt/vit_coda_p_hard.py
pointer only (licence: NONE); the stored copy get_code serves, from Zhanxin-Gao/CPrompt, is pointer only (licence: NONE) · get_code("238a8354f5b75bd3")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, zhoujiahuan1991/NeurIPS2025-C2Prompt when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

tensor_prompt Ran
ran, honoured the contract we drafted
zhoujiahuan1991/NeurIPS2025-C2Prompt/models_Cprompt/vit_coda_p.py
pointer only (licence: NONE) · get_code("c6db6c2bceedd520")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, zhoujiahuan1991/NeurIPS2025-C2Prompt when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

FedAvg_our_v1 Not yet run
unverified (harvested, no recorded run)
zhoujiahuan1991/NeurIPS2025-C2Prompt/Fed_utils.py
pointer only (licence: NONE) · get_code("d85e54f53f9fe2ab")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, zhoujiahuan1991/NeurIPS2025-C2Prompt when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

get_one_hot Not yet run
unverified (harvested, no recorded run)
zhoujiahuan1991/NeurIPS2025-C2Prompt/models_Cprompt/vit_coda_p_hard.py
pointer only (licence: NONE) · get_code("453899a2d9cac459")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, zhoujiahuan1991/NeurIPS2025-C2Prompt when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

jpg_image_to_array Not yet run
unverified (harvested, no recorded run)
zhoujiahuan1991/NeurIPS2025-C2Prompt/iDOMAINNET.py
pointer only (licence: NONE) · get_code("e1da3ea75e559fb9")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, zhoujiahuan1991/NeurIPS2025-C2Prompt when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

Also present in other papers' code

Of 11 samples lifted from this paper's linked repositories, 11 carry a function identity and 0 do not. Of the 11 distinct functions with an identity, 6 are also present in other papers whose code we hold (6 with at least one paper dated earlier, 2 the same month, 5 later) and 5 are only here among the 52,977 papers whose code Syntology holds (as of 2026-09-26).

Only here means: among the 52,977 papers whose code Syntology holds (51,887 with lifted samples, 1,090 through their assemblies only), as of 2026-09-26, no other paper's lifted samples or current assembly bricks contain an identical function body after normalisation.

FunctionAlso present inEarliest-datedOthers named
conv3x3 686 other papers
666 dated earlier, 1 the same month, 15 later, 4 same year, order not determinable · 31 only as an assembly brick
1406.2661 (2014-06)
Generative Adversarial Networks
1409.0575 (2014-09)
ImageNet Large Scale Visual Recognition Challenge
1412.6572 (2014-12)
Explaining and Harnessing Adversarial Examples
and 683 more not named here
interpolate_pos_embed 52 other papers
50 dated earlier, 1 later, 1 same year, order not determinable
1905.12794 (2019-05)
Fashion IQ: A New Dataset Towards Retrieving Images by Natural Language Feedback
2111.09452 (2021-11)
Open Vocabulary Object Detection with Pseudo Bounding-Box Labels
2205.11169 (2022-05)
PEVL: Position-enhanced Pre-training and Prompt Tuning for Vision-language Models
and 49 more not named here
resnet34_cbam 11 other papers
10 dated earlier, 1 later
2309.14062 (2023-09)
FeCAM: Exploiting the Heterogeneity of Class Distributions in Exemplar-Free Continual Learning
2310.15171 (2023-10)
RoboDepth: Robust Out-of-Distribution Depth Estimation under Corruptions
aaai_29079 (2024 (year only))
Dynamic Sub-graph Distillation for Robust Semi-supervised Continual Learning
and 8 more not named here
resnet18_cbam 10 other papers
9 dated earlier, 1 later
2308.09297 (2023-08)
NAPA-VQ: Neighborhood Aware Prototype Augmentation with Vector Quantization for Continual Learning
2309.14062 (2023-09)
FeCAM: Exploiting the Heterogeneity of Class Distributions in Exemplar-Free Continual Learning
2310.15171 (2023-10)
RoboDepth: Robust Out-of-Distribution Depth Estimation under Corruptions
and 7 more not named here
tensor_prompt 6 other papers
4 dated earlier, 1 the same month, 1 later · 1 only as an assembly brick
2211.13218 (2022-11)
CODA-Prompt: COntinual Decomposed Attention-based Prompting for Rehearsal-Free Continual Learning
2402.04129 (2024-02)
OVOR: OnePrompt with Virtual Outlier Regularization for Rehearsal-Free Class-Incremental Learning
2403.08568 (2024-03)
Consistent Prompting for Rehearsal-Free Continual Learning
and 3 more not named here
jpg_image_to_array 1 other paper
1 dated earlier
2410.20444 (2024-10)
Vector Quantization Prompting for Continual Learning

Presence, not direction: an identical function body in two papers' repositories does not say who wrote it, which came from which, or that either paper's method rests on it. Matching is exact after normalisation, so a renamed or edited function is not matched. Dates are when papers appeared, not when code was written. Only .py files the harvester lifted are covered; notebooks are not read. A new-style arXiv id YYMM.NNNN dates a paper to the month 20YY-MM; otherwise Paper.year dates it to the year; otherwise it is undated. Dates are when the paper appeared, not when the code was written. Read 2026-11-24.

Repositories linked to this paper

Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.

Abstract

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 crossclass knowledge confusion. During prompt communication, insufficient classwise 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 interclass 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 * Equal contribution † Corresponding author Preprint. Under review.

For agents

The same record, over MCP at https://syntology.ai/mcp:

get_harvested_code_for_paper("2509.19674")
get_code_for_paper("2509.19674")
have("2509.19674")

The run record, dated, one paper per request, free:

curl https://syntology.ai/api/ran/2509.19674.json

A badge for a README (the split and the date, never a ratio):

[![Syntology run record](https://syntology.ai/api/ran/2509.19674.svg)](https://syntology.ai/paper/2509.19674)

Connect an agent — have() is free.