논문 해설
Guided Star-Shaped Masked Diffusion
가이드 기반 별 모양 마스크 확산
- 연구 문제 사전학습된 마스크 확산 모델은 토큰이 한 번 공개되면 고정되어 적은 단계 생성에서 오류를 바로잡기 어렵습니다.
- 연구 방법 star-shaped 샘플러로 다음 상태를 독립적으로 만들고, 학습된 오류 예측기로 틀릴 가능성이 높은 토큰만 재마스킹합니다.
- 주요 결과 G-Star는 적은 단계 예산에서 기존 재마스킹보다 효율적인 품질·다양성 균형을 보이며, 대규모 지시 모델과 코드 생성에서도 향상을 보고합니다.
pre-training 마스크 확산 모델의 불가역 샘플링 문제
마스크 확산 언어 모델은 [MASK] 상태가 토큰으로 바뀌면 그 결정이 고정되어 이후 단계에서 수정되지 않습니다. 이 때문에 여러 토큰을 동시에 예측하는 병렬 생성에서는 함께 생긴 불일치를 선택적으로 바로잡기 어렵습니다. 원문은 이 한계가 적은 샘플링 단계 수의 생성 영역에서 특히 병목이 된다고 설명합니다. 기존 재마스킹 방법은 무작위 또는 신뢰도 기반으로 위치를 골라 효율이 낮거나 믿기 어렵다는 한계가 있습니다. 이 논문은 사전학습된 마스크 확산 모델을 그대로 쓰면서 어떤 토큰을 다시 열지 선택하는 문제를 다룹니다.
star-shaped 샘플러와 학습된 오류 예측기
제안 방법은 상태 x_t와 x_s를 원래 데이터 x_0에 조건부로 독립이 되도록 바꾼 star-shaped 샘플러를 사용합니다. 디노이저는 전체 깨끗한 상태 x̂_0를 먼저 예측하고, 그 예측으로부터 다음 상태를 샘플링하므로 이전 상태의 토큰이 자동으로 고정되지 않습니다. 원문은 이 전이가 사전학습된 MDLM의 가중치를 재사용해도 성립하도록 유도했다고 보고합니다. 다만 무작위 재마스킹만 쓰면 올바른 토큰도 함께 지워지므로, 오류 예측기 g_ϕ가 토큰별 오류 로짓을 내고 Gumbel-Top-K로 N개 위치를 중복 없이 골라 [MASK]로 되돌립니다. 오류 예측기는 디노이저가 샘플링한 후보의 실제 틀린 위치를 이진 교차엔트로피로 학습하며, 고정된 확산 모델 위의 경량 헤드로 구현할 수 있습니다.

Figure 7 :Performance as a function of the error predictor temperature (T remask). The plots reveal a clear trade-off: lower temperatures improve quality (PPL) at the cost of diversity, while higher temperatures increase diversity at the cost of quality. The MAUVE score, which balances both, peaks at an optimal temperature ofT≈4−32.
원문 · CC BY 4.0 · Viacheslav Meshchaninov, Egor Shibaev, Artem Makoian, Ivan Klimov, Nikita Balagansky, Daniil Gavrilov, Aibek Alanov, Dmitry Vetrov · Guided Star-Shaped Masked Diffusion · 원문 그림 인용 · 원본 PDF 19쪽에서 그림 영역을 추출했습니다.
Figure 9 : Remasking pattern of the guided G-Star-loop sampler. The plot visualizes the masked token positions (orange dots) at each generation step. In contrast to the unguided sampler, our guided approach exhibits a highly structured remasking pattern. The error predictor directs the sampler to focus on specific, clustered regions of the text. This often results in the selection ofcontiguous segmentsfor revision, as highlighted in the figure. This ability to perform coordinated, phrase-level corrections is a key advantage of our targeted approach.
원문 · CC BY 4.0 · Viacheslav Meshchaninov, Egor Shibaev, Artem Makoian, Ivan Klimov, Nikita Balagansky, Daniil Gavrilov, Aibek Alanov, Dmitry Vetrov · Guided Star-Shaped Masked Diffusion · 원문 그림 인용 · 원본 PDF 24쪽에서 그림 영역을 추출했습니다.
Figure 10 : Remasking pattern of the Unguided Star-loop sampler. The plot visualizes the masked token positions (orange dots) at each generation step. During the remasking phase (steps 114-240), the pattern of selected tokens is scattered and visually resembles random noise. This illustrates the indiscriminate nature of the unguided approach, where every token position has a roughly equal probability of being revised at each step, without regard to the semantic or syntactic structure of the text.
원문 · CC BY 4.0 · Viacheslav Meshchaninov, Egor Shibaev, Artem Makoian, Ivan Klimov, Nikita Balagansky, Daniil Gavrilov, Aibek Alanov, Dmitry Vetrov · Guided Star-Shaped Masked Diffusion · 원문 그림 인용 · 원본 PDF 25쪽에서 그림 영역을 추출했습니다.전환 시점에 따른 두 단계 샘플링
분석 실험은 OpenWebText에서 128토큰 시퀀스를 생성하며, 초기에는 MDLM으로 토큰을 점진적으로 공개하고 t_on 이후에만 star-shaped 샘플러로 바꾸는 하이브리드를 비교합니다. 순수 Star는 전체 궤적에 적용하면 단계 간 유사도가 낮아지고 MAUVE가 거의 0에 가까워 퇴화된 텍스트가 나타납니다. 반면 t_on이 약 0.3일 때 MAUVE가 최대가 되어, 초기 구간은 MDLM으로 일관된 초안을 만들고 후반부에 star-shaped 정제를 적용하는 것이 효과적이라는 관찰을 얻습니다. 이 결과는 OpenWebText 무조건 생성에서의 설정이며, 다른 데이터나 과제로 일반화한 결과는 아닙니다.

