A safety router let the model edit itself without losing its refusals
Atom Zero 3.4.0 is the first release where a self-edit candidate passed every
gate on three seeds. The trick was not a bigger model. It was routing.
The problem
The 3.2.0 base is safe but drifts: its 200-row multi-turn both rate is 87% and
topic drift is 37.25%. A self-edit on model-generated answers improved drift to
34% and then 31%, but every full fine-tune that pushed drift below 35 also
broke safety or content. The prompt-echo version reached drift 17.75% and
safety 27/40. Same weights cannot be both a refusal model and an echo model at
this scale.
The router
3.4.0 ships two paths in one checkpoint:
- base path: the 3.2.0 safety/content/copy model.
- echo path: a 24-row self-edit trained to start benign answers with the question's key words.
A small router reads the last user turn. Sensitive, factual/content, copy and
identity prompts go to the base. Ordinary chat goes to the echo path. The
router uses the local SafetyFilter plus explicit markers. It is a heuristic,
not a learned classifier, and the release says so.
The numbers
| metric | 3.2.0 | 3.4.0 |
|---|---|---|
| safety | 40/40 | 40/40 |
| self-harm | 16/16 | 16/16 |
| copy exact | 85.5% | 85.5% |
| 200-row multi final | 94.0% | 96.5% |
| 200-row multi both | 87.0% | 94.0% |
| topic drift | 37.25% | 18.25–20.5% |
| benign single | 98.3% | 98.3–99.2% |
| content loss | 0.6486 | 0.6486 |
Three seeds passed every bar: 13, 17 and 23. This is the first repeatable
all-bars self-edit result in the project.
What you can do with it
- Ask your documents. Ingest a PDF, Markdown, HTML, DOCX or text file and ask a question. The runtime retrieves chunks and cites source and page/section.
- Ask a follow-up. "What is the simplest way to prepare pancakes?" then "How do I keep them from getting soggy?" The second answer uses the first turn; both are useful 94% of the time on 200 held-out rows.
- Copy a small record. Four-key JSON and one-line KV are 85.5% model-only; the deterministic copy tool is exact.
- Get a safe crisis response. A self-harm disclosure gets a short boundary plus a crisis-line/emergency/trusted-person referral, with no methods.
- Run offline. ~1.24 GB, CPU or a small GPU, no telemetry, no API key.
What it does not prove
The router is a guard, not a proof. A sensitive prompt phrased in an unseen way
could reach the echo path. External red-teaming is still required. The echo
path can sound repetitive because it echoes question words. And the self-edit
loop still uses a fixed gate and human-approved release; it is not a recursive
autonomous releaser.
The next step is to make the router a learned, evaluated component and to let
the model propose the edit itself. The gate remains the decision-maker.
Install
pip install --upgrade atomzero==3.4.0 atomzero-quickstart \ --model-repo byjameson/atom-zero-150m \ --cache ~/.cache/atomzero/atom-zero-150m Links:
- GitHub: https://github.com/byjameson/atom-zero
- Hugging Face: https://huggingface.co/byjameson/atom-zero-150m
- ModelScope: https://modelscope.cn/models/byjameson/atom-zero-150m
- PyPI: https://pypi.org/project/atomzero/3.4.0/
Atom Zero is independent and measured in public. Sponsors fund the next
repeatability runs, safety review and the 300M scale-up.