Generic dLLM Decoding
Require: prompt x, model θ, decoder F
1 y ← masked continuation
2 while masked positions remain:
3 p ← model predictions for y
4 J ← positions chosen by F
5 for i in J:
6 v ← reference token draw from pᵢ
7 yᵢ ← v
8 return y

