Small model + router + library of task edits

Qwen3.5-0.8B with routed LoRA adapters vs Qwen3.5-4B, on one AMD Ryzen AI Max+ 395. Generated from results/results.json.

Part 1: trained task files on Qwen3.5-0.8B against Qwen3.5-4B (sections 1–16). Part 2: Opus 5.5 written family files on 0.8B, 2B and 4B, against trained yardsticks and Qwen3.5-9B (sections 17–25). Part 3: later runs of test 2, trained files (test 3), llama.cpp and a mixture of experts (test 4), one merged file for all families (test 5), one general file written for all families (test 6), the general file under the family files (test 7), two newer mixture-of-experts models (test 8), fresh questions with two models end to end (test 9), the files in llama.cpp (test 10), and Fable 5.2 as the writer (test 11) (sections 26–41).

1. Thesis verdict

Not supported. Criterion 6 is missed: on the 12 covered tasks C reached 97% of G's accuracy (95% CI 95–99%), but its peak resident memory was 0.347 of G's (3.55 GB vs 10.25 GB), above the limit of 1/3.

Thesis: “A small model with a routed library of task-specific edits matches a model several times larger on the tasks the library covers, at the small model’s speed and memory cost. The edits are stored on cheap storage (SSD) and only the active one is held in memory. So coverage grows by adding files, not by retraining or buying a bigger GPU.”

2. Summary

At this scale the library helps where a task is mostly about format and labels, and not where it needs reasoning or knowledge. With the router, Qwen3.5-0.8B beat the 5.6× larger Qwen3.5-4B on 5 of the 12 covered tasks (intent, AG News, emotion, CoNLL, E2E JSON) and lost on 6, by up to 50 points (math, code, SQuAD). The math adapter made the small model worse (52.0 → 37.0). Averaged over the 12 tasks, C scored 74.7 against G's 77.0 (97%), answered 3.5× as many questions correctly per minute and used 0.35 of G's memory, just over one third. The plumbing worked: the router picked the right adapter 90% of the time at 12 tasks, the fallback kept general questions at the base model's level, adding nine adapters left core-task accuracy unchanged (52.0 → 52.0), and a cold adapter load from SSD took 27 ms. But one multi-task adapter trained on all 12 tasks (F12) was slightly better than routing (-1.7 points, 95% CI [-3.2, -0.2]).

3. Predictions

#CriterionStatusKey numbers
1Size 3: C beats A by ≥ 5 points on ≥ 2 of 3 core tasksinconclusiveC − A: math -15.0 [-22.5, -7.5], code +0.5 [-7.0, 8.0], intent +42.0 [34.5, 49.5]
2Size 3: C within 3 points of B on average (core tasks)metB − C: +0.17 [-0.33, 0.83]
3Every size: C no more than 2 points below A on generalmetA − C on general: size 3 +0.5, size 6 +0.0, size 12 -0.5
4Size 3: C beats F3 on average (core tasks)metC − F3 +0.33 [-3.2, 3.8]; size 12: C − F12 -1.65 [-3.2, -0.2] (gap shrank, not grew)
5Warm adapter: routing + swap < 100 ms medianmetrouter 11.4 ms + warm swap 3.3 ms = 14.7 ms
6Size 12: C ≥ 90% of G's accuracy at ≤ 1/3 of G's memorynot metaccuracy ratio 0.969 [0.948, 0.991] (met); memory ratio 0.347 > 0.333 (missed)
7Size 3 → 12: C's core accuracy drops ≤ 2 pointsmetcore-3: 52.0 → 52.0, drop +0.0 [-0.5, 0.5]
8Cold load from SSD adds < 50 ms medianmetcold load median 26.7 ms, p95 29.0 ms

Met: point estimate satisfies the threshold. Not met: it misses and the 95% bootstrap CI excludes the threshold. Inconclusive: it misses but the CI includes the threshold. Verdict rule: supported if 1, 6, 7 and 8 are met; not supported if 6 or 7 is clearly missed; otherwise inconclusive.

4. Setup

5. Main results at library size 3

ConditionMath (GSM8K)95% CICode (MBPP)95% CIIntent (Banking77)95% CIGeneral (MMLU)95% CI
A · base52.0[45.0, 58.5]38.0[31.5, 44.5]38.5[32.0, 45.5]37.5[31.0, 44.0]
B · oracle37.0[30.5, 43.5]38.5[32.0, 45.5]81.0[75.5, 86.5]37.5[31.0, 44.0]
C · router + fallback37.0[30.5, 43.5]38.5[32.0, 45.5]80.5[75.0, 86.0]37.0[30.5, 43.5]
D · router, no fallback37.0[30.5, 43.5]38.5[32.0, 45.5]81.0[75.5, 86.5]17.0[12.0, 22.5]
E · merged26.0[20.0, 32.0]28.0[22.0, 34.0]84.5[79.5, 89.5]11.0[7.0, 15.5]
F · multi-task LoRA41.5[34.5, 48.0]31.0[24.5, 37.5]82.5[77.0, 87.5]39.5[32.5, 46.5]
G · Qwen3.5-4B86.5[81.5, 91.0]69.5[63.0, 76.0]63.5[57.0, 70.0]69.5[63.0, 75.5]
A · baseB · oracleC · router + fallbackD · router, no fallbackE · mergedF · multi-task LoRAG · Qwen3.5-4B
020406080100A · base · Math (GSM8K): 52.0B · oracle · Math (GSM8K): 37.0C · router + fallback · Math (GSM8K): 37.0D · router, no fallback · Math (GSM8K): 37.0E · merged · Math (GSM8K): 26.0F · multi-task LoRA · Math (GSM8K): 41.5G · Qwen3.5-4B · Math (GSM8K): 86.5Math (GSM8K)A · base · Code (MBPP): 38.0B · oracle · Code (MBPP): 38.5C · router + fallback · Code (MBPP): 38.5D · router, no fallback · Code (MBPP): 38.5E · merged · Code (MBPP): 28.0F · multi-task LoRA · Code (MBPP): 31.0G · Qwen3.5-4B · Code (MBPP): 69.5Code (MBPP)A · base · Intent (Banking77): 38.5B · oracle · Intent (Banking77): 81.0C · router + fallback · Intent (Banking77): 80.5D · router, no fallback · Intent (Banking77): 81.0E · merged · Intent (Banking77): 84.5F · multi-task LoRA · Intent (Banking77): 82.5G · Qwen3.5-4B · Intent (Banking77): 63.5Intent (Banking77)A · base · General (MMLU): 37.5B · oracle · General (MMLU): 37.5C · router + fallback · General (MMLU): 37.0D · router, no fallback · General (MMLU): 17.0E · merged · General (MMLU): 11.0F · multi-task LoRA · General (MMLU): 39.5G · Qwen3.5-4B · General (MMLU): 69.5General (MMLU)

Paired tests at size 3

ComparisonTaskDiff (pts)95% CIp (bootstrap)p (McNemar)
C vs AMath (GSM8K)-15.0[-22.5, -7.5]0.0000.000
C vs ACode (MBPP)+0.5[-7.0, 8.0]0.9521.000
C vs AIntent (Banking77)+42.0[34.5, 49.5]0.0000.000
C vs AGeneral (MMLU)-0.5[-1.5, 0.0]0.7391.000
C vs FMath (GSM8K)-4.5[-10.5, 1.5]0.1510.175
C vs FCode (MBPP)+7.5[1.0, 14.5]0.0360.049
C vs FIntent (Banking77)-2.0[-7.5, 3.5]0.5560.608
C vs FGeneral (MMLU)-2.5[-11.5, 6.0]0.5980.649
C vs BMath (GSM8K)+0.0[-1.5, 1.5]1.0001.000
C vs BCode (MBPP)+0.0[0.0, 0.0]1.0001.000
C vs BIntent (Banking77)-0.5[-1.5, 0.0]0.7531.000
C vs BGeneral (MMLU)-0.5[-1.5, 0.0]0.7391.000
C vs GMath (GSM8K)-49.5[-56.5, -42.5]0.0000.000
C vs GCode (MBPP)-31.0[-38.5, -23.5]0.0000.000
C vs GIntent (Banking77)+17.0[10.5, 23.5]0.0000.000
C vs GGeneral (MMLU)-32.5[-41.0, -24.0]0.0000.000

Paired tests at size 12 (F = F12)

ComparisonTaskDiff (pts)95% CIp (bootstrap)p (McNemar)
C vs AMath (GSM8K)-15.5[-23.0, -8.0]0.0000.000
C vs ACode (MBPP)+0.5[-7.0, 8.0]0.9521.000
C vs AIntent (Banking77)+42.5[35.0, 50.0]0.0000.000
C vs AAG News+12.0[6.0, 18.0]0.0000.000
C vs ASST-2+2.0[-1.5, 6.0]0.3430.424
C vs AEmotion+27.5[20.5, 34.5]0.0000.000
C vs ATREC+26.5[20.0, 33.0]0.0000.000
C vs ABoolQ+2.0[-3.0, 7.5]0.5140.585
C vs ASQuAD (F1)-4.0[-8.8, 0.6]0.096–
C vs ACoNLL (F1)+67.7[62.2, 73.1]0.000–
C vs ACommonsenseQA+13.0[6.0, 20.0]0.0000.001
C vs AE2E JSON (F1)+71.3[67.2, 75.2]0.000–
C vs AGeneral (MMLU)+0.5[-2.5, 3.5]0.8651.000
C vs FMath (GSM8K)-9.5[-16.0, -3.0]0.0030.008
C vs FCode (MBPP)+1.0[-5.5, 8.0]0.8220.885
C vs FIntent (Banking77)+0.5[-5.0, 6.0]0.9321.000
C vs FAG News-3.0[-7.0, 1.0]0.1610.210
C vs FSST-2+4.0[-0.5, 8.5]0.0900.115
C vs FEmotion+2.5[-2.0, 7.0]0.3550.405
C vs FTREC-11.5[-16.5, -7.0]0.0000.000
C vs FBoolQ+1.0[-5.0, 7.0]0.8010.871
C vs FSQuAD (F1)-7.5[-12.7, -2.3]0.005–
C vs FCoNLL (F1)-5.1[-9.9, -0.4]0.032–
C vs FCommonsenseQA+9.0[2.0, 16.5]0.0190.022
C vs FE2E JSON (F1)-1.2[-2.2, -0.3]0.010–
C vs FGeneral (MMLU)-5.5[-13.5, 2.5]0.1960.228
C vs BMath (GSM8K)-0.5[-1.5, 0.0]0.7441.000
C vs BCode (MBPP)+0.0[0.0, 0.0]1.0001.000
C vs BIntent (Banking77)+0.0[0.0, 0.0]1.0001.000
C vs BAG News-3.0[-5.5, -1.0]0.0040.031
C vs BSST-2+0.5[0.0, 1.5]0.7111.000
C vs BEmotion-1.5[-3.5, 0.0]0.0970.250
C vs BTREC-8.5[-12.5, -5.0]0.0000.000
C vs BBoolQ-5.0[-9.0, -1.0]0.0190.031
C vs BSQuAD (F1)-9.7[-14.1, -5.5]0.000–
C vs BCoNLL (F1)-6.8[-10.1, -3.6]0.000–
C vs BCommonsenseQA-0.5[-1.5, 0.0]0.7401.000
C vs BE2E JSON (F1)+0.0[0.0, 0.0]1.000–
C vs BGeneral (MMLU)+0.5[-2.5, 3.5]0.8651.000
C vs GMath (GSM8K)-50.0[-57.0, -43.0]0.0000.000
C vs GCode (MBPP)-31.0[-38.5, -23.5]0.0000.000
C vs GIntent (Banking77)+17.5[11.0, 24.0]0.0000.000
C vs GAG News+0.5[-4.0, 5.0]0.9061.000
C vs GSST-2-3.0[-7.5, 1.0]0.1840.238
C vs GEmotion+21.0[14.0, 28.0]0.0000.000
C vs GTREC+0.0[-5.5, 5.5]1.0001.000
C vs GBoolQ-11.0[-17.0, -5.0]0.0000.001
C vs GSQuAD (F1)-11.4[-16.5, -6.5]0.000–
C vs GCoNLL (F1)+34.6[27.9, 41.2]0.000–
C vs GCommonsenseQA-10.5[-17.5, -3.5]0.0030.008
C vs GE2E JSON (F1)+15.0[12.1, 18.2]0.000–
C vs GGeneral (MMLU)-31.5[-40.0, -23.0]0.0000.000

6. Library scaling

Router test accuracyC: core-task accuracyB (oracle): core-task accuracy
40526476881003612library sizeRouter accuracy @ 3: 98.1Router accuracy @ 6: 93.9Router accuracy @ 12: 90.0C core @ 3: 52.0C core @ 6: 52.0C core @ 12: 52.0B core @ 3: 52.2B core @ 6: 52.2B core @ 12: 52.2
CFC − F95% CI
Size 3: C vs F3 (3 core tasks)52.051.7+0.3[-3.2, 3.8]
Size 12: C vs F12 (12 covered tasks)74.776.3-1.7[-3.2, -0.2]
Size 12: C vs F12 (3 core tasks)52.054.7-2.7[-6.3, 1.0]
Router accuracyFallback rateC core-3 accuracy95% CIB core-3 accuracy
Size 398.1%26.1%52.0[48.3, 55.5]52.2
Size 693.9%19.2%52.0[48.3, 55.5]52.2
Size 1290.0%14.1%52.0[48.3, 55.5]52.2

All 13 test sets at size 12