Figure 2 : The impact of the star-shaped sampler’s activa- tion time (t on) on generation quality. We plot the final MAUVE score for a hybrid sampler that switches from MDLM to Star at timet on.
원문 · CC BY 4.0 · Viacheslav Meshchaninov, Egor Shibaev, Artem Makoian, Ivan Klimov, Nikita Balagansky, Daniil Gavrilov, Aibek Alanov, Dmitry Vetrov · Guided Star-Shaped Masked Diffusion · 원문 그림 인용 · 원본 PDF 6쪽에서 그림 영역을 추출했습니다.가이드 여부와 샘플링 단계 수에 따른 비교
G-Star+는 Star+와 같은 하이브리드 전환 일정을 쓰되 재마스킹 위치를 오류 예측기로 고릅니다. 512토큰 OpenWebText 생성에서 샘플링 단계를 32부터 512까지 바꾸어 비교하면, 두 하이브리드 샘플러는 모두 MDLM보다 나은 MAUVE를 보입니다. 가이드된 G-Star+는 특히 64에서 256 단계 구간에서 격차가 가장 크게 나타납니다. 단계 수가 많아질수록 무가이드 재마스킹도 오류를 충분히 고칠 수 있어 두 샘플러의 차이가 줄어듭니다. 이 결과는 적은 단계 예산에서 각 정제 단계의 선택성이 중요하다는 저자의 해석을 뒷받침하지만, 32단계에서는 모든 샘플러가 어려움을 겪는다고 원문이 보고합니다.

Figure 3 : Performance comparison in few-step generation regimes. Guided sampler (G-Star+) consistently outper- forms the unguided Star+.
원문 · CC BY 4.0 · Viacheslav Meshchaninov, Egor Shibaev, Artem Makoian, Ivan Klimov, Nikita Balagansky, Daniil Gavrilov, Aibek Alanov, Dmitry Vetrov · Guided Star-Shaped Masked Diffusion · 원문 그림 인용 · 원본 PDF 7쪽에서 그림 영역을 추출했습니다.
Figure 13 : The figure provides a snapshot of the refinement process, showing steps 90 through 95 from a 128-step generation of a 512-token sequence. Both the unguided Star+ (bottom) and our guided G-Star+ (top) begin this phase with an identical text draft generated by a standard MDLM. The panels display the beginning of the text sequence, with tokens remasked at each step highlighted in red. Starting from the same draft, the two methods immediately diverge. The Star+ sampler exhibits an indiscriminate, token-level remasking strategy that appears unfocused. In contrast, our G-Star+ sampler demonstrates a more structured approach.
원문 · CC BY 4.0 · Viacheslav Meshchaninov, Egor Shibaev, Artem Makoian, Ivan Klimov, Nikita Balagansky, Daniil Gavrilov, Aibek Alanov, Dmitry Vetrov · Guided Star-Shaped Masked Diffusion · 원문 그림 인용 · 원본 PDF 28쪽에서 그림 영역을 추출했습니다.loop 일정과 Pareto 비교
ReMDM의 loop 프로토콜을 가져와 초기 MDLM 드래프트, 일정 노이즈 수준의 반복 정제, 최종 완성의 세 단계를 구성합니다. 기준선은 512단계 전체 예산을 쓰고, G-Star-loop는 128, 256, 512단계에서 평가하며 denoiser temperature를 바꿔 Pareto 전선을 만듭니다. 원문은 128단계 G-Star-loop가 512단계 무가이드 ReMDM보다 품질과 다양성 균형이 더 좋다고 보고합니다. 추론 시간은 128단계 설정에서 3.43초 대 9.16초로, 약 3배 빠른 것으로 기록되어 있습니다. 이 시간 비교는 원문이 제시한 특정 측정 설정의 결과입니다.

