Papers › Make Continual Learning Stronger via C-Flat

Make Continual Learning Stronger via C-Flat

1 Apr 2024arXiv:2404.00986archive 2025-07-28

Ang Bian, Wei Li, Hangjie Yuan, Chengrong Yu, Mang Wang, Zixiang Zhao, Aojun Lu, Pengliang Ji, Tao Feng

Model generalization ability upon incrementally acquiring dynamically updating knowledge from sequentially arriving tasks is crucial to tackle the sensitivity-stability dilemma in Continual Learning (CL). Weight loss landscape sharpness minimization seeking for flat minima lying in neighborhoods with uniform low loss or smooth gradient is proven to be a strong training regime improving model generalization compared with loss minimization based optimizer like SGD. Yet only a few works have discussed this training regime for CL, proving that dedicated designed zeroth-order sharpness optimizer can improve CL performance. In this work, we propose a Continual Flatness (C-Flat) method featuring a flatter loss landscape tailored for CL. C-Flat could be easily called with only one line of code and is plug-and-play to any CL methods. A general framework of C-Flat applied to all CL categories and a thorough comparison with loss minima optimizer and flat minima based CL approaches is presented in this paper, showing that our method can boost CL performance in almost all cases. Code is available at https://github.com/WanNaa/C-Flat.

PaperPDFCodeCode 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="2404.00986")

Code

Syntology Ran 7 of 12 code samples harvested from 1 repository linked to this paper; 5 have no recorded run. Of those that ran: 6 ran · our draft was wrong; 1 ran with no contract checked.

By repository: official repository: 12 samples from 1 repository, 7 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

wannaa/c-flat officialmentioned in paperpytorch report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. 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

12 samples harvested; 7 ran; 0 honoured the contract we drafted; 5 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.

6ran · our draft was wrong
1ran
5unverified

Licence: 12 of the 12 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 wannaa/c-flat. “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.

conv1x1 wannaa/c-flat/convs/memo_resnet.py official repository ran · our draft was wrong no licence file found · pointer only · d9def42110729a85 · report
conv1x1 wannaa/c-flat/convs/modified_represnet.py official repository ran · our draft was wrong no licence file found · pointer only · d5cd7ffe2dc51b21 · report
conv3x3 wannaa/c-flat/convs/memo_resnet.py official repository ran · our draft was wrong no licence file found · pointer only · 160bb14bd76201b4 · report
conv3x3 wannaa/c-flat/convs/resnet_cbam.py official repository ran · our draft was wrong no licence file found · pointer only · fac5364e2f53c6db · report
conv3x3 wannaa/c-flat/convs/modified_represnet.py official repository ran · our draft was wrong no licence file found · pointer only · 1907f2ae25449f39 · report
conv_block wannaa/c-flat/convs/conv_imagenet.py official repository ran · our draft was wrong no licence file found · pointer only · 9d556d61294bb0a8 · report
first_block wannaa/c-flat/convs/conv_imagenet.py official repository ran no licence file found · pointer only · 5af62c5da8dacdb2 · report
resnet10 wannaa/c-flat/convs/resnet.py official repository unverified no licence file found · pointer only · b8e5c22b79010344 · report
resnet18 wannaa/c-flat/convs/ucir_resnet.py official repository unverified no licence file found · pointer only · 4742faeabce1f66b · report
resnet18_cbam wannaa/c-flat/convs/resnet_cbam.py official repository unverified no licence file found · pointer only · 9d7277889d69cf2d · report
resnet18_rep wannaa/c-flat/convs/modified_represnet.py official repository unverified no licence file found · pointer only · ecaa7ca05d715804 · report
resnet34_cbam wannaa/c-flat/convs/resnet_cbam.py official repository unverified no licence file found · pointer only · 9eb3d43ee2e8ae7d · report

Tasks

Continual Learning

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Methods

SGD

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