数据层面指标削弱非确定性:扩散语言模型中的细粒度非确定性评估
Dataset-Level Metrics Mask Non-Determinism: A Fine-Grained Non-Determinism Evaluation in Diffusion Language Models
AI总结:
本文研究了扩散语言模型中非确定性问题,指出数据层面指标限制了对模型行为变化的洞察,并提出基于样本级预测差异的细粒度评估方法,揭示了非确定性在代码生成中的高敏感性。
摘要:
扩散语言模型(DLMs)已成为大型语言模型(LLMs)的有前途的范式,但其非确定性行为仍不明确。现有的LLM非确定性评估主要依赖于固定推理配置下的数据层面指标,无法深入理解模型行为在不同运行和评估条件下的变化。本文表明,数据层面指标通过聚合不同运行中的样本级预测质量,系统性地削弱了DLMs的非确定性。由于聚合性能相似的配置在单个输入上可能表现差异,导致细粒度不稳定性和不同的错误模式未被表征。为解决这一限制,我们基于样本级预测差异,评估了多种模型相关因素(如指导尺度、扩散步数、蒙特卡洛采样)和系统相关因素(如批量大小、硬件、数值精度)的非确定性。分析发现,DLMs的非确定性普遍存在且结构化,代码生成对因素级选择的敏感性显著高于问答任务。为追溯非确定性评估的来源,我们引入了因子方差归因(FVA),一种跨因素分析度量,将观察到的非确定性分解为不同评估因素设置可归因的方差。研究结果强调了需要细粒度、因素感知的评估来实现对扩散语言模型非确定性的可靠评估。
英文摘要:
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. 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 mask non-determinism in LLaDA-family DLMs by aggregating sample-level prediction quality across different runs: configurations with similar aggregate performance can behave substantially differently on individual inputs. Distinguishing strict (fixed-protocol) non-determinism from system-induced and decoding-induced non-determinism, we conduct a fine-grained evaluation based on sample-level prediction differences across model-related factors (guidance scale, diffusion steps, Monte Carlo sampling), system-related factors (batch size, hardware, numerical precision), and fixed-protocol repetitions. Our analysis of two LLaDA-family checkpoints reveals that configuration-induced non-determinism is pervasive and structured, with code generation exhibiting markedly higher sensitivity to configuration changes than question answering. To characterize how non-determinism is distributed across factors, we introduce Factor Variance Attribution (FVA), an ANOVA-based diagnostic that contrasts between-factor and within-factor variation on the evaluated configuration grid. Our findings highlight the need for fine-grained, factor-aware evaluation to enable reliable non-determinism assessment of DLMs.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。