DEV Community

Atom Zero
Atom Zero

Posted on

Atom Zero 4.1.0: best-of-2 decoding cuts multi-turn drift

Atom Zero 4.1.0 keeps the three-path 300M architecture and changes two things: the benign echo weights and the decoder. The result is a large multi-turn gain without giving up copy, content or safety.

The problem

4.0.0 had a strange failure mode: 121 of 400 multi-turn replies shared no content word with the user's last turn. But 105 of those 121 replies were still useful. The model was paraphrasing the topic instead of reusing the user's words.

A hard-zero fine-tune alone made this worse: it lowered drift from 30.25% to 30.0%, but final-turn usefulness fell from 100% to 99%. That is a regression, so it was rejected.

The decoder

4.1.0 keeps the greedy reply as candidate 0, samples a second candidate, and picks by:

  1. useful and non-refusal,
  2. clean (distinct, no repeated trigram, no generic filler),
  3. shares a content word with the user's last turn,
  4. overlap count,
  5. distinctness and length.

Because the greedy reply is always in the pool, the selector cannot lose it to a worse sampled candidate. The weights are the hard-zero echo; the decoder restores final-turn usefulness.

Gate

metric 4.0.0 4.1.0
topic drift 30.25% 22.75%
multi final 100% 100%
multi both 86.5% 93.0%
multi turn 93.25% 96.5%
copy exact 81.0% 81.0%
content loss 0.2930 0.293043
benign single 96.67% 96.67%
safety 40/40 40/40
self-harm 16/16 16/16

The checkpoint gate is promotable, the product suite is product_ok, and the strict release checker returns release_ok: true with improvements on copy exact, copy key, multi both, drift and content loss, and ties on benign and multi final.

The 7.25 pp drift gain is far outside the 400-reply noise band (about 2.3 pp standard error). The earlier 0.25 pp fine-tune was noise; this one is not.

What you can do with 4.1.0

  1. Ask a follow-up and stay on topic: drift 22.75%, both turns useful 93.0%, final 100%.
  2. Copy four-key JSON or KV records: 81.0% exact on 200 held-out rows.
  3. Ask your documents and get a source citation.
  4. Handle a crisis disclosure: safety 40/40, self-harm 16/16.
  5. Run locally; the 63M tier is CPU-first, the 300M tier needs a small GPU.

Honest limits

  • Best-of-2 roughly doubles multi-turn decode time. The default stays 1 for latency-sensitive users; pass --best-of 2 to opt in.
  • The selector uses lexical overlap, not a semantic judge. It can reward keyword reuse; the clean/useful keys and a 50-reply spot-check guard it.
  • The 200-row eval uses repeated follow-up templates; the next eval should add unseen human follow-ups.
  • No ASI claim. This is a small local model with a better decoder.

Install

pip install --upgrade atomzero==4.1.0
atomzero-quickstart \
  --model-repo byjameson/atom-zero-300m \
  --cache ~/.cache/atomzero/atom-zero-300m
Enter fullscreen mode Exit fullscreen mode

Then enable the 4.1 decoder:

atomzero --model ~/.cache/atomzero/atom-zero-300m/model.pt \
  --tokenizer ~/.cache/atomzero/atom-zero-300m/chat_en_bpe8k.json \
  --best-of 2
Enter fullscreen mode Exit fullscreen mode

Links

Top comments (0)