# Summary: 2026-08-05_11-28-43Z_WhatWeObserveasLLMBehaviorCanBeaSide_effectofInfer.md Saved: 2026-08-05 20:34 Source: 2026-08-05_11-28-43Z_WhatWeObserveasLLMBehaviorCanBeaSide_effectofInfer.md Model: None --- ## Summary This paper demonstrates that the performance of large language models (LLMs) on benchmark suites is not solely a property of the model itself but can be heavily altered by the inference backend used to generate outputs. By conducting a fully‑crossed experiment across multiple models, frameworks, benchmarks, and generation modes, the authors reveal that backend choices introduce systematic variations in scores—up to roughly 39 % of observed variance—while also showing that these effects are model‑dependent and more pronounced on factual tasks than on social‑bias evaluations. The study argues that benchmark numbers are therefore not backend‑agnostic and calls for explicit disclosure of the inference environment, version, and generation configuration when reporting results. ## Key Contributions - [Finding 1] Inference backends (e.g., HuggingFace, vLLM, Ollama) can significantly change LLM benchmark scores even under greedy decoding, indicating that backend effects are structural rather than merely noise‑driven. - [Finding 2] Approximately 39 % of the variability observed in out‑of‑the‑box results stems from the backend’s default generation parameters and sampling settings, while the remaining variance is attributable to stochastic sampling or model‑specific quirks. - [Finding 3] The impact of backends is especially strong on factual benchmarks compared with social‑bias benchmarks, highlighting a task‑dependent nature of this phenomenon. ## Methodology The authors performed a comprehensive experimental study involving three instruction‑tuned models, five distinct inference frameworks (including HuggingFace, vLLM, and Ollama), six benchmark suites, and four generation modes (greedy, beam search, sampling with temperature, etc.). For each combination they recorded model outputs and compared them against the corresponding benchmark scores, while systematically varying hyper‑parameters such as temperature, top‑k/top‑p, and max length. This fully‑crossed design allowed isolation of backend influence from model capacity and generation settings. ## Results Even when decoding was set to greedy mode—eliminating sampling noise—the switching between backends produced measurable score differences, proving that the backend itself is a non‑negligible factor. Decomposition analysis showed that about 39 % of the variance in benchmark scores can be attributed directly to the backend’s default configuration and generation mode; the rest originates from inherent stochasticity or model‑specific behavior. The effect was more pronounced on factual evaluation tasks, where backend choices led to larger score swings than on social‑bias benchmarks. ## Significance These findings challenge the assumption that benchmark scores are independent of the inference environment and underscore a practical problem: reproducibility suffers when different teams use different backends without disclosure. By mandating full configuration reporting—including backend version, generation hyper‑parameters, and deterministic decoding—the community can enable fair cross‑backend comparisons and reduce misleading performance claims. ## Related Concepts - Inference backend (HuggingFace Transformers, vLLM, Ollama) - Generation mode (greedy, beam search, sampling with temperature) - Hyper‑parameters (temperature, top‑k/top‑p, max length) - Variance decomposition in experimental analysis - Factual vs. social‑bias benchmark evaluation