LLM outputs can vary even with identical settings and models due to floating-point arithmetic differences across GPUs. These differences arise from the non-associative nature of floating-point addition, where the order of operations can lead to slightly different intermediate results. While most tokens are generated with large confidence margins, a minor difference in the final digit can cause a divergence when the model is at a near-tie, leading to different token predictions and subsequent outputs. A provided script helps identify the exact token where such divergence occurs between two model runs. AI
IMPACT Highlights potential reproducibility issues in LLM outputs, impacting research and deployment.
RANK_REASON Technical explanation and script for reproducibility issues in LLMs due to hardware differences. [lever_c_demoted from research: ic=1 ai=1.0]
AI-generated summary · Google Gemini · from 1 sources. How we write summaries →