All work

Oracle: Continual Learning

Jul 2026, self-study

A self-directed study, over 4 to 11 July 2026, of a model that keeps learning new skills without losing old ones and decides for itself when it needs more capacity. It runs in 8 gated phases: sparse networks that prune and regrow their own connections, a learned controller, a transformer bridge, and finally a frozen Qwen2.5-1.5B that grows LoRA adapters. Every experiment is journaled with its seeds, config and git SHA, negative results included.

Reading
0.912mean exact match on 5 new skills3 seeds, ± 0.062
Limitation
Synthetic skills on a 1.5B model, and base capability is checked with a 16-prompt probe, not a benchmark suite. Splits in the language-model phases were not byte-reproducible until a hashing defect was found and fixed in phase 7.

Frozen Qwen2.5-1.5B that decides when to grow a new LoRA adapter (3 to 4 for 5 skills). Reusing one adapter instead: 0.731 ± 0.031, with one skill erased in every seed.

  1. Problem

    Fine-tuning a model on a new skill can erase the old ones. Can a 1.5B model learn 5 skills in sequence, keep what it had, and decide on its own when it needs new capacity?

  2. Approach

    Eight phases, each with a gate, baselines and ablations before any claim. Sparse networks that prune and regrow connections; an evolved controller that decides when to rewire; then LoRA adapters on a frozen Qwen2.5-1.5B, where a novelty probe decides between growing a new adapter and reusing one, and a router picks the adapter without task labels. 85 tests.

  3. Result

    Over 3 seeds the controller scores 0.912 ± 0.062 mean exact match on 5 new skills with 3 to 4 adapters, against 0.731 ± 0.031 for reusing one adapter, which erased a skill in every seed. The canary probe never fell below the base model, and routing was 100 of 100 correct on the gate run.

  4. Limitation

    Synthetic skills on a 1.5B model, and base capability is checked with a 16-prompt probe, not a benchmark suite. Splits in the language-model phases were not byte-reproducible until a hashing defect was found and fixed in phase 7.

  5. Finding

    Isolation plus routing beat constrained sharing at every scale tried. A maths sprint pitted three new methods against the baselines; all three lost, and the losses, with their causes, are recorded as the result.

Phase 5. Frozen Qwen2.5-1.5B, 5 new skills, 3 seeds. Mean exact match after the whole stream.
MeasureValue
Reuse one adapter0.731
Controller decides0.912
Phase 5 gate run. One seed. Every skill starts at 0.000 on the base model. Mean exact match after the stream.
MeasureValue
Frozen base0.000
Always reuse0.720
Reuse + replay0.917
Controller (3 adapters)0.940
Always grow (5 adapters)0.960
Phase 0. Synthetic 5-task stream, 5 seeds. Accuracy after the stream.
MeasureValue
Dense0.413
Rewire + EWC, 20% active0.645
Phase 1. Real vision streams, 3 seeds. Accuracy, dense against 20% active.
MeasureValue
Split-MNIST, dense0.700
Split-MNIST, sparse0.992
Permuted-MNIST, dense0.622
Permuted-MNIST, sparse0.858
Split-CIFAR-100, dense0.100
Split-CIFAR-100, sparse0.415
Phase 4. Transformer on a 5-task text stream, 3 seeds. Accuracy after the stream.
MeasureValue
Full fine-tuning0.425
One LoRA per task0.611
Phase 6. Task-free online learning on an unlabelled stream, one seed. Mean exact match.
MeasureValue
One online adapter0.730
Labels given0.813
Task-free, no labels0.833
Phase 7. An invented board game, learned from prose with self-labelled data. Exact match.
MeasureValue
Before0.050
After0.567

Specification

Period
4 to 11 Jul 2026, 21 journal entries, 85 tests
Phase 0
Sparse rewiring + EWC 0.645 ± 0.020 against dense 0.413 ± 0.050 (5 seeds), with 20% of the connections
Phase 1
20% active beat dense on 3 of 3 benchmarks (3 seeds): Split-MNIST 0.992 against 0.700, Permuted-MNIST 0.858 against 0.622, Split-CIFAR-100 0.415 against 0.100
Phase 2
An evolved controller beat the best hand-tuned rule on 31 of 39 paired held-out streams (p = 0.0001)
Phase 3
20-task Split-CIFAR-100: SI + replay 0.632 ± 0.007, forgetting 0.033, against dense 0.551
Phase 4
One LoRA per task: 0.611 ± 0.011, forgetting 0.000, about 1% extra parameters per task, against full fine-tuning 0.425 (forgetting 0.158)
Phase 5
Frozen Qwen2.5-1.5B, LoRA r = 8 on q and v (0.07% of base parameters per adapter): 0.912 ± 0.062 over 3 seeds
Phase 6
Task-free: skill boundaries found 5 of 5 with 0 false alarms in 120 batches; exact match 0.833 against 0.813 with labels given
Phase 7
An agent learned an invented board game from prose, labelling its own data with an engine it verified: exact match 0.050 to 0.567. Verified self-training matched human labels on one skill (0.783) with no labels
Method
Append-only research log; every run records config, seed and git SHA

Yash Gurjar

AI & ML Engineer. I build LLM systems and measure them.

Available for a full-time internship, January to June 2027.

  • 3merged PRs in PyTorch, including Dynamo (the torch.compile frontend)
  • 0.94recall@5 on a hand-labelled 48-query gold set
  • 60+users on CodeNeuron, a live ML practice platform