The Community Teaches the Smallest Model: Context First, Training Last
When you want a small model to know something, put it in the context. Train only what context cannot fix, and ship a tune only when the full bench says it won.
That rule comes from measurements we published this week, and it is the design rule for what we build next: learning journeys for people (Aither Sprite and Aither Academy), shared knowledge bases, graphs and agents, and a community post-training loop that makes the smallest Bonsai models good enough to run the app, the agents and the framework on edge devices. The loop has two halves. The first half, the gate, is built and measured. The second half, the contributions it gates, is a plan, and this post says which is which.
What we measured
On 2026-11-11 we ran two small models, Bonsai 2 27B and Gemma 4 12B, through the full AitherBench: 23 dimensions, 15 items each, 345 items in all.
| measurement | result | source |
|---|---|---|
| full bench, Bonsai 2 27B vs Gemma 4 12B | 0.746 vs 0.762, paired delta +0.013, 95% CI [-0.025, +0.052]: a tie | Two Small Models, One GPU |
stack_ops, no help | 0.00 for both models (15 of 15 wrong) | same run |
stack_ops, 6.8 KB rules block in the system prompt | Bonsai 0.93 [+0.80, +1.00]; Gemma 0.80 [+0.60, +1.00] | Fix a Model's Gap |
stack_ops, LoRA with 211 rows of the same facts | Bonsai +0.00 [+0.00, +0.00] | same post |
| generic LoRA corpus, both models | each lost one dimension it was not trained on (doctrine -0.33, six_pillars -0.29) | same post |
| anchored corpus (v25), both models | no dimension lost; best overall gain +0.020 [+0.000, +0.044]; not promoted | same post |
stack_ops asks for one correct shell command on our own stack. No public model has seen
that stack, so the gap is knowledge, not skill. Knowledge is cheaper to supply than to
train: the rules block updates the moment someone adds a row, and it cost no GPU time.
Training paid off only where the gap was a format the model had never produced, and even
there the gains were small at about 2,400 rows.
The mechanism: one file of facts, one gate
The facts live in one file, stack_gotchas.yaml. Each row records
the situation that triggers a trap, the wrong form an agent reaches for, and the right form.
It had 44 rows when we measured. Rendered into the prompt, each row is one line:
- {trigger}: NOT `{wrong}` -> USE `{right}`
The gate is eval_report.py. For every item both runs answered, it
takes the score difference and draws 2,000 seeded bootstrap resamples (BOOT = 2000). A
delta is significant only when its 95% interval excludes zero:
"ci95": [lo, hi], "wins": sum(d > 0 for d in diffs),
"significant": lo > 0 or hi < 0,
Unjudged items (an empty answer, a transport error) are left out of both sides, never
scored as zero, and runs whose item sets have different fingerprints are marked not
comparable. A trained adapter goes through adapter_promotion_gate.py, which
fails closed: with no evaluator, an evaluator that raises, or a score it cannot produce,
the adapter stays a candidate on disk and is never served. Promotion needs an overall lower
bound above zero and no dimension lost. All four LoRA runs so far were rejected by that
rule, which is the rule working.
The bench also runs without our hardware. .github/workflows/bench-matrix.yml gives every
AitherBench item its own GitHub-hosted runner and serves the model there with llama.cpp from
sha256-verified weights. A combine step recomputes the score from the per-item parts with
the bench's own rules. Wall time becomes the slowest single item plus setup: the 65-item
suite on one 4-vCPU runner took 31 minutes for Bonsai 1 4B and hit the 340-minute job limit
for the reasoning Bonsai 2 4B. Anyone can rerun a claim; nobody needs our GPU to check it.
The design that follows
Because context beats training for knowledge, and an unanchored corpus damages what it leaves out, contributions enter in this order:
| contribution | what it is | the check that admits it |
|---|---|---|
| context pack | rows of facts in the trigger / wrong / right shape, or a knowledge base an agent retrieves from | the dimension it targets moves on the bench with the pack in context, paired CI excludes zero |
| eval items | new bench items with a deterministic grader | item-set fingerprint recorded; no overlap with training rows |
| anchored corpus | training rows mixed with the base model's own correct answers (about 45% in v25) and rejection-sampled teacher rows | every teacher row passes a checker before it goes in |
| adapter | a LoRA trained on an anchored corpus | full 345-item bench against its own base: lower bound > 0, no dimension lost |
Most community work should stop at the first two rows. A context pack is readable, small, removable, and it helps every model at once.
Contributions use the path awdk already ships. adk contribute starts with every category
off, strips secrets and personal details on your machine, shows the exact payload with
adk contribute preview, and tags each category with a licence tier: private training
only, CC BY 4.0, or CC0 1.0. adk contribute delete removes your rows from staging, review
and every training set and open dataset already built. Details are in
Share What Your Agents Learn, On Your Terms.
Edge targets
The point of tuning the smallest models is to run where people already are:
- In a browser tab. Our WebGPU runtime runs every Bonsai size; the 1.7B model is a 236 MB download, verified against llama.cpp on byte-identical weights (All Four Bonsai Sizes Now Run in Your Browser).
- On a laptop. awdk runs the agent loop, memory and model locally; the small-device
worker,
adk mesh worker, ships withDEFAULT_MODEL = "bonsai-1.7b"inawdk/adk/mesh_worker.py.
The bench-matrix runner, 4 vCPU and no GPU, is close to that class of device, so a claim about a small model can be checked on the same kind of box it will run on.
The plan (not built yet)
Everything in this section is a plan. A build plan is being written now
(docs/plans/2026-11-13-community-learning-world-engine.md).
- Learning journeys. Aither Sprite already grows with a learner: in a classroom, each student hatches a sprite, and the teacher sees its name, look and stage, never its knowledge or chat (the classroom sprite router). Aither Academy is the lesson studio. The plan connects the two, so what a learner masters becomes a context pack their sprite carries, and what a class gets wrong becomes eval items.
- Shared knowledge, graphs and agents. People and their agents publish knowledge bases, graphs and agent packs, opt-in and licence-tagged, and others discover them. The bench decides which packs are default for a model; popularity does not.
- The world engine for post-training. A continuous loop: contributions in, the gate above, the smallest Bonsai improved for the edge, results published with their CIs. Rejected runs are kept as candidates, never served.
- AitherNet and a contributor economy. A design for crediting the people whose compute,
evals and packs make the models better. It is a design only. Nothing pays out, issues
credits, or offers anything of value today; the settlement code ships with
AITHER_COMMUNITY_TOKEN_RATE_USDdefaulting to0.0. This is not an investment or an earnings opportunity, and any future version goes through legal review first.
What to do with this
If you want a small model to be better at your stack, write the facts down as rows and test them in context before you rent a GPU. If you want to help everyone's small model, contribute a context pack or eval items, and let the full bench decide what ships.
Keep the journal free
Sponsorship pays for the compute, the hardware and the hours behind these entries.
by email
New journal entries, in your inbox.
What the agents built, broke and fixed. One message per entry.