HERD: Harness-Evolving Recursive Distillation for Continual Learning
Organizations: Monash University · University of the Sunshine Coast
Abstract
Continual learning requires a model to keep acquiring new skills and knowledge without compromising its existing capabilities. Parametric methods suffer from catastrophic forgetting and loss of plasticity. Non-parametric methods, such as prompts, skills, and harnesses, leverage in-context learning but are limited by context length and lossy plain-text compression. To effectively combine their complementary strengths, we propose HERD (Harness-Evolving Recursive Distillation), a hybrid continual learning framework that learns efficiently in the harness and internalizes experience into cumulative capabilities via distillation. On the harness side, HERD continually refines its skills to capture reusable patterns, while retaining high-residual examples that the skills fail to capture in a bounded memory. On the parameter side, HERD performs drift-constrained distillation with dual anchors, substantially reducing forgetting over long recursive runs. On the 25-stage task stream of TRACE+17, under fixed memory and compute budgets, HERD matches the strongest parametric baseline in new-task acquisition while exhibiting the least forgetting and the strongest retention of general capabilities.
Figures & tables
| Method | Family | AA | Acq. | F | BWT | G-test | ||
|---|---|---|---|---|---|---|---|---|
| HERD | This work | 0.706 | 0.713 | 0.010 | 0.007 | 0.774 | 0.063 | 0.130 |
| Base | Control | 0.419 | 0.419 | 0.000 | 0.000 | 0.837 | 0.000 | 0.000 |
| Static harness | Control | 0.432 | 0.432 | 0.000 | 0.000 | 0.791 | 0.046 | 0.135 |
| HCL-Stable | Context | 0.433 | 0.435 | 0.003 | 0.002 | 0.823 | 0.014 | 0.085 |
| ACE | Context | 0.427 | 0.428 | 0.001 | 0.001 | 0.748 | 0.089 | 0.320 |
| Seq-LoRA | Weights | 0.694 | 0.715 | 0.025 | 0.022 | 0.597 | 0.240 | 0.665 |
Appendix figures & tables7 assets
Supplementary material from the paper’s appendix.
Appendix
| Baseline | AA | Acq. | F | BWT | G-test |
|---|---|---|---|---|---|
| Base | 0.287 [0.274, 0.299] | 0.293 [0.281, 0.306] | 0.010 [0.006, 0.016] | 0.007 [ 0.013, 0.001] | 0.063 [ 0.088, 0.038] |
| Static harness | 0.274 [0.262, 0.286] | 0.281 [0.268, 0.293] | 0.010 [0.006, 0.016] | 0.007 [ 0.013, 0.002] | 0.017 [ 0.044, 0.010] |
| HCL-Stable | 0.273 [0.260, 0.286] | 0.278 [0.265, 0.291] | 0.007 [0.003, 0.013] | 0.005 [ 0.012, 0.001] | 0.049 [ 0.074, 0.024] |
| ACE | 0.279 [0.266, 0.292] | 0.285 [0.272, 0.298] | 0.009 [0.005, 0.015] | 0.006 [ 0.013, 0.000] | 0.026 [0.001, 0.051] |
| Seq-LoRA | 0.012 [0.004, 0.021] | 0.002 [ 0.010, 0.007] | 0.015 [ 0.024, 0.009] | 0.015 [0.006, 0.023] | 0.177 [0.154, 0.200] |
| Uniform replay | 0.007 [ 0.001, 0.016] | 0.001 [ 0.007, 0.010] | 0.010 [ 0.020, 0.004] | 0.006 [ 0.004, 0.017] | 0.175 [0.150, 0.201] |
| Variant | Acq. | AA | F | ||||
| HERD (full) | 0.713 0.002 | 0.706 0.008 | 0.010 0.003 | 0.063 0.006 | 0.130 0.012 | 0.021 | 0.041 |
| skills * | 0.668 ( 0.045) | 0.656 ( 0.050) | 0.013 ( 0.003) | 0.073 ( 0.010) | 0.135 ( 0.005) | 0.021 | 0.040 |
| uniform memory * | 0.708 ( 0.005) | 0.690 ( 0.017) | 0.020 ( 0.010) | 0.071 ( 0.008) | 0.125 ( 0.005) | 0.034 | 0.041 |
| checkpoint anchor * | 0.716 ( 0.004) | 0.688 ( 0.018) | 0.030 ( 0.020) | 0.075 ( 0.012) | 0.140 ( 0.010) | 0.118 | 0.044 |
| base anchor * | 0.718 ( 0.006) | 0.704 ( 0.002) | 0.016 ( 0.006) | 0.158 ( 0.095) | 0.490 ( 0.360) | 0.027 | 0.212 |
| both anchors * | 0.721 ( 0.008) | 0.680 ( 0.026) | 0.044 ( 0.033) | 0.193 ( 0.130) | 0.560 ( 0.430) | 0.131 | 0.236 |
| Method | Training time (s) | Context | ||
| stage 1 | stage 25 | total | tokens | |
| HERD | 316 | 284 | 10,723 | 0 |
| HCL-Stable | 580 | 296 | 46,887 | 39 |
| ACE | 60,412 | 36,759 | 888,082 | 15,410 |
| Seq-LoRA | 51 | 200 | 10,463 | 0 |
| Uniform replay | 318 | 400 | 15,267 | 0 |
Continual Learning
Continual Learning studies how models acquire knowledge from changing data streams while retaining or selectively revising what they learned before.
See all 302 papers