CLEVER HABITS

Post-training mechanics & bounded-compute reasoning on consumer silicon.

SPECIMEN 01 · QWEN3-4B-THINKING-2507 · ON-POLICY SELF-DISTILLATION

Less re-verification, more closed traces.

Small reasoning models exhaust bounded context budgets re-verifying solved steps, truncating before emitting an answer. brainzombie-4b-v0.1 adapts Qwen3-4B-Thinking-2507 via 3-round on-policy self-distillation (135 steps, 45 per round)—minimizing per-token reverse KL toward a brevity-prompted self-teacher—to trim redundant verification loops and close </think> within 6,144 tokens.

PAIRED EVALUATION LEDGER · GATE 0 (LORA ARM VS. FROZEN BASE, 6,144-TOKEN CAP) RELEASE v0.1 · DEC 2026
01 · MATH-500 Accuracy
68.8%

vs. 58.0% on Qwen3-4B-Thinking-2507 (+10.8 pp, n = 500)

02 · Thinking Tokens / Solved
0.56×

MATH-500 only: 0.560× (n = 281, 90% CI [0.533, 0.588]); pooled both-correct n = 383: 0.568× (95% CI [0.541, 0.596])

03 · Finished Within 6,144 Tokens
71.8%

vs. 59.2% on Qwen3-4B-Thinking-2507 (141 vs. 204 capped rows)

Untouched holdout check (evaluated release Q8_0): 33/50 vs. 30/50 (+6.0 pp, 90% CI [0.0, +14.0]). AIME 2025 (earlier bf16-merged Q8_0 vs. frozen base): 0/30 on both arms, all 30 capped at 6,144.

PLATE I · MATH-500 EMPIRICAL THINK-LENGTH DISTRIBUTION (N = 500)
brainzombie-4b-v0.1 Qwen3-4B-Thinking-2507 (base)
ROWS PER 512-TOKEN BIN ↑ 180 120 60 0 6,144 CAP 172 127 0 1,024 2,048 3,072 4,096 5,120 6,144 Unclosed <think>
Fig. 1 — MATH-500 <think> token counts up to first </think> (512-token bins, Gate 0). Base leaves <think> unclosed at 6,144 tokens on 172 rows (34.4%, plus 32 that close </think> and cap in the answer; 204 total). brainzombie-4b-v0.1 shifts mass below 2,048 tokens and lowers unclosed <think> caps to 127 rows (25.4%, plus 14 capped in the answer; 141 total).
Fig. 2 — Trace Specimen (MATH-500 · number_theory/911) If 1 + 12 + 123 + 1234 + 12345 + 123456 + 1234567 + 12345678 ≡ n (mod 9), 0 ≤ n < 9, what is n?
ROW 1 · Qwen3-4B-Thinking-2507 (base · same-seed CPU re-sample) 6,144 / 6,144 tokens · UNCLOSED
[prompt <think>] This is a complex or challenging question, and it is difficult to provide a direct and correct answer. I need to think about it.⏎Well, so I need to find the sum of all these numbers from 1 up to 12345 [...] So 120=9*13 + 3, so 120≡3 mod9. Therefore, n=3?⏎⏎Wait, but hold on, wait a second. Wait, is there another way to compute the original sum mod9 without going through digit sums? Maybe by noting that [...] first, which is equivalent to each term's digit sum mod9, so adding those up and modding at the end is the same as the total digit sum mod9. The third method is brute force but confirms the result without relying on the digit sum trick for the total [TRUNCATED AT 6,144 / 6,144 TOKENS — NO </think> — WRONG]

Note: Gate 0 recorded base at 6,144 tokens unclosed and wrong without saving raw text; excerpt is a same-seed CPU re-sample that reaches “120≡3 mod9. Therefore, n=3?” before looping into the cap.

ROW 2 · brainzombie-4b-v0.1 (Gate 0 trace) </think> at 1,512 tokens (2,013 total) · CLOSED
[prompt <think>] Okay, let's see. I need to find the sum of these numbers: 1, 12, 123, 1234, 12345, 123456, 1234567, 12345678, and then find that sum modulo 9. Hmm, modulo 9... I remember that a number is congruent to [...] + 3 = 4. Correct.⏎⏎Another example: 1 + 12 + 123. 1 + 12 = 13, 13 + 123 = 136. 136 mod 9: 1+3+6=10, 1+0=1. Digit sums: 1 + 3 + 6 = 10, 10 mod 9 = 1. Correct. So that works.⏎⏎So the method is valid.⏎⏎Therefore, the answer is 3.⏎</think> [...] ### Final Answer⏎⏎[...] \boxed{3} [...]
LOCAL SERVING · LLAMA.CPP (8–16 GB VRAM) APACHE-2.0 · Q8_0 · Q4_K_M · F32 LORA
llama-server -hf cleverhabits/brainzombie-4b-v0.1:Q4_K_M -c 8192 -ngl 99