arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2611.17754cs.CL
收藏

一次查看每个块:掩码扩散语言模型的方差降低后训练

See Every Block Once: Variance-Reduced Post-Training for Masked Diffusion Language Models

Kyoto University(京都大学);SB Intuitions;RIKEN AIP(理化学研究所人工智能研究中心)

Yunzhen He, Hiroaki Yamagiwa, Hidetoshi Shimodaira

AI总结:

针对掩码扩散语言模型后训练中块选择引入的方差问题,提出全块估计器,在五个基准上平均比随机采样基线高12.79个百分点,四个基准准确率最优。

摘要:

策略梯度方法被广泛用于使大语言模型输出与人类偏好对齐,但掩码扩散语言模型(MDLM)所需的对数似然无法直接计算。因此,MDLM的后训练依赖于基于证据下界(ELBO)的代理目标,近期研究通过蒙特卡洛方法估计该目标的分块变体以支持分块生成。然而,现有估计方案会随机采样块索引,可能重复评估同一块且遗漏部分块,这会在估计中引入块选择带来的方差。本研究提出一种全块估计器,它恰好评估每个块一次并对结果取平均。我们从理论上证明,该估计器保持无偏性,同时消除了块选择带来的组间方差,从而在相同样本量下实现比基线更低的方差。在涵盖数学、规划和编码的五个基准测试中,我们的方法在四个基准上达到最高准确率,且比随机块采样基线平均高出12.79个百分点。

英文摘要:

Policy gradient methods are widely used to align large language model outputs with human preferences, but the log-likelihoods they require cannot be directly computed in Masked Diffusion Language Models (MDLMs). MDLM post-training therefore relies on a surrogate objective based on the Evidence Lower Bound (ELBO), and recent work estimates a blockwise variant of this objective via Monte Carlo methods to support blockwise generation. However, existing estimation schemes randomly sample the block index, so they may evaluate the same block more than once and leave some blocks unevaluated. This introduces variance arising from block selection into the estimates. In this work, we propose a full-block estimator that evaluates every block exactly once and averages the results. We theoretically show that the proposed estimator remains unbiased while eliminating the between-group variance arising from block selection, thereby achieving lower variance than the baseline for the same sample size. In experiments on five benchmarks spanning mathematics, planning, and coding, our method achieves the highest accuracy on four benchmarks and outperforms the random block sampling baseline by an average of 12.79 points.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