Download methods/cab.md from imecai/cl-agentic-vault: direct link, hf CLI and curl.
- Browser
- Download file 5.19 kB
-
https://huggingface.co/datasets/imecai/cl-agentic-vault/resolve/main/methods/cab.md
- Command line
-
hf download hf://datasets/imecai/cl-agentic-vault/methods/cab.md
-
curl -L -o cab.md https://huggingface.co/datasets/imecai/cl-agentic-vault/resolve/main/methods/cab.md
family: optimization
introduced-in: '[[he2018-cab]]'
stores:
- used-space-conceptor
requires-boundaries: 'yes'
requires-task-id: 'no'
memory-growth: constant
tags:
- method
CAB (Conceptor-Aided Backpropagation)
What it does
Prevents forgetting in a feedforward network by shielding backprop gradients with conceptors — soft projection matrices describing which directions of each layer's activation space past tasks have claimed. After each task, a per-layer conceptor C = R(R+α⁻²I)⁻¹ is computed from that layer's activation correlation matrix R = HHᵀ/n; the used space accumulates across tasks by conceptor OR (Aʲ = Aʲ⁻¹ ∨ Cʲ) and the free space is its NOT (F = ¬A = I − A). During training on the next task, every weight gradient is formed with F-shielded pre-synaptic activity, ∇W = g(Fb)ᵀ, so only components of the input in the still-unclaimed directions can produce weight change. The construction transplants Jaeger's conceptor-based incremental ridge regression (reservoir readout loading) to every linear map of a deep network.
Aspects
- Stores: one N×N used-space conceptor A per layer, updated in place by the OR operation — no raw samples, no gradients, no per-task snapshots; memory constant in the task count. The quota Q(A) (mean singular value) monitors how much of each layer's space is claimed.
- Update rule: standard backprop except the weight gradient uses the free-space-projected pre-synaptic activation, ∇W = g(F b)ᵀ + 2λ(Wʲ − Wʲ⁻¹); the ridge penalty is applied to the per-task increment Wʲ − Wʲ⁻¹, not the weights, so regularization does not drag past solutions toward zero. Protection is soft: conceptor singular values are graded sᵢ = σᵢ/(σᵢ+α⁻²) ∈ [0,1), with the aperture α controlling how hard directions are claimed (strict orthogonal projection is the large-α limit).
- Requires: task boundaries (conceptors are computed after convergence on each task, and stay fixed during the next task's training); no task identity at test (single-softmax disjoint-MNIST evaluation). The aperture is a per-experiment hyperparameter set by trial and error.
- Costs: constant memory; per-step cost of multiplying pre-synaptic activations by the N×N conceptor per layer, plus a per-task pass to collect activations and invert R. Capacity is finite and monitored by quota: as free space depletes, less of a new task's input remains usable for error correction, and tasks whose input subspaces overlap the claimed space (conceptor similarity ρ high) become hard to learn.
Documented behavior
Introduced by [[he2018-cab]] (arXiv Jul 2017; ICLR 2018), from scratch on MLPs: 2-task disjoint MNIST with a single softmax 94.91±0.30 with a [784-800-10] sigmoid net, vs IMM 94.12±0.27 and EWC 52.72±1.36 (both quoted from the IMM paper, on deeper [784-800-800-10] ReLU nets); 10-task permuted MNIST 95.2 average accuracy with a [784-100-10] net, above their own EWC run (tuning caveated by the authors). The authors document the failure axis: performance depends on input-subspace overlap between tasks — disjoint MNIST's halves overlap at ρ ≈ 0.95 and are harder for CAB than original-vs-permuted MNIST at ρ ≈ 0.3 — and the quota of used space grows and saturates over the stream (increments 0.10 at task 2 down to 0.03 at task 10).
[[zeng2018-owm]] answers CAB a year later with OWM, crediting it with gradient shielding but replacing the soft conceptor by a strict RLS-derived orthogonal projector on the same input/activation-space construction; the later OGD ([[farajtabar2020-ogd]]) and GPM ([[saha2021-gpm]]) line re-derives the same protection principle in gradient and activation-SVD space. CODE-CL (arXiv 2024, not yet in the vault) revives conceptor-based gradient projection directly.
Links
uses:: [[input-correlation-inverse-projector]] (soft variant: the free-space matrix F = I − R(R+α⁻²I)⁻¹ is the same correlation-inverse construction as OWM's P, built from the layer-activation correlation matrix R, but with graded singular values σᵢ/(σᵢ+α⁻²) instead of a hard rank cutoff — the aperture α sets the softness) uses:: [[orthogonal-update-projection]] (soft form: the backprop gradient on each weight matrix is formed as g(Fb)ᵀ — the pre-synaptic activation is shielded by the free-space conceptor of the layer below before the outer product, so weight change is confined to unclaimed directions; strict orthogonality is the large-aperture limit) uses:: [[conceptor-boolean-algebra]] (used space accumulates across tasks by conceptor OR, Aʲ = Aʲ⁻¹ ∨ Cʲ, and the free space is the NOT, F = ¬A — closed-form soft set operations over linear subspaces, with the quota Q(A) monitoring how full each layer is) uses:: [[weight-increment-regularization]] (the ridge/Frobenius penalty is applied to the per-task update Wʲ − Wʲ⁻¹ rather than to the weights themselves, so shrinkage regularizes what the new task adds without pulling previously learned weights toward zero)
Papers engaging this method
LIST FROM [[]] AND ("papers" OR "influences")