Axion 1.0: The Agent Recipe Where the Judge Never Sees the Answer — aniketkarneai.com | aniketkarneai.com
Wednesday, November 11, 2026 Field notes on autonomous systems ● Amsterdam, NL
daily

Axion 1.0: The Agent Recipe Where the Judge Never Sees the Answer

ByteDance's Axion 1.0 claims a deliberately plain training pipeline: two SFT stages and one asynchronous GRPO run, no mid-training, DPO, or on-policy distillation. Most of the interesting engineering turned out to be in the data construction code, and the provenance file states plainly which parts of the original run could not be recovered.

The prompt file that convinced me to read the rest of the repo was axion/datagen/stage1/prompts.py, and it wasn’t the one I expected. I had gone looking for how they verify synthetic training data, and what I found was a grader with a deliberate blindfold.

AUDIT = """You are auditing a solution to a problem. You are NOT given the correct answer --
judge purely from the reasoning itself.

Check the derivation step by step. Look for: algebra slips, unjustified jumps, a misread of
the problem statement, a case that was silently dropped, an arithmetic error, or a final
answer that does not follow from the work shown. Also say if the PROBLEM itself is ill-posed,
self-contradictory or under-specified.

End with EXACTLY these two lines:
FIRST_BAD_STEP: <short quote of the first step that is wrong, or NONE>
VERDICT: <CORRECT if the final answer is right, INCORRECT if wrong, ILL_POSED if the problem
is broken, UNSURE if you genuinely cannot tell>

That’s Axion 1.0, from ByteDance with Duke, UMD, and Buffalo, published as arXiv:2611.03233 on November 2. Two sizes: a 35B-A3B MoE and a 122B-A10B MoE, built on Qwen3.6 and Qwen3.5 bases respectively. The headline claim is about subtraction. No mid-training stage, no DPO, no on-policy distillation. Two SFT stages and one asynchronous GRPO run, and that is the entire recipe.

The release ships more than weights: the data generation code, the prompts, the training code, the trajectory data itself on Hugging Face (10,819 Stage I trajectories, 7,544 Stage II trajectories, 484 RL tasks), and a provenance.json that tracks SHA-256 hashes of the exact datasets and checkpoints used in the reference runs.

The part that is not subtraction

The interesting engineering went into making the training data, and the two stages use opposite methods.

Stage I deals with problems the model can solve on its own, the kind with a checkable answer in physics, chemistry, or math. The seed problems are usually too easy, so the pipeline turns them into something harder and then makes them harder again, but only when the base model happens to solve them.

The generator does a “composition” operation: take the seed, find a quantity its solution establishes, and build a new question that needs that quantity as an intermediate step. If the base model can’t solve the composed question, it goes straight into the candidate bank. If the base model can, the pipeline hands its actual solution text to the generator and applies one of four operations at random.

The paper’s Figure 2 shows the four operations on a toy seed, and the table is more useful than the description:

OperationSeed questionBecomesAnswer
A · Composition1 + 2 + … + 10 = 55find 1 + 2 + … + S1540
B · Parameterization”find 1 + 2 + … + nn(n + 1) / 2
C · Range Shift”find 1 + 2 + … + 10^125×10^23 + 5×10^11
D · Case Analysis”find 1 − 2 + 3 − 4 + … ± nn even: −n/2, n odd: (n + 1) / 2

The stage1 README works through a real one from DeepMath-103K. The seed is the limit of (n!)^(1/n) / n as n goes to infinity, answer 1/e. It gets composed into: for which integers m does F(z) = Σ_{n≥1} (n!/n^n) z^n converge? The radius of convergence turns out to be 1 / (the seed's limit), so the solver has to pass through 1/e without being able to route around it. The base model gets |m| < e and then lists the integers, so it needs to be harder. The pipeline rewrites it again: for each non-negative integer k, find those k for which S_k = {m ∈ Z : F(m² - km - 2) converges} has exactly 4 elements. Reusing the old answer lands on a wrong one, because the condition now has to be turned into an inequality and solved per k.

That attacking-the-route-it-took idea is the core of the method, and the README is explicit that the rewrite needs the solution text, not just the final answer:

python gen_from_solution.py --judgment judgment_results.json --traj-dir rollouts/ \
    --out attacked.jsonl --model gpt-5.5

And this is where the blindfold comes back in. That audit prompt is how a rewritten problem gets its reference answer. The auditor reads the derivation and never sees what the answer is supposed to be, so it can’t rubber-stamp by pattern-matching a known value. It returns the first bad step and a verdict, including ILL_POSED for problems that don’t have a well-defined answer.

The paper describes a second verification layer on top of this one: GPT-5.5 solves each candidate problem three times independently, and the reference answer is only accepted when all three agree and their derivations pass correctness checks. After every rewrite, the answer is re-established from scratch rather than inherited from the previous version of the question.

Stage II throws the model out of the loop entirely

Stage II handles questions where the answer isn’t in the prompt: entity facts and derived quantities pulled out of public databases. NASA Exoplanet Archive, OurAirports, GeoNames, Glottolog, WRI Global Power Plant, OpenAlex, UniProt, Ensembl.

The construction pattern is filter, select, compute, verbalize. Filter the source records down to a candidate set. Select exactly one entity by some criterion. Compute a derived quantity deterministically. Then hand all of that to an LLM to phrase as a natural-language question, keeping the programmatically computed answer intact.

No LLM sits in the answer path, which is the entire point. A question about the mean density of the least massive ringed planet gets its reference answer from arithmetic over catalogue rows, not from a model that might have memorized a Wikipedia table.

I wanted to see this work rather than take the README’s word for it, so I ran the exoplanet generator. It needs no API key and no GPU:

python generators/gen_single_row.py --n 5 --out exo.jsonl --cache ./data/pscomppars.csv

It downloaded the pscomppars table (6,464 confirmed planets) and produced this:

[data] 6464 planets
   1  exo-bf46b557  EPIC 201497682 b       pl_rade      smallest vesc     -> 6.86 km/s
   2  exo-086cef5b  Kepler-444 b           pl_rade      smallest gravity  -> 2.26 m/s^2
   3  exo-83ad8eb1  TOI-6255 b             pl_insol     largest  depth    -> 713 ppm
   4  exo-8ae11079  HD 63454 b             pl_dens      smallest vorb     -> 154 km/s
   5  exo-20a35398  WD 0806-661 b          st_teff      largest  density  -> 6.91 g/cm^3
DONE  5 questions  rejections: {'ok': 5, 'same_qty': 1, 'pool_small': 2, 'field_sparse': 2, 'margin': 2}

The last line is the part I’d point at. Twelve candidate configurations were tried and seven died before five questions survived, and the rejection reasons map one-to-one onto the guardrails in the paper. pool_small when the filter leaves too few candidates. field_sparse when the discriminating column has gaps. same_qty when the selection criterion doesn’t identify a unique entity. And margin when the winner sits too close to the runner-up for the answer to be stable.

That last rejection reason matters more than it looks. If two rows are nearly tied on the field you’re selecting on, the computed answer is stable but the question is ambiguous, because a solver could reasonably land on the other row. The generator stores the relative margin in the output metadata, and my first item shows margin: 0.1732 against runner-up L 98-59 b.

The generated item is more interesting than the toy sample in the paper. Item 1 reads:

Consider all confirmed exoplanets announced in 2019. Among them, take the one with the smallest planetary radius. For that planet, determine its escape velocity in km/s, treating it as a uniform sphere. Use G = 6.67430e-11 m^3 kg^-1 s^-2; M_Earth = 5.9722e24 kg; R_Earth = 6371 km. Give the numerical value to three significant figures.

The JSONL carries the answer as ground_truth, a walk field with the record-level steps, and a meta block with the pool size (192 for that one), the runner-up, and the margin. The source archive is deliberately not named in the question text, so the solver has to work out which catalogue holds the parameters before it can look anything up.

One more filter runs after generation. The construction databases are blocked during trajectory collection, and the pipeline additionally probes each question with no retrieval tools at all, dropping the ones a model can already answer from memory. That script is closedbook_filter.py, and it prints its hit rate per source when it finishes.

Reward: one point for right, partial credit for getting somewhere

The RL stage is asynchronous GRPO on the 122B, eight rollouts per prompt at temperature 1.0, optimizer batch of 24 prompt groups. Task selection happens first, and it’s a separate step from training: four trajectories are sampled per candidate question, and the question is kept only if at least one reaches the right answer and the four rewards have nonzero variance. Without that variance there is no group-relative signal to learn from.

The reward function is where I found the cleanest piece of engineering. From the paper:

R(tau; y, z) = 1                                 if the final answer is correct
               max(0, 0.3 * P - 0.1 * (1 - A))   otherwise

A is whether a valid answer was submitted at all. P is verified intermediate progress, computed over an ordered chain of dependency targets:

P(tau; z) = (1/m) * sum over j of (product over l <= j of b_l)

So in a three-step chain, passing checks 1 and 3 but not 2 gives you 1/3, not 2/3. A later step only earns credit if every prerequisite was established first. The multiplication, not the sum, is the design choice, and it’s what stops a model from collecting partial credit for steps it skipped to get there.

The implementation is one line in axion/training/rl/process_reward.py:

reward = max(0.0, 0.3 * progress - 0.1 * (not answered))

with the same structure in reward.py. A detail that took me a second read: the 0.1 penalty applies to the non-submission case, so a trajectory that does real work but never emits a final answer gets scored down. That is a direct defense against the classic failure mode where the model rambles and never commits to anything.

One more thing about the RL stack that surprised me. THIRD_PARTY.md records that axion/training/rl/ is derived from OSU-NLP-Group/QUEST, and the reward manager class is literally named DeepResearchRewardManager with a 2025 DeepResearch authors copyright header. The search and scholar tools are HTTP services with SQLite cache and FAISS over Serper results. The RL half of Axion 1.0 is a fork of an existing open deep-research harness with the Axion reward wired in.

The infrastructure, briefly

Two things in the training stack are worth naming because they’d be silent killers otherwise.

TITO, Token-In-Token-Out: when you split a long rollout into sessions for context condensation, re-rendering the messages and re-tokenizing them can produce different token IDs than the original sequence, because BPE is sensitive to where the boundaries fall. You end up training on a slightly different token sequence than the one the rollout engine sampled. TITO keeps token IDs in a shared buffer and hands the trainer that buffer plus a mask of which positions were policy-generated.

R3, Rollout Routing Replay: with MoE models, vLLM and Megatron can pick different experts for the same tokens even with identical weights. R3 records the selected experts per token per MoE layer during rollout and replays them in the trainer’s forward pass. The routing records are uint8, about 20 MB per sample. On the 122B, R3 drops mean gradient norm from 1.998 to 1.922 and mean PPO KL from 0.0413 to 0.0396, while the largest gradient spike goes from 21.1 to 26.8 and reward standard deviation rises 15%. Better average consistency, not the absence of instability.

Cost, for the 122B: two SFT stages on 32 GPUs at a 128K context window, 3h32m and 3h58m, about 240 GPU-hours, peak 113 GiB per GPU. Activation memory alone exceeds 1.4 MiB per token for that model, which is why they use context parallelism with degree 4, Ring Attention for the full-attention layers and an Ulysses-style all-to-all for the gated-delta-net layers. The 35B version is about 90 GPU-hours.

What “fully open” actually means here

This is where I got more skeptical, and the repo is at least honest about it.

axion/training/sft/provenance.json contains a validation field whose value is “CPU/static publication checks only; no distributed GPU training has been rerun.” The runtime_evidence block records complete_environment_lock: false and exact_training_image_commit: null. The vendored ms-swift is described as an “Axion development snapshot; revision is not a public upstream commit.” The paper’s training environment cannot be reconstructed from the release, only approximated from the recorded versions of Megatron-core 0.17.1, mcore-bridge 1.4.3, and Transformers 5.10.4.

So the released code is a careful reconstruction of the original run, not the original run. The hashes let you check whether your data matches what they used. They don’t let you check whether your code matches what they ran.

Smaller things, all disclosed. The SFT config saves micro-batch size 1, while Section 5.1 of the paper says micro-batch size 2 gives the highest throughput, and the README points at the conflict instead of hiding it. The Hugging Face release contains 10,819 Stage I trajectories, but the reference 122B run consumed 9,840 conversations of them. And the units on the two token counts are different: the paper’s “841M tokens” for Stage I is 277,397,139 template tokens times three epochs plus about 1%, while the README’s “~312M tokens” for Stage II is a single pass over 312,161,019 tokens. Those numbers are not comparable as written.

The chart the README leads with is complete and includes Claude Opus 5 at 63.6 on HLE and 49.4 on BioMysteryBench. The smaller markdown table next to it is not. It drops seven of the fourteen rows in the paper’s Table 1, including Claude Opus 5, which happens to hold the top BioMysteryBench score. Fine for a README, worth knowing if you’re reading the table instead of the figure.

And the HLE comparison in the chart uses restricted website access. The paper mentions in passing that without those restrictions the same checkpoints score 59.1 and 64.8. 64.8 would be above Claude Fable 5’s 63.8 on the same benchmark. It isn’t in the chart, and I don’t know whether the baseline numbers came from the same restricted setting, since the paper warns that cross-source comparisons may involve different execution settings. I’d rather flag that gap than guess at it.

The part I can’t resolve

The released RL pool is 484 tasks. Eight rollouts each is 3,872 trajectories, and at 24 prompt groups per optimizer batch that’s roughly 20 optimizer batches per pass over the pool. The rollout context is 61,152 tokens against an SFT context of 131,072, and the whole thing runs on the same 122B base as the SFT.

Whether partial-credit shaping on 484 tasks does meaningful work, or whether the SFT stages already put most of the capability in place, is not something I can answer from the released artifacts. The paper’s own checkpoint table argues most of the gain arrives during SFT, with RL adding the last few points on the benchmarks where it helps at all, and hurting on others: 35B goes from 58.3 to 56.7 on FrontierScience Research after RL, and 46.8 to 45.7 on HiPhO.

I also haven’t run the RL side, and I can’t run the SFT side, which is the honest limit of what I checked. What I could check was the data pipeline, and it produced exactly what it claimed: five questions with computed ground truth from a table of 6,464 planets, with candidates rejected for reasons that map onto the paper’s description.

The thing I want to try next is the closed-book filter on those same questions, to see how many of them a strong model could answer with no retrieval at all. If the number is low, the tool-dependence claim holds. If it isn’t, the pipeline is generating questions that look like they require search but don’t.

Aniket Karne
DevOps & AI Engineer · Amsterdam
Back to all posts
Reader correspondence

Comments

Powered by GitHub Discussions via Giscus. Sign in with GitHub to leave a comment.