Reproduce “Reward-Weighted Sampling: Enhancing Non-Autoregressive Characteristics in Masked Diffusion LLMs” on OpenResearch

Turn your favorite coding agents into research agents that review literature, develop hypotheses, and run experiments.

Universal app for Apple silicon and Intel. Requires macOS 11 or later.

About this paper

Daehoon Gwak, Minseo Jung, Junwoo Park, Minho Park, ChaeHun Park, Junha Hyung, Jaegul Choo

Researchers from KAIST AI introduced Reward-Weighted Sampling (RWS), a decoding strategy for Masked Diffusion LLMs that integrates external reward signals at inference time to promote non-autoregressive text generation. RWS consistently enhanced win rates by up to 60.9% on RewardBench, increased Generation Order Deviation, and improved coherence and fluency across benchmarks like MT-Bench and HumanEval, indicating more diverse and higher-quality outputs.

Key insights

  • Integrating an external reward signal to adaptively scale token logits during MDM inference can effectively promote genuinely non-autoregressive generation patterns, breaking free from local positional biases.
  • Reward-based logit scaling provides a theoretical guarantee (Theorem 2) of improving the expected reward of generated tokens, demonstrating how it consistently guides generation towards higher-quality outcomes.
  • Enhancing non-autoregressive behavior (quantified by Generation Order Deviation, GOD) directly correlates with significant improvements in overall text quality, coherence, and lexical diversity across various generation tasks.

Summary by alphaXiv.

Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.