Figure 6 : Performance as a function of the refinement loop size. Increasing the refinement budget generally improves quality (lower PPL, higher MAUVE) but reduces diversity. Our guided G-Star- loop demonstrates a much steeper rate of improvement, achieving higher quality with fewer steps. The MAUVE score eventually peaks and declines as the loss of diversity outweighs quality gains.
원문 · CC BY 4.0 · Viacheslav Meshchaninov, Egor Shibaev, Artem Makoian, Ivan Klimov, Nikita Balagansky, Daniil Gavrilov, Aibek Alanov, Dmitry Vetrov · Guided Star-Shaped Masked Diffusion · 원문 그림 인용 · 원본 PDF 19쪽에서 그림 영역을 추출했습니다.
Table 4 : Wall-clock generation time and number of Transformer forward passes (NFEs) per 512- token sample on OpenWebText (batch size1). Times are reported as mean±standard deviation in seconds.
원문 · CC BY 4.0 · Viacheslav Meshchaninov, Egor Shibaev, Artem Makoian, Ivan Klimov, Nikita Balagansky, Daniil Gavrilov, Aibek Alanov, Dmitry Vetrov · Guided Star-Shaped Masked Diffusion · 원문 그림 인용 · 원본 PDF 22쪽에서 그림 영역을 추출했습니다.
Figure 8 : The plot illustrates the trajectory of the number of generated (unmasked) tokens across 512 generation steps. The G-Star+ schedule (solid line) follows a linear progression, dedicating the majority of steps to draft generation and applying remasking only towards the end of the trajectory. In contrast, the G-Star-loop schedule (dashed line) adopts an aggressive drafting strategy, rapidly producing a full candidate sequence (steep red slope) to maximize the computational budget allo- cated to the remasking phase (green plateau), enabling deep iterative refinement.
원문 · CC BY 4.0 · Viacheslav Meshchaninov, Egor Shibaev, Artem Makoian, Ivan Klimov, Nikita Balagansky, Daniil Gavrilov, Aibek Alanov, Dmitry Vetrov · Guided Star-Shaped Masked Diffusion · 원문 그림 인용 · 원본 PDF 24쪽에서 그림 영역을 추출했습니다.대규모 지시 튜닝 모델과 코드 생성 적용
대규모 실험은 Dream-Instruct 7B 백본을 고정하고 Tulu 3 데이터에서 경량 분류 헤드만 학습합니다. 전체 샘플링 단계의 10%를 정제 루프에 배정하고, 루프마다 N=15 토큰을 재마스킹합니다. 원문에서 MMLU는 +1.3점, GPQA는 +1.8점, IFEval은 +2.9점 향상된다고 보고합니다. 코드 생성에서는 Conala 학습 분할로 조건부 MDLM을 학습한 뒤 Qwen2.5B-Coder 기반 조건부 perplexity로 비교하며, G-Star가 MDLM과 ReMDM보다 낮은 값을 보입니다. 낮은 perplexity가 더 좋은 결과입니다.

