arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2601.00942cs.LGcs.CL
收藏

可靠性与随机性:在解码温度下对稀疏和密集语言模型的实证分析

Reliability Under Randomness: An Empirical Analysis of Sparse and Dense Language Models Across Decoding Temperatures

Kabir Grover(独立研究者)

Kabir Grover

AI总结:

本文研究了稀疏和密集语言模型在不同解码温度下的可靠性,发现指令微调比架构稀疏性对稳定性影响更大。

摘要:

随着稀疏混合专家(MoE)架构在大语言模型中的普及,其在随机解码下的可靠性问题变得尤为重要。虽然条件计算在计算效率上带来了显著提升,但稀疏路由与基于温度的采样之间的相互作用是否会影响输出稳定性,相较于密集架构仍不明确。本文研究了MoE模型中的条件计算是否放大了解码引起的随机性,导致温度增加时可靠性下降。我们评估了三个代表性模型:OLMoE-7B(稀疏基础模型)、Mixtral-8x7B(稀疏指令微调模型)和Qwen2.5-3B(密集指令微调模型),在确定性算术推理任务中,这些任务具有客观可验证的答案。实验涵盖了四种解码配置,从贪婪解码到T=1.0。我们的评估包括准确性、格式合规性、重复生成中的输出一致性以及置信度指标,总计生成了9,360次模型输出。结果显示,稀疏指令微调模型在所有解码温度下表现出与密集指令微调模型相当的稳定性,而稀疏基础模型在温度增加时表现出系统性退化。这些发现表明,在确定性任务中,指令微调而不是架构稀疏性是决定对解码随机性的鲁棒性的主要因素。我们讨论了这些结果对在可靠性关键应用中部署稀疏语言模型的含义,突显了在某些场景中稀疏架构可以安全采用而不牺牲输出稳定性。

英文摘要:

The increasing prevalence of sparse Mixture-of-Experts (MoE) architectures in large language models raises important questions regarding their reliability under stochastic decoding. While conditional computation enables substantial gains in computational efficiency, it remains unclear whether the interaction between sparse routing and temperature-based sampling compromises output stability relative to dense architectures. This work investigates whether conditional computation in MoE models amplifies decoding-induced randomness, leading to reduced reliability as temperature increases. We evaluate three representative models: OLMoE-7B (sparse base), Mixtral-8x7B (sparse instruction-tuned), and Qwen2.5-3B (dense instruction-tuned) on deterministic arithmetic reasoning tasks with objectively verifiable answers. Experiments span four decoding configurations, ranging from greedy decoding to T=1.0. Our evaluation encompasses accuracy, format compliance, output consistency across repeated generations, and confidence metrics, totaling 9,360 model generations. Results demonstrate that the sparse instruction-tuned model exhibits stability comparable to the dense instruction-tuned model across all decoding temperatures, while the sparse base model shows systematic degradation as temperature increases. These findings indicate that instruction tuning, rather than architectural sparsity, is the primary determinant of robustness to decoding randomness on deterministic tasks. We discuss the implications of these results for deploying sparse language models in reliability-critical applications, highlighting scenarios in which sparse architectures can be safely adopted without sacrificing output stability.

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

↑