|
Download methods/aper.md from imecai/cl-agentic-vault: direct link, hf CLI and curl.
- Browser
- Download file 4.42 kB
-
https://huggingface.co/datasets/imecai/cl-agentic-vault/resolve/main/methods/aper.md
- Command line
-
hf download hf://datasets/imecai/cl-agentic-vault/methods/aper.md
-
curl -L -o aper.md https://huggingface.co/datasets/imecai/cl-agentic-vault/resolve/main/methods/aper.md
4.42 kB
| family: representation | |
| introduced-in: "[[zhou2023-simplecil]]" | |
| stores: [class-prototypes, frozen-modules] | |
| requires-boundaries: "yes" | |
| requires-task-id: "no" | |
| memory-growth: "constant" | |
| tags: [method] | |
| # APER (AdaPt and mERge; a.k.a. ADAM) | |
| ## What it does | |
| Adapts a pretrained backbone *once*, on the first incremental task only, | |
| using any parameter-efficient tuning technique, then concatenates the | |
| adapted and original pretrained embedding functions into one frozen | |
| double-width feature extractor and runs SimpleCIL on top: class-mean | |
| prototypes in the concatenated space are the cosine classifier for all | |
| subsequent tasks. The single adaptation round bridges the pretrain–downstream | |
| domain gap; the frozen concatenation keeps the pretrained generalizability | |
| alongside the adapted specificity. Named ADAM in the arXiv v1, APER in the | |
| IJCV version — the literature cites both. | |
| ## Aspects | |
| - **Stores**: the parameter-efficient adapted copy of the backbone (frozen | |
| after task 1; most weights shared with the PTM) and one prototype | |
| (2d-dimensional, e.g. 1536 for ViT-B/16) per class. No exemplars, no | |
| previous-model snapshot. | |
| - **Update rule**: stage 1 — minimize cross-entropy on D1 over the PET | |
| parameters only (VPT-Shallow/Deep prompts, SSF scale-and-shift factors, | |
| AdaptFormer-style bottleneck adapters, full finetune for ViTs; BN running | |
| statistics re-estimation — forward passes only — or SSF for CNNs); the | |
| linear head used during adaptation is discarded. Stage 2 onward — no | |
| optimization: extract prototypes p_i over [φ*(x), φ(x)] and set w_i = p_i; | |
| inference is cosine matching. | |
| - **Requires**: a pretrained model; the first task boundary (to know when to | |
| stop adapting); class labels; no task identity at train or test. Assumes | |
| D1 is representative enough of the stream's domain for one-shot gap | |
| bridging (the paper's own stated failure mode for domain-IL). | |
| - **Costs**: one PET training run on task 1 (20 epochs in the paper); double | |
| feature dimension at inference (two backbone forward passes, or one if the | |
| PET variant shares computation); prototype store grows one vector per | |
| class. Training time and tunable parameters are well below L2P/DualPrompt | |
| (no per-task prompt learning, no retrieval ViT). | |
| ## Documented behavior | |
| - [[zhou2023-simplecil]] (exemplar-free class-IL, ViT-B/16-IN21K/IN1K, | |
| ResNet-18): improves SimpleCIL on all seven benchmarks — largest where the | |
| domain gap is large (ImageNet-R B0 Inc5: 72.35 Ā w/ Adapter vs 62.58; | |
| ObjectNet B0 Inc20: 68.75 w/ SSF vs 62.11), marginal on near-ImageNet data | |
| (CUB 92.21 vs 92.20). Its adapting-stages ablation (CIFAR-100 B0 Inc10, | |
| T = 0…10 adapted sessions) shows T = 1 best: further sequential adaptation | |
| makes old prototypes incompatible with the drifting features. SSF and | |
| Adapter variants dominate VPT; BN-statistics tuning beats finetuning for | |
| pretrained ResNets. Ablation of sub-modules: the adapted embedding alone | |
| beats the pretrained embedding alone but degrades faster over the stream; | |
| the concatenation beats both. | |
| - [[liao2026-compositionality]] (class-IL on compositional splits CGQA/COBJ, | |
| frozen ImageNet-21K ViT-B/16): ADAM+adapter still forgets on these splits | |
| (41.9% AA), lifted +7.55 AA by their concept-grounding plug-in. | |
| - [[lou2026-bilevel-moe]] lists APER-Adapter among the adapter-based methods | |
| whose performance degrades over the 100–300-task streams of | |
| OmniBenchmark-1K. | |
| ## Links | |
| refines:: [[simplecil]] (adds one first-session PET adaptation and embedding concatenation; degrades exactly to SimpleCIL when the adaptation is null, which the paper presents as a built-in lower bound) | |
| uses:: [[first-session-adaptation]] (parameter-efficient tuning on the first task's data only; the model is frozen for the rest of the stream) | |
| uses:: [[embedding-concatenation]] (adapted and pretrained embedding functions concatenated, [φ*(x), φ(x)], to keep pretrained generalizability alongside adapted specificity) | |
| uses:: [[nearest-mean-classifier]] (class-mean prototypes in the concatenated space are the classifier; the adaptation-time linear head is discarded) | |
| uses:: [[cosine-normalized-classifier]] (cosine matching between normalized concatenated features and prototypes) | |
| uses:: [[frozen-modules]] (both embedding functions frozen from task 2 onward) | |
| ## Papers engaging this method | |
| ```dataview | |
| LIST FROM [[]] AND ("papers" OR "influences") | |
| ``` | |