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

训练你运行的采样器:基于混合似然微调的少步掩码扩散语言模型

Train the Sampler You Run: Few-Step Masked Diffusion Language Models via Mixture-Likelihood Fine-Tuning

University of Zanjan(赞詹大学)

Amin Najafgholizadeh

AI总结:

本研究提出 Mix-FT 方法,对 LLaDA-8B 等掩码扩散语言模型微调后,在少步采样时生成的文本续写效果优于基线方法,且耗时更少、评估得分更高。

摘要:

当掩码扩散语言模型以随机顺序进行少量并行步骤采样时,实际运行的模型是所有揭示计划的混合体,而交叉熵训练拟合的是 token 条件概率而非该混合体。我们提出混合似然微调(Mix-FT),该方法在不使用教师模型、不改变架构或采样器的情况下,对预训练模型进行微调,以优化其自身采样器似然的重要性加权边界。在 LLaDA-8B 上,使用预训练计算量的 0.002% 进行 LoRA 微调,在所有测试的步骤数下,生成的 OpenWebText 续写效果优于相同计算量下的持续交叉熵和 Alpha 扩散。在每个块使用 16 步而非 32 步(即模型评估次数减半)时,无论采用随机顺序还是基于置信度的解码,其续写在所有随机种子下的得分均优于原始模型;在基于置信度的解码下,来自不同模型家族的两名盲评 LLM 评估者分别在 69% 和 71% 的配对中偏好该模型的续写。在公开的 1.1 亿参数块扩散模型上,Mix-FT 耗时不足 4 个 T4 小时,在每个块 4、8、16 步的设置下,均优于持续交叉熵、Alpha 扩散和 SDTT 蒸馏,且在所有随机种子下均被两名评估者判定更优。在 text8 上的精确似然计算中,通过对每个计划赋予相同权重的对照实验,发现其相对于持续交叉熵的似然提升中,约四分之三源于按计划对序列的解释程度进行加权。

英文摘要:

When a masked diffusion language model is sampled in a few parallel steps in a random order, the model actually run is a mixture over reveal plans, while cross-entropy training fits token conditionals rather than this mixture. We introduce mixture-likelihood fine-tuning (Mix-FT), which fine-tunes a pretrained model on an importance-weighted bound of its own sampler's likelihood, with no teacher and no change to the architecture or the sampler. On LLaDA-8B, a LoRA fine-tune for 0.002% of the pretraining compute writes better OpenWebText continuations than continued cross-entropy and Alpha diffusion given the same compute, at every tested step count. With half the model evaluations, 16 rather than 32 steps per block, its continuations score better than the original model's in every seed under three judges, with confidence-based decoding as well as random order, and under confidence-based decoding two blinded LLM raters from different model families prefer them in 69 and 71% of pairs. On a public 110M-parameter block diffusion model, Mix-FT takes under four T4-hours and beats continued cross-entropy, Alpha diffusion and SDTT distillation at 4, 8 and 16 steps per block, under two judges in every seed. Exact likelihoods on text8, with a control that weights every plan equally, attribute about three quarters of the likelihood gain over continued cross-entropy to weighting each plan by how well it explains the sequence.

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

↑