Efficient Continual Learning in Language Models via Thalamically Routed Cortical Columns
Organizations: SnT, University of Luxembourg
Abstract
Large language models deployed in the wild must adapt to evolving data, user behavior, and task mixtures without erasing previously acquired capabilities. In practice, this remains difficult: sequential updates induce catastrophic forgetting, while many stabilization methods rely on external procedures that are costly, brittle, or difficult to scale. We present TRC (Thalamically Routed Cortical Columns), a decoder-only architecture that makes continual learning a property of the backbone itself. TRC combines stacked cortical columns with a thalamic modulatory pathway for selective inter-column communication and a hippocampal pathway for event selective retrieval, delayed surprise-based writing, and replay-driven consolidation. This design localizes fast plasticity while preserving a slower stable computation pathway. We further introduce a causal memory-update scheme and an online replay controller that adjusts consolidation strength from measured forgetting. Across a task-sequential language-modeling stream over C4, WikiText-103, and GSM8K, TRC consistently improves task-boundary modeling quality and substantially reduces cumulative forgetting relative to Transformer, Mamba, MoE, DeepSeek and continual learning baselines trained under the same pipeline. Ablations show that the thalamic and hippocampal components are central to the retention gains, while the full model remains competitive in throughput and training cost.
Figures & tables
| Last-step scores at 22k | |||||||||
| Thal. | Hippo. | PPL | Text score | Tokens/s | |||||
| C4 | Wiki | GSM | C4 | Wiki | GSM (%) | ||||
| ✓ | ✓ | 990.26 | 68.70 | 31.28 | 4.05 | 15.03 | 57.19 | 103000 | |
| ✗ | ✓ | 1284.79 | 55.26 | 30.93 | 3.23 | 15.52 | 57.15 | 109000 | |
| ✓ | ✗ | 2015.73 | 613.29 | 27.44 | 1.82 | 3.28 | 57.74 | 147000 | |
| ✗ | ✗ | 2050.02 | 550.08 | 26.79 | 2.30 | 4.50 | 58.51 | 154000 | |
Appendix figures & tables19 assets
Supplementary material from the paper’s appendix.
Appendix
| Model | Params | PPL | Task-boundary text score | Tokens/s | |||||||
| C4 | Wiki | GSM | C4 | Wiki | GSM (%) | ||||||
| Transformer | 144M | 512 | 28 | 93.17 | 33.83 | 7.90 | 16.15 | 51.42 | 93000 | ||
| Transformer | 228M | 768 | 20 | 76.27 | 29.94 | 8.06 | 16.78 | 53.09 | 84000 | ||
| Transformer | 321M | 1024 | 16 | 70.68 | 28.90 | 7.78 | 16.69 | 53.41 | 73000 | ||
| MoE | 345M | 512 | 16 | 99.28 | 35.71 | 7.32 | 15.96 | 51.01 | 76000 | ||
| MoE | 441M | 768 | 10 | 94.32 | 34.47 | 6.83 | 14.91 | 50.09 | 78000 | ||
| Model | Params | PPL AUFC | BLEU AUFC | TokAcc AUFC | Tokens/s | ||||||
| 20k | 22k | 20k | 22k | 20k | 22k | ||||||
| Transformer | 144M | 512 | 28 | 1.16 | 1.15 | 2.21 | 1.33 | 0.21 | 0.15 | 93000 | |
| Transformer | 228M | 768 | 20 | 1.23 | 1.30 | 2.16 | 1.30 | 0.20 | 0.15 | 84000 | |
| Transformer | 321M | 1024 | 16 | 1.15 | 1.30 | 1.88 | 1.16 | 0.19 | 0.14 | 73000 | |
| MoE | 345M | 512 | 16 | 1.25 | 1.24 | 2.11 | 1.26 | 0.21 | 0.15 | 76000 | |
| MoE | 441M | 768 | 10 | 1.18 | 1.29 | 1.92 | 1.15 | 0.20 | 0.14 | 78000 | |
| Variant | Parameters | Memory | ||||
|---|---|---|---|---|---|---|
| Col. (%) | Hippo. (%) | Thal. (%) | Col. (%) | Hippo. (%) | Thal. (%) | |
| TRC 2 d256-l24 | 99.67 | 0.31 | 0.01 | 88.52 | 11.46 | 0.01 |
| TRC 2 d512-l10 | 99.24 | 0.72 | 0.03 | 89.22 | 10.75 | 0.03 |
| TRC 2 d768-l4 | 97.94 | 1.96 | 0.09 | 82.78 | 17.14 | 0.08 |
| TRC 2 d768-l8 | 98.96 | 0.99 | 0.05 | 90.58 | 9.37 | 0.04 |
| TRC 2 d1024-l6 | 98.67 | 1.27 | 0.06 | 91.03 | 8.91 | 0.06 |
Continual Learning for LLMs
Continual learning for large language models studies how models absorb new knowledge and skills while retaining previously learned capabilities.
See all 231 papers