Dataset-Level Metrics Attenuate Non-Determinism: A Fine-Grained Non-Determinism Evaluation in Diffusion Language Models
Organizations: Department of Computer and Data Sciences, Case Western Reserve University, Cleveland, USA · Department of Computer Science & Engineering, Texas A&M University, College Station, USA · Department of Biochemistry, Case Western Reserve University, Cleveland, USA · Center for RNA Science and Therapeutics, Case Western Reserve University, Cleveland, USA ·
Abstract
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.
Figures & tables
| Question | Answer Options | INT8 | BF16 | FP16 | Ground Truth |
|---|---|---|---|---|---|
| In regions where prevailing winds blow from the oceans to the shore, which of these is most likely to occur? | A: heavier rainfall B: dryer conditions C: cold temperatures D: frequent hurricanes | D | C | C | A |
| Matt is a tall, eleven-year-old boy. He has a scar on his right cheek. He is intelligent and an excellent drummer. Which of his traits did he most likely inherit? | A: his height B: his scar on his right cheek C: his intelligence D: his ability to play the drums | B | C | C | A |
| Two bicyclists were riding their bikes at a rate of 20 kilometers per hour (km/h). During the next half hour, they observed that they had increased their speed to 26 km/h. What was their average acceleration? | A: 0.2 km/h 2 B: 3.0 km/h 2 C: 6.0 km/h 2 D: 12.0 km/h 2 | A | C | C | D |
| Backbone | Factor | PIQA | WinoGrande | ARC-Challenge | ||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Accuracy | Dataset-level | Sample-level | Accuracy | Dataset-level | Sample-level | Accuracy | Dataset-level | Sample-level | ||
| LLaDA | Precision (Std) | |||||||||
| Precision (SE) | ||||||||||
| Batch Size of MC (Std) | ||||||||||
| Batch Size of MC (SE) | ||||||||||
| CFG (Std) |
| Backbone | Factor | HumanEval | MBPP | ||||
|---|---|---|---|---|---|---|---|
| Pass@1 | Dataset-level | Sample-level | Pass@1 | Dataset-level | Sample-level | ||
| LLaDA | Precision (Std) | ||||||
| Precision (SE) | |||||||
| CFG (Std) | |||||||
| CFG (SE) | |||||||
| Steps (Std) |
| Dataset | FVA | ||
|---|---|---|---|
| LLaDA | |||
| PIQA | 0.000597 | 0.000565 | 0.514 |
| WinoGrande | 0.000698 | 0.000716 | 0.494 |
| ARC-Challenge | 0.000302 | 0.000200 | 0.601 |
| HumanEval | 0.018722 | 0.004755 | 0.797 |
| MBPP | 0.031495 | 0.007894 | 0.800 |
| LLaDA | LLaDA-1.5 | |||||
|---|---|---|---|---|---|---|
| Factor | Mean | Std | SE | Mean | Std | SE |
| Batch | 0.5239 | 0.1795 | 0.0359 | 0.6315 | 0.1293 | 0.0314 |
| CFG | 0.4886 | 0.2107 | 0.0421 | 0.5098 | 0.2095 | 0.0419 |
| GPU | 0.5258 | 0.1828 | 0.0578 | 0.5579 | 0.1658 | 0.0524 |
| MC | 0.5865 | 0.1552 | 0.0347 | 0.6132 | 0.1219 | 0.0272 |
| Precision | 0.5257 | 0.1822 | 0.0470 | 0.5585 | 0.1572 | 0.0406 |
Appendix figures & tables7 assets
Supplementary material from the paper’s appendix.
Appendix
| Question | Answer Options | MC=8 | MC=16 | MC=32 | MC=64 | MC=128 | MC=256 | Ground Truth |
|---|---|---|---|---|---|---|---|---|
| Which statement best explains why the lower mantle of Earth is much more rigid and dense than the upper mantle? | A: The lower mantle is older B: The lower mantle is cooler C: The lower mantle is under more pressure D: The lower mantle is farther from the core | D | A | B | B | B | B | C |
| Which statement is an opinion about the heart? | A: The heart moves blood through the body B: The heart helps perform athletic activities C: The heart rate changes during the day D: The heart is composed of different types of cells | A | A | D | D | D | A | B |
| Backbone | Factor | PIQA | WinoGrande | ARC-Challenge | ||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Accuracy | Dataset-level | Sample-level | Accuracy | Dataset-level | Sample-level | Accuracy | Dataset-level | Sample-level | ||
| LLaMA-2-7B | Precision (Std) | |||||||||
| Precision (SE) | ||||||||||
| Batch size (Std) | ||||||||||
| Batch size (SE) | ||||||||||
| Temperature (Std) |
| Backbone | Factor | HumanEval | MBPP | ||||
|---|---|---|---|---|---|---|---|
| Pass@1 | Dataset-level | Sample-level | Pass@1 | Dataset-level | Sample-level | ||
| LLaMA-2-7B | Precision (Std) | ||||||
| Precision (SE) | |||||||
| Batch size (Std) | |||||||
| Batch size (SE) | |||||||
| Temperature (Std) |
| Dataset | FVA | ||
|---|---|---|---|
| LLaMA-2-7B | |||
| PIQA | 0.000002 | 0.000001 | 0.664 |
| WinoGrande | 0.000009 | 0.000007 | 0.559 |
| ARC-Challenge | 0.000009 | 0.000003 | 0.759 |
| HumanEval | 0.000307 | 0.000397 | 0.436 |
| MBPP | 0.000191 | 0.000314 | 0.378 |
| LLaMA-2-7B | Qwen2.5-7B | |||||
|---|---|---|---|---|---|---|
| Factor | Mean | Std | SE | Mean | Std | SE |
| Batch | 0.4294 | 0.2866 | 0.0641 | 0.6155 | 0.1322 | 0.0296 |
| Temperature | 0.4359 | 0.2779 | 0.0556 | 0.6035 | 0.1466 | 0.0293 |
| GPU | 0.4313 | 0.2928 | 0.0926 | 0.6181 | 0.1329 | 0.0420 |
| Precision | 0.4328 | 0.2870 | 0.0741 | 0.6133 | 0.1332 | 0.0344 |
| Scope | Base | Alt | |
|---|---|---|---|
| All datasets (pooled) | 0.8141 | 0.7914 | -0.0227 |
| ARC-Challenge | 0.6009 | 0.5874 | -0.0135 |
| HumanEval | 0.7975 | 0.8104 | +0.0130 |
| MBPP | 0.7996 | 0.7858 | -0.0138 |
| PIQA | 0.5136 | 0.5206 | +0.0070 |
| Winogrande | 0.4937 | 0.4893 | -0.0044 |
Diffusion Language Models
Diffusion language models generate and refine text through iterative denoising, enabling bidirectional context and parallel token updates.
See all 443 papers