Dirl Diffusion Rl

Enable effective RL for diffusion language models via DiPO (unbiased GRPO for dLLMs) and framework optimizations. FlexAttention accelerates blockwise training, LMDeploy optimizes inference, achieving training-inference consistency—improving dLLM math performance to rival larger autoregressive models.

adu2021 4e6e74d 934 B Updated

File contents

Overview

DiRL introduces RL infrastructure tailored for diffusion language models.

Core Technique

DiPO Algorithm: First unbiased Group Relative Policy Optimization for dLLMs.

def dipo_training(model, dataset):
    # Blockwise attention for efficient computation
    # Unbiased logit computation (fixes prior biases)
    # GRPO with dLLM-specific optimizations

Performance

  • State-of-the-art dLLM math performance
  • Outperforms larger autoregressive models

References

  • DiPO: unbiased GRPO for dLLMs
  • Blockwise training optimization

adu2021/skillxiv/tree/main/skills/skillxiv-v0.0.2-claude-opus-4.6/dirl-diffusion-rl commit 4e6e74d849

Frequently asked questions

npx skillmds@latest add adu2021/dirl-diffusion-rl