arXiv:2604.13413cs.LG2026-04

揭示扩散语言模型的随机性本质,发现现有评估方法会掩盖真实不稳定性。

Dataset-Level Metrics Attenuate Non-Determinism: A Fine-Grained Non-Determinism Evaluation in Diffusion Language Models

论文配图:Dataset-Level Metrics Attenuate Non-Determinism: A Fine-Grained Non-Determinism Evaluation in Diffusion Language Models
图 1 · 摘自论文原文
  • 从样本级差异出发,系统分析扩散模型在不同参数配置下的随机行为。
  • 代码生成对参数变化更敏感,错误模式呈现明显结构性差异。
  • 提出跨因子方差归因法,可定位导致随机性的关键因素来源。

扩散语言模型(DLMs)作为大语言模型的新范式,其非确定性行为仍缺乏深入理解。现有评估多依赖固定推理配置下的数据集级指标,会因聚合样本表现而掩盖个体输入的波动性。本文发现,此类指标系统性弱化了扩散模型的非确定性,导致不同配置在整体性能相近时,个体样本表现差异显著。为此,我们开展细粒度评估,考察引导强度、扩散步数、蒙特卡洛采样等模型因素,以及批大小、硬件、数值精度等系统因素的影响。结果表明,非确定性普遍存在且具有结构特征,代码生成任务对参数选择的敏感度远高于问答任务。我们提出因子方差归因(FVA)方法,可分解各因素对非确定性的贡献。研究强调需采用细粒度、因子感知的评估方式,才能可靠衡量扩散语言模型的非确定性。

原文摘要 · Abstract (English)

Diffusion language models (DLMs) have emerged as a promising paradigm for large language models (LLMs), yet the non-deterministic behavior of DLMs remains poorly understood. The existing non-determinism evaluations for LLMs predominantly rely on dataset-level metrics under fixed inference configurations, providing limited insight into how model behavior varies across runs and evaluation conditions. In this work, we show that dataset-level metrics systematically attenuate non-determinism in diffusion language models by aggregating sample-level prediction quality across different runs. As a result, configurations with similar aggregate performance can exhibit substantially different behaviors on individual inputs, leaving fine-grained instability and distinct error patterns uncharacterized. To address this limitation, we conduct a fine-grained evaluation of non-determinism based on sample-level prediction differences across a range of model-related factors-including guidance scale, diffusion steps, and Monte Carlo sampling-as well as system-related factors such as batch size, hardware, and numerical precision. Our analysis reveals that non-determinism in DLMs is pervasive and structured, with code generation exhibiting markedly higher sensitivity to factor-level choices than question answering. To attribute sources of non-determinism evaluation, we introduce Factor Variance Attribution (FVA), a cross-factor analysis metric that decomposes observed non-determinism into variance attributable to different evaluation factor settings. Our findings highlight the need for fine-grained, factor-aware evaluation to enable reliable non-determinism assessment of diffusion language models.

扩散模型非确定性评估方法代码生成

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。