Reinforcement learning with a right-or-wrong reward is now a standard way to make language models more accurate, and the most popular recipe, Group Relative Policy Optimization (GRPO), scores each answer only relative to other answers sampled for the same question. That design has a blind spot that matters most for factual accuracy. On questions the model actually gets wrong, which are the questions that teach it to stop making things up, every sampled answer tends to be wrong. The group then has zero spread in reward, and the model receives no learning signal at all. This proposal fills those "dead groups" with answers from a different source. For a diffusion language model, a generator that writes text by repeatedly un-masking a whole sequence in parallel rather than left to right, we can steer sampling at training time with the gradient of a differentiable evidence checker. That checker scores agreement with a retrieved evidence passage, and evidence is available at training time but not at deployment. The steered samples that turn out to be correct are added back into the group, which restores a contrast between right and wrong answers. GRPO then teaches the plain, unguided model to produce those answers on its own.
The core claim fits in two sentences. Test-time gradient guidance, so far used only to impose constraints while sampling, can serve as a training-time exploration operator that produces correct rollouts exactly where on-policy sampling fails. Distilling those rollouts through GRPO should improve factual accuracy at deployment beyond what a compute-matched increase in on-policy sampling achieves, with no guidance cost at inference.
What the three directions contribute, and what is open
The guidance line supplies the mechanism. Methods that perturb the intermediate state with a cost gradient between denoising steps have been made to work for discrete text. EntRGi passes reward gradients into a diffusion language model by blending soft and hard token embeddings according to each token's predictive entropy. Test-Time Anchoring (APS) uses a straight-through estimator plus early unmasking of confident "anchor" tokens, and reports a 21.99% relative improvement in question-answering quality with a 7B diffusion language model. Diffinity computes exact gradients of regular-expression satisfaction. All three are inference-only. They pay the guidance cost on every query (Diffinity reports a 2x to 3x slowdown), and none of them updates weights.
The GRPO line supplies the training loop and the failure mode. d1 makes GRPO workable for the masked diffusion model LLaDA through a one-step estimate of sequence log-probability. GDPO and AGRPO reduce the variance of that estimate. These papers are the method we reuse. The constraining evidence comes from EDGE-GRPO, which tackles exactly the dead-group problem by injecting guided error corrections. It also documents the "Reflection Paradox": prompting open models to reflect often lowers accuracy, so text-level self-correction is a weak source of diversity. That result is the gap we target. We replace prompted correction with correction in the sampler's latent space, driven by an external signal. Constrained GRPO constrains the design in a second way. Its Theorem 4.1 shows that mixing several reward terms before group normalization silently reweights them by their within-group spread. We therefore keep the GRPO reward a single binary correctness signal, and the evidence checker enters only through guidance, never through the advantage. SEVA attacks advantage collapse for fact-checking verifiers through dense multi-part process rewards. That is a reward-side fix, and we treat it as a competing alternative.
The hallucination line supplies the regime and the stakes. TruthfulQA shows truthfulness does not improve with scale, with GPT-3-175B at 58% against roughly 94% for humans. These are questions where models confidently imitate falsehoods, so their groups are likely to be uniformly wrong. HaluEval shows models cannot reliably detect their own fabrications: ChatGPT reaches 62.59% on QA. That argues against using the policy itself as the checker. Large Language Diffusion Models gives a reason to work with diffusion models in the first place. Its bidirectional LLaDA-8B beats autoregressive models on reverse fact retrieval (45.6% vs 34.3% for GPT-4o on poem pairs), and parallel unmasking lets a correction at one position revise the whole answer instead of being locked in left to right.
Research Program
The base policy is LLaDA-8B trained with diffu-GRPO as in d1. Training questions are short-answer factual QA items, each paired with a retrieved evidence passage. The reward is binary correctness under a fixed rule-based matcher against reference answers.
Each training step works as follows. For each question we draw $G$ on-policy rollouts. If the group's reward spread is zero and all answers are wrong, we draw $K$ additional rescue rollouts with guidance. These use the same denoiser, but at each step within a timestep window the soft token embeddings, blended EntRGi-style, are nudged along the gradient of a frozen entailment model's score that the decoded answer is supported by the evidence passage. Rescue rollouts that pass the binary matcher replace an equal number of on-policy members, and advantages are recomputed over the mixed group.
Because rescue samples come from a different distribution than the policy, they are off-policy. We give them only the positive advantage they earn. We also clip their importance ratio, computed with d1's one-step log-probability estimate, more tightly than on-policy members, so that a low-probability guided answer cannot produce a huge update.
Three analyses accompany the method. The first measures the dead-group rate over training with and without rescue. The second measures how far rescue rollouts drift from the policy, as the estimated log-probability gap. The third compares the guidance timestep window against the window sensitivity reported for TAG-style methods (TAG).
We expect a specific failure mode, and the design is meant to expose it if it occurs. Guidance can find degenerate strings that satisfy the entailment model, which is the evaluation-gradient mismatch EntRGi warns about. Two choices limit the damage. The binary matcher, not the entailment model, decides whether a rescue counts. And final evaluation uses benchmarks the checker never saw.
Baselines
The naive reference point is the base LLaDA-8B, along with the same model under plain diffu-GRPO from d1 on identical data and reward. Any gain over plain diffu-GRPO is the minimum bar. No reported result was found on Lacuna for d1 or diffu-GRPO on TruthfulQA or HaluEval, so we will produce this number ourselves.
The strongest compute-matched competitor is diffu-GRPO with a larger group and repeated resampling of dead groups. This gets more diversity from more on-policy samples. We will give it exactly the extra forward and backward passes that rescue rollouts consume, measured in floating-point operations, with the same tuning budget for learning rate and KL weight. Beating it means higher accuracy at equal compute on held-out TruthfulQA and HaluEval QA, with the gain concentrated on questions that were dead groups at the start.
The strongest inference-only competitor is EntRGi-style guidance applied to the base or the plain-GRPO model at deployment, using the same evidence checker and retrieved passages. It has information our trained model lacks at test time, so roughly matching it without guidance or evidence, at 2x to 3x lower latency, already counts as a win. EntRGi reports no factuality number in our file, so it is reported side by side.
The text-level rescue competitor is EDGE-GRPO's guided error correction, run on the same model and reward.
The process-reward competitor is a SEVA-style dense reward that splits partial credit across components. It also keeps groups alive, by giving wrong answers different scores.
The key ablation keeps everything identical but replaces gradient guidance with plain conditioning on the evidence passage in the prompt. This isolates whether the gradient path matters or whether evidence access alone does the work. A second ablation uses all rescue rollouts regardless of correctness, which tests the verification filter.
Why not just…?
Why not just sample more answers until the group has a correct one? This is the most serious threat. For many factual errors the correct answer still has non-trivial probability, and resampling finds it cheaply. Guidance only earns its cost on questions where the correct answer sits in the far tail of the policy's distribution, and TruthfulQA's imitated misconceptions are a plausible case. The compute-matched baseline settles this directly. If resampling matches rescue on the initially-dead subset, the idea fails and we will report it as such.
Why not just put the evidence in the prompt and skip gradients? Prompt conditioning teaches the model to answer with evidence present, but at deployment the evidence is absent. The ablation above tests whether gradient-steered rollouts, which are generated by the unconditioned model, carry better over to the evidence-free setting. If prompt-conditioned rescue performs as well, the guidance component is unnecessary and the contribution shrinks to evidence-conditioned rescue.
Why not just keep guidance at inference instead of training it in? Inference guidance needs retrieved evidence and a backward pass through a checker on every query. Diffinity's measured 2x to 3x slowdown shows the latency cost. Training-time use removes both requirements. The inference-guidance baseline measures how much accuracy that trade gives up.
Why not just use dense process rewards like SEVA? Dense rewards keep the advantage non-zero, but they rank wrong answers against each other without ever showing the model a correct one. Under Constrained GRPO's normalization result, they can also let style components dominate correctness. Running the SEVA-style baseline on the dead-group subset shows whether ranking wrong answers moves accuracy at all there.
Decisive Checks
The method is validated if three things hold. First, held-out TruthfulQA truthfulness and HaluEval QA accuracy improve over compute-matched resampled diffu-GRPO. Second, the improvement concentrates on questions that started as dead groups. Third, the improvement survives evaluation with a judge different from the guidance checker. We will also compare the reverse-retrieval poem set from LLaDA against its reported 45.6%, to check that factuality training does not erode bidirectional recall.
The method is falsified if any one of three results appears. Resampling at equal compute matches it. Prompt-conditioned rescue matches it. Or the gains vanish under an independent judge, which would indicate the policy learned to please the entailment checker rather than to be correct.
References
- EntRGi: Entropy Aware Reward Guidance for Diffusion Language Models
- Test-Time Anchoring for Discrete Diffusion Posterior Sampling
- Continuous Diffusion Models Can Obey Formal Syntax
- d1: Scaling Reasoning in Diffusion Large Language Models via Reinforcement Learning
- Improving Reasoning for Diffusion Language Models via Group Diffusion Policy Optimization
- Simple Policy Gradients for Reasoning with Diffusion Language Models
- EDGE-GRPO: Entropy-Driven GRPO with Guided Error Correction for Advantage Diversity
- Constrained Group Relative Policy Optimization
- SEVA: Self-Evolving Verification Agent with Process Reward for Fact Attribution
- TruthfulQA: Measuring How Models Mimic Human Falsehoods
- HaluEval: A Large-Scale Hallucination Evaluation Benchmark for Large Language Models
- Large Language Diffusion Models
- TAG: Tangential Amplifying Guidance for Hallucination-Resistant Sampling