|
Download methods/bld.md from imecai/cl-agentic-vault: direct link, hf CLI and curl.
- Browser
- Download file 1.84 kB
-
https://huggingface.co/datasets/imecai/cl-agentic-vault/resolve/main/methods/bld.md
- Command line
-
hf download hf://datasets/imecai/cl-agentic-vault/methods/bld.md
-
curl -L -o bld.md https://huggingface.co/datasets/imecai/cl-agentic-vault/resolve/main/methods/bld.md
1.84 kB
| family: regularization | |
| introduced-in: "[[fini2020-mc-ocl]]" | |
| stores: [nothing] | |
| requires-boundaries: "yes" | |
| requires-task-id: "train" | |
| memory-growth: constant | |
| tags: [method] | |
| # BLD (Batch-level Distillation) | |
| ## What it does | |
| An online continual-learning method for the Memory-Constrained regime (MC-OCL): | |
| it mitigates forgetting with zero memory overhead beyond the network — no | |
| exemplar buffer, generator, or capacity expansion. For each incoming batch it | |
| runs a *warm-up* stage (train a temporary copy on the new batch) then a *joint* | |
| stage that distills the warm-up copy's predictions back into the running model | |
| alongside the new-task loss, so old-task behaviour is preserved through | |
| self-distillation over the current batch rather than over stored past data. A | |
| memory-efficient augmentation of the batch substitutes for buffered diversity. | |
| ## Aspects | |
| - **Stores**: nothing across time steps except the network weights (by | |
| construction of the MC-OCL constraints). | |
| - **Update rule**: two-stage per batch — warm-up copy trained on new data, then a | |
| distillation loss keeping the running model's predictions close to the copy's, | |
| plus the new-task loss; single epoch, online. | |
| - **Requires**: task boundaries (for the warm-up); online single-epoch stream; | |
| trains from scratch (cf. [[settings-should-declare-drift-assumptions]]). | |
| - **Costs**: constant memory (nothing stored); extra compute per batch for the | |
| two-stage warm-up + joint procedure. | |
| ## Documented behavior | |
| - [[fini2020-mc-ocl]] (online, Split-MNIST/CIFAR-10/SVHN, 2 and 5 tasks): reaches | |
| accuracy comparable to distillation baselines that carry higher memory | |
| overhead, while satisfying the zero-overhead MC-OCL constraints. | |
| ## Links | |
| variant-of:: [[lwf]] | |
| ## Papers engaging this method | |
| ```dataview | |
| LIST FROM [[]] AND ("papers" OR "influences") | |
| ``` | |