TaskA baseB oracleC routerF12G 4B
Math (GSM8K)52.037.036.546.086.5
Code (MBPP)38.038.538.537.569.5
Intent (Banking77)38.581.081.080.563.5
AG News71.586.583.586.583.0
SST-291.092.593.089.096.0
Emotion56.085.083.581.062.5
TREC59.094.085.597.085.5
BoolQ75.082.077.076.088.0
SQuAD (F1)83.589.179.486.990.8
CoNLL (F1)15.189.582.887.948.2
CommonsenseQA49.563.062.553.573.0
E2E JSON (F1)21.592.892.894.177.8
General (MMLU)37.537.538.043.569.5

7. Cross-task matrix (condition H)

Each core adapter on every core task and on general. The diagonal is condition B; off-diagonal cells are what a routing mistake costs.

Math (GSM8K)Code (MBPP)Intent (Banking77)General (MMLU)math adaptermath adapter · Math (GSM8K): 3737math adapter · Code (MBPP): 66math adapter · Intent (Banking77): 3131math adapter · General (MMLU): 22code adaptercode adapter · Math (GSM8K): 5151code adapter · Code (MBPP): 3838code adapter · Intent (Banking77): 3636code adapter · General (MMLU): 3636intent adapterintent adapter · Math (GSM8K): 88intent adapter · Code (MBPP): 2424intent adapter · Intent (Banking77): 8181intent adapter · General (MMLU): 3636no adapter (A)no adapter (A) · Math (GSM8K): 5252no adapter (A) · Code (MBPP): 3838no adapter (A) · Intent (Banking77): 3838no adapter (A) · General (MMLU): 3838

8. Router

Size 3: test accuracy 98.1%, fallback rate 26.1%, threshold 0.65

Rows: true task (general = “other”). Columns: routed to (“other” = base model). Cells: % of the row.

mathcodeintentothermathmath · math: 9696math · code: 00math · intent: 00math · other: 44codecode · math: 00code · code: 100100code · intent: 00code · other: 00intentintent · math: 00intent · code: 00intent · intent: 9898intent · other: 22otherother · math: 22other · code: 00other · intent: 00other · other: 9898

Size 6: test accuracy 93.9%, fallback rate 19.2%, threshold 0.55

Rows: true task (general = “other”). Columns: routed to (“other” = base model). Cells: % of the row.

mathcodeintentemotionsquadsst2othermathmath · math: 9696math · code: 00math · intent: 00math · emotion: 00math · squad: 00math · sst2: 00math · other: 44codecode · math: 00code · code: 100100code · intent: 00code · emotion: 00code · squad: 00code · sst2: 00code · other: 00intentintent · math: 00intent · code: 00intent · intent: 100100intent · emotion: 00intent · squad: 00intent · sst2: 00intent · other: 00emotionemotion · math: 00emotion · code: 00emotion · intent: 00emotion · emotion: 9898emotion · squad: 00emotion · sst2: 00emotion · other: 22squadsquad · math: 00squad · code: 00squad · intent: 00squad · emotion: 00squad · squad: 6868squad · sst2: 00squad · other: 3232sst2sst2 · math: 00sst2 · code: 00sst2 · intent: 00sst2 · emotion: 00sst2 · squad: 00sst2 · sst2: 9898sst2 · other: 11otherother · math: 22other · code: 00other · intent: 00other · emotion: 00other · squad: 22other · sst2: 00other · other: 9696

Size 12: test accuracy 90.0%, fallback rate 14.1%, threshold 0.375

Rows: true task (general = “other”). Columns: routed to (“other” = base model). Cells: % of the row.

mathcodeintentagnewssst2emotiontrecboolqsquadconllcsqae2eothermathmath · math: 9898math · code: 00math · intent: 00math · agnews: 00math · sst2: 00math · emotion: 00math · trec: 00math · boolq: 00math · squad: 00math · conll: 00math · csqa: 00math · e2e: 00math · other: 22codecode · math: 00code · code: 100100code · intent: 00code · agnews: 00code · sst2: 00code · emotion: 00code · trec: 00code · boolq: 00code · squad: 00code · conll: 00code · csqa: 00code · e2e: 00code · other: 00intentintent · math: 00intent · code: 00intent · intent: 9999intent · agnews: 00intent · sst2: 00intent · emotion: 00intent · trec: 00intent · boolq: 00intent · squad: 00intent · conll: 00intent · csqa: 00intent · e2e: 00intent · other: 11agnewsagnews · math: 00agnews · code: 00agnews · intent: 00agnews · agnews: 8888agnews · sst2: 00agnews · emotion: 00agnews · trec: 00agnews · boolq: 00agnews · squad: 00agnews · conll: 22agnews · csqa: 00agnews · e2e: 00agnews · other: 1010sst2sst2 · math: 00sst2 · code: 00sst2 · intent: 00sst2 · agnews: 00sst2 · sst2: 9696sst2 · emotion: 00sst2 · trec: 00sst2 · boolq: 00sst2 · squad: 00sst2 · conll: 00sst2 · csqa: 00sst2 · e2e: 00sst2 · other: 33emotionemotion · math: 00emotion · code: 00emotion · intent: 00emotion · agnews: 00emotion · sst2: 11emotion · emotion: 9898emotion · trec: 00emotion · boolq: 00emotion · squad: 00emotion · conll: 00emotion · csqa: 00emotion · e2e: 00emotion · other: 00trectrec · math: 00trec · code: 00trec · intent: 00trec · agnews: 00trec · sst2: 00trec · emotion: 00trec · trec: 8484trec · boolq: 00trec · squad: 00trec · conll: 00trec · csqa: 00trec · e2e: 00trec · other: 1414boolqboolq · math: 00boolq · code: 00boolq · intent: 00boolq · agnews: 33boolq · sst2: 00boolq · emotion: 00boolq · trec: 00boolq · boolq: 7474boolq · squad: 55boolq · conll: 00boolq · csqa: 00boolq · e2e: 00boolq · other: 1818squadsquad · math: 00squad · code: 00squad · intent: 00squad · agnews: 44squad · sst2: 00squad · emotion: 00squad · trec: 11squad · boolq: 33squad · squad: 5656squad · conll: 00squad · csqa: 00squad · e2e: 00squad · other: 3434conllconll · math: 00conll · code: 00conll · intent: 00conll · agnews: 22conll · sst2: 00conll · emotion: 00conll · trec: 00conll · boolq: 00conll · squad: 00conll · conll: 9191conll · csqa: 00conll · e2e: 00conll · other: 66csqacsqa · math: 00csqa · code: 00csqa · intent: 00csqa · agnews: 00csqa · sst2: 00csqa · emotion: 00csqa · trec: 00csqa · boolq: 00csqa · squad: 00csqa · conll: 00csqa · csqa: 9696csqa · e2e: 00csqa · other: 44e2ee2e · math: 00e2e · code: 00e2e · intent: 00e2e · agnews: 00e2e · sst2: 00e2e · emotion: 00e2e · trec: 00e2e · boolq: 00e2e · squad: 00e2e · conll: 00e2e · csqa: 00e2e · e2e: 100100e2e · other: 00otherother · math: 33other · code: 00other · intent: 00other · agnews: 00other · sst2: 00other · emotion: 00other · trec: 00other · boolq: 11other · squad: 44other · conll: 00other · csqa: 22other · e2e: 00other · other: 9090

9. Speed, memory and storage

Adapter loading and routing (ms, n = 60 each)

Medianp95
Cold, from SSD (page cache evicted)26.729.0
of which reading the file22.124.3
Warm, from RAM3.34.7
Already resident0.0000.000
Router (CPU, one query)11.422.0

posix_fadvise(POSIX_FADV_DONTNEED) on the adapter file before each read (no root for drop_caches); verified with mincore. Pages still cached right after eviction (median fraction): 0.000.

Time to first token and decode speed (batch 1, GSM8K validation prompts)

TTFT median (ms)TTFT p95tokens/s mediantokens/s p95
Base model556132.232.6
Adapter applied, unmerged788720.720.9
Adapter merged into weights546132.632.9

Size on disk

AdapterSize
Math (GSM8K)40.9 MB
Code (MBPP)40.9 MB
Intent (Banking77)40.9 MB
AG News40.9 MB
SST-240.9 MB
Emotion40.9 MB
TREC40.9 MB
BoolQ40.9 MB
SQuAD (F1)40.9 MB
CoNLL (F1)40.9 MB
CommonsenseQA40.9 MB
E2E JSON (F1)40.9 MB
F340.9 MB
F1240.9 MB
Whole library (12 adapters)491.2 MB

Realistic stream: 500 queries from all 13 test sets, one at a time

C (size 12)G (4B)
Queries500500
Latency median (ms)215401
Latency p95 (ms)373625728
Adapter cache hit rate (LRU of 3 in RAM)26.1%–
Share of latency: routing1.57%–
Share of latency: adapter loading2.29%–
Mean score on the stream71.675.9

Where C’s queries went: base: 67, cold: 320, resident: 40, warm: 73.

10. Cost: C vs G

C (0.8B + router + library)G (Qwen3.5-4B)C / G
Peak resident memory (RAM + GPU, GB)3.5510.250.35×
of which GPU allocations (GB)1.708.77
Median latency per query (ms)2154010.54×
Correct answers per minute (stream)44.312.83.46×
Accuracy, 12 covered test sets74.777.00.97×
Accuracy points per GB resident21.07.52.80×

11. Opus 5.5 written weights (Step 6)

Task: E2E restaurant JSON. The base model systematically broke the schema: in 64 training prompts, 34 outputs contained bare JSON literals (false, null, numbers) although the prompt says all values are strings, and each such output scores 0. After a key, the model chooses between " (open a string) and single tokens such as false, true, null; in the weights, those literal rows of the (tied) embedding matrix are nearly orthogonal to the " row (cosine 0.03–0.11).

Edit, written without gradients or fitting: untie the output rows of the 16 bare-literal tokens (true/false/null/True/False/None/nan/NaN, with and without a leading space) and set them to zero, so their logit is 0 in every context. Input embeddings are untouched. 16,384 weights changed; 33 KB on disk. Forward-pass budget used: 8 of 25 batches (4 of them wasted: their outputs were not saved and had to be rerun). On validation, schema-valid outputs went from 33% to 81%.

E2E test (n=200)Slot F195% CISchema-valid
A · base21.5[17.7, 25.5]42%
Reasoning-written edit (B and C)53.8[50.7, 56.7]95%
LoRA (B and C)92.8[91.6, 94.0]100%

The edit beats the base model by +32.2 points [27.8, 36.7] and loses to the LoRA by -39.1 [-42.2, -36.0]. It fixes the format; the LoRA also learns the values (for example "familyFriendly": "yes" instead of "true"). C with the edit equals B with the edit because the router sent every E2E test question to the E2E entry.

12. Step 6b: thinking-mode edits

Added before any test-set generation. Reported separately; it does not change criteria 1–8. The published edit from “Sparks of Weight-Space Programming” (RikiyaT/Qwen3.5-0.8B-weight-space-programming) targets reasoning loops in thinking mode, which the main experiment (non-thinking) cannot show.

Same base checkpoint: yes. Config, tokenizer and chat template are byte-identical, every tensor has the same name, shape and dtype, and 130,188 of 873,438,784 values differ (0.0149%), all in mlp.down_proj of layers 15 and 19, 64 columns each. The blog reports 131,072; the 884 missing positions are where the subtracted direction rounded to no change in bf16. Each layer's change is rank 1.

As a library file: 1.30 MB (positions + new values). Load from SSD and apply: 1.44 ms median; revert: 0.046 ms; reverting restores the exact weights.

Non-thinking (n=200)BaseBase + editDiff95% CI
math52.050.0-2.0[-8.5, 5.0]
code38.038.5+0.5[-4.0, 5.0]
intent38.535.5-3.0[-6.0, 0.0]
general37.536.0-1.5[-4.0, 1.0]

Thinking-mode runs: still running when this report was generated.

Classification pending: the thinking-mode runs had not finished. (Rule, fixed before the thinking results: “helps” means the 95% CI of the difference lies above zero; a fix helps on both thinking-mode tasks, a skill on one.)

Thinking mode: temperature 1.0, top_p 0.95, top_k 20, min_p 0.0, presence penalty 1.5, repetition penalty 1.0 (Qwen model card, thinking mode, text tasks), 16,384 new tokens, seed 1234; the blog used temperature 0.6 and 32,768 tokens. Part 2 (Opus 5.5 written weights for thinking mode) was not run inside Step 6b's 4-hour limit; an Opus 5.5 written thinking edit was tested afterwards as an exploratory follow-up (section 13.5). The thinking-mode runs of the published edit were stopped after the base runs, at Kevin's request.

13. Exploratory follow-ups (after the main test)

Run after the main analysis. Exploratory: none of it changes criteria 1-8 or the verdict.

13.1 Intelligence vs cost (500-question mix from all 13 test sets)

ModeSetupScoreGB residentCorrect / minCorrect / min / GBGB-s per correct
one at a time0.8B, no files52.03.1419.56.229.65
one at a time0.8B + 12 files (n-gram router, LRU 3, cold)72.43.4147.413.904.32
one at a time0.8B + one all-in-one adapter (merged)73.53.1471.222.672.65
batched (64 / 16 per batch, grouped by file)0.8B, no files50.46.0771.411.765.10
batched (64 / 16 per batch, grouped by file)0.8B + 12 files (n-gram router, LRU 3, cold)71.84.2199.423.622.54
batched (64 / 16 per batch, grouped by file)0.8B + one all-in-one adapter (merged)72.96.05180.029.752.02
batched (64 / 16 per batch, grouped by file)Qwen3.5-4B75.812.0021.21.7733.93

The one-at-a-time 4B number is the stream of section 10: 12.8 correct/min, 10.25 GB, 48.0 GB-s per correct answer.

13.2 Routing on the whole request

