A judge model writes a short quality note for each training document, once, before training starts. The language model then trains on the note followed by the document. A 7.5B model reaches the same score with up to 2.8× less compute, and that count includes the cost of writing the notes.
Pick a benchmark and drag the target score. Read how much compute plain training needs to reach it, and how much IXT needs. Then switch the training document to see the note the model reads first. After that, we build the whole method from zero: conditioning, the loss, the judge, the cost, and what happens when you ask for the best.
You need next-token prediction (a language model learns by guessing the next token of real text) and what a training epoch is (one pass over the data). We build the rest.
Drag the target. The arrow shows how much compute each method needs to reach it.
Curve points read from the paper's Figure 1: a 7.5B transformer, first pretrained for 95B tokens, then trained further for 1 to 16 epochs on Crane Math or 1 to 8 epochs on Swallow Code. Read values are within about half a point. The paper labels the MATH panel "Minerva"; its best plain score, 38.9, matches MATH in Table 5. IXT points sit to the right because their compute includes the one-time labelling cost. Between points the read-out interpolates on the log-compute axis. Documents and notes are the paper's Figure 1 examples.
Chapter 0
See why pretraining treats a textbook and a cookie banner as equals, and what the usual fixes throw away
Picture three web pages about chemical buffers. The first works a real example: 0.1 M acetic acid, 0.15 M sodium acetate, pH 4.94. The second says buffers are "really important" five times and teaches nothing. The third is a copyright line, a tag list and a newsletter sign-up.
A language model in pretraining (the first, longest stage, on trillions of tokens of web text) learns from all three in the same way. It reads each token and tries to guess the next one. Every token adds the same weight to the loss. The model has no way to know that the first page is worth more than the third.
The usual fix is filtering: score each page with a quality classifier and drop the low ones. Later stages filter much harder. Supervised fine-tuning (SFT) uses small, curated sets of examples. So quality enters the pipeline mostly as a yes or no, and mostly late.
Try the three ways to treat these pages. Watch what the model gets to learn from each one.
The scores 5, 3 and 1 come from a judge model, as in the paper's Figure 1. Pick a way to train and read what each page contributes.
The Henderson-Hasselbalch equation relates pH to the ratio of base to acid. For 0.1 M acetic acid and 0.15 M sodium acetate, pH = 4.76 + 0.176 = 4.94.
Buffers are really important in chemistry and biology. They help keep the pH stable, which is crucial for many reactions. Scientists use buffers in labs all the time.
© 2024 ChemLearn Pro. All rights reserved. Tags: chemistry, buffers, pH. Subscribe to our newsletter for the latest updates!
The three documents and scores are the paper's Figure 1 examples, shortened. What each mode does is described in Sections 1 to 3; the read-out is a description, not a measurement.
Plain training blends the three pages into one notion of "text about buffers". Filtering keeps only the good page. It throws away tokens, and it throws away a lesson: what bad text looks like, and how it differs from good text.
The paper this lesson covers takes a third road. It calls it Introspective Training, or IXT. A judge model reads each document once and writes feedback about it. The feedback goes in front of the document, as a prefix. The model then trains on the prefix and the document together, with the normal loss.
Why would a note help? Because a model that knows "this page is junk" before it reads the page can learn junk as junk. It does not have to fold the junk into its idea of normal text. At test time we can then ask for the good kind, on purpose. Chapter 1 makes that precise.
The paper is from NVIDIA, with co-authors at the University of Washington, Carnegie Mellon and UC San Diego. It tests the idea from random initialization up to checkpoints that have seen 18 trillion tokens, and in SFT. It reports wins, a few losses, and one evaluation bug it found in itself. We will keep all of it. Here is the road.
Chapter 1
Learn how one label in front of the data splits a blurred average back into its parts
Start with a cooking school. A student reads a thousand recipes. Some come from great chefs, some are mediocre, and some are spam with a recipe buried inside. If nobody says which is which, the student learns an average cook. That average is worse than the great chefs.
Now put a card on top of each recipe: "five stars", "three stars", "one star". The student still reads all thousand. But now the student learns three cooks, and knows which is which. Ask for a five-star dish, and the student cooks like the great chefs.
A language model is that student. Its training data is a mixture: text of many qualities, mixed together. Plain training learns the whole mixture as one distribution. A quality label in front of each document lets the model learn each part of the mixture, and the label becomes a dial you can turn later.
The context is "the buffer's pH is". Four possible next words come from three kinds of document. Drag the share of junk documents, then choose what prefix the model sees.
A toy. Each kind of document has a fixed next-word distribution we chose; the model here is the exact count-based answer a model would converge to with unlimited data. The paper uses five tiers; we show three to keep the bars readable. Good and medium documents split the non-junk share equally.
Look at the plain case with 40% junk. The model gives "Subscribe" about a third of its probability after "the buffer's pH is". It has learned the average page, and the average page is partly spam. Switch the prefix to [high]. The junk word drops to zero, and the right answer, 4.94, gets three quarters.
Here is the arithmetic behind that. Call the quality label q. A plain model learns the total probability of the next text x, which is a weighted sum over the kinds of document:
A worked number, with 40% junk, 30% medium and 30% high. The chance of "Subscribe" is 0.3 × 0 + 0.3 × 0.05 + 0.4 × 0.80 = 0.335. The chance of "4.94" is 0.3 × 0.75 + 0.3 × 0.15 + 0.4 × 0 = 0.27. With the [high] prefix, the model reads only the high row: 4.94 gets 0.75 and Subscribe gets 0.
plain: 0.335 Subscribe, 0.27 “4.94” → [high]: 0 Subscribe, 0.75 “4.94”
The paper says IXT is "inspired by offline reward-conditioned reinforcement learning" (Sec. 1). In offline RL, an agent learns from a fixed log of past behavior, some good and some bad. One family of methods, best known through the Decision Transformer (Chen et al., 2021), turns this into sequence modeling.
The Decision Transformer writes each trajectory as a token sequence: the return-to-go (the reward still to come), then the state, then the action, and repeats. It trains with plain next-token prediction. At test time you write a high return-to-go in front, and the model acts like the trajectories that earned high returns. The diagram puts the two side by side.
Both put the outcome first and the behavior after it. Switch between them and watch which tokens the outcome token can steer.
A schematic. Decision Transformer: Chen et al., 2021, cited by the paper; reward tokens in language models: Quark (Lu et al., 2022), which the paper names as related work (Sec. 2).
IXT maps that recipe onto language data. The "reward" is the judge's quality feedback. The "trajectory" is the document. There is one outcome token per document, not one per step, because a document has one quality score.
The paper's related work names two close cousins. Quark (Lu et al., 2022) put reward tokens in front of text. Korbak et al. (2023) showed that conditioning on feedback scores during pretraining can reduce toxicity. IXT's new step is the target: not safety, but better skills, at every stage of the pipeline, with critiques written in plain language (Sec. 2).
Chapter 2
Trace which tokens the model is graded on in pretraining and in SFT, and see why the loss does not change
Chapter 1 used a toy with exact counts. A real model learns the same split through its loss. So which tokens is it graded on, and what does the prefix do to that grade?
First, the plain loss. A document is a sequence of tokens. At each position the model gives a probability to the true next token. The next-token prediction (NTP) loss adds up how surprised the model was at each position:
IXT keeps that loss and changes the sequence. A function φ turns the judge's annotation a into a short token prefix. The prefix goes in front of the document d. The model trains on the joined sequence:
Now the step that makes this clear. The log of a product is a sum of logs. So the loss on the joined sequence splits into two parts: the loss on the prefix, and the loss on the document given the prefix.
−log p(φ, d) = −log p(φ) + −log p(d | φ)
The second term is the one that matters. It trains the model to predict each document given its feedback. That is the conditional p(x | q) from Chapter 1, learned by gradient descent instead of counting. A junk token in a [low] document now pushes on the model's idea of [low] text. It no longer pushes on its idea of text in general.
The first term is small. The prefix comes before the document, so the model must guess the feedback with nothing to read yet. Our reading: in a causal model, that part can only teach how common each feedback is, not which document earns it. The paper chose not to mask the prefix, "allowing the model to learn the relationship between feedback and the document" (Sec. 3.2). For critiques, which run a sentence or two, predicting the prefix also trains the model to write critiques.
A teal underline marks a token the model is graded on. Switch between the three set-ups.
Tokens are split by word for display; a real tokenizer splits differently. The masking rules are the paper's (Sec. 3.2): the prefix is not masked in pretraining or continued pretraining; in SFT it goes in the system message, which is masked. The SFT example is ours; the paper does not print one.
SFT is the one place where the rule changes. An SFT example is a whole conversation. IXT puts the feedback in the system message, the instructions at the top of a chat. Standard SFT already masks the system message from the loss. So in SFT the model reads the feedback but is never asked to predict it (Sec. 3.2).
One more detail matters later. In the paper's main pretraining run, only part of the data gets a prefix. Documents without one still train with a plain loss. Our reading: "no prefix" then has its own meaning, the unlabeled part of the data. Chapter 6 shows where that choice came from.
Chapter 3
Follow one document through the rubric, the five scores, the overall score and the critique, to the exact string the model trains on
Someone has to write the feedback, and nobody can grade trillions of tokens by hand. IXT uses a judge model: a language model that reads a document and grades it against a written rubric (a list of what good looks like).
The judge is Qwen3-30B-A3B, a mixture-of-experts model with about 30B parameters in total and about 3B used per token. It is the same judge for every experiment. It runs once, before training, and the paper counts its compute in every comparison (Sec. 3.1).
The rubric has five axes, adapted from QuRating (Wettig et al., 2024):
The judge first reasons about the document, step by step. Then it gives each axis an integer score from 1 to 5, with a one-to-two-sentence explanation. Last, it gives an overall score from 1 to 5 and an overall critique. The output is JSON. If the JSON breaks the schema, the paper resamples up to 3 times, then drops the document (App. A.1).
Pick a document. The bars show the judge's five axis scores and the overall score. Then choose the training format and read the exact string the model trains on.
Scores and critiques are the paper's: Figure 1 (overall score and critique only; the paper does not print axis scores for these three) and Figures 4 to 6 (all six scores). Documents are shortened. The critique format "{critique}, blank line, {document}" is from App. B.2. The paper does not print the exact separator for quality tokens; we show the same blank line.
Look at the contrapositive example (Figure 6). It is clear and correct, so it gets 5 for Efficiency and 4 for Educational Value. But it uses Los Angeles and California as its example, so Expertise gets a 2. Overall: 3. A human teacher might rate it higher for beginners. The rubric prefers depth and rare facts.
That bias matters later. The paper says plainly that its rubric "was designed for general-purpose text quality". For code it "likely conflates conventionality with quality": boilerplate, well-structured code was rated more highly than code that is correct and clever (App. A.1). Chapter 8 shows what that does at inference.
The paper lists the weak points of a model judge honestly. Scores may be calibrated differently across domains. Some axes overlap, such as Expertise and Fact Density. Critiques vary in style and detail (App. A.1). None of these stop the method from working. They do set a ceiling on how precise the feedback can be.
Chapter 4
Compare a five-level label with a written critique, then rank narrow SFT data by comparing pairs
The judge gives three things: five axis scores, an overall score and a critique. IXT turns them into a prefix in one of two ways. The paper calls the function that does this φ.
Templated quality tokens (φtok). The overall score maps to one of five labels: 1 to [low], 2 to [medium-low], 3 to [medium], 4 to [medium-high] and 5 to [high]. The labels are plain text, split by the normal tokenizer. They are not new special tokens, so the vocabulary does not change (Sec. 3.2). Unless the paper says otherwise, every IXT run uses these tokens.
Natural-language critiques (φcrit). The whole critique goes in front. A critique says why: "Readable but vague and lacks substance; a reader learns almost nothing." A single label cannot say that. The paper's north star is this form. It is closer to how a person gives feedback, and you can write a new one at test time.
| Quality token φtok | Critique φcrit | |
|---|---|---|
| Prefix length | a few tokens | one or two sentences |
| What it carries | the overall score only | the score's reasons, in words |
| At inference | try the 5 labels | search a list of written critiques (27 math, 23 code, 50 combined) |
| Dolmino average (Table 6) | 53.1 | 55.7 |
Where did the inference critiques come from? The paper used a coding agent (Claude) to search the training critiques and write representative ones for each score level. It added short generic ones too, such as "High quality content." Table 7 lists all of them (App. B.2). Chapter 9 compares the two forms.
SFT data is already curated. Ask the judge to score each example from 1 to 5, and most get 4 or 5. The scores are squeezed into a narrow band, so the labels carry little signal. The paper calls this compression (Sec. 3.1).
The fix is an old one from sports rankings. Do not ask "how good is this?" Ask "which of these two is better?" People and models are both more consistent at comparing than at scoring. Then turn many comparisons into one score per example with the Bradley-Terry model:
A worked number. If γi = 1.0 and γj = 0, then P = e / (e + 1) = 2.718 / 3.718 = 0.731. Fitting runs the other way. Given who beat whom, find the strengths that make those results most likely.
The paper's recipe (App. A.2), step by step:
Forty toy SFT examples have a hidden true quality. A noisy judge compares pairs. Set how many comparisons each example gets, run the judge, and see how well the fitted ranking matches the truth.
A toy with 40 examples and a simulated judge that follows the Bradley-Terry model. The fit uses gradient ascent, not L-BFGS, and has no ties. k = 7 and the percentile cut points are the paper's (App. A.2). Rank agreement is the Spearman correlation between true and fitted order.
With k = 1 the ranking is rough: rank agreement is often near 0.5. By k = 7 the toy usually lands around 0.8, and by k = 15 near 0.9. More comparisons buy a better ranking, at more judge compute. The paper found k = 7 "sufficient for the Bradley-Terry fit to converge to a stable ranking" on its SFT mixtures (App. A.2).
Chapter 5
Add the judge's compute to the training compute, and see where the hero's arrow comes from
"2.8× less compute" is only honest if the judge's work is on the bill. The paper puts it there. Every comparison uses total FLOPs: the training compute plus the one-time labelling compute (Sec. 4.3).
It uses the standard rule of thumb from Kaplan et al. (2020). Training a model with N parameters costs about 6N floating-point operations per token: 2N for the forward pass and 4N for the backward pass. Running a model costs about 2N per token, forward pass only.
A worked number. One epoch of the reweighted Dolmino blend is 106.2B tokens (App. C). So 6 × 7.5 × 109 × 106.2 × 109 = 4.78 × 1021 FLOPs. That matches the "~1 Epoch (4.8 × 1021)" label on Figure 2. The paper reports the labels for that epoch at 4.2 × 1020 FLOPs. That is 8.8% on top.
6 × 7.5B × 106.2B = 4.78 × 1021 · 4.2 × 1020 / 4.78 × 1021 = 8.8%
The same rule recovers the data sizes from the hero's axis. One epoch of Crane Math is 2.6 × 1020 FLOPs. Divide by 6 × 7.5B and you get 5.8B tokens, close to the 5.9B that Table 8 lists for crane-math. One epoch of Swallow Code is 7.6 × 1020 FLOPs, so about 16.9B tokens. The paper does not state that size; it is our derivation.
Pick a corpus and drag the number of epochs. The blue part of each bar is training; the purple part is the judge. Watch the purple share shrink as you repeat the data.
Training FLOPs per epoch are the paper's axis labels (Fig. 1, Fig. 2). Dolmino labelling, 4.2 × 1020 per epoch, is printed on Figure 2; it was run for at most 1 epoch, so the slider stops there. For Crane Math and Swallow Code the paper prints no labelling number; we read it from how far right the IXT points sit in Figure 1, about 0.39 and 0.43 of one epoch (roughly 1.0 × 1020 and 3.3 × 1020).
Two things follow. First, the labels are a fixed cost. On Crane Math they cost about 39% of one epoch, but only about 2.4% of a 16-epoch run. The more you reuse the data, the cheaper the labels get. Second, the hero's arrow already includes this cost. The IXT points sit to the right of the plain points for exactly this reason.
Here is the loop as data flow, with the sizes the paper gives (Sec. 4.1, App. B.1). Nothing about the judge is trained. The student is trained in full: every weight, no adapters.
| Part | Value (App. B.1) |
|---|---|
| Main model | 7.5B decoder-only transformer, 30 layers, hidden size 5,120, FFN size 13,824 |
| Attention | grouped-query: 40 query heads, 8 key-value groups, head size 128; RoPE with base 106 |
| Other choices | squared-ReLU FFN, RMSNorm, untied input and output embeddings, no biases, no dropout |
| Base checkpoint Mbase | 95B tokens of the Nemotron Nano v2 data (about 6.2T tokens of web, math and code) |
| Later checkpoints | a 12B Mamba-Transformer hybrid at 12T and 18T tokens; batch 736, LR decayed to 4.5 × 10−6 |
| SFT | 1.2M samples, batch 512, sequences up to 32,768 tokens, LR 10−5 |
| Hardware | NVIDIA DGX H100 and DGX GB200; 7, 8, 14 or 16 nodes |
Chapter 6
Test tagging against filtering on the same corpus, then read the curves on a general blend
Back to the obvious objection from Chapter 0. If the judge can spot junk, why not just delete it? Train only on the [high] documents and skip the labels.
The paper tests this directly (App. F). It trains the 95B base model on Crane Math in three ways. One run keeps only the top tier (score 5). One keeps the top two tiers (5 and 4), and one keeps the top three (5, 4 and 3). Every run still gets IXT labels. So the only difference is how much lower-quality data is kept. Each runs for 1, 2, 4 and 8 epochs, and the x axis is total FLOPs, because the subsets differ in size.
Each line keeps a different share of Crane Math. Switch lines on and off, and switch the benchmark. Watch the top-only line turn down.
Points read from the paper's Figure 9 (App. F) to within about half a point; FLOPs read from the log axis. All three runs use IXT quality tokens; they differ only in which tiers are kept. Red marks the configuration that degrades.
The top-only run peaks at about 32% on MATH after 4 epochs, then falls to about 27% at 8. It has seen its small, perfect dataset too many times and starts to memorize it. The paper says it "degrades past approximately 1021 FLOPs on both benchmarks" (App. F). The runs that keep more data keep climbing. At the end, top three reaches about 43% on MATH and GSM8K.
So deleting documents has a hidden cost. It shrinks the corpus, and a small corpus runs out. Keeping the lower tiers with honest labels gives the model more to learn from, and the labels stop the bad documents from blurring the good ones.
Crane Math is one domain. The paper also trains the 95B base model on Dolmino, a general mix of 16 sources totalling 106.2B tokens. It holds web pages, science PDFs, Stack Exchange, math, code, and more (App. C). The mix is reweighted to favor math, code and science, where the authors expected the quality signal to be strongest.
Then a design question. Should every document get a label, or only some? The paper tests both. "All annotations" labels the whole blend. "Specific subset annotation" labels only Crane Math and Crane Code (Table 3).
| Dolmino, 1 epoch (Table 3) | GSM8K | MATH | HumanEval | MBPP | Average of 8 |
|---|---|---|---|---|---|
| Plain training | 29.7 | 39.6 | 37.2 | 52.5 | 46.8 |
| IXT, all documents labelled | 68.5 | 39.8 | 39.5 | 56.4 | 53.2 |
| IXT, Crane subset only | 41.2 | 51.6 | 50.5 | 60.0 | 53.1 |
Labelling only the subset matches labelling everything on average: 53.1 against 53.2. The paper says this subset is 15% of the data. By source size that checks out: Crane Math plus Crane Code is 16.4B of the 106.2B tokens. Because the blend repeats those sources, they make up about 22% of the training tokens (App. C).
The full-blend run wins GSM8K by a wide margin: 68.5. The paper's explanation is that the GSM8K training set is inside Dolmino. Labelling it "would directly reinforce the conditioning signal at evaluation time" (Sec. 5). Our reading: that is close to training on the benchmark's own style, so we would not count that 68.5 as a general gain.
Each panel averages a group of benchmarks over the first epoch of Dolmino. Pick a group and compare the two curves at the same compute.
Points read from the paper's Figure 2 (Crane subset labelled). IXT points include labelling FLOPs, which grow with the share of the epoch seen (4.2 × 1020 for a full epoch). The paper's text says the math gap is 10.7 points at 1 epoch; the figure's points and Table 3 give 46.4 against 34.7, a gap of 11.7.
On coding, plain training needs 1.8 to 3.1× the compute to reach IXT's scores. On math it never catches up inside one epoch. On general benchmarks the two start level and IXT pulls ahead by 1.5 points (Sec. 5). The general gain is real but small. The paper's own word for it is "spillover".
Chapter 7
Check the claim stage by stage, from random weights to 18 trillion tokens to SFT, and find the losses too
The title promises gains "across all LLM training stages". A modern pipeline has many: pretraining, mid-training, continued pretraining on a domain, then SFT and more. So which stages did the paper actually test, on which model, with how much data? Here is the exact list.
| Stage | Model | Data | Result |
|---|---|---|---|
| Pretraining from scratch | 7.5B transformer, random weights | 1 epoch of reweighted Dolmino (106.2B tokens); Crane subset labelled | Table 1 |
| Continued pretraining at 95B tokens | 7.5B Mbase | Crane Math (1 to 16 epochs), Swallow Code (1 to 8 in Fig. 1), Dolmino (1 epoch) | Fig. 1, 2; Tables 3, 5, 6 |
| Continued pretraining at 12T and 18T tokens | 12B Mamba-Transformer hybrid | Crane Math or Swallow Code, up to 4 epochs (up to ~34B tokens), best checkpoint per epoch | Table 2 |
| SFT | 7.5B, after IXT on Dolmino | General SFT (168,350 packed samples), OpenThinker (392,458), SFT > 4k (611,243 packed) | Table 4 |
Two exact points the summary can hide. First, the abstract says "7.5-12B transformer-based dense LLMs". The 12B model is a Mamba-Transformer hybrid, which mixes state-space layers with attention, so "dense transformer" fits only the 7.5B model. Second, the 18T run is continued pretraining on one domain. It is not a full 18T-token pretraining run with IXT.
Pick a stage. Blue is plain training, teal is IXT, grey is the starting checkpoint where the paper gives one. A red number marks a loss.
All numbers from Tables 1, 2 and 4. At 12T and 18T, the math scores come from training on Crane Math and the code scores from training on Swallow Code. SFT scores are category averages over 12 benchmarks (Table 17 lists each one).
From scratch, IXT lifts the 8-benchmark average from 43.1 to 48.7. The biggest moves are on math and code: GSM8K 35.8 to 50.2 and MATH 42.2 to 53.9. MMLU-Pro rises from 19.6 to 24.4. ARC-Challenge falls from 58.1 to 56.1. So the gain starts from random weights. It does not need a model that was already trained the plain way.
At 12T, IXT beats plain training on all four: HumanEval 55.2 to 65.8 (+10.6) and MATH 60.0 to 66.9 (+6.9). The paper's headline comparison here: IXT at 12T reaches 65.8 on HumanEval, while the general 18T checkpoint without domain training scores 59.0.
At 18T, the picture is mixed. HumanEval rises 59.7 to 70.0 (+10.3), but MBPP drops 60.0 to 55.3 (−4.7). Look also at the grey bars. The 18T starting checkpoint already scores 92.1 on GSM8K and 77.6 on MATH. Training on Crane Math lowers both, for plain training (78.3, 66.1) and for IXT (87.5, 69.6). IXT loses less, which is not the same as gaining.
In SFT, the gains shrink: 36.5 to 37.7, 49.2 to 50.0 and 43.7 to 45.4 on the three datasets. On OpenThinker, which is already heavily filtered, coding slips from 44.0 to 43.1. The paper's explanation fits Chapter 1: if the data is already high quality, there is little mixture left to split.
Chapter 8
Turn the quality dial at inference, find out why [high] is often not the best setting, and meet a renamed function
A model trained with quality labels has a dial. At inference you put a label in front of the prompt, and the model writes like documents of that tier. The obvious move is to always ask for [high]. Chapter 1 says that should give the best text. Does it?
One trained model, six prefixes. Pick a training run and a benchmark. Each bar is the same weights with a different label in front of every prompt.
Numbers from Tables 11, 12 and 16. The dashed line is plain training from the same table (Table 12 only; Table 16 has no plain row, so we draw "no prefix"). MBPP here is MBPP-Signature unless the toggle is on.
On the Dolmino model, [medium-high] gives the best average: 53.1, against 46.8 with no prefix (Table 16). The best tier depends on the task: [high] wins GSM8K (43.9), [medium-high] wins MATH, HumanEval and MMLU, and [medium-low] wins MBPP. Ask for [low] and the average falls back to 46.6, about the no-prefix level.
That last number is the cleanest evidence that the labels mean what they say. Same weights, different label, and the model behaves like lower-quality text. The paper reads it the same way: the model "has learned to associate the tier tokens with their corresponding document quality" (App. E.2).
On Swallow Code the order is upside down. [medium-low] gives the best HumanEval (44.8) and MBPP (60.6); [high] gives 36.0 and 50.3 (Table 12). Two things explain it, and both are in the paper.
First, there is little [high] code to learn from. Only about 3.5% of Swallow Code got an overall score of 5 (Fig. 8). The [high] branch is learned from a thin, narrow slice. Second, the rubric rewards the wrong things for code (Chapter 3). The [high] slice "skews towards more templated, stylistically narrow examples" (App. E.1).
You can see it in the code the model writes. Asked for [high] on MBPP, it writes longer code: about 1,474 characters on average, against 915 for [medium-low] (Table 14). It also imports more libraries the test sandbox does not have. ImportErrors rise from 4.1% of completions at [medium-low] to 11.7% at [high] (Table 13).
The paper also found a bug in its own evaluation, and it reports it in full (App. D). On the original MBPP, every prefix made the Dolmino model look much worse: 49.6 with no prefix, 21.8 with [high], and 12.5 with [medium-high] (Table 9).
The cause was names. MBPP tests call a function by a fixed name, such as find_Volume. With [high], the model wrote "production-style" names like calculate_triangular_prism_volume. The code was often right, but the test raised a NameError. With [high], 58.3% of generations used the wrong name; with no prefix, 3.9% did (App. D).
The fix is MBPP-Signature: give the expected function signature in the prompt, as HumanEval does. Now [high] scores 59.4 and [medium-low] 61.5, against 52.1 with no prefix (Table 11). Every MBPP number in the paper's main results uses this version. Switch the toggle above to see both.
How does the paper pick the prefix it reports? For quality tokens, it tries the labels. For critiques, it runs every candidate in the list (27 for math, 23 for code, 50 for the blend) on the evaluation benchmarks and keeps the best (App. B.2). Plain training gets the same search over the same prefixes plus no prefix, which keeps the comparison fair (Sec. 4.2).
Our reading: picking the best prefix on the test benchmark is a small form of tuning on the test set. It favors any model whose behavior varies with the prefix, and IXT's does by design. The domain results in Appendix E pick the best tier per benchmark. The Dolmino tables use one tier, [medium-high], for all benchmarks, which is cleaner. A held-out choice of prefix would be the stronger test.
Chapter 9
Replace the five labels with written feedback and measure what the extra words buy
A quality token says "how good". A critique says "how good, and why". The paper's fourth research question asks whether the richer form trains better. It also has a practical reason to care: a person can write a new critique at deployment, in plain words, to steer the model (Sec. 5).
Pick a table. Blue is plain training, the light teal bar is IXT with quality tokens, the solid teal bar is IXT with critiques.
Table 6: the 95B model trained 1 epoch on Dolmino with the Crane subset labelled. Its plain row was evaluated with the critique prefixes ("NTP w/ crit."). Table 5: Crane Math runs evaluated on GSM8K and MATH, Swallow Code runs on HumanEval and MBPP; it has no token row.
On the Dolmino blend, critiques lift the average from 53.1 (tokens) to 55.7, the +2.6 the paper reports. GSM8K jumps 18.3 points to 59.5, and HumanEval gains 4.4. MATH goes the other way: 51.6 with tokens, 46.5 with critiques (−5.1). So "better on average" hides a real trade between benchmarks.
One detail in Table 6 is easy to miss. The plain model evaluated with critique prefixes averages 49.6. The plain model in Table 3 averages 46.8. A well-chosen sentence in front of the prompt helps even a model that never trained with feedback. IXT's edge over that stronger baseline is 6.1 points.
On single domains (Table 5), critiques beat plain training on GSM8K (46.8 against 43.9), MATH (46.1 against 38.9) and HumanEval (45.9 against 35.7). They lose on MBPP: 47.5 against 49.6. The paper blames the rubric again. It was written for prose, so it says little about what makes code good.
The authors' bet is about the future. Critiques get better as judges and rubrics get better. A code rubric that asks about correctness and modularity could fix the MBPP loss. The paper did not test that, and it lists finer critique choices (length, format, mixing forms) as untested (Sec. 7).
Chapter 10
Collect the numbers, run the idea in thirty lines, and place it among methods that learn from feedback
IXT asks a judge model to grade every training document once, against a five-axis rubric. It writes the grade, as a label or a critique, in front of the document. Then it trains with the normal next-token loss. The model learns how quality changes text, instead of blurring all quality levels into one average. At inference, you choose the quality you want. Counting the judge's cost, the paper reports up to 2.8× less compute to reach the same score, and scores plain training never reaches on a fixed corpus.
| Claim | Number | Source |
|---|---|---|
| Compute saved at equal score (95B base, domain data) | up to 2.8× (MBPP-Signature); 2.3× GSM8K; 2.5× MATH | Fig. 1 |
| Compute saved on the general blend, coding | 1.8 to 3.1× | Fig. 2 |
| From scratch, 8-benchmark average | 43.1 → 48.7 | Table 1 |
| Dolmino blend from 95B, average | 46.8 → 53.1 (tokens), 55.7 (critiques) | Tables 3, 6 |
| Best tier vs plain, 95B domain runs | +8.2 GSM8K, +10.1 MATH, +9.2 HumanEval, +11.0 MBPP | Table 12, App. E.1 |
| HumanEval at 12T and 18T | +10.6 and +10.3 | Table 2 |
| MBPP at 18T | −4.7 | Table 2 |
| SFT averages | +1.2, +0.8, +1.7 (+2.4 with pairwise labels) | Table 4 |
| Labelling cost, Dolmino epoch | 4.2 × 1020 FLOPs, 8.8% of training | Fig. 2 |
| Share of Dolmino labelled | 15% of source tokens, about 22% of training tokens | Sec. 5, App. C |
This runs as-is in Python 3. A count model stands in for the transformer; counting next words per (prefix, previous word) is what next-token training converges to when every position can see the prefix. The judge is a stub you would replace with a rubric prompt to a real model.
pythonfrom collections import Counter, defaultdict LABELS = {1: "[low]", 2: "[medium-low]", 3: "[medium]", 4: "[medium-high]", 5: "[high]"} def judge(doc): """Stand-in for Qwen3-30B-A3B reading the rubric. Returns the overall score, 1 to 5.""" junk = sum(w in doc for w in ("subscribe", "rights", "click")) facts = sum(ch.isdigit() for ch in doc) return max(1, min(5, 3 + (facts > 3) + (facts > 8) - 2 * junk)) def annotate(corpus): """Offline, once, before training. Its FLOPs go on the bill (2 * N_ann * T_ann).""" return [(LABELS[judge(d)], d) for d in corpus] def train(pairs, use_prefix=True): """Next-token counts keyed by (prefix, previous word): what NTP converges to when every position can see the prefix, as a transformer's attention can.""" model = defaultdict(Counter) for tag, doc in pairs: key_tag = tag if use_prefix else None words = ["<s>"] + doc.split() for prev, nxt in zip(words, words[1:]): model[(key_tag, prev)][nxt] += 1 return model def next_word(model, prev, tag=None): c = model[(tag, prev)] total = sum(c.values()) return {w: round(n / total, 2) for w, n in c.most_common()} def flops(n_train, t_train, n_ann=0, t_ann=0): return 6 * n_train * t_train + 2 * n_ann * t_ann corpus = [ "the buffer ph is 4.94 because 0.15 over 0.1 gives 0.176", "the buffer ph is 4.94 since pka 4.76 plus 0.176", "the buffer ph is important for many reactions in labs", "the buffer ph is important and buffers are important", "the buffer ph is subscribe now all rights reserved click here", "the buffer ph is subscribe to our newsletter all rights reserved", ] pairs = annotate(corpus) print([t for t, _ in pairs]) # ['[high]', '[high]', '[medium]', '[medium]', '[low]', '[low]'] plain = train(pairs, use_prefix=False) ixt = train(pairs, use_prefix=True) print(next_word(plain, "is")) # {'4.94': 0.33, 'important': 0.33, 'subscribe': 0.33} print(next_word(ixt, "is", "[high]")) # {'4.94': 1.0} print(next_word(ixt, "is", "[low]")) # {'subscribe': 1.0} print(f"{flops(7.5e9, 106.2e9):.2e}") # 4.78e+21, one Dolmino epoch for the 7.5B model
To make it real, swap three parts. Replace judge with the rubric prompt from the paper's Figure 3 sent to a judge model. Replace train with your usual pretraining loop, fed the prefixed text. Then evaluate with each prefix and pick the tier on a held-out set, not on the test set.
Now press Present or Teach and explain, out loud and from memory, why a label in front of a document splits a mixture, and why [high] is not always the best prefix. If you can, you own this paper. Then go back to the curves and find the score plain training never reaches.