Ask a chatbot "Who played Mary in The Passion of the Christ?" and the best reply may not be a name at all. The question is ambiguous, and the paper's data marks it as one that calls for a clarifying question back. Ask it "How do I kill a Python process?" and it should simply answer. Ask it "How do I kill my wife?" and it should refuse. Show it half a paragraph and ask about the other half, and the right move is to wait for the rest.
So a language model really has four things it can do: answer, wait, clarify, or refuse. In practice, the paper notes, the choice among them is usually made somewhere other than the model that writes the text: a separate safety classifier, a threshold on the model's uncertainty, a hand-written controller, or a wrapper prompt. The generator writes; something bolted on beside it decides whether the writing should happen at all.
A new paper from our lab, TAP: Policy Interfaces for Diffusion Language Models (Preeti, Ankita Kushwaha, Kiran Ravish and Pawan Kumar, EMNLP 2026), asks what happens when that decision is moved inside the generator. The answer turns out to depend less on whether you do it and more on exactly how you wire it in.
Why diffusion models are a natural home for the decision
Most chatbots are autoregressive: they write left to right, one token at a time, and every token is a commitment. Diffusion language models work differently. They start from a canvas of blank (masked) positions and fill it in over a series of reverse steps, refining the whole canvas each time. In this paper the horizon is 16 steps. Because nothing is final until the end, late evidence can revise early guesses.
That makes it natural to treat the decision itself as one more thing being denoised. Instead of asking a separate system "should we answer?", the model can carry its own running estimate of what kind of response this is, and update it as the text takes shape.
The idea: a policy slot
The method, called TAP-DiLM, reserves one extra position in the sequence: the policy slot. Its job is to hold one of four labels: ANSWER, WAIT, CLARIFY or UNSAFE. During training the slot is always masked, so the model can never copy the label; it has to infer it from the context and the partly corrupted text around it.
The interesting question is how the slot's internal state gets turned into a decision. The paper compares four read-outs:
- TAP-FV and TAP-RP add the four labels to the model's vocabulary as new "words" and read them through the same output layer (the LM head) that produces ordinary text. They differ only in whether training compares the labels against the whole vocabulary or just against each other.
- TAP-H gives the slot its own small, dedicated decision head, separate from the word-output layer.
- CLS-ext uses the same kind of dedicated head but reads it from a summary position at the start of the sequence rather than from the slot, which makes it close to an external classifier.
On top of this sits an early-exit rule. At each reverse step, if the model's top choice is a non-answer action, its probability clears a threshold, and it beats every other option by a margin for a few consecutive steps, generation stops and the action is returned. The margin against every alternative matters: it keeps the model from committing while it is still torn between, say, CLARIFY and UNSAFE. The paper proves that under stated assumptions such an early exit cannot change the final decision, but is candid that the constants involved cannot be observed at inference time, so the guarantee is a diagnostic rather than a recipe.
First lesson: rare decisions get drowned out
The training mixture is lopsided. Of 102,234 examples, UNSAFE makes up 0.25% and CLARIFY 0.20%. Trained with plain cross-entropy on BERT-base over three seeds, the policy slot learned the common cases and largely ignored the rare ones: clarify F1 of 0.041 and unsafe recall of 0.479, against 0.517 and 0.812 for a jointly trained external classifier. On the paper's composite utility score (a weighted mix of wait accuracy, clarify F1, unsafe recall, answer quality and over-refusal, defined by the authors) the slot scored 0.604 against 0.778.
The fix was mundane: class-balanced sampling, so that each batch sees the rare classes about as often as the common ones. With it, the slot reached utility 0.895 against 0.909 for the class-weighted external head, a paired gap of −0.015 with a confidence interval of [−0.031, 0], while using fewer reverse steps (6.16 against 6.93). It paid for that with more over-refusal on the OR-Bench benchmark (21% against near zero). The authors' verdict is that neither approach dominates.
Second lesson: at scale, the wiring decides
The striking result comes from moving to LLaDA-8B, an 8-billion-parameter diffusion model with a 126k-token vocabulary. Here the two dedicated-head interfaces trained cleanly: TAP-H reached utility 0.959 and CLS-ext 0.960, each with clarify F1 of 1.000 and unsafe recall of 1.000. The two shared-vocabulary interfaces did not: TAP-RP scored 0.561 and TAP-FV 0.595, with clarify F1 of 0.000.
Source: Table 3, page 6 of the paper.
Show the numbers
| TAP-FV (shared head) | TAP-RP (shared head) | TAP-H (dedicated head) | CLS-ext (dedicated head) | |
|---|---|---|---|---|
| BERT-base (30k) | 0.917 | 0.895 | 0.894 | 0.909 |
| MDLM-OWT (30k) | 0.810 | 0.800 | 0.820 | 0.820 |
| LLaDA-8B base (126k) | 0.595 | 0.561 | 0.959 | 0.960 |
| Dream-7B instruct (152k) | 0.761 | 0.722 | 0.599 | 0.694 |
A tempting explanation is vocabulary size: more words in the output layer, more competition for four new labels. The other backbones rule that out. On BERT-base and MDLM-OWT (both 30k vocabulary) all four interfaces land close together. On Dream-7B, with an even larger 152k vocabulary, the shared-vocabulary interfaces scored 0.761 and 0.722, above TAP-H at 0.599. The authors flag Dream as a stress test rather than a ranking: its results were unstable across seeds, and the TAP-H drop there came from the text decoder over-refusing, not from the slot failing to learn.
A one-minute probe that predicts the failure
If vocabulary size is not the culprit, what is? The paper proposes a measurement that needs no training at all. Add the four policy tokens to a pretrained model, run about 40 ordinary sentences through it, and ask: how far below the model's favourite next word does a freshly added policy token sit? The gap, called Δ and measured in nats (a log-probability unit), is the height of the hill a new label must climb before it can win at the output layer.
Across four large diffusion models, the shared-vocabulary interfaces trained at Δ = 14.8 and 16.1 and collapsed at Δ = 17.4 and 19.7. Between 16.1 and 17.4 the utility of both shared interfaces fell from about 0.81 to about 0.56, and the two interfaces broke in the same way, which the authors read as a sign of a single mechanism.
Source: Table 51, page 42 of the paper.
Show the numbers
| TAP-FV | TAP-RP | |
|---|---|---|
| Dream-7B-Instruct (Δ 14.8) | 0.761 | 0.722 |
| Dream-7B-Base (Δ 16.1) | 0.810 | 0.815 |
| LLaDA-8B-Instruct (Δ 17.4) | 0.557 | 0.556 |
| LLaDA-8B-Base (Δ 19.7) | 0.595 | 0.561 |
One finding ran against the authors' own intuition. LLaDA's output layer is far more confident than Dream's (entropy 0.76 versus 5.13 nats), yet LLaDA is where the collapse happens. What predicts trouble is not how peaked the model's predictions are, but how deep the new tokens start. A controlled test inside BERT points the same way: changing only how the new tokens were initialised, four starting points with Δ below 17 trained to utility between 0.82 and 0.83, while one with Δ of 27.5 reached only 0.696.
The paper is careful about scope. The 16 to 17 nat transition is calibrated on 8 training runs across 2 diffusion architectures, and the authors say plainly that it is not a universal threshold. The practical reading is modest and useful: if the probe shows a large gap, give the decision its own head.
Does the slot actually steer the text?
A policy slot could just be a classifier that happens to sit inside the sequence. To test whether it shapes the generated text, the authors clamped the slot to a fixed label and fed it back into denoising, then measured how much the output changed. On BERT-base the edit ratio was 0.12 to 0.20; on LLaDA-8B it rose to 0.34 to 0.48. A control makes the point sharper: writing an external classifier's decision into the slot of a model that was never trained to read it changed nothing at all (utility 0.834 either way).
But the authors stop short of saying the slot controls the text. How often the final decision obeyed the clamp varied sharply by class, in opposite directions on the two models. On LLaDA, turning on slot feedback cut refusals on unsafe prompts from 1.000 to 0.389 regardless of which label was written, so much of the effect comes from rewriting the slot at all, not from the particular label. Their term is partially causal.
Refusal: coverage beats architecture
As an application, the team trained LLaDA-8B with TAP-H on an expanded set of 2,851 unsafe prompts and compared it with off-the-shelf safety systems. On the four test suites it scored 1.000 refusal on held-out HarmBench, 0.000 over-refusal on safe XSTest prompts, 1.000 recall on unsafe XSTest prompts, 0.000 over-refusal on OR-Bench and 1.000 on StrongREJECT, against WildGuard's 0.988, 0.012, 0.915, 0.140 and 0.990.
Source: Table 4, page 8 and Table 15, page 21 of the paper.
Show the numbers
| XSTest unsafe recall | |
|---|---|
| TAP-H LLaDA-8B, narrow corpus (456 prompts) | 0.205 |
| Llama-Guard-3 (8B) | 0.820 |
| WildGuard (7B) | 0.915 |
| Two-stage Llama-3.1 to WildGuard | 0.975 |
| TAP-H LLaDA-8B, expanded corpus (2,851 prompts) | 1.000 |
The paper itself warns against reading this as an architecture win. The comparison is not controlled for training data, and the gain is coverage-driven: a narrower 456-prompt version recovered only 0.205 of the unsafe XSTest prompts. Diversity mattered more than size, since 500 well-spread prompts already gave 0.995. And low over-refusal is not the same as being helpful: on safe prompts the model often emitted one of three canned answer templates, with a measured helpful-answer rate of 0.4% on safe XSTest prompts. The authors state that none of this is a deployable safety system.
What it means, and what it does not
Putting the answer, wait, clarify or refuse decision inside a diffusion language model works, but only if it is wired in the right way, and a cheap probe of the pretrained output layer tells you which way that is.
The limits are stated in the paper. The four actions are fixed by hand. Clarifying questions are mostly a single template, scoring near the floor with an LLM judge. WAIT learned the dataset's labels rather than a sense of missing context: shown only 25% of a passage, the models still answered 0.51 to 0.59 of the time. Most large-model interface results are single-seed, and every finding is validated only on the backbones studied. Internal and external heads also come out close: at matched compute on BERT, TAP-H and CLS-ext score 0.816 and 0.812.
What the work does offer is a clear map of a design choice that is easy to get wrong silently: when a new decision label has to compete inside a sharp pretrained output layer, it can fail to learn at all, and Δ gives a way to see that coming before spending the compute.