Each test request is one of ten instruction phrasings plus the content, instruction first in 70% of requests. Routers train on phrasings 0-5, pick thresholds and temperature on 6-7 and are scored on 8-9 only. No task names. The answering prompt is unchanged; the phrasing only changes what the router reads. Expected score: argmax over weights of sum_t p(t | request) S[t][weights], with S measured on 40 validation questions per cell (13 tasks x 13 weights) and the router's probabilities sharpened by a temperature chosen on validation (0.25 at 3 and 6 files, 0.5 at 12). Wrong file counts any file other than the task's own, so for the expected-score router it includes deliberate choices (for example general questions sent to the E2E file).

Router3 fileswrong6 fileswrong12 fileswrong
n-gram (TF-IDF word 1-2 + char 3-5) + LR46.7 [42.8, 50.5]0.0%67.7 [65.5, 69.9]0.3%71.6 [70.0, 73.1]4.0%
bge-small + LR52.2 [48.5, 55.7]0.4%70.1 [67.9, 72.1]0.5%74.8 [73.3, 76.3]2.3%
both voting (mean of probabilities)51.3 [47.7, 55.0]0.1%70.5 [68.3, 72.5]0.1%76.3 [74.8, 77.7]0.9%
both voting + expected score57.2 [53.5, 60.7]24.6%72.7 [70.4, 74.8]15.1%77.3 [75.9, 78.8]16.0%
perfect routing (own file)52.270.577.6
best weights per task, chosen on validation57.272.878.2
Qwen3.5-4B73.278.177.0

Paired bootstrap at 12 files, expected-score router minus: vote +1.0 [0.0, 2.1]; best file per task (chosen on val) -0.9 [-1.3, -0.5]; perfect routing (own file) -0.3 [-1.2, 0.7]; 4B +0.3 [-1.4, 2.0]. Best weights chosen on validation at 12 files: math → base, SST-2 → base, BoolQ → csqa, general → e2e (every other task: its own file). Time per request on the CPU, one at a time: n-gram 1.3 ms, embedding 9.2 ms, decision 0.09 ms, total 10.6 ms median (13.0 ms p95).

Not tested: 33 files with whole-request phrasings; content-only routing fell from 94.2% at 12 files to 87.2% at 33.

13.3 Swap speed per file type

FileSizeFrom RAM (ms)From SSD, page cache evicted (ms)
LoRA adapter (trained)40.9 MB3.007.48
JSON literal rows (Opus 5.5 written)33.0 KB0.0650.243
TREC calibration (Opus 5.5 written)12.5 KB0.0670.190
math thinking control (Opus 5.5 written)14.5 KB0.0650.228

LoRA: mean of 120 back-to-back swaps; the speed test in section 9 measured 27 ms median for a cold load. Written files: median of 60 apply + revert cycles, including the file read and a GPU sync.

13.4 Opus 5.5 written calibration files

Built from 10 failing and 10 passing training/validation questions per task. The plain model's label bias is measured on content-free and batch inputs; one offset per label is written into that label's output row in final-hidden dimension 829, which is nearly constant across inputs, so it acts as a per-label bias. Method and strength chosen on the build questions; 'none' allowed. Scored on the 200 test questions.

TaskMethodWeightsPlainFileDiff95% CITrained LoRA4B
TRECbatch659.065.5+6.5[2.0, 11.0]94.085.5
emotioncontextual656.054.0-2.0[-7.5, 3.0]85.062.5
AG Newscontextual471.575.5+4.0[-1.0, 9.0]86.583.0
CommonsenseQAnone049.549.5+0.0[-1.5, 1.5]63.073.0
generalbatch437.541.0+3.5[-2.5, 10.0]69.5

13.5 Opus 5.5 written thinking edit

output rows of 6 'Wait' tokens set to zero; </think> output row x1.6: 7,168 weights, 14.5 KB. Strength chosen on validation questions within a fixed budget of forward passes; no gradients. Thinking mode with the model-card sampling settings of section 12, 16,384 new tokens, same test questions as the base runs.

TasknBaseEditDiff95% CIMedian tokens, baseMedian tokens, editBase at capEdit at cap
math10049.055.0+6.0[-4.0, 16.0]16,3841,0215110
general10052.023.0-29.0[-41.0, -17.0]4,274482

Classification by the section 12 rule: helps on neither task (the math CI includes zero), hurts general knowledge; it is a math-only library entry at best, valuable for its 16x shorter answers. One question at a time on 10 math questions: median 25.9 s and 786 tokens per answer, 60% right.

14. Examples

Size 12, C vs A, among queries the router sent to an adapter. 496 test examples where routing turned a wrong answer right, 145 where it turned a right one wrong.

Where routing helped

Emotion · test-83 · routed to lora:emotion · score A 0.00 → C 1.00

A (base)

sadness

C (routed)

joy

E2E JSON (F1) · test-766 · routed to lora:e2e · score A 0.00 → C 1.00

A (base)

{
  "name": "The Phoenix",
  "eatType": "pub",
  "food": "fast food",
  "priceRange": "moderate",
  "customerRating": 3,
  "area": "riverside",
  "familyFriendly": true,
  "near": "Café Sicilia"
}

C (routed)

{"name": "The Phoenix", "eatType": "pub", "food": "Fast food", "priceRange": "moderate", "customerRating": "3 out of 5", "area": "riverside", "familyFriendly": "yes", "near": "Café Sicilia"}

CoNLL (F1) · test-3025 · routed to lora:conll · score A 0.00 → C 1.00

A (base)

LOC: 22
LOC: 8
LOC: 6
LOC: 23
LOC: 17
LOC: 32

C (routed)

ORG: Barnet

Code (MBPP) · test-250 · routed to lora:code · score A 0.00 → C 1.00

A (base)

```python
def count_occurrences(x, y):
    """
    Counts the number of occurrences of element y in tuple x.
    
    Parameters:
    x (tuple): The tuple to search in
    y (int): The element to count
    
    Returns:
    int: The count of y in x
    """
    return x.count(y)

# Test the function
assert count_occurrences((10, 8, 5, 2, 10, 15, 10, 8, 5, 8, 8, 2), 4) == 0
assert count_occurrences((10, 8, 5, 2, 10, 15, 10, 8, 5, 8, 8, 2), 10) == 3
assert count_occurrences((10, 8, 5, 2, 10, 15, 10, 8, 5, 8, 8, 2), 15) == 1
assert count_occurrences((10, 8, 5, 2, 10, 15, 10, 8, 5, 8, 8, 2), 8) == 

C (routed)

```python
def count_X(test_tup, x):
  res = test_tup.count(x)
  return (res)
```

Intent (Banking77) · test-2355 · routed to lora:intent · score A 0.00 → C 1.00

A (base)

transfer_not_received_by_recipient

C (routed)

transfer_into_account

Where routing hurt

BoolQ · test-2508 · routed to lora:agnews · score A 1.00 → C 0.00

A (base)

yes

C (routed)

Sports

SQuAD (F1) · test-467 · routed to lora:agnews · score A 1.00 → C 0.00

A (base)

Super Bowl City

C (routed)

Sports

Math (GSM8K) · test-843 · routed to lora:math · score A 1.00 → C 0.00

A (base)

To solve this problem, we need to calculate the total cost of all the items Craig bought and then subtract that amount from the total amount of money he started with.

**Step 1: Calculate the cost of the squirt guns.**
*   Number of squirt guns: 6
*   Cost per squirt gun: $2
*   Total cost for squirt guns = $6 \times 2 = \$12$

**Step 2: Calculate the cost of the water balloons.**
*   Number of packs of water balloons: 3
*   Cost per pack of water balloons: $3
*   Total cost for water balloons = $3 \times 3 = \$9$

**Step 3: Calculate the total cost of all items.**
*   Total cost = Cost of squ

C (routed)

He spent 6*2=$12 on squirt guns
He spent 3*3=$9 on water balloons
He has 20-12-9=$1 left
The answer is 1.

Intent (Banking77) · test-2829 · routed to lora:intent · score A 1.00 → C 0.00

A (base)

top_up_by_card_charge

C (routed)

topping_up_by_card

Code (MBPP) · test-395 · routed to lora:code · score A 1.00 → C 0.00

A (base)

```python
def first_non_repeating_character(s: str) -> str:
    """
    Find the first non-repeated character in a string.
    
    Args:
        s (str): The input string.
        
    Returns:
        str: The first character that does not appear more than once in the string.
             If no such character exists, returns None.
    """
    if not s:
        return None
    
    # Count character frequencies
    counts = {}
    for char in s:
        counts[char] = counts.get(char, 0) + 1
    
    # Find the first character with frequency 1
    for char in s:
        if counts[char] == 1:

C (routed)

```python
def first_non_repeating_character(test_str):
  res = "".join(filter(lambda x: x != test_str.count(x), test_str))
  if (res == ""):
    return None
  return (res)
```

15. Limitations, and what would change the conclusions

What would change the conclusions: a math adapter that does not hurt (criterion 1), a leaner runtime or a shared server process (criterion 6 memory), and more seeds and test examples to narrow the C vs F12 comparison.

16. How to reproduce

Code, data preparation and plan are in the experiment folder (README.md lists every file).

uv venv --python 3.12 .venv
uv pip install --python .venv/bin/python --index-url https://rocm.nightlies.amd.com/v2/gfx1151/ \
  --extra-index-url https://pypi.org/simple -r requirements.txt
cd src
../.venv/bin/python data_prep.py && ../.venv/bin/python -m pytest -q ../tests
../.venv/bin/python lr_pilot.py && ../.venv/bin/python router.py && ../.venv/bin/python edit.py build
../pipeline.sh     # library, validation, all generations
../pipeline2.sh    # speed, streams, Step 6b, assemble, analysis
../.venv/bin/python report.py

Every stage resumes from its caches. Seeds: data random.Random("1234-<task>"), size 6 "1234-size6", stream "1234-stream", Step 6b sample "1234-6b-<task>", training seed 0, bootstrap seed 0.

Deviations from the plan

Part 2: Opus 5.5 written family files on 0.8B, 2B and 4B

The second experiment. Family files written by Opus 5.5 without training, hot-swapped per question by a family router, on Qwen3.5-0.8B, 2B and 4B, against trained yardsticks and against plain Qwen3.5-4B and 9B. Generated from the result files by src/report2.py.

17. Claims and verdicts

One of four claims met. Written files fix behaviour but do not teach a task the way training does (P1 not met, 2 of 7 families), and rarely carry over to a held-out task (P2 not met, 1 of 7). Qwen3.5-4B + router + written files scored +0.7 points against Qwen3.5-9B at 3.23× its correct answers per minute per GB, but used 0.58× its peak memory against a limit of 0.5× (P4 not met). The written thinking file used 0.56× the tokens of plain thinking with accuracy +14.5 (P3 met).
ClaimCriterionStatusKey numbers
P1 · written files teach (0.8B)teach ratio ≥ 0.75 on ≥ 4 of 7 familiesnot met2 of 7
P2 · files generalize (0.8B)held-out gain CI above zero on ≥ 4 of 7 familiesnot met1 of 7
P3 · thinking file (4B)≤ 0.7× plain tokens and accuracy ≥ plain − 2 (GSM8K + SVAMP)met0.56× tokens, accuracy +14.5 [+11.2, +18.0]
P4 · 4B + router + files vs 9Bscore ≥ 9B − 1, ≤ 0.5× memory, ≥ 2× correct/min/GBnot met+0.7 [-0.4, +1.7]; memory 0.58×; 3.23×
P1 / P2 confirmation (2B)as on the 0.8Bnot metP1 2 of 7, P2 2 of 7
P4 confirmation: 2B + router + files vs 4Bas P4not met-9.7 [-11.0, -8.4]; memory 0.63×; 1.94×

18. Summary

Opus 5.5 written weights are a good tool for format and behaviour and a poor one for knowledge. On every base the big gains were on extraction (0.8B 18.3 → 56.2, 2B 26.1 → 66.4 on the build tasks), where the plain model writes broken JSON or the wrong span, and on math answers that run past the token limit. Choosing among labels or answer letters moved by calibration-sized amounts, and facts did not move at all. That was enough to bring Qwen3.5-4B level with Qwen3.5-9B, which was only 1.1 points ahead, and far from enough to bring the 2B level with the 4B, 15.1 points ahead. The 4B system missed P4 on memory alone: the 4B checkpoint is already 0.48× the 9B's, so the 0.5× limit left 0.02× for the cache, the router and the files. The written thinking file nearly halved the tokens of thinking on GSM8K and SVAMP and raised accuracy, but by finishing inside the 3,072-token limit, not by reasoning better: among questions both answered, plain thinking was right more often.

19. Predictions and rules

The no-training rule. Allowed: forward passes to inspect the model; measurements on at most 200 build questions per family from train and validation splits; closed-form computations (averages, differences of activations, projections, one least-squares solve per edit, truncated SVD). Not allowed: gradient descent or any iterative optimizer, backpropagation, or searching over many candidates. Per family file: at most 8 candidates scored and 60 forward batches, logged in budget.jsonl. Test questions are never used to write or choose a file, and the writers never saw test results.

Two notes. The first choice of thinking file was replaced before any test run, because it often closed thinking before stating the answer. The 2B's reading file is near empty (r2_null, effect below bf16 resolution) and counts as written = plain.

20. Setup

FamilyBuild tasksHeld-out task
labelsAG News, SST-2, Emotion, TREC, Intent (Banking77)DBpedia
extractionE2E JSON (F1), CoNLL (F1)WNUT-17 (F1)
readingSQuAD (F1), BoolQAdversarialQA (F1)
mathGSM8KSVAMP
codeMBPPHumanEval
commonsenseCommonsenseQAOpenBookQA
knowledgeMMLUARC-Challenge

Family router

