· Inference acceleration, Reasoning, Post-training · Source

Diffusion-GR2: Diffusion Generative Reasoning Re-ranker

SourceFull paper

Article overview

Verdict

Diffusion-GR2 is a substantiated conversion of an AR reranker into a block-diffusion model: CFT removes the need for an external constrained decoder, OPD corrects distribution mismatch, and RL further improves ranking. On Amazon Beauty it nearly matches AR quality while increasing decoding throughput by 2.4–3.5×, but speed gains below confidence threshold τ≤0.4 come with degraded parsing and accuracy.

Main idea

AR GR2 is converted into a block-diffusion decoder that jointly reconstructs a structured JSON answer containing an explanation and a candidate permutation. Relative to AR, multiple tokens in the active block are denoised jointly, preserving causality across blocks while reducing sequential decoding steps.

Mechanism

Representation: the answer is structured JSON containing an explanation and ranked list; the list must be a permutation of the candidate set.

Architecture and operation:
1. Blocks have size B=32; attention is bidirectional within the active block and causal across blocks. B=1 recovers ordinary AR decoding with the same weights.
2. CFT adapts the AR-initialized model with a masked-diffusion objective so denoising produces valid permutations without an external constrained decoder.
3. Prompt and committed-block KV states are cached; attention is recomputed only over the active block.
4. Tokens are committed when confidence reaches threshold τ; forced argmax guarantees progress. Lower τ increases parallelism and speed.
5. OPD runs trajectories under the model’s actual diffusion process and applies forward KL only at student-masked response positions, matching them to clean-context AR-teacher logits with right shifting.
6. RL replays the denoising trace, computes importance ratios for committed tokens, and uses group-normalized advantages. The reward combines target-rank promotion with a conditional format reward that does not reward unchanged rankings.

Reproduction: initialize AR GR2; implement block-causal masked denoising with B=32 and KV caching; run CFT on structured JSON answers; continue with OPD using forward KL at student-masked positions; then train RL on saved trajectories and compare τ=0.9, 0.6, and 0.4 using Recall@1, valid-JSON rate, and throughput. Dataset details, model size, training-step count, and the exact reward formula are absent from the records.

What this is useful for

The method is useful for generative rerankers and other tasks with structured outputs that permit parallel block reconstruction, especially when outputs are long and sequential decoding is costly. It is most attractive when the speed–quality tradeoff can be controlled through τ and decoding must be guaranteed to make progress.

Risks / not proven

Evidence is limited to Amazon Beauty and the reported settings; transfer to other domains and formats is not shown. Low τ degrades parsing and accuracy, so maximum speedup is not unconditional. Dataset, model-scale, training, and exact-reward details are absent, limiting reproducibility. Long-term RL stability, behavior with other block sizes, and comparisons with adaptive block sizing or speculative decoding are not established.

Full abstract

Generative reasoning re-rankers achieve strong recommendation accuracy by emitting a chain-of-thought before re-ordering a candidate list, but they are slow at inference: an autoregressive (AR) decoder spends one sequential forward pass per reasoning token, and the reasoning trace far exceeds the ranking it produces. To reduce this cost, block-diffusion language models decode many positions in parallel over a few denoising steps and are substantially faster, yet naively converting an AR re-ranker into one opens two accuracy gaps: (1) a structural gap: answer positions are denoised in parallel and scored independently, so the decoder emits invalid rankings (duplicated, dropped, or out-of-set identifiers) that AR avoids through left-to-right masking; and (2) a distributional gap: fine-tuning the converted model on fixed teacher trajectories is off-policy relative to its own decoding at inference, leaving a residual accuracy gap. To close both gaps while keeping the speedup, we propose \textbf{Diffusion-GR2}, a recipe that converts our AR reasoning re-ranker (GR2) into a block-diffusion re-ranker. First, conversion fine-tuning (CFT) adapts the AR-initialized diffusion model to denoise the answer into a valid permutation on its own, without an external constrained decoder. Next, on-policy distillation (OPD) then supervises the model on its own decoded trajectories with dense per-token targets from the AR teacher. Finally, we apply a reinforcement-learning (RL) stage against a re-ranking reward on top of OPD's on-policy policy. Experiments on Amazon Beauty demonstrate that Diffusion-GR2 recovers to near-parity with the AR re-ranker, while block-parallel decoding raises decode throughput by $2.4$--$3.5\times$ at the model's reasoning output length. Ablations show that CFT recovers most of the conversion gap, and that on-policy distillation further closes it to the AR reference.

Source

BibTeX · RIS · Markdown · JSON