SemMask: 확산 언어 모델을 위한 의미 우선 점진적 마스킹
SemMask: Semantic-Prioritized Progressive Masking for Diffusion Language Models
한국어 초록
확산 언어 모델(DLM)은 전체 위치에서 병렬 생성을 할 수 있도록 설계한다. 그러나 실제로는 자기회귀와 비슷하게 동작하거나 기능어를 먼저 생성하는 편향을 보이는 경우가 많다. 이는 전체를 계획하고 병렬로 디코딩할 때 유리한 글쓰기와 코드 생성 같은 과제에서 성능을 떨어뜨린다. 본 연구는 의미 토큰을 우선하는 점진적 마스킹을 활용한 새로운 미세조정 방식 SemMask를 제안한다. 정보량이 많은 의미 토큰을 전체 위치에서 일찍 디코딩하도록 유도해 전역 계획과 병렬 생성 능력을 높인다. 먼저 기존 DLM의 토큰별 그래디언트로 의미 토큰을 식별한다. 마스킹할 때 의미 토큰을 우선 보존해, 의미 토큰을 기능 토큰보다 앞서 디코딩하도록 점진적 생성 순서를 구성한다. 또한 의미 토큰의 손실 가중치를 조정해 더 일찍 예측하도록 강화한다. 실험에서 SemMask는 글쓰기와 코드 생성 모두에서 강력한 자기회귀 기준선과 비슷한 품질을 달성했으며, 의미적 일관성은 더 높았다. 특히 훨씬 적은 디코딩 단계에서도 정확도가 더 높았다. 의미 구조를 일찍 확립하면 효율과 정확도 사이의 절충을 개선할 수 있음을 보여 준다.
원문 초록
Diffusion Language Models (DLMs) are designed to enable globally parallel generation. However, in practice, they often exhibit pseudo-autoregressive behavior and a function-word-first bias, which undermines their performance on tasks such as text writing and code generation that benefit from global planning and parallel decoding. To address this, we propose SemMask, a novel fine-tuning paradigm that leverages a semantic-prioritized progressive masking strategy to encourage the model to decode high-information semantic tokens early and globally, thereby enhancing its global planning and parallel generation capabilities. Specifically, we first use the gradients of the original DLM with respect to each token to identify semantic tokens. During masking, these semantic tokens are preserved with priority, establishing a progressive generation order in which semantic tokens are decoded prior to function tokens. Meanwhile, we adjust the loss weight for semantic tokens to further reinforce their early prediction. Experimental results show that SemMask achieves quality comparable to strong autoregressive baselines on both text writing and code generation tasks, while providing superior semantic coherence. Notably, SemMask achieves higher accuracy with substantially fewer decoding steps, indicating that the early establishment of semantic structure improves the efficiency--accuracy trade-off.
제출 이력
확인된 버전만 표시합니다. 전체 제출 이력은 arXiv 원문에서 확인하세요.
- arXiv:2611.19560v1제출 시각 미확인
함께 살펴볼 논문
공통 태그를 근거로 연결했습니다. 실제 인용 관계나 논문의 우수성을 뜻하지 않습니다.
공통 태그로 연결된 공개 논문이 아직 없습니다.
토론
이 논문과 연결된 포럼 글이 아직 없습니다.