vote (TF-IDF LR + bge-small LR), 7 families, trained on the build tasks only. Validation 96.7%, build test sets 98.0%, held-out test sets 90.5%. Routed scores equal perfect routing: 79.6 vs 79.6 on the 4B.

Test setFamilyRoleRight familyRouted to
AG Newslabelsbuild99.5%labels 199, reading 1
SST-2labelsbuild100.0%labels 200
Emotionlabelsbuild100.0%labels 200
TREClabelsbuild92.5%labels 185, knowledge 10, math 2, reading 2, extraction 1
Intent (Banking77)labelsbuild100.0%labels 200
E2E JSON (F1)extractionbuild100.0%extraction 200
CoNLL (F1)extractionbuild96.5%extraction 193, labels 6, reading 1
SQuAD (F1)readingbuild96.0%reading 192, knowledge 8
BoolQreadingbuild99.0%reading 198, knowledge 2
GSM8Kmathbuild98.5%math 197, knowledge 3
MBPPcodebuild100.0%code 200
CommonsenseQAcommonsensebuild93.0%commonsense 186, knowledge 14
MMLUknowledgebuild99.5%knowledge 199, reading 1
DBpedialabelsheldout62.0%labels 124, reading 76
WNUT-17 (F1)extractionheldout100.0%extraction 200
AdversarialQA (F1)readingheldout98.5%reading 197, knowledge 3
SVAMPmathheldout100.0%math 200
HumanEvalcodeheldout100.0%code 164
OpenBookQAcommonsenseheldout74.5%commonsense 149, knowledge 50, reading 1
ARC-Challengeknowledgeheldout100.0%knowledge 200

21. Phase 1–2 on the 0.8B: do written files teach, and generalize?

FamilyBuild tasksPlainWrittenWritten − plain [95% CI]TrainedTeach ratioP1Held-out taskHeld-out gain, writtenHeld-out gain, trainedP2
labelsAG News, SST-2, Emotion, TREC, Intent (Banking77)63.266.2+3.0 [+1.4, +4.6]87.20.12not metDBpedia+0.0 [+0.0, +0.0]+16.5 [+9.0, +24.0]not met
extractionE2E JSON (F1), CoNLL (F1)18.356.2+37.9 [+34.0, +41.9]90.90.52not metWNUT-17 (F1)+2.0 [-0.8, +4.9]-16.2 [-20.5, -11.8]not met
readingSQuAD (F1), BoolQ79.277.8-1.4 [-2.8, -0.1]85.5-0.22not metAdversarialQA (F1)+1.6 [-2.2, +5.4]+12.3 [+5.6, +19.0]not met
mathGSM8K52.053.0+1.0 [-3.5, +6.0]37.0undefinedmetSVAMP+2.0 [-0.5, +5.0]-24.0 [-31.5, -17.0]not met
codeMBPP38.042.0+4.0 [+0.0, +8.0]38.5undefinedmetHumanEval-0.6 [-4.3, +3.0]-8.5 [-14.6, -2.4]not met
commonsenseCommonsenseQA49.551.0+1.5 [-2.5, +5.5]63.00.11not metOpenBookQA-7.0 [-13.0, -1.0]+6.0 [-1.5, +13.5]not met
knowledgeMMLU37.540.5+3.0 [-1.5, +7.5]44.50.43not metARC-Challenge+5.5 [+1.0, +10.0]+13.5 [+5.0, +21.5]met

Per test set

TaskFamilyRolePlainWrittenTrained
AG Newslabelsbuild71.571.586.0
SST-2labelsbuild91.091.092.5
Emotionlabelsbuild56.056.079.5
TREClabelsbuild59.074.096.0
Intent (Banking77)labelsbuild38.538.582.0
DBpedialabelsheld-out48.548.565.0
E2E JSON (F1)extractionbuild21.572.793.3
CoNLL (F1)extractionbuild15.139.888.6
WNUT-17 (F1)extractionheld-out17.419.41.2
SQuAD (F1)readingbuild83.581.290.6
BoolQreadingbuild75.074.580.5
AdversarialQA (F1)readingheld-out48.650.260.9
GSM8Kmathbuild52.053.037.0
SVAMPmathheld-out71.073.047.0
MBPPcodebuild38.042.038.5
HumanEvalcodeheld-out30.529.922.0
CommonsenseQAcommonsensebuild49.551.063.0
OpenBookQAcommonsenseheld-out55.548.561.5
MMLUknowledgebuild37.540.544.5
ARC-Challengeknowledgeheld-out50.556.064.0

The 0.8B files

FamilyFileEdit kindsWeights changedSize on diskBuild questionsForward batchesCandidatesValidation (file)
labelslabels_probe4_trechead_rows, token_bias6,15012.7 KB20012366.3
extractionextraction_ad4head_rows, lowrank2,375,6804.8 MB20024659.4
readingreading_ad1head_rows, lowrank, token_bias295,937592.3 KB20014475.6
mathmath_verify2final_alt2thus_v4head_rows37,88876.3 KB16012366.7
codecode_instrvec_L11_v1resid_add1,0242.2 KB15412217.8
commonsensecommonsense_ccal1token_bias50.2 KB20010252.1
knowledgeknowledge_ccal1token_bias40.2 KB20014341.7

22. Phase 4: Qwen3.5-4B + router + written files against Qwen3.5-9B

The 4B files (no trained yardstick on the 4B)

FamilyBuild tasksPlainWrittenWritten − plain [95% CI]P1Held-out taskHeld-out gain, writtenP2
labelsAG News, SST-2, Emotion, TREC, Intent (Banking77)78.177.9-0.2 –DBpedia+0.0 [+0.0, +0.0]not met
extractionE2E JSON (F1), CoNLL (F1)63.077.6+14.6 –WNUT-17 (F1)+4.1 [+1.4, +6.9]met
readingSQuAD (F1), BoolQ89.489.4+0.0 –AdversarialQA (F1)+1.4 [-0.6, +3.5]not met
mathGSM8K86.590.5+4.0 –SVAMP+1.5 [-1.5, +5.0]not met
codeMBPP69.570.0+0.5 –HumanEval-1.8 [-6.7, +3.0]not met
commonsenseCommonsenseQA73.073.5+0.5 –OpenBookQA-1.5 [-3.5, +0.0]not met
knowledgeMMLU69.569.0-0.5 –ARC-Challenge-0.5 [-1.5, +0.0]not met
FamilyFileEdit kindsWeights changedSize on diskBuild questionsForward batchesCandidatesValidation (file)
labelslab4b_defemo16glowrank11,77623.7 KB20024274.7
extractionx4_ad3lowrank4,521,9849.0 MB20021576.2
readingr4_stophead_rows, token_bias2,5615.4 KB2006181.1
mathmath4b_rename_plainspread_v1head_rows, resid_add110,080221.0 KB19215493.0
codecode4b_walkspread_v1resid_add12,80026.0 KB15414354.4
commonsensecs4b_ccal1token_bias100.3 KB20018278.1
knowledgekn4b_ccal05token_bias80.2 KB20016379.2

Score per test set

Test setFamilyRoleroutedperfect routingplain 4bplain 9b
AG Newslabelsbuild83.083.083.084.5
SST-2labelsbuild95.595.596.097.0
Emotionlabelsbuild62.062.062.560.0
TREClabelsbuild85.585.585.580.5
Intent (Banking77)labelsbuild63.563.563.569.0
DBpedialabelsheld-out98.098.098.097.0
E2E JSON (F1)extractionbuild81.681.677.882.8
CoNLL (F1)extractionbuild73.373.748.240.9
WNUT-17 (F1)extractionheld-out51.651.647.544.4
SQuAD (F1)readingbuild90.790.890.886.2
BoolQreadingbuild88.088.088.085.0
AdversarialQA (F1)readingheld-out72.872.871.470.1
GSM8Kmathbuild90.590.586.586.5
SVAMPmathheld-out89.089.087.585.0
MBPPcodebuild70.070.069.581.0
HumanEvalcodeheld-out78.078.079.983.5
CommonsenseQAcommonsensebuild73.573.573.079.5
OpenBookQAcommonsenseheld-out85.084.085.594.5
MMLUknowledgebuild69.069.069.575.5
ARC-Challengeknowledgeheld-out92.092.092.596.0
Mean over 20 sets79.679.677.878.9

Family means

Qwen3.5-4B + router + filesQwen3.5-4B, plainQwen3.5-9B, plain
020406080100routed · labels: 81.2plain 4b · labels: 81.4plain 9b · labels: 81.3labelsrouted · extraction: 68.8plain 4b · extraction: 57.8plain 9b · extraction: 56.0extractionrouted · reading: 83.8plain 4b · reading: 83.4plain 9b · reading: 80.4readingrouted · math: 89.8plain 4b · math: 87.0plain 9b · math: 85.8mathrouted · code: 74.0plain 4b · code: 74.7plain 9b · code: 82.3coderouted · commonsense: 79.2plain 4b · commonsense: 79.2plain 9b · commonsense: 87.0commonsenserouted · knowledge: 80.5plain 4b · knowledge: 81.0plain 9b · knowledge: 85.8knowledge
FamilyQwen3.5-4B + router + filesQwen3.5-4B, plainQwen3.5-9B, plain
labels81.281.481.3
extraction68.857.856.0
reading83.883.480.4
math89.887.085.8
code74.074.782.3
commonsense79.279.287.0
knowledge80.581.085.8

Memory and throughput: batched 500-question mix

The 500-question stream over the 13 build test sets, routed by the family router, each system alone on the GPU. All seven files stay installed; each batch row uses its own file.

SystemBatchMix scoreWall timeCorrect/minPeak GPUPeak residentCorrect/min/GBGB·s per correctRouter time
4B + router + 7 files1677.518.0 min21.510.48 GB12.44 GB1.7334.739 s
Qwen3.5-9B1677.833.8 min11.519.93 GB21.46 GB0.54111.9–
Qwen3.5-4B, plain1675.816.9 min22.410.37 GB11.90 GB1.8831.9–

Verdict

PartResultCriterionStatus
Score over 20 sets79.6 vs 78.9: +0.7 [-0.4, +1.7]≥ −1 (point estimate)met
Peak resident memory12.44 vs 21.46 GB: 0.58×≤ 0.5×not met
Correct/min/GB1.73 vs 0.54: 3.23×≥ 2×met

The 4B checkpoint is 9.3 GB against the 9B's 19.3 GB (0.48×). GPU memory alone: 10.48 vs 19.93 GB (0.53×).

23. Phase 3: thinking on the 4B with a written thinking file

Thinking mode with the model card's sampling (presence penalty 1.5, top-k 20, top-p 0.95, temperature 1.0), 3,072 new tokens for thinking and answer, batches of 16 with fixed seeds. No </think> means no answer. The file, mt4b_gate_k16_v2, is a gate on the end-of-thinking token: one output row and one bias (2,561 weights), the row fitted by one weighted ridge regression on the plain 4B's own final hidden states over 64 GSM8K training traces, with target 1 at paragraph boundaries after the trace's answer is settled and 0 or below elsewhere. It was written on GSM8K only; SVAMP is held out.

Test setConditionAccuracyMean tokensMedian tokensCut at limitNo answerAccuracy when answereds per correct
GSM8Kplain 4B75.01,8411,533494697.4 (150/154)50.1
GSM8K4B + thinking file94.01,0208277194.5 (188/199)41.2
SVAMPplain 4B83.51,4061,032312997.7 (167/171)33.4
SVAMP4B + thinking file93.58026322093.5 (187/200)15.6
PartResultCriterionStatus
Tokens0.56× plain (GSM8K 0.55×, SVAMP 0.57×)≤ 0.7×met
Accuracy+14.5 [+11.2, +18.0]≥ −2met

The gain comes from finishing inside the limit: plain thinking ran out before answering on 75 of 400 questions, the file on 1, while among answered questions plain was right more often. Seconds per correct answer are indicative only: other GPU jobs ran at the same time during some of these runs.

24. 2B confirmation: Phase 1–2 and Phase 4 on Qwen3.5-2B

FamilyBuild tasksPlainWrittenWritten − plain [95% CI]TrainedTeach ratioP1Held-out taskHeld-out gain, writtenHeld-out gain, trainedP2
labelsAG News, SST-2, Emotion, TREC, Intent (Banking77)66.970.8+3.9 [+2.7, +5.1]88.10.18not metDBpedia+0.0 [+0.0, +0.0]+9.5 [+4.0, +15.0]not met
extractionE2E JSON (F1), CoNLL (F1)26.166.4+40.2 [+36.4, +44.2]90.80.62not metWNUT-17 (F1)-6.2 [-10.0, -2.4]-10.6 [-16.6, -4.7]not met
readingSQuAD (F1), BoolQ84.784.7+0.0 [+0.0, +0.0]89.90.00not metAdversarialQA (F1)+0.0 [+0.0, +0.0]+4.1 [-1.0, +9.3]not met
mathGSM8K69.576.5+7.0 [+1.5, +12.5]59.5undefinedmetSVAMP+4.5 [+1.0, +8.5]-14.0 [-21.0, -7.0]met
codeMBPP53.552.5-1.0 [-5.5, +3.5]49.5undefinedmetHumanEval+5.5 [+0.6, +10.4]-10.4 [-17.1, -3.7]met
commonsenseCommonsenseQA65.067.5+2.5 [-0.5, +5.5]69.50.56not metOpenBookQA-1.0 [-3.0, +1.0]-3.0 [-9.0, +3.5]not met
knowledgeMMLU59.058.0-1.0 [-4.0, +1.5]62.5-0.29not metARC-Challenge-0.5 [-1.5, +0.0]+0.0 [-5.0, +5.0]not met

Per test set

