Huiping Zhuang, Zhiping Lin, Cen Chen, Run He, Ziqian Zeng, Kai Tong
We lifted 5 functions out of this paper's own repositories and ran 3 of them in a sandbox. "Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results.
| Repository | Role | Ran |
|---|---|---|
| ZHUANGHP/Analytic-continual-learning | — | 3 of 5 |
| Function | Status | Where it lives |
|---|---|---|
| DSAL | Ran | ZHUANGHP/Analytic-continual-learning/analytic/DSAL.py code served (permissive licence) · get_code("4b43153e61d887ca") |
| RandomBuffer | Ran | ZHUANGHP/Analytic-continual-learning/analytic/DSAL.py code served (permissive licence) · get_code("47ce601254361537") |
| RecursiveLinear | Ran | ZHUANGHP/Analytic-continual-learning/analytic/DSAL.py code served (permissive licence) · get_code("4f6df5db2e30fed4") |
| AnalyticLinear | Not yet run | ZHUANGHP/Analytic-continual-learning/analytic/DSAL.py code served (permissive licence) · get_code("0f139eca807b529f") |
| Buffer | Not yet run | ZHUANGHP/Analytic-continual-learning/analytic/DSAL.py code served (permissive licence) · get_code("1d08f115abdc4600") |
Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.
Class-incremental learning (CIL) under an exemplar-free constraint has presented a significant challenge. Existing methods adhering to this constraint are prone to catastrophic forgetting, far more so than replay-based techniques that retain access to past samples. In this paper, to solve the exemplar-free CIL problem, we propose a Dual-Stream Analytic Learning (DS-AL) approach. The DS-AL contains a main stream offering an analytical (i.e., closed-form) linear solution, and a compensation stream improving the inherent under-fitting limitation due to adopting linear mapping. The main stream redefines the CIL problem into a Concatenated Recursive Least Squares (C-RLS) task, allowing an equivalence between the CIL and its joint-learning counterpart. The compensation stream is governed by a Dual-Activation Compensation (DAC) module. This module re-activates the embedding with a different activation function from the main stream one, and seeks fitting compensation by projecting the embedding to the null space of the main stream's linear mapping. Empirical results demonstrate that the DS-AL, despite being an exemplar-free technique, delivers performance comparable with or better than that of replay-based methods across various datasets, including CIFAR-100, ImageNet-100 and ImageNet-Full. Additionally, the C-RLS' equivalent property allows the DS-AL to execute CIL in a phaseinvariant manner. This is evidenced by a never-before-seen 500-phase CIL ImageNet task, which performs on a level identical to a 5-phase one. Our codes are available at https: //github.com/ZHUANGHP/Analytic-continual-learning.
The same record, over MCP at https://syntology.ai/mcp:
get_harvested_code_for_paper("2403.17503")
get_code_for_paper("2403.17503")
have("2403.17503")
Connect an agent — have() is free.