Table 2 : Conditional perplexity on the Conala benchmark for different samplers and step counts.Bestand second-best results are high- lighted.
원문 · CC BY 4.0 · Viacheslav Meshchaninov, Egor Shibaev, Artem Makoian, Ivan Klimov, Nikita Balagansky, Daniil Gavrilov, Aibek Alanov, Dmitry Vetrov · Guided Star-Shaped Masked Diffusion · 원문 그림 인용 · 원본 PDF 9쪽에서 그림 영역을 추출했습니다.
Table 5 : Benchmark-specific sequence lengths and the noise levelα on for the refinement loop.
원문 · CC BY 4.0 · Viacheslav Meshchaninov, Egor Shibaev, Artem Makoian, Ivan Klimov, Nikita Balagansky, Daniil Gavrilov, Aibek Alanov, Dmitry Vetrov · Guided Star-Shaped Masked Diffusion · 원문 그림 인용 · 원본 PDF 23쪽에서 그림 영역을 추출했습니다.적용 범위와 한계
원문은 제안 방법이 토큰의 제자리 치환만 다루며, 삽입이나 삭제 오류는 수정하지 못한다고 밝힙니다. 또한 오류 예측기는 디노이저와 별도로 순차 학습해야 하므로 파이프라인 복잡성이 늘어납니다. 추론 처리량 최적화 기법인 KV 캐시나 self-speculative decoding은 이 구현에서 적용하지 않았습니다. OOD 일반화는 OWT에서 학습한 예측기가 여러 외부 도메인에서 AUC-ROC 0.90 이상을 유지한다는 관찰로 제한되며, 이는 다른 모델이나 과제 전체에 대한 보장이 아닙니다.

Table 3 : Results for an error predictor trained on OWT and evaluated on out-of-domain datasets. For each evaluation dataset, we report the validation perplexity (PPL val) of the OWT-pretrained diffusion model and the binary classification metrics of the error predictor.
원문 · CC BY 4.0 · Viacheslav Meshchaninov, Egor Shibaev, Artem Makoian, Ivan Klimov, Nikita Balagansky, Daniil Gavrilov, Aibek Alanov, Dmitry Vetrov · Guided Star-Shaped Masked Diffusion · 원문 그림 인용 · 원본 PDF 20쪽에서 그림 영역을 추출했습니다.논문 정보
- 저자
- Viacheslav Meshchaninov, Egor Shibaev, Artem Makoian, Ivan Klimov, Nikita Balagansky, Daniil Gavrilov, Aibek Alanov, Dmitry Vetrov
- 학회·저널
- arXiv · 프리프린트
- 최초 공개일
- 2025년 10월 9일
- 등록일
- 2026년 10월 29일
- 수정일
- 2026년 3월 24일
- 버전
- v2
- arXiv
- 2510.08369
- 분류
- cs.LG
- 원문 이용 조건
- CC BY 4.0
- 제공 범위
- 논문 정보, 해설, 허용된 원문 그림
AI 해설은 논문 원문과 별개의 설명이며 오류가 있을 수 있습니다. 원문과 그림은 각 출처의 이용 조건과 따로 표시된 권리를 따릅니다.
초록
The performance of pre-trained masked diffusion models is often constrained by their sampling procedure, which makes decisions irreversible and struggles in low-step generation regimes. We introduce a novel sampling algorithm that works with pre-trained models and, after a lightweight fine-tuning of a single layer, significantly improves sample quality and efficiency. Our method reformulates the generation process using a star-shaped paradigm, which inherently allows for error correction. To make this process effective, we augment it with a learnable re-masking scheduler that intelligently identifies and revises likely errors. This approach yields a substantial quality boost, particularly when using a small number of sampling steps. We extensively ablate key components of our approach and show its usability in different scenarios. In comprehensive experiments on text, and code generation, our sampling algorithm outperforms or matches existing methods.
원문 인용
Viacheslav Meshchaninov, Egor Shibaev, Artem Makoian, Ivan Klimov, Nikita Balagansky, Daniil Gavrilov, Aibek Alanov, Dmitry Vetrov (2025). Guided Star-Shaped Masked Diffusion. arXiv:2510.08369v2. https://arxiv.org/abs/2510.08369v2
BibTeX
@misc{meshchaninov2025guided,
title = {{Guided Star-Shaped Masked Diffusion}},
author = {Viacheslav Meshchaninov and Egor Shibaev and Artem Makoian and Ivan Klimov and Nikita Balagansky and Daniil Gavrilov and Aibek Alanov and Dmitry Vetrov},
year = {2025},
eprint = {2510.08369},
archivePrefix = {arXiv},
url = {https://arxiv.org/abs/2510.08369v2}
}