TaskFamilyRolePlainWrittenTrained
AG Newslabelsbuild67.575.088.5
SST-2labelsbuild92.592.595.5
Emotionlabelsbuild56.556.578.5
TREClabelsbuild72.084.095.5
Intent (Banking77)labelsbuild46.046.082.5
DBpedialabelsheld-out79.579.589.0
E2E JSON (F1)extractionbuild25.974.792.7
CoNLL (F1)extractionbuild26.458.189.0
WNUT-17 (F1)extractionheld-out22.116.011.6
SQuAD (F1)readingbuild89.489.493.8
BoolQreadingbuild80.080.086.0
AdversarialQA (F1)readingheld-out63.963.968.1
GSM8Kmathbuild69.576.559.5
SVAMPmathheld-out78.082.564.0
MBPPcodebuild53.552.549.5
HumanEvalcodeheld-out51.857.341.5
CommonsenseQAcommonsensebuild65.067.569.5
OpenBookQAcommonsenseheld-out73.572.570.5
MMLUknowledgebuild59.058.062.5
ARC-Challengeknowledgeheld-out82.081.582.0

The 2B files

FamilyFileEdit kindsWeights changedSize on diskBuild questionsForward batchesCandidatesValidation (file)
labelslab2b_ridge_trechead_rows, token_bias12,29825.0 KB2008266.3
extractionx2_ad5head_rows, lowrank5,275,64810.6 MB20032866.1
readingr2_nulltoken_bias40.2 KB20016478.6
mathmath2b_rename_spread3to19_NS_s1_v1head_rows, resid_add88,064177.0 KB19219385.2
codecode2b_spread3to19_CF_s1_v1resid_add10,24020.9 KB15417234.4
commonsensecs2b_bcal1token_bias100.3 KB20012367.7
knowledgekn2b_ccal05token_bias80.2 KB20010356.2

2B + router + files against the plain 4B

Test setFamilyRoleroutedperfect routingplain 2bplain 4b
AG Newslabelsbuild75.075.067.583.0
SST-2labelsbuild92.592.592.596.0
Emotionlabelsbuild56.556.556.562.5
TREClabelsbuild82.584.072.085.5
Intent (Banking77)labelsbuild46.046.046.063.5
DBpedialabelsheld-out79.579.579.598.0
E2E JSON (F1)extractionbuild74.774.725.977.8
CoNLL (F1)extractionbuild57.758.126.448.2
WNUT-17 (F1)extractionheld-out16.016.022.147.5
SQuAD (F1)readingbuild89.489.489.490.8
BoolQreadingbuild80.080.080.088.0
AdversarialQA (F1)readingheld-out63.963.963.971.4
GSM8Kmathbuild77.076.569.586.5
SVAMPmathheld-out82.582.578.087.5
MBPPcodebuild52.552.553.569.5
HumanEvalcodeheld-out57.357.351.879.9
CommonsenseQAcommonsensebuild67.567.565.073.0
OpenBookQAcommonsenseheld-out72.572.573.585.5
MMLUknowledgebuild58.058.059.069.5
ARC-Challengeknowledgeheld-out81.581.582.092.5
Mean over 20 sets68.168.262.777.8

Family means

Qwen3.5-2B + router + filesQwen3.5-2B, plainQwen3.5-4B, plain
020406080100routed · labels: 72.0plain 2b · labels: 69.0plain 4b · labels: 81.4labelsrouted · extraction: 49.4plain 2b · extraction: 24.8plain 4b · extraction: 57.8extractionrouted · reading: 77.8plain 2b · reading: 77.8plain 4b · reading: 83.4readingrouted · math: 79.8plain 2b · math: 73.8plain 4b · math: 87.0mathrouted · code: 54.9plain 2b · code: 52.7plain 4b · code: 74.7coderouted · commonsense: 70.0plain 2b · commonsense: 69.2plain 4b · commonsense: 79.2commonsenserouted · knowledge: 69.8plain 2b · knowledge: 70.5plain 4b · knowledge: 81.0knowledge
FamilyQwen3.5-2B + router + filesQwen3.5-2B, plainQwen3.5-4B, plain
labels72.069.081.4
extraction49.424.857.8
reading77.877.883.4
math79.873.887.0
code54.952.774.7
commonsense70.069.279.2
knowledge69.870.581.0

Memory and throughput: batched 500-question mix

The 500-question stream over the 13 build test sets, routed by the family router, each system alone on the GPU. Batches of 32 for the 2B and 16 for the 4B.

SystemBatchMix scoreWall timeCorrect/minPeak GPUPeak residentCorrect/min/GBGB·s per correctRouter time
2B + router + 7 files3271.013.0 min27.35.59 GB7.48 GB3.6516.527 s
Qwen3.5-4B, plain1675.816.9 min22.410.37 GB11.90 GB1.8831.9–

Verdict

PartResultCriterionStatus
Score over 20 sets68.1 vs 77.8: -9.7 [-11.0, -8.4]≥ −1 (point estimate)not met
Peak resident memory7.48 vs 11.90 GB: 0.63×≤ 0.5×not met
Correct/min/GB3.65 vs 1.88: 1.94×≥ 2×not met

25. Limitations

Part 3: later runs of test 2, and tests 3 to 11

The thinking gate for code, the swap mid-thought, 8-bit and 4-bit weights, trained files (test 3), llama.cpp and a mixture-of-experts model (test 4), one merged file for all families (test 5), one general file (test 6), the general file under the family files (test 7), two newer mixture-of-experts models (test 8), fresh questions with two models end to end (test 9), the files in llama.cpp (test 10), and Fable 5.2 as the writer (test 11).

26. Summary

Later runs of test 2 added a thinking gate for code, a file swap in the middle of a thinking answer, and 8-bit and 4-bit weights. Test 3 trained a file for every family on the 4B and picked, per family, between the Opus 5.5 written file and the trained one. Test 4 moved to llama.cpp and added a mixture-of-experts model, Qwen3.5-35B-A3B. Test 5 merged the seven written 4B files into one file that every question gets, with no router. Test 6 had Opus 5.5 write one general file for all seven families at once, with the family writers' budgets combined, and compared it with the router and the family files. Test 7 put the general file under every family file. Test 8 tried two newer mixture-of-experts models, Qwen3.6-35B-A3B and Gemma 4 26B-A4B. Test 9 ran the main systems again on 3,548 fresh questions no test had touched, and two models end to end: the 4B with its files and Qwen3.5-35B-A3B, with the router choosing between them. Test 10 ran the 4B's files in llama.cpp. Test 11 had Fable 5.2 write the seven family files again, in place of Opus 5.5.

Everything ran on one laptop: an ASUS ProArt PX13 with a Ryzen AI Max+ 395 and a Radeon 8060S GPU sharing 57 GB of memory. The 20 test sets are those of Part 2, up to 200 questions each, non-thinking and greedy unless stated. A system's score is the mean over the 20 sets, each set weighted equally. Confidence intervals (CI) are paired bootstraps that resample each set on its own, 10,000 resamples, seed 0.

SystemScore over the 20 test sets
Two models: 4B + the better file per family, and Qwen3.5-35B-A3B (estimate, test 8)87.1
Qwen3.5-35B-A3B, 4-bit (test 4)84.0
Qwen3.5-4B + router + the better file per family, in llama.cpp (test 10)84.2
Qwen3.5-4B + router + the better file per family (test 3)83.9
Qwen3.5-4B + router + all-trained files (test 3)82.0
Qwen3.6-35B-A3B, 4-bit (test 8)83.8
Gemma 4 26B-A4B, 4-bit (test 8)81.1
Qwen3.5-4B + router + Opus 5.5 written files (Part 2)79.6
Qwen3.5-4B + router + Fable 5.2 written files (test 11)79.6
Qwen3.5-4B + general file under every family file (test 7)79.1 to 79.2
Qwen3.5-4B + one general Opus 5.5 written file, no router (test 6)78.5
Qwen3.5-4B + one merged file, no router (test 5)78.3
Qwen3.5-9B, bf1678.9
Qwen3.5-4B, plain, bf1677.8

On the fresh questions of test 9 (19 sets), every main result held:

SystemFresh questionsSame 19 old sets
Two models: 4B + better file per family, and Qwen3.5-35B-A3B86.586.9 (estimate)
4B + router + the better file per family84.484.2
Qwen3.5-35B-A3B, 4-bit82.483.6
4B + router + Fable 5.2 written files (test 11)81.0–
4B + router + Opus 5.5 written files80.579.7
4B + one general file, no router78.778.4
Qwen3.5-9B, plain77.878.7
Qwen3.5-4B, plain77.777.7

Two models gave the most right answers, but need 36 GB of GPU memory together, more than this laptop's GPU can address at once, and on the 500-question mix gave 0.50 correct answers per minute per GB, against 2.79 for Qwen3.5-35B-A3B alone and 1.16 for the 4B with files alone (section 35). Most of that cost was the transformers harness: in llama.cpp (test 10) the 4B with its files gave 112.5 correct answers per minute in 10.9 GB (10.4 per GB), and two models 111.0 per minute, faster than Qwen3.5-35B-A3B alone (70.2), at 2.98 per GB (section 36). Fable 5.2 as the writer (test 11) wrote a library level with Opus 5.5's: 81.0 against 80.5 on the fresh questions (section 37).

27. Test 2, later runs: a gate for code, a swap mid-thought, and the 9B thinking

Thinking mode with 3,072 tokens for thinking and answer together, as in section 23. Opus 5.5 wrote a second thinking gate the same way as the math one, on MBPP training problems: one output row and one bias for </think>. The swap test ran the gate while the model thinks, then the family's answer file from the forward pass that reads </think>. With the same random seeds, both versions think exactly the same tokens, so any difference comes from the part after the thinking.

Test setPlain 4B4B + gate4B + gate, then answer filePlain 9B
GSM8K75.094.094.568.0
SVAMP83.593.593.081.5
MBPP65.580.080.037.0
HumanEval63.487.287.839.0
PredictionResult
A thinking gate for code: at most 0.7× the tokens, score within 2 pointsMet: 0.60×, +19.1 points
Hot-swapping to an answer file at </think> beats keeping the gateNot met: +0.2 points
4B thinking with gates vs 9B thinking: within 1 point, half the memory, 2× the correct answers per minute per GBNot met: +32.4 points and 5.75× passed, memory was 0.61×

28. Test 2, later runs: 8-bit and 4-bit weights

Every linear layer of the 4B and the 9B was rounded to 8-bit or 4-bit: symmetric, round to nearest, no data and no training. Embeddings, the output layer and the norms stay in bf16, so the seven written files install unchanged: they touch the output layer and the residual stream. bitsandbytes' 4-bit kernels ran 6× slower than bf16 on this GPU at batch 16 or more, so the runs use kernels written in Triton for this test.

4B + router + seven filesScore over the 20 test sets
bf1679.6
8-bit79.9 (+0.3, CI −0.1 to +0.7)
4-bit75.4 (−4.2, CI −5.2 to −3.2)

The same 500-question mix as Part 2's throughput runs, routed, each system alone on the GPU:

SystemBatchScoreTimeCorrect per minutePeak memoryCorrect per minute per GB
4B + files, bf161677.515.8 min24.612.5 GB1.97
4B + files, 8-bit1677.412.9 min30.19.0 GB3.33
4B + files, 8-bit6476.97.5 min51.614.2 GB3.63
4B + files, 4-bit3272.010.8 min33.38.8 GB3.79
9B, 8-bit6477.715.9 min24.519.5 GB1.26
9B, bf163277.925.5 min15.223.0 GB0.66
PredictionResult
8-bit keeps the score, within 1 pointMet: +0.3
4-bit keeps the score, within 1 pointNot met: −4.2
The files still help at 8-bit and 4-bitMet: +2.4 and +3.4
8-bit or 4-bit gives 1.5× the correct answers per minute per GBMet: up to 1.92×
4B + files vs 9B at the same precision: score, half the memory, 2× per GBNot met: memory was 58 to 65%
Batch 64 beats batch 16 per GBMet: +9%
One copy beats twoMet: 1.6× per GB

29. Test 3: trained files where written ones fall short

Training. One LoRA adapter per family on the 4B, with the recipe of Part 2's trained yardsticks: rank 16, alpha 32, dropout 0.05, on the attention, linear-attention and MLP projections of every layer, one epoch, batch 16, loss on the reply only, learning rate from the 0.8B pilot. Data: the union of the build tasks' training splits for labels, extraction and reading; MMLU dev and validation rows 0 to 999 for knowledge; the training split of GSM8K, MBPP and CommonsenseQA for math, code and commonsense. Opus 5.5 wrote and tuned nothing in this test.

Conversion. Each adapter became a file of low-rank edits in the same format as the written files, with A = lora_A and B = lora_B × alpha / rank, about 59 MB per file. On 832 check questions, the converted file gave the same output as the trained adapter on 96%. The rest were long answers, where tiny rounding differences grow.

Selection. Each family had four candidates: no file, the written file, the trained file, and both stacked in one file. Each was scored on a selection set nothing had touched before: validation rows 200 to 299 of each build task, 100 MBPP problems from its full test split that are not among our 200 test problems, and MMLU rows 1,100 to 1,199. The rule: the highest score wins, and within 0.5 points the cheaper candidate wins, in the order none, written, trained, stacked. The picks were settled before any test question ran. The 4B picked trained files for labels, extraction and reading, written files for math, code and commonsense, and no file for knowledge.

System on the 20 test setsScore
Qwen3.5-4B, plain77.8
Qwen3.5-9B, plain78.9
4B + Opus 5.5 written file for every family79.6
4B + trained file for every family82.0
4B + the better file per family83.9

