NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

TAP: Policy Interfaces for Diffusion Language Models

Preeti, Ankita Kushwaha, Kiran Ravish, Pawan KumararXiv 2026 · DOI

Imagine you’re painting a masterpiece. In a standard Large Language Model (LLM), you’re forced to paint one pixel at a time, from left to right, and you can never go back to fix a mistake. But in a Diffusion Language Model (DLM), you start with a blurry mess on a canvas and gradually refine the whole image at once.

This "global refinement" makes DLMs a natural fit for high-level decision-making. Instead of just blurting out words, the model can look at the whole canvas and decide: "Should I answer this? Should I wait for more info? Or is this prompt so toxic I should just refuse it?"

The researchers behind TAP-DiLM (Typed Action Policy for Diffusion LMs) wanted to know: how do we actually wire this "decision-making brain" into the model?

TL;DR

TAP-DiLM embeds high-level policy decisions—like whether to answer, clarify, or refuse—directly into the heart of a diffusion model’s denoising process. The researchers discovered that as models get bigger, how you connect this decision-maker to the model's "brain" is the difference between a smart, safe AI and one that completely collapses.

What Problem Does This Paper Address?

Most modern AI safety and control systems are "wrappers." They sit outside the model, like a chaperone watching a student. If the student says something bad, the chaperone steps in.

The authors argue that for Diffusion LMs, this decision-making should be native. Because a DLM refines text over multiple steps, it has "intermediate thoughts." It might realize halfway through denoising that a prompt is unsafe.

The challenge is architectural: Do you just add new "action tokens" to the model's existing vocabulary? Or do you build a dedicated "control room" (a separate neural head) for these decisions? As it turns out, the answer changes depending on how big the model is.

Methods

The team introduced a policy slot—a specific position on the canvas reserved for a typed action token from the set: {ANSWER, WAIT, CLARIFY, UNSAFE}.

They tested four different ways (interfaces) to attach this slot to the model:

  1. TAP-FV & TAP-RP: These try to reuse the model's existing "speech center" (the language modeling head).
  2. TAP-H & CLS-ext: These use a dedicated, independent "control head" to read the policy slot.
Figure 1: The four policy interfaces. A masked diffusion backbone produces hidden states hCLS, h0, . . . , hn; TAP-FV/TAP-RP/TAP-H read the slot hsπ =h0, while CLS-ext reads the [CLS] hidden state hCLS (dashed node). TAP-FV/TAP-RP share the body LM head WLM (dashed-blue), so body updates also affect the policy-token rows; TAP-H/CLS-ext use a dedicated Wπ (solid). The decoupling becomes important when newly added policy-token rows sit far below the active LM-head logits, as measured by the logit-climb gap ∆(Tab. 2, App. Q).

To make this efficient, they added a short-circuit rule. If the model becomes highly confident early on that it needs to refuse a prompt, it can stop the denoising process immediately, saving a massive amount of computation.

Datasets

The researchers put TAP-DiLM through a gauntlet of benchmarks:

  • SQuAD: For standard answering and "waiting" for more context.
  • AmbigQA & ClarQ: For identifying when a question is too vague and needs clarification.
  • HarmBench, XSTest, & OR-Bench: The "safety" tests, used to see if the model can refuse harmful prompts without becoming "hyper-cautious" (refusing harmless questions like "how do I kill a Python process?").
  • Expanded UNSAFE corpus: A custom collection of 2,851 diverse unsafe prompts used to stress-test the refusal behavior.

Key Insights and Ideas

  • The Logit-Climb Gap ($\Delta$): This is the "aha" moment for scaling. In small models like BERT, the model's "brain" is flexible enough to learn new policy tokens easily. But in huge 8B models, the pre-trained vocabulary is so dominant that new tokens get buried. The authors created a probe to measure this "sharpness," providing a diagnostic for when you must switch to a dedicated head.
  • Causal Feedback: This isn't just a label. Because the policy slot is part of the canvas, the model "sees" its own decision. If you force the policy slot to say "CLARIFY," the model actually changes the body of the text to look like a clarification. The decision causes the behavior.
  • Scaling Matters: Shared-vocabulary interfaces (TAP-RP) work fine on small models but "collapse" on 8B models. At scale, dedicated heads (TAP-H) are the only way to go.

Key Results

  • Safety Powerhouse: On the LLaDA-8B model, TAP-H achieved a 1.000 refusal recall on HarmBench, making it competitive with industry-standard safety systems like WildGuard and Llama-Guard-3.
  • Efficiency Gains: By using the early-exit rule, the model was able to skip 34% to 67% of the usual denoising steps when a non-answer decision was reached.
  • Interface Superiority: In the 8B scale tests, dedicated heads reached a utility score of ~0.96, while the shared-vocabulary versions failed to train effectively, languishing around 0.58.
Table 3: Multi-backbone interface comparison (seed 42, clean no-ClarQ, 3 epochs, LoRA+embeddings where applicable). All four interfaces run on four masked-diffusion backbones. Interface behavior depends on the backbone and training regime, not on vocabulary size alone. On the base LLaDA-8B-Base (not instruction-tuned), the shared-vocabulary interfaces TAP-FV / TAP-RP collapse while the dedicated-head interfaces TAP-H / CLS-ext train cleanly. On the instruction-tuned Dream-7B, the interfaces exhibit different behavior, although the results are unstable across seeds and are therefore treated as a stress test rather than a reproducible interface ranking. BERT-base and MDLM-OWT (both 30 k vocab) show all four interfaces trainable with small gaps. Overall, interface choice matters and its interaction with the backbone is non-trivial; we do not claim that a single interface dominates across backbones.

Limitations and Future Work

While TAP-DiLM is a leap forward for native control in diffusion models, it has its limits:

  • Action Variety: The current version only handles four specific actions. Real-world use might need dozens (e.g., "Search Web," "Call Tool").
  • Template Bodies: Sometimes, when the model decides to "Clarify," it falls back on a generic template ("Could you clarify what you mean?") rather than generating a nuanced, context-specific question.
  • Data Hunger: The safety performance is highly dependent on the diversity of the training data; if the model hasn't seen a specific type of attack, it might still fail.

The authors suggest that future work should focus on "instruction-tuning" the body text generation to match the high quality of the policy decisions.

Summary updated

BibTeX
@misc{preeti2026tap,
  author = {Preeti and Ankita Kushwaha and Kiran Ravish and Pawan Kumar},
  title = {{TAP: Policy Interfaces for Diffusion Language Models}},
  year = {2026},
  eprint = {2611.30406},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.30406},
}
Figure