# Lookahead Unmasking Elicits Accurate Decoding in Diffusion Language Models

룩어헤드 언마스킹은 확산 언어 모델에서 정확한 디코딩을 이끌어낸다

Lee, Sanghyun, Kim, Seungryong, Park, Jongho, Park, Dongmin · arXiv · 2025년 11월 4일

- **연구 문제** 마스크 확산 언어 모델은 unmasking 순서에 따라 성능이 크게 달라지지만, 기존 greedy 방식은 토큰 단위 확실성만 보아 국소 오류가 이후로 누적되기 쉽습니다.
- **연구 방법** LookUM은 unmasking을 경로 선택 문제로 보고, 후보 경로를 생성한 뒤 look-ahead 상태의 불확실성 점수로 중요도 샘플링을 수행합니다.
- **주요 결과** 원문은 LLaDA 계열에서 HumanEval과 GSM8K에 최대 4점, MBPP에 최대 8점 향상을 보고하며, 외부 보상 모델 기반 검증보다 낮은 대안 결과를 보고합니다.

## греedy 언마스킹의 국소 오류 문제

마스크 확산 언어 모델(Masked Diffusion Models, MDMs)은 마스크된 토큰을 반복적으로 unmasking하며 텍스트를 생성합니다. 이때 어떤 위치를 먼저 unmasking하느냐가 성능을 크게 좌우합니다. 기존 방법은 confidence, margin, negative entropy 같은 토큰 단위 점수로 가장 확실한 위치를 탐욕적으로 고르며, 이 방식은 한 토큰의 국소 분포만 보기 때문에 시퀀스 전체의 일관성을 반영하지 못합니다. 원문은 산술 문제에서 숫자 하나를 조기에 드러내는 잘못된 결정이 이후 단계로 전파되어 복구가 불가능해질 수 있다고 설명합니다.

이 논문은 이러한 국소 오류를 회피하기 위해 unmasking을 가능한 unmasking 순서들의 공간에서 경로를 고르는 문제로 재구성합니다. 외부 보상 모델 없이 모델 자신의 예측 분포에서 얻는 불확실성을 검증 신호로 사용하는 것이 핵심입니다.

![Figure 1: Standard unmasking vs. LookUM in discrete diffusion models.During the denoising process of unmasking from timestepTto0, greedy approaches often selec…](https://refivu.com/papers/7b567546-21d1-4751-b2a6-a0b1a8d16128/figures/figure-1acc88a30770c37289deafc87e03680b.png?thumb=512)

**Figure 1** :Standard unmasking vs. LookUM in discrete diffusion models.During the denoising process of unmasking from timestepTto0, greedy approaches often select the position with the highest token-level certainty which can lead to an incorrect unmasking order and result in local errors (red). In contrast LookUM generates candidate unmasking paths and leverages a verifier to select those that avoid local errors and recover the correct sequence (blue).

[원문](https://arxiv.org/abs/2511.05563v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Lee, Sanghyun, Kim, Seungryong, Park, Jongho, Park, Dongmin · Lookahead Unmasking Elicits Accurate Decoding in Diffusion Language Models · 원문 그림 인용 · 원본 PDF 2쪽에서 그림 영역을 추출했습니다.

## LookUM의 경로 생성기와 검증기

LookUM은 각 denoising 단계에서 경로 생성기(path generator)와 불확실성 기반 검증기(verifier)로 구성됩니다. 경로 생성기는 모델의 예측 분포 p\_θ(·\|x\_t)와 unmasking 예산 B\_t, 후보 풀 P\_t를 받아 후보 unmasking 집합 U\_t를 만듭니다. 결정적 방식은 상위 B\_t개를 고르는 전통적 top-B\_t 선택에 해당하고, 확률적 방식은 높은 확실성의 풀에서 표본을 뽑습니다. 풀은 불확실성 기준의 상위 N개 토큰으로 구성하는 N-best pooling이거나, 확률이 임계값 τ를 넘는 토큰만 포함하는 certainty filtering pooling으로 만들어집니다.

검증기는 각 후보 U\_t에 대해 가정된 한 단계 앞 상태 x̃\_{t-1}을 만들고, 그 상태의 예측 분포 p\_θ(·\|x̃\_{t-1})로 점수를 계산합니다. 대표 검증기인 Average Negative Entropy는 모든 위치의 Shannon entropy 평균에 음수를 취한 값이며, 값이 클수록 확실성이 높다는 뜻입니다. Average Confidence는 위치별 최대 확률의 평균입니다. 이렇게 얻은 점수 s\_i를 바탕으로 SMC 또는 NIS 중요도 샘플링이 실제 다음 상태를 고릅니다.

## 주요 벤치마크와 RL 튜닝 모델에서의 비교

주요 실험은 LLaDA-8B-Instruct와 RL로 튜닝된 LLaDA-1.5에서 MBPP, HumanEval, GSM8K, MATH500, Countdown, Sudoku를 대상으로 수행되었습니다. 비교 대상은 Confidence, Margin, Entropy 기반 unmasking, PC-Sampler, 그리고 unmasking 전략이 아닌 재마스킹 방법인 ReMDM입니다. 시퀀스 길이는 128과 256으로 설정되었고, 매 단계 두 토큰을 unmasking했습니다. 부록 C.2에 따르면 LookUM은 \|P\_t\|=5, 두 개의 선택 경로, Average Negative Entropy 설정으로 실행되었습니다.

![Table 2: Performance comparison across models.Results on six reasoning benchmarks with LLaDA-8B and LLaDA-1.5 (RL-tuned). Best values are in blue and the secon…](https://refivu.com/papers/7b567546-21d1-4751-b2a6-a0b1a8d16128/figures/figure-2ce43d9db951b64490ed971f6ced058e.png?thumb=512)

**Table 2** :Performance comparison across models.Results on six reasoning benchmarks with LLaDA-8B and LLaDA-1.5 (RL-tuned). Best values are in blue and the second best values are in green .

[원문](https://arxiv.org/abs/2511.05563v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Lee, Sanghyun, Kim, Seungryong, Park, Jongho, Park, Dongmin · Lookahead Unmasking Elicits Accurate Decoding in Diffusion Language Models · 원문 그림 인용 · 원본 PDF 7쪽에서 그림 영역을 추출했습니다.

원문은 HumanEval에서 시퀀스 길이 128일 때 8점, GSM8K에서 4점의 향상을 보고합니다. 기본 LLaDA에 LookUM을 적용한 결과는 RL로 튜닝된 LLaDA-1.5의 성능과 비슷하다고 보고되며, LookUM을 LLaDA-1.5에 적용하면 그 위에 추가 향상이 나타난다고 보고됩니다. ReMDM의 개선은 Countdown, HumanEval, MBPP에서 미미하거나 오히려 낮아지는 등 과제마다 일관되지 않았습니다.

## 경로 수 확장과 계산 비용

LookUM의 계산량은 주로 단계마다 평가하는 후보 경로 수 k에 의해 결정됩니다. 검증기와 풀 구성은 precomputed logits에 대한 텐서 연산만 사용하므로 추가 모델 forward가 필요하지 않다고 설명됩니다. 추론 시 확장 실험은 LLaDA에서 생성 길이 128로 고정하고 k를 1부터 64까지 바꾸어 GSM8K, MATH500, Countdown을 비교했습니다. 계산량은 경로 생성기가 만든 경로 수로 측정되었습니다.

원문은 GSM8K에서 최대 4개 경로까지 큰 향상이 나타난 뒤 포화된다고 보고합니다. MATH500은 2개 경로에서 최적이고 이후 약간 낮아졌다고 보고합니다. 이 결과는 이 실험 설정에서 2개에서 4개 경로가 효율적인 범위임을 보여 줍니다.

![Figure 3: Scaling results.Performance scaling with lookahead paths. Accuracy versus number of particle paths on three benchmarks (GSM8K, MATH500, Countdown). S…](https://refivu.com/papers/7b567546-21d1-4751-b2a6-a0b1a8d16128/figures/figure-83be7ff192724866e1d01ff72ef0b5f3.png?thumb=512)

**Figure 3** :Scaling results.Performance scaling with lookahead paths. Accuracy versus number of particle paths on three benchmarks (GSM8K, MATH500, Countdown). Sharp improvements occur up to 4 particles, after which performance saturates, demonstrating efficient scaling with limited computational budget.

[원문](https://arxiv.org/abs/2511.05563v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Lee, Sanghyun, Kim, Seungryong, Park, Jongho, Park, Dongmin · Lookahead Unmasking Elicits Accurate Decoding in Diffusion Language Models · 원문 그림 인용 · 원본 PDF 8쪽에서 그림 영역을 추출했습니다.

## 외부 보상 모델과의 비교

LookUM은 외부 보상 모델을 쓰지 않는다는 점이 설계상 강조됩니다. 이 설계의 효과를 확인하기 위해 저자들은 수학 과정 보상 모델 Qwen2.5-Math-PRM-7B를 대안 검증기로 넣고 NIS와 SMC를 입자 수 1, 4, 16에서 MATH500과 GSM8K에 적용했습니다. 이 실험은 LLaDA를 사용했고, α는 0.1, Confidence Unmasking이 함께 쓰였습니다.

원문 표 3에서 보상 기반 검증은 본 논문의 불확실성 기반 접근보다 낮은 성능을 보였습니다. 저자들은 이를 보상 모델이 기대하는 일관된 부분 해답이 DLM의 중간 상태에서는 잡음이 많고 전역적으로 분산된 예측과 맞지 않기 때문이라고 해석합니다. 이 해석은 저자의 가설이며, 원문이 다른 보상 모델이나 다른 과제 전반에 대해 같은 결론을 검증한 것은 아닙니다.

![Table 3: Performance with external re- ward models](https://refivu.com/papers/7b567546-21d1-4751-b2a6-a0b1a8d16128/figures/figure-7199cca31669229779a2f4db1c6616e6.png?thumb=512)

**Table 3** :Performance with external re- ward models.

[원문](https://arxiv.org/abs/2511.05563v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Lee, Sanghyun, Kim, Seungryong, Park, Jongho, Park, Dongmin · Lookahead Unmasking Elicits Accurate Decoding in Diffusion Language Models · 원문 그림 인용 · 원본 PDF 8쪽에서 그림 영역을 추출했습니다.

## 구성요소 절제 실험

절제 실험은 경로 생성기, 검증기, 샘플링 방법을 한 번에 하나씩 바꾸면서 GSM8K, MATH500, Countdown에서 비교했습니다. 시퀀스 길이는 128, denoising 단계는 64, temperature는 0.2, \|P\_t\|는 5로 설정되었습니다. 경로 생성기 비교에서 N-best 풀은 서로 비슷한 성능을 보였고, certainty filtering은 GSM8K에서 가장 높았지만 MATH500과 Countdown에서 크게 낮아졌습니다. 검증기 비교에서 Average Negative Entropy는 Average Confidence보다 모든 벤치마크에서 높게 나타났습니다. 샘플링 방법에서는 NIS가 GSM8K와 Countdown에서 강점을 보였습니다.

![Table 4: Ablation studyof LookUM components on GSM8K, MATH500 and Countdown](https://refivu.com/papers/7b567546-21d1-4751-b2a6-a0b1a8d16128/figures/figure-0f6d469a8f437b69aedf7a721c56b43c.png?thumb=512)

**Table 4** :Ablation studyof LookUM components on GSM8K, MATH500 and Countdown.

[원문](https://arxiv.org/abs/2511.05563v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Lee, Sanghyun, Kim, Seungryong, Park, Jongho, Park, Dongmin · Lookahead Unmasking Elicits Accurate Decoding in Diffusion Language Models · 원문 그림 인용 · 원본 PDF 9쪽에서 그림 영역을 추출했습니다.

이 결과는 각 변형이 제거한 구성요소의 효용을 보여 주는 것으로, 모든 구성요소가 항상 기여한다는 일반 결론으로 읽을 수 없습니다.

## 검증기의 적용 범위와 남은 질문

이 방법은 검증 신호를 모델 출력 분포에만 의존합니다. 저자들은 attention이나 중간 표현 같은 다른 내재 신호가 상보적인 정보를 줄 수 있다고 제안하지만, 이는 아직 검증되지 않은 향후 과제입니다. 또한 LookUM의 효과는 주로 LLaDA 계열과 제시된 벤치마크에서 측정되었으므로, 다른 모델 구조나 과제로 그대로 일반화할 수 없습니다.

국소 오류율 감소 측정은 GPT-4o 판정과 MATH500, GSM8K의 문장 단위 평가에 기반합니다. 불확실성 증가는 2,000개의 산술 문제를 사용한 분석에서 관찰되었으며, 이 결과가 모든 추론 과제에서 같은 메커니즘을 증명하는 것은 아닙니다.

![Table 1: Entropy and Confidence under Local Errors.En- tropy and confidence metrics across arithmetic operations (sub- traction, addition, multiplication) demo…](https://refivu.com/papers/7b567546-21d1-4751-b2a6-a0b1a8d16128/figures/figure-c9edbcb542b8687db25d9f21b310272c.png?thumb=512)

**Table 1** :Entropy and Confidence under Local Errors.En- tropy and confidence metrics across arithmetic operations (sub- traction, addition, multiplication) demonstrate increased uncer- tainty when local errors occur versus correct predictions.

[원문](https://arxiv.org/abs/2511.05563v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Lee, Sanghyun, Kim, Seungryong, Park, Jongho, Park, Dongmin · Lookahead Unmasking Elicits Accurate Decoding in Diffusion Language Models · 원문 그림 인용 · 원본 PDF 3쪽에서 그림 영역을 추출했습니다.

## 논문 정보

- **저자**: Lee, Sanghyun, Kim, Seungryong, Park, Jongho, Park, Dongmin
- **학회·저널**: arXiv · 프리프린트
- **최초 공개일**: 2025년 11월 4일
- **등록일**: 2026년 10월 30일
- **수정일**: 2025년 11월 4일
- **버전**: v1
- **arXiv**: 2511.05563
- **원문 이용 조건**: [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/)
- **제공 범위**: 논문 정보, 해설, 허용된 원문 그림

[논문 원문 ↗](https://arxiv.org/abs/2511.05563v1) · [원문 PDF ↗](https://arxiv.org/pdf/2511.05563v1)

AI 해설은 논문 원문과 별개의 설명이며 오류가 있을 수 있습니다. 원문과 그림은 각 출처의 이용 조건과 따로 표시된 권리를 따릅니다.

## 초록

Masked Diffusion Models (MDMs) as language models generate by iteratively unmasking tokens, yet their performance crucially depends on the inference time order of unmasking. Prevailing heuristics, such as confidence based sampling, are myopic: they optimize locally, fail to leverage extra test-time compute, and let early decoding mistakes cascade. We propose Lookahead Unmasking (LookUM), which addresses these concerns by reformulating sampling as path selection over all possible unmasking orders without the need for an external reward model. Our framework couples (i) a path generator that proposes paths by sampling from pools of unmasking sets with (ii) a verifier that computes the uncertainty of the proposed paths and performs importance sampling to subsequently select the final paths. Empirically, erroneous unmasking measurably inflates sequence level uncertainty, and our method exploits this to avoid error-prone trajectories. We validate our framework across six benchmarks, such as mathematics, planning, and coding, and demonstrate consistent performance improvements. LookUM requires only two to three paths to achieve peak performance, demonstrating remarkably efficient path selection. The consistent improvements on both LLaDA and post-trained LLaDA 1.5 are particularly striking: base LLaDA with LookUM rivals the performance of RL-tuned LLaDA 1.5, while LookUM further enhances LLaDA 1.5 itself showing that uncertainty based verification provides orthogonal benefits to reinforcement learning and underscoring the versatility of our framework. Code will be publicly released.

## 원문 인용

Lee, Sanghyun, Kim, Seungryong, Park, Jongho, Park, Dongmin (2025). Lookahead Unmasking Elicits Accurate Decoding in Diffusion Language Models. arXiv:2511.05563v1. https://arxiv.org/abs/2511.05563v1

**BibTeX**

```
@misc{sanghyun2025lookahead,
  title = {{Lookahead Unmasking Elicits Accurate Decoding in Diffusion Language Models}},
  author = {Lee, Sanghyun and Kim, Seungryong and Park, Jongho and Park, Dongmin},
  year = {2025},
  eprint = {2511.05563},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2511.05563v1}
}
```

## 이 논문의 용어

- [GSM8K](https://refivu.com/terms/e48f0e01064d-gsm8k)
- [HumanEval](https://refivu.com/terms/3c3dbcadfdda-humaneval)
- [MBPP](https://refivu.com/terms/717e657dd0b2-mbpp)
- [importance sampling](https://refivu.com/terms/f730041e2218-importance-sampling)
- [MATH500](https://refivu.com/terms/6fa495e5da3d-math500)
- [verifier](https://refivu.com/terms/7e971aef0230-verifier)
- [Shannon entropy](https://refivu.com/terms/4c6ac050d224-shannon-entropy)
- [margin](https://refivu.com/terms/08d3fcc32371-margin)
- [Countdown](https://refivu.com/terms/e468f0a79aca-countdown)
- [ReMDM](https://refivu.com/terms/b81ab4224bcf-remdm)
- [Sudoku](https://refivu.com/terms/24129dac3ad6-sudoku)
- [confidence](https://refivu.com/terms/dc96b3de1b91-confidence)
- [Qwen2.5-Math-PRM-7B](https://refivu.com/terms/ebd0f0bead68-qwen2-5-math-prm-7b)

## 다른 논문 해설

- [Steering Out-of-Distribution Generalization with Concept Ablation Fine-Tuning](https://refivu.com/papers/edaf2858-0c6c-4e26-89e4-6c39c8098129-steering-out-of-distribution-generalization-with-concept.md)
- [Internal Causal Mechanisms Robustly Predict Language Model Out-of-Distribution Behaviors](https://refivu.com/papers/a0ecf5aa-f965-4a46-b045-0717d0283a36-internal-causal-mechanisms-robustly-predict-language-model.md)
- [Differential Smoothing Mitigates Sharpening and Improves LLM Reasoning](https://refivu.com/papers/5c974711-ee92-4a55-a5c5-201120650a59-differential-smoothing-mitigates-sharpening-and-improves-llm.md)
- [On the Limits of Test-Time Compute: Sequential Reward Filtering for Better Inference](https://refivu.com/papers/2d0dc380-8a6a-40b6-a936-d260b702f762-on-the-limits-of-test-time-compute-sequential.md)
- [MixMin: Finding Data Mixtures via Convex Minimization](https://refivu.com/papers/1812a7ac-7070-4e11-93d3-514e69d7cf83-mixmin-finding-data-mixtures-via-convex-minimization.md)
- [Towards Spectroscopy: Susceptibility Clusters in Language Models](https://refivu.com/papers/85bbfb6c-ef05-4a5e-b0fe-e16d447e7a34-towards-spectroscopy-susceptibility-clusters-in-language.md)
- [Hyper-Transforming Latent Diffusion Models](https://refivu.com/papers/fcef89b3-92ba-4f84-ade6-ef94055af849-hyper-transforming-latent-diffusion-models.md)
- [Diffusion Posterior Sampling is Computationally Intractable](https://refivu.com/papers/ac02f2c2-04dc-4800-8421-4bd7e87ecef5-diffusion-posterior-sampling-is-computationally-intractable.md)
- [Understanding and Mitigating Memorization in Diffusion Models for Tabular Data](https://refivu.com/papers/2e0c0b7d-5f43-4c79-8153-0c1c40c51b92-understanding-and-mitigating-memorization-in-diffusion.md)
- [BanditSpec: Adaptive Speculative Decoding via Bandit Algorithms](https://refivu.com/papers/6700034d-7c08-40c5-aa82-a9a07368d19f-banditspec-adaptive-speculative-decoding-via-bandit.md)
- [Weight-sparse transformers have interpretable circuits](https://refivu.com/papers/57b058ed-824e-41f1-9bf7-37d4673924a5-weight-sparse-transformers-have-interpretable-circuits.md)
- [FlexiFlow: decomposable flow matching for generation of flexible molecular ensemble](https://refivu.com/papers/535ef434-6ca5-4fe8-ab5c-9610f3f3d068-flexiflow-decomposable-flow-matching-for-generation-of.md)

---

AI 해설에는 오류가 있을 수 있습니다. [Refivu](https://refivu.com/papers/7b567546-21d1-4751-b2a6-a0b1a8d16128-lookahead-unmasking-elicits-accurate-decoding-in-diffusion)