All-trained beat written by 2.4 points (CI +1.3 to +3.5). The better file per family beat written by 4.3 (CI +3.5 to +5.1) and all-trained by 1.9. It came out 5.0 points above the 9B (CI +3.8 to +6.1), with 2.16× the 9B's correct answers per minute per GB.

FamilyPlain 4BWritten fileTrained filePicked
Labels81.481.090.9trained
Extraction57.868.878.2trained
Reading83.482.585.7trained
Math87.090.282.0written
Code74.771.658.1written
Commonsense79.279.582.5written
Knowledge81.082.183.0none

Training won where a task has a fixed set of answers to learn: labels from 81 to 91, and CoNLL from 48 to 90. It lost where the model's own reasoning was better than the reference answers it trained on: the trained math file took GSM8K from 86.5 to 80.5, and the trained code file took HumanEval from 79.9 to 56.7. The 100 selection questions didn't always agree with the test sets: on commonsense and knowledge, the trained file did better on the test sets than the file that was picked. The picks stand.

Speed. A trained file adds a low-rank edit to every layer, and in this harness those edits run on top of the weights, not merged into them. On the 500-question mix at batch 16, the all-trained library took 0.81× the written library's time, but only because its answers were half as long: 9,059 tokens against 19,473. The trained math file cut math answers from 12,571 tokens to 3,442, and the trained code file code answers from 3,332 to 2,105. The library with the better file per family, whose answers were as long as the written one's, took 1.53× as long.

The 2B. With the better file per family, the 2B went from 68.1 to 74.7, still 3.1 points below the plain 4B (CI −4.4 to −1.8).

PredictionResult
Trained files beat written ones as a library, by 1+ pointMet: +2.4
The better file per family beats bothMet: +4.3 over written, +1.9 over trained
The 4B with the better file per family beats the 9B, with 2× its correct answers per minute per GBMet: +5.0 points, 2.16×
Trained files keep the speed: at most 1.15× the timeMet on paper, 0.81×, because the answers were half as long
The 2B with the better file per family matches the plain 4BNot met: −3.1

30. Test 4: llama.cpp and a mixture of experts

Engine. llama.cpp release b11853, the official Vulkan build. GGUF files converted from the same Qwen checkpoints with llama.cpp's own converter, then quantized to Q8_0 (8-bit) and Q4_K_M (4-bit) without an importance matrix. All layers on the GPU, flash attention on. Scores come from llama-server with 16 parallel slots: each prompt is the model's own chat template, rendered exactly as in the other tests, with the same answer limits and the same scorers.

Parity. llama.cpp's 4B at 8-bit scored 77.7 over the 20 test sets, against 77.8 for the bf16 4B in the transformers harness, so scores carry over between the two.

ModelSizeTokens per second (one request)
Qwen3.5-0.8B, bf161.6 GB119 (32 in the transformers harness)
Qwen3.5-4B, 8-bit4.6 GB43
Qwen3.5-4B, 4-bit2.8 GB64
Qwen3.5-9B, 8-bit9.8 GB24
Qwen3.5-9B, 4-bit5.8 GB38
Qwen3.5-35B-A3B, 4-bit21.7 GB69

Generation speed from llama-bench: 128 generated tokens, 3 repetitions. The 4B at 8-bit reached 94% of what the memory bandwidth allows. The mixture of experts wrote 2.86× as fast as the 9B at 8-bit.

SystemScore over the 20 test sets
Qwen3.5-35B-A3B, 4-bit84.0
Qwen3.5-4B + the better file per family (test 3)83.9
Qwen3.5-4B + Opus 5.5 written files (test 2)79.6
Qwen3.5-9B, 8-bit79.1
Qwen3.5-9B, bf1678.9
Qwen3.5-9B, 4-bit78.4
Qwen3.5-4B, 8-bit77.7

The mixture of experts beat the 4B with written files by 4.4 points (CI +3.4 to +5.4) and the bf16 9B by 5.1 (CI +4.1 to +6.0). On the six sets of code, commonsense and knowledge, where no written file closed the 9B's lead, it scored 88.8 against the 9B's 85.0. Against the 4B with the better file per family it was level: 0.1 points ahead (CI −1.0 to +1.2). That last comparison was added after test 3 and was not one of test 4's predictions.

Family4B + better file per family35B-A3B, 4-bitPlain 9B
Extraction77.668.556.0
Labels90.284.481.3
Math89.887.285.8
Reading85.687.080.4
Knowledge81.089.085.8
Commonsense79.089.587.0
Code74.088.082.3

Many requests at once. The 500-question mix with 16 requests in flight to a server with 16 slots, timed from the first request to the last answer:

16 requests at onceScoreCorrect per minuteMemoryCorrect per minute per GB
Qwen3.5-4B, 8-bit75.1100.19.5 GB10.5
Qwen3.5-9B, 4-bit78.370.110.0 GB7.0
Qwen3.5-9B, 8-bit78.768.113.9 GB4.9
Qwen3.5-35B-A3B, 4-bit81.565.825.2 GB2.6

With 16 questions in flight, the mixture of experts was no faster than the 9B, most likely because a batch of different questions calls on many different experts, so each step reads far more than 3B weights. The plain 4B in llama.cpp gave 100 correct answers per minute, 3.3× what the same 4B at 8-bit gave in the transformers harness.

Memory and the prompt cache. Memory is GPU memory in use (VRAM and GTT) minus the value before the server started, plus the server's peak resident memory. llama-server keeps a host-memory cache of prompts by default (8,192 MiB). It filled up in every run although no prompt was ever repeated, and added about 8.6 GB to every system's peak. The table leaves it out. Counted in, the mixture of experts got 0.64× the 9B's correct answers per GB; left out, 0.53×.

A bigger model at 4-bit, or a smaller one at 8-bit? The 9B at 4-bit came out 0.8 points above the 4B at 8-bit (CI −0.2 to +1.8). Not enough to call.

PredictionResult
llama.cpp's 4B scores within 1.5 points of the transformers harnessMet: 77.7 against 77.8
The MoE beats the 4B with written filesMet: +4.4
The MoE beats the 9BMet: +5.1
The MoE at least matches the 9B on code, commonsense and knowledgeMet: 88.8 against 85.0
The MoE writes at least 2× as fast as the 9B at 8-bitMet: 2.86×
The MoE gives at least the 9B's correct answers per minute per GBNot met: 0.64× (0.53× without the cache)
The 9B at 4-bit beats the 4B at 8-bitNot met: +0.8, CI includes zero

31. Test 5: one merged file for all families

Does hot-swapping per family matter, or would the same edits do as well merged into one file that every question gets, with no router? The seven final written 4B files of test 2 went unchanged into one file: 19 edits, 4,659,219 weights, 9.3 MB. Edits on the same target add up. The math and code files both add steering vectors on the same five layers (7, 11, 15, 19 and 23), and the commonsense and knowledge files both bias the same 8 answer-letter tokens. No two files replace the same weights. This tests the existing files merged, not a new file written by Opus 5.5 for all families at once.

4B systemScore over the 20 test sets
Router + one written file per family (test 2)79.6
One merged file, always on, no router78.3
Plain77.8

Routing beat the merged file by 1.3 points (CI +0.7 to +1.9). The merged file came out 0.5 points above the plain 4B (CI −0.2 to +1.3): not clearly better than no file at all.

FamilyPlain 4BMerged fileRouter + family files
Labels81.480.881.2
Extraction57.864.168.8
Reading83.482.483.8
Math87.089.589.8
Code74.773.074.0
Commonsense79.278.279.2
Knowledge81.080.580.5

Mean of each family's test sets. The merged file kept most of the math gain and part of the extraction gain: extraction lost 4.7 of its 11.0 points to the other families' edits. Everywhere else it cost a little, against both the plain model and routing.

The same question on the 0.8B. Each final 0.8B file of test 2 was also run on every other family's test sets and compared with the plain 0.8B, question by question. "Clearly" means the CI excludes zero.

0.8B fileOther families' setsMean changeClearly hurtClearly helpedWorst set
Labels14+0.0––SVAMP −0.5
Extraction17−1.5MBPP −6.5–GSM8K −6.5
Reading17−0.8OpenBookQA −5.0–OpenBookQA −5.0
Math18−0.0––Banking77 −2.0
Code18+0.8–SQuAD +0.5Banking77 −0.5
Commonsense18+0.2––SQuAD −0.5
Knowledge18−0.6––OpenBookQA −6.0

One written file on the wrong family's questions costs little on average, under 1.5 points, and only 2 of 120 set results were clearly worse. Merged into one file on the 4B, those small costs add up, and each file's own gain shrinks under the others' edits. Routing per family stays: a merged file is not a replacement.

PredictionResult
Routing beats the merged fileMet: +1.3
The merged file still beats the plain 4BNot met: +0.5, CI includes zero

32. Test 6: one general file, written for all families at once

Test 5 merged files that were written separately, so it could not tell whether specialised files beat one good file for everything. Test 6 asks that directly. If one general file did as well as the library, the router and hot-swapping would not be needed: the model could be edited once.

Setup. Opus 5.5 wrote one file for all seven families of the 4B from scratch, under the same no-training rule as test 2. It did not see the family files, their write-ups or any test result. Its budget was the seven family budgets together: 1,400 build questions, 420 forward batches and 56 candidates. It was chosen on the same 665 validation questions as the family files, by the mean over the 13 build tasks. Every question gets the file, with no router. Two criteria were written down before the file existed: G1, router + family files beat the general file (CI above zero); G2, the general file beats the plain 4B (CI above zero).

The file. The writer used 1,329 of the 1,400 questions (665 of them are the validation set), 111 of the 420 batches and 8 of the 56 candidates. The question budget was the one that ran out. The seven family writers together had used 1,346 questions, 114 batches and 20 candidates. The final file has five edits, all on the output layer, 535,041 weights and 1.1 MB. None changes a base weight.

EditWhat it doesValidation change when switched off
Stop bias+3 on the end-of-answer token, every inputCoNLL −5.6, SQuAD −0.5
No LaTeX in mathblocks 183 LaTeX tokens, only where a math detector firesmath −3.1
E2E valuesblocks 16 tokens of non-standard values ("high priced", "5 stars"), only where an E2E detector firesE2E −4.5
CoNLL typescorrects the logits of the four entity-type tokensCoNLL −3.7
TREC labelscorrects the logits of the six TREC label tokensnone

The two detectors are linear readouts of the model's final hidden state, fitted to be 1 on that task's positions and 0 on every other task's. Multiplied into a token ban, they make it act on some inputs only: a small router inside the weights. On validation the code ban changed 1 of 90 code answers.

Result.

4B systemScore over the 20 test sets
Router + one written file per family (test 2)79.6
One general file, written for all families, always on78.5
One merged file, always on (test 5)78.3
Plain77.8
Qwen3.5-9B, plain78.9
ComparisonDifference95% CICriterion
Router + family files − general file+1.2+0.5 to +1.8G1 met
General file − plain 4B+0.7+0.3 to +1.1G2 met
General file − merged file+0.1−0.6 to +0.8–
General file − plain 9B−0.5−1.5 to +0.5–

Both criteria were met, as expected. Routing beats one general file, and unlike the merged file the general file clearly beats the plain 4B.

FamilyPlain 4BGeneral fileMerged fileRouter + family files
Labels81.481.880.881.2
Extraction57.862.064.168.8
Reading83.484.082.483.8
Math87.085.089.589.8
Code74.774.973.074.0
Commonsense79.279.278.279.2
Knowledge81.081.080.580.5

Where the gap comes from. Two test sets make up all of it. On CoNLL the extraction file scores 73.3 and the general file 57.9; on GSM8K the math file scores 90.5 and the general file 81.5. Together that is 24.4 set points, 1.2 points of the 20-set mean. On the other 18 sets the general file is slightly ahead of routing, by 0.1 points on average.

Why: the three explanations written down beforehand.

  1. Conflicting behaviour: present, but cheap. The writer ran into real conflicts: conll and squad want answers to stop earlier, while math and code must never stop early; math should avoid $ and backslashes, which code needs; the answer letters A–D are shared by CommonsenseQA and MMLU, and yes/no by BoolQ and E2E. It settled the stop conflict by size (a bias below the margin the model keeps mid-answer, above the one at the end of an entity list), the token conflicts with detectors, and dropped the letter and yes/no calibrations. The dropped edits were in families where the family files gained nothing either (commonsense 79.2 against 79.2, knowledge 80.5 against 81.0 plain).
  2. A router inside the weights: yes, and it worked. The general file left 11 of the 20 test sets exactly at the plain score and 13 within half a point. It lowered no unseen task (DBpedia 0, WNUT +1.2, AdversarialQA +1.6, SVAMP +1.0, HumanEval 0, OpenBookQA 0, ARC 0). The only set it lowered was GSM8K. The merged file of test 5 lowered Banking77 and MBPP by 4 points each. The planned selectivity measure, the KL divergence of the first answer token's distribution, did not separate the files: the general file moved it more than any family file on every family (0.02 to 0.12, family files at most 0.03). The likely cause is the stop bias: it raises the end-of-answer token at every position, which moves some probability without changing the chosen token. Changed answers were the better measure.
  3. What kind of edit, more than attention per family. All five edits are on the output layer: they change which token the model picks, not how it reads the question. The two family files that win the gap change the inside of the model: extraction's is a low-rank edit of 4.5 million weights, math's adds steering vectors on five layers. The general writer never tried an edit inside the model, and its write-up does not discuss one; it concluded early that "the format is almost never the problem on the 4B" and looked for fixes at the output. An edit inside the model reaches every question, while an output edit can be limited to a few tokens and gated by a detector, so a writer that has to keep seven families safe has a reason to stay at the output. One run cannot tell whether that was the reason or chance.

Math went the wrong way. On validation the LaTeX ban rescued 3 cut-off math answers out of 96 and lost none. On the GSM8K test set the general file scored 81.5 against 86.5 for the plain 4B: 12 answers went from right to wrong, 2 from wrong to right, and 28 answers hit the 512-token limit against 22 for the plain model (9 for the math file). Blocked from LaTeX, the model writes around it: sometimes longer, sometimes with a slip (writing "times" in words, it computed 3 × 14 as 34).

An extra check after the result, not planned beforehand, ran the GSM8K test set twice more: with the do-nothing file, and with the general file minus its LaTeX edit. Both gave exactly the plain model's 200 answers (86.5, 22 cut off). So the whole loss, −5.0 (CI −8.5 to −1.5), is the LaTeX ban, not noise from the generation setup, and the other four edits change no math answer. The ban had been chosen on 3 validation answers out of 96. That is smaller than the writer's own estimate of batching noise on those questions: packed differently, the plain model changed 38 of its 96 math answers. Without the ban, the general file would have scored about 78.7 and the gap to routing would be about 0.9 points. That figure comes from the test sets, after the fact.

PredictionResult
Routing beats the general file, by about 1 pointMet: +1.2
The general file beats the plain 4B, by about 1 pointMet: +0.7
The general file lands between the merged file and routingMet, but only just above the merged file (+0.1)

33. Test 7: the general file under the family files

Test 6 found that the general file's edits left most sets alone and helped a few, such as TREC (+2.5 against routing) and HumanEval (+1.9). Test 7 asked whether those safe fixes add anything on top of the library: the general file on every question, and the routed family file on top.

Setup. No new file was written. Each family file of test 2 was merged with the general file of test 6 into one file per family, as in test 5: edits on the same target add up. The only token both touch is the end-of-answer token, which the reading file also raises, so reading questions got both pushes. The stacks are 1.1 MB each, 10.1 MB for extraction. Two systems, with the routes of test 2:

Criteria, written down before the stacks existed: H1, S beats router + family files (CI above zero); H2, P beats them.

The pick. On validation, the stack tied the family file for labels, code, commonsense and knowledge, was 0.3 points ahead for extraction (76.5 against 76.2) and lower for reading (80.5 against 82.2) and math (91.7 against 93.8). So P stacked five families and left reading and math alone.

4B systemScore over the 20 test sets
Router + one written file per family (test 2)79.6
P, stack unless it hurts79.2
S, stack everywhere79.1
One general file, no router (test 6)78.5
Qwen3.5-9B, plain78.9
ComparisonDifference95% CICriterion
S − router + family files−0.6−0.9 to −0.2H1 not met
P − router + family files−0.4−0.7 to −0.1H2 not met
S − general file+0.6−0.03 to +1.2–
P − general file+0.7+0.1 to +1.3–

Neither criterion was met, as expected, but the stack did more than add nothing: it made the library measurably worse.

FamilyRouter + family filesSPAnswers changed by the stackBetter / worse
Labels81.281.781.712 of 1,1148 / 2
Extraction68.865.665.7149 of 59440 / 58
Reading83.882.783.958 of 66916 / 33
Math89.889.889.5255 of 3995 / 4
Code74.073.873.82 of 3640 / 1
Commonsense79.279.079.01 of 3350 / 1
Knowledge80.580.580.54 of 4891 / 1

Where it lost. Extraction: CoNLL fell from 73.3 to 68.1 and WNUT 2017 from 51.6 to 46.7. The stack changed a quarter of the extraction answers, and more of them for the worse. Most likely the general file's stop bias and its CoNLL type correction, written for a model without the extraction file, over-correct on top of it; test 7 did not switch them off one by one. Reading lost 1.1 points under S, where the two end-of-answer pushes add up; P avoided that loss because validation showed it. Math changed 255 answers but only 9 by score: the LaTeX ban rewrites the working without changing most results, and P's validation check took the stack out anyway. The gains were small: TREC 88.0 against 85.5 and E2E 82.2 against 81.6.

What validation could and couldn't tell. It caught the two families where the stack hurt clearly (reading and math). It let extraction through on a 0.3-point edge, which on the test sets became −3.1. The same lesson as test 6's LaTeX ban: a small edge on a few hundred validation answers is often noise.

The decision rule written down beforehand: with neither criterion met, the library alone stays, and the general file is the setup for engines that can't swap files per request, merged into the weights once.

PredictionResult
Neither H1 nor H2 is met; S and P land at most 0.3 points above routingNot met as stated: neither criterion met, but both landed below routing (−0.6 and −0.4)
Math is the main risk; P keeps the stack in mathNot met: P left math alone, and the loss came from extraction

34. Test 8: two newer mixture-of-experts models

Test 4's mixture of experts, Qwen3.5-35B-A3B, matched the 4B with the better file per family. Test 8 asked whether a newer model of the same kind does better on this laptop: Qwen3.6-35B-A3B (same size and architecture, half a year newer) and Google's Gemma 4 26B-A4B (26B weights, about 4B used per token). Both are Apache 2.0.

Setup. Exactly test 4's pipeline: checkpoints from Hugging Face at pinned revisions (Qwen3.6 at 345d467b, Gemma 4 at 4d7ae498), only the text model converted with llama.cpp b11853's own converter to bf16 GGUF, then Q4_K_M without an importance matrix: 21.7 GB for Qwen3.6, 16.8 GB for Gemma 4. Each prompt is the model's own chat template rendered by its Hugging Face tokenizer with thinking off, the same answer limits, stopping at the model's own end-of-turn tokens, the same scorers.

Two gates before any test question.

Model, Q4_K_MSizeScore over the 20 test setsTokens per second (one request)
Qwen3.5-35B-A3B (test 4)21.7 GB84.069.6
Qwen3.6-35B-A3B21.7 GB83.869.8
Gemma 4 26B-A4B16.8 GB81.159.9
Qwen3.5-4B + the better file per family (test 3)–83.9–
ComparisonDifference95% CICriterion
Qwen3.6 − Qwen3.5−0.3−1.0 to +0.5N1 not met
Gemma 4 − Qwen3.5−3.0−3.8 to −2.1N2 not met
Qwen3.6 − Gemma 4+2.7+1.8 to +3.6–
Generation speed, against Qwen3.5Qwen3.6 1.00×, Gemma 4 0.86×–N3 met (at least 0.8×)

Neither newer model beat Qwen3.5-35B-A3B. Qwen3.6 scored the same. Gemma 4 scored 3 points lower.

FamilyQwen3.5-35B-A3BQwen3.6-35B-A3BGemma 4 26B-A4B4B + better file per family
Labels84.485.583.390.2
Extraction68.566.458.377.6
Reading87.085.978.585.6
Math87.288.292.289.8
Code88.087.988.974.0
Commonsense89.587.887.879.0
Knowledge89.088.886.581.0

Gemma 4 was the best of the three at math and code, and clearly the weakest at extraction and reading, where answers have to be copied from the text in a given form.

Many requests at once. The 500-question mix, 16 requests in flight, with llama-server's prompt cache turned off this time (test 4 found it held 8.6 GB without ever being used). Qwen3.5-35B-A3B was measured again the same way.

16 requests at once, cache offScoreCorrect per minuteMemoryCorrect per minute per GB
Qwen3.5-35B-A3B81.370.225.2 GB2.79
Qwen3.6-35B-A3B82.269.525.2 GB2.76
Gemma 4 26B-A4B77.974.025.0 GB2.95

Gemma 4's file is 4.9 GB smaller, but at 16 requests it held the same memory as the others: its space for the text being processed is larger. It gave the most correct answers per minute, because it answered fastest, not because it was right more often.

Two models, estimated. The split written down after test 4: knowledge, code and commonsense questions to the mixture of experts, everything else (labels, extraction, math and reading) to the 4B with the better file per family, using test 2's routes. Composed from existing answers, so it mixes two engines and the split was chosen on these test sets: an estimate, which test 9 checks on fresh questions.

Two models: 4B + better files, and…Score over the 20 test setsAgainst the mixture of experts alone
Qwen3.5-35B-A3B87.1+3.1 (CI +2.2 to +3.9)
Qwen3.6-35B-A3B86.9+3.2 (CI +2.4 to +4.0)
Gemma 4 26B-A4B86.8+5.7 (CI +4.8 to +6.6)

Which mixture of experts takes the other half hardly matters: the 4B with its files covers the families where they differ most.

Which goes forward. The rule written down beforehand: the highest score, and within 0.5 points the one with more correct answers per minute per GB. Qwen3.5-35B-A3B scored highest, so it stays the general model for test 9.

PredictionResult
Qwen3.6 beats Qwen3.5 by 1 to 2 pointsNot met: −0.3
Gemma 4 lands within a point of Qwen3.5Not met: −3.0
Gemma 4 is ahead per GB because it is 30% smallerAhead per GB (2.95 against 2.79), but because it was faster; it held the same memory
Qwen3.6 keeps the speed; Gemma 4 about 0.85×Met: 1.00× and 0.86×

35. Test 9: fresh questions, and two models end to end

Two things needed checking before any conclusion. Every test so far reused the same 20 test sets, and some tests were chosen because of what earlier tests showed on them. And the best setup, two models with a router in front, was only an estimate composed from old answers, with a split chosen after seeing those test sets.

Fresh questions. For each set, up to 200 new questions from the same source split as its test set, drawn with a new seed (9) from rows in none of our files: not in the test, selection, training or validation files, and not among test 3's 100 MBPP selection problems. Rows whose question text appears in any of our data files were dropped too. Same builders, prompts, answer limits and scorers. HumanEval has 164 problems and all are in the test set, so it is left out: 19 sets, 3,548 questions. SVAMP had 100 unused rows and MBPP 48; every other set got 200. The counts were saved before any model answered a fresh question.

Routes. The family router of test 2 (a vote of TF-IDF with logistic regression and bge-small with logistic regression) wasn't saved, so it was trained again the same way. Before it routed a fresh question it had to reproduce the saved routes of the old test sets on at least 99.5% of questions. It reproduced 100%. On the fresh questions it picked the intended family for 94.5%.

Systems. All non-thinking and greedy, each alone on the GPU: the plain 4B and 9B, the 4B with the router and the Opus 5.5 written files (test 2), the 4B with the general file and no router (test 6), the 4B with the router and the better file per family (test 3), the general model test 8 picked (Qwen3.5-35B-A3B, Q4_K_M in llama.cpp), and two models: knowledge, code and commonsense questions to Qwen3.5-35B-A3B, labels, extraction, math and reading to the 4B with the better file per family. The split is the one written down after test 4, unchanged. The two-model score uses each model's answers to the questions routed to it. A stacked system from test 7 would have run only if test 7 had met one of its criteria; it hadn't.

SystemFresh questions (19 sets)Old test sets (same 19 sets)
Two models: 4B + better file per family, and Qwen3.5-35B-A3B86.586.9 (estimate, test 8)
4B + router + the better file per family84.484.2
Qwen3.5-35B-A3B, 4-bit82.483.6
4B + router + Opus 5.5 written files80.579.7
4B + one general file, no router78.778.4
Qwen3.5-9B, plain77.878.7
Qwen3.5-4B, plain77.777.7

Every system landed within 1.2 points of its old score. The systems built or picked on the old test sets didn't lose: the written library and the better library came out slightly higher. The two models that never saw a file, the 9B and Qwen3.5-35B-A3B, came out 0.9 and 1.2 lower.

Claims, written down before any fresh question existed. Paired bootstrap over the 19 sets, each set resampled on its own, 10,000 resamples, seed 0.

ClaimDifference95% CICriterionOld test sets
F1: two models − Qwen3.5-35B-A3B alone+4.1+3.2 to +5.0Met (CI above 0)+3.1 (estimate)
F2: two models − 4B + better file per family+2.0+1.3 to +2.8Met (CI above 0)–
R1: 4B + written files − plain 9B+2.7+1.5 to +3.9Met (CI above −1)+0.7
R2: 4B + better file per family − plain 9B+6.7+5.4 to +7.9Met (CI above 0)+5.0
R3: router + written files − one general file+1.7+1.0 to +2.5Met (CI above 0)+1.2
R4: Qwen3.5-35B-A3B − plain 9B+4.6+3.5 to +5.7Met (CI above 0)+5.1

All six claims held. Two results got stronger: the 4B with written files went from level with the 9B to 2.7 points ahead, and routing beat the general file by 1.7 instead of 1.2. Part of the first is the 9B, which lost 0.9 points on fresh questions while the plain 4B lost nothing: the 9B's lead over the plain 4B shrank from 1.0 to 0.1.

Family, freshPlain 4BPlain 9BWritten filesGeneral fileBetter file per familyQwen3.5-35B-A3BTwo models
Labels79.177.279.379.888.281.288.2
Extraction60.356.272.265.876.468.076.4
Reading83.481.384.484.587.885.288.0
Math88.589.091.086.891.089.291.0
Code66.775.075.066.775.077.177.1
Commonsense81.889.581.581.881.592.091.8
Knowledge81.285.081.581.281.289.589.0

The pattern of test 4 held: the 4B with its files leads on labels, extraction and math, the mixture of experts on knowledge, commonsense and code, and two models take the better of each. Two models scored a little below the mixture of experts alone on commonsense and knowledge, where the router sent some of those questions to the 4B. The fresh code set has only 48 problems, so its differences are within noise.

The decision rule written down beforehand: with F1 and F2 met, the recommended setup is two models with the router in front.

Speed and memory: the plan, and what happened. The plan was to time both models loaded at once on the 500-question mix, each working on up to 16 questions at a time. That can't run on this laptop. Its GPU can address 35.2 GB (4.3 GB VRAM and 30.9 GB GTT). Qwen3.5-35B-A3B in llama-server holds about 24 GB, and the 4B with the better-file library about 12 GB. Three tries failed. Twice the 4B ran out of the 42% memory cap set for this run. With the cap at 60%, the machine ran out of memory: llama-server lost its GPU device, and the kernel's out-of-memory killer stopped the desktop app that ran the job queue. No result came from those tries. A dated amendment, written before any timing result, replaced the run: each side alone on its share of the same 500 questions, one after the other, memory summed.

On the 500-question mixScoreTimeCorrect per minuteMemoryCorrect per minute per GB
Two models, one side after the other88.021.6 min20.440.9 GB0.50
Qwen3.5-35B-A3B alone (test 8)81.35.8 min70.225.2 GB2.79
4B + better file per family (test 3)86.024.1 min17.815.3 GB1.16

One more thing that went wrong. After the out-of-memory crash, the job queue was restarted as a systemd user service. There, the code scorer's sandbox (unshare -rn, which needs unprivileged user namespaces) can't start, and every code answer scored as wrong without an error. That hit the first run of the mixture of experts' side: 0 of 37 MBPP answers passed, against 34 in test 8 with nearly identical answers. The scorer now stops with an error when its sandbox can't start, and that side was run again. No fresh-question code score was computed inside the service.

PredictionResult
Fresh scores within about 1.5 points of the old ones, a little lower for systems chosen on the old setsWithin 1.2 points. The systems chosen on the old sets didn't drop; the two models without files did
F1 and F2 met by 2 to 3 pointsMet: +4.1 and +2.0
R1 met, R2 by 3 to 5 points, R3 by about 1 point, R4 metMet: +2.7, +6.7, +1.7, +4.6
Two models: fewer correct answers per minute per GB than the 4B with files aloneMet: 0.50 against 1.16
Two models: more correct answers per minute per GB than the mixture of experts aloneNot met: 0.50 against 2.79

36. Test 10: the files in a faster engine

Every file so far ran in the transformers harness, which test 4 measured at about a third of llama.cpp's speed for the same plain 4B. In test 9 that made the 4B the slow side of the two-model setup: its 385 questions took 20 minutes, while Qwen3.5-35B-A3B answered its 115 in 58 seconds. Test 10 ran the 4B's better-file library (test 3) in llama.cpp.

What a file needs from an engine. llama.cpp b11853, the Vulkan build of tests 4 and 8, and the 4B at Q8_0 (4.6 GB). Nothing was downloaded.

Edit kindFilesWhat the engine has to offerllama.cpp b11853
Low-rank edits (trained files)labels, extraction, readingLoRA adapters switched per requestLoRA adapters; its server takes them per request but runs a batch with one set
Residual vectorsmath, codea vector added after chosen layers, from the last prompt token oncontrol vectors, through the C API only; the server loads one for all requests
Token biasescommonsensea bias per requestlogit_bias, per request
Output rows of zeros, or copies of another token's rowmathtwo operations on the logitsdone by the driver
Other output rowsnone herethe final hidden statethe embeddings output, which makes llama.cpp output every token of a batch

The stock server cannot run the written math and code files, so the test drives llama.cpp's own library (libllama.so) through its C API with a small driver: 16 sequences at once, continuous batching, greedy, the model's stop tokens, prompts as token ids rendered as in every test. One decode call has one adapter set and one control vector, so a batch cannot mix files: the driver runs one file's questions after another. The trained adapters were converted with llama.cpp's own convert_lora_to_gguf.py (200 modules each, 122 MB at f32). Engines with per-request adapters in one batch exist, so the table, not llama.cpp, is the result.

Gates, before any test question. The driver against llama-server on the plain 4B: 36 of 40 validation answers identical (bar: 90%). Each file in llama.cpp (bf16 GGUF) against the harness, on the first answer token of 16 validation questions: the correlation of the change each file makes to the 50 highest logits was 0.9996 (labels), 0.9997 (extraction), 0.9996 (reading), 0.998 (math) and 0.985 (code); the commonsense file's ten biases arrived exactly; the same top token on 16 of 16 for every file.

Score.

SystemScore over the 20 test sets
4B + the better file per family, llama.cpp Q8_084.2
4B + the better file per family, harness bf16 (test 3)83.9
4B, plain, llama.cpp Q8_0 (test 4)77.7

The files kept their score: +0.3 against the harness (CI −0.1 to +0.6; criterion E1, CI lower bound above −1.5: met). 48 of 4,000 questions scored differently. Against the plain 4B in the same engine, the files added 6.5 points (CI +5.6 to +7.4). Per family the two engines were within 0.6 points everywhere.

Speed and memory, the 500-question mix, each system alone on the GPU, timed from the first routing call to the last answer:

On the 500-question mixScoreTimeCorrect per minuteMemoryCorrect per minute per GB
4B + files, llama.cpp85.63.8 min112.510.9 GB10.36
4B + files, harness (test 3)86.024.1 min17.815.3 GB1.16
4B + files, llama.cpp, in arrival order85.47.0 min60.910.9 GB5.59
4B, plain, the driver75.12.8 min134.29.8 GB13.66
4B, plain, llama-server75.13.4 min110.610.6 GB10.40
Qwen3.5-35B-A3B alone (test 8)81.35.8 min70.225.2 GB2.79
Two models, one after the other88.44.0 min111.037.3 GB2.98

What went wrong first, and was fixed before the runs the criteria use. All three changes were recorded as dated amendments, and none changes a file.

  1. The first timed runs, made while the writers of test 11 shared the machine, had the driver 1.8 times slower than llama-server. The driver listed a batch's sequences in the order its slots filled, llama.cpp computes them in ascending order, and when the two differ it swaps the 1 MB rows of logits back on every step. In ascending order, with 16 threads and a thread pool as the server has, the driver was as fast as the server on a validation profile (81.7 s against 90.2 s; before: 139.6 s).
  2. Math ran at 39 tokens per second against 146 for the plain model. To apply math's output rows the driver turned on llama.cpp's hidden-state output, which makes it output every token of a batch, prompts included. The 38 rows are 34 rows of zeros and 4 exact copies of other tokens' rows (the renames " Final" ← " Verify" and "Thus" ← "Alternatively"), so they need only the logits. Applied there, math checked against the harness again (0.998, 16 of 16) and was scored again: 90.9 on GSM8K and 90.0 on SVAMP either way, with 98 of 197 and 116 of 200 answers identical in text.
  3. The repeat counted the 2.5 GB of base rows the math conversion loads as the driver's memory. The conversion now runs before memory is sampled; the four driver runs were made once more.
PredictionResult
E1 met: the files keep their scoreMet: +0.3
E2 met, at 60 to 80 correct answers per minuteMet: 112.5 (6.3 times the harness)
E3 more likely met than not, at 65 to 80Met: 111.0
The 4B with files gives 6 to 8 correct answers per minute per GB10.4, more
Two models stay below Qwen3.5-35B-A3B alone per GB (about 2.0 to 2.3)Not met: 2.98, above
Both at once fits, at about 33 GB of 35.2Not run: the check's 2 GB margin failed; the two sides took 33.0 GB
Arrival order costs 1.5 to 2.5 times the grouped timeMet: 1.85 times

37. Test 11: Fable 5.2 as the writer

Every written file in tests 2 to 9 came from one writer model, Opus 5.5, in one run. Test 11 changed the writer and held everything else fixed: Fable 5.2 (claude-fable-5-2, released the same day) at reasoning effort "extra high" wrote the seven 4B family files again.

Setup. Three sessions grouped as the Opus 5.5 sessions were (labels, commonsense and knowledge; extraction and reading; math and code), each with its Opus 5.5 counterpart's brief, changed only in names and paths. The same rules: no training, at most 200 build questions, 60 forward batches and 8 candidates per family, the final file chosen by validation score. The writers worked in a sandbox built from what the Opus 5.5 writers had when they started: the harness, the 0.8B round's write-ups and scripts, and the train and validation splits. It held no 4B file, write-up, test question or result. Afterwards their transcripts were checked: 407 tool calls, every message from claude-fable-5-2 at extra high effort, no path outside the sandbox. The sessions took 3.5 to 4.9 hours each, sharing the GPU with test 10.

The files.

FamilyFable 5.2's fileValidation, plain → fileOpus 5.5's file (test 2)
Labelsone low-rank edit in layer 0 (70,656 weights, 141 KB)75.0 → 78.0a gated emotion-definitions edit (11,776 weights)
Extractionone low-rank edit in layer 31 (1.5 million weights, 3.0 MB)66.7 → 76.5low-rank edits in late layers (4.5 million weights)
Readingoutput-row edits and biases on 24 tokens (124 KB)82.0 → 82.2a stop bias and a row edit (2,561 weights)
Matha rank-one edit in layer 15 (11,776 weights, 24 KB)89.8 → 96.1output-row renames and steering vectors on five layers
Codea token bias and a rank-6 edit in layer 15 (142 KB)47.8 → 54.4steering vectors on five layers
Commonsensebiases on the letters A–E (218 bytes)79.7 → 79.7biases on the letters
Knowledgebiases on the letters A–D (208 bytes)75.8 → 76.6biases on the letters

Result.

4B system20 test sets19 fresh sets
Router + Fable 5.2 files79.681.0
Router + Opus 5.5 files79.680.5
Router + Fable 5.2 files, labels file left out79.079.9
Plain 4B77.877.7
Plain 9B78.977.8
Router + the better file per family (test 3)83.984.4
ComparisonDifference95% CICriterion
Fable 5.2 − Opus 5.5, fresh+0.5−0.3 to +1.3W1 not met
Fable 5.2 − Opus 5.5, test sets−0.1−0.7 to +0.6W2 not met
Fable 5.2 − plain 4B, fresh+3.3+2.5 to +4.2W3 met
Fable 5.2 − plain 9B, fresh+3.2+2.0 to +4.4–
Fable 5.2, labels file left out − Opus 5.5, fresh−0.6−1.3 to +0.1–

The two libraries are level. The decision rule written down beforehand: with W1 and W2 not met, within this budget the writer model was not what limited the files.

Family, Fable 5.2 − Opus 5.520 test sets19 fresh sets
Labels+2.1 (CI +0.9 to +3.3)+3.2 (CI +1.9 to +4.6)
Extraction−2.7 (CI −4.5 to −0.8)−3.6 (CI −5.4 to −1.9)
Reading−0.8 (CI −1.8 to +0.2)−0.8 (CI −2.0 to +0.4)
Math−3.0 (CI −5.8 to −0.2)+0.8 (CI −1.8 to +3.5)
Code+1.3 (CI −2.0 to +4.6)0.0 (48 problems)
Commonsense, knowledge0.0+0.5
PredictionResult
Within about 1 point of Opus 5.5's library, a little above (+0.5)Met: +0.5 fresh, −0.1 test sets
W1 and W2 more likely not met than metNot met, both
W3 metMet: +3.3
A clear difference, if any, from extraction or readingExtraction, against Fable 5.2 (−2.7 and −3.6); and labels, for it
The risk: a file tuned to about 100 validation rows that drops on held-out setsMath dropped on its own test set (GSM8K −1.5 against plain), not on SVAMP

38. More details from the blog post

Replacing and adding. A weight file holds a short list of edits. Some replace numbers: zeroing a token's output row in the 4B swaps 2,560 numbers for zeros. Most add a small change on top of weights that stay as they are. In Qwen3.5 the output layer shares its weights with the input embeddings, so overwriting a token's output row would also change how the model reads that token. The files never write to the base weights: a thin wrapper around each module it touches adjusts the module's output, and removing the wrapper restores the model exactly.

The MIT edit as a file. The published edit from "Sparks of Weight-Space Programming", installed as a file in the library: 130,188 changed weights in two MLP layers, 1.3 MB, hot-swapped in within 1.4 ms and out within 0.05 ms. Without thinking mode it changed nothing, as expected for an edit that fixes looping while the model thinks.

Per-label biases on the 0.8B. Opus 5.5 measured how much the plain model favours each label and wrote a correction for each label into one weight of its output row, 4 to 6 weights per file:

Task, 0.8BPlain modelOpus 5.5 written weightsTrained LoRA
Question type (TREC)59.065.5 (+6.5, CI +2.0 to +11.0)94.0
News topic (AG News)71.575.5 (+4.0)86.5
General knowledge (MMLU)37.541.0 (+3.5)–
Commonsense (CommonsenseQA)49.549.5 (unchanged)63.0
Emotion56.054.0 (−2.0)85.0

Thinking on the 0.8B stayed slow. Answering one question at a time, the 0.8B with the blunt thinking file took a median of 26 seconds per math question (ten questions timed). The 4B without thinking took 27 seconds and got 86.5% right.

Routing limits. The ten phrasings per task in test 1 are synthetic, and real requests vary more. In a separate test of routing on content alone, accuracy fell from 94% with 12 files to 87% with 33, almost all of it from look-alike tasks.

39. Related work

As of 6 November 2026:

40. Next steps

  1. Files on a mixture of experts. Opus 5.5 written weights per family for Qwen3.5-35B-A3B, including nudges to the router inside the model that picks its experts, and trained files where they win.
  2. The files in a serving engine, not a driver. Test 10 ran every file kind in llama.cpp through its C API. A server needs control vectors and adapters per request, ideally several in one batch: in arrival order, one file per batch cost 1.85 times the time.
  3. Two models on one machine with room for both. Above the idle level they took 33.0 GB together on a GPU that addresses 35.2 GB: too tight for the margin the test required.
  4. Knowledge from outside the model. Retrieval from a document store, for facts no model holds.
  5. Scale. Routing with 33 or more files and real requests, and a shared store the files are pulled from.
  6. The loop. Questions the system gets wrong go to Opus 5.5, which programs a new file or improves an old one. A file only joins the library if it improves new questions without hurting the others.

41. Limitations of part 3