# Temperature settings in AI

A temperature setting is an LLM/API configuration whose values are reported alongside GPT-4 and Llama-3 accuracy results.

This is one page of public article previews, not the complete archive. Follow Next page to continue. Summaries are not the original full articles.

## Necessary, Not Sufficient, and No Longer Available: Grader Non-Determinism After the Withdrawal of Sampling Controls

DevFeed: [Necessary, Not Sufficient, and No Longer Available: Grader Non-Determinism After the Withdrawal of Sampling Controls](<https://devfeed.tech/articles/necessary-not-sufficient-and-no-longer-available-grader-non-determinism-after-the-withdrawal-of-sampling-controls-144911.md>)

Original publisher: [Read original article](<https://arxiv.org/abs/2606.26185>)

Author: Hiroki Tamba

Published: 2026-11-20T05:00:00Z

Content type: opinion

Language: en

Sources: [arXiv: Machine Learning](<https://devfeed.tech/sources/arxiv-machine-learning.md>)

Topics: [Temperature settings in AI](<https://devfeed.tech/topics/temperature-settings-in-ai.md>), [Language models](<https://devfeed.tech/topics/language-models.md>), [Error Propagation](<https://devfeed.tech/topics/error-propagation.md>)

Tags: [anthropic](<https://devfeed.tech/tags/anthropic.md>), [api](<https://devfeed.tech/tags/api.md>), [cs-lg](<https://devfeed.tech/tags/cs-lg.md>), [entropy](<https://devfeed.tech/tags/entropy.md>), [error](<https://devfeed.tech/tags/error.md>), [evaluation](<https://devfeed.tech/tags/evaluation.md>), [evaluations](<https://devfeed.tech/tags/evaluations.md>), [fail](<https://devfeed.tech/tags/fail.md>), [gate](<https://devfeed.tech/tags/gate.md>), [gpt](<https://devfeed.tech/tags/gpt.md>), [gpt-5-6](<https://devfeed.tech/tags/gpt-5-6.md>), [gpt-5-6-sol](<https://devfeed.tech/tags/gpt-5-6-sol.md>), [gpt-6-1-sol](<https://devfeed.tech/tags/gpt-6-1-sol.md>), [harness](<https://devfeed.tech/tags/harness.md>), [index](<https://devfeed.tech/tags/index.md>), [information](<https://devfeed.tech/tags/information.md>), [llm](<https://devfeed.tech/tags/llm.md>), [llm-as-judge](<https://devfeed.tech/tags/llm-as-judge.md>), [measurement](<https://devfeed.tech/tags/measurement.md>), [openai](<https://devfeed.tech/tags/openai.md>), [sufficient](<https://devfeed.tech/tags/sufficient.md>)

### AI overview

The study reports that temperature=0 is no longer a generally available control for LLM grader variability. In October-November 2026 measurements, Anthropic models rejected it; OpenAI chat completions models accepted only temperature 1, while Responses accepted temperature=0 for four of five current models with reasoning off, a configuration the author had not evaluated. The author proposes reporting per-item normalized entropy of grade distributions at the vendor-permitted setting. Across 22 condition runs and 4,760 calls, this measure ranked graders without estimating rates and identified items where the judge retained no information. Borderline items transferred only partly and unpredictably across model generations, so prior calibration sets could not simply be inherited. The author argues grader disagreement should be reported as an error bar on each verdict.

### Source excerpt

arXiv:2606.26185v3 Announce Type: replace Abstract: LLM-as-judge ("grader") components are now standard in evaluation harnesses, including safety evaluations where a pass/fail verdict may gate downstream deployment decisions. Earlier work, my own included, treated temperature=0 as the remedy for grader non-determinism and asked whether it was sufficient. It was necessary and not sufficient. It is now also unavailable. I report a two-vendor measurement taken in October and November 2026. Anthropic's current models reject the setting outright, and under the API version dated 2026-10-21 all fifteen models listed for my key reject it, the older generations included. On the chat completions endpoint OpenAI's current models accept the parameter and refuse every value but one, so a harness grading through that endpoint is obliged to sample its judge at temperature 1. On the Responses endpoint a request carrying temperature=0 is accepted by four of five current models once reasoning is switched off, a configuration I have not graded under, and by gpt-6.1-sol under no setting I tried. I propose the measurement that replaces the earlier protocol: the per-item normalized entropy of the grade distribution, reported at whatever setting the vendor permits. The direct alternative is closed too: gpt-4o returns token log-probabilities, while gpt-5.6-sol refuses the parameter and the Anthropic Messages API does not accept it at all. Across twenty-two condition runs and 4,760 calls the index orders graders without requiring a rate estimate, and identifies items at which a judge retains no information at all. I further show that a borderline item set carries across model generations only in part and not predictably, so a harness cannot inherit its calibration set. I argue that grader disagreement must be reported as an error bar on every verdict, because it is no longer something an evaluator can configure away.

## Long-Context Generation Is a Sampling Problem (When You Turn Up the Heat)

DevFeed: [Long-Context Generation Is a Sampling Problem (When You Turn Up the Heat)](<https://devfeed.tech/articles/long-context-generation-is-a-sampling-problem-when-you-turn-up-the-heat-139971.md>)

Original publisher: [Read original article](<https://arxiv.org/abs/2611.22148>)

Author: Allen G. Roush, Minh Nhat Nguyen, Ravid Shwartz-Ziv, Judah Goldfeder, Sanjay Basu

Published: 2026-11-18T05:00:00Z

Content type: news

Language: en

Sources: [arXiv: Artificial Intelligence](<https://devfeed.tech/sources/arxiv-artificial-intelligence.md>)

Topics: [Language models](<https://devfeed.tech/topics/language-models.md>), [Temperature settings in AI](<https://devfeed.tech/topics/temperature-settings-in-ai.md>), [llm-reasoning](<https://devfeed.tech/topics/llm-reasoning.md>), [context window](<https://devfeed.tech/topics/context-window.md>), [Open Source Models & Datasets](<https://devfeed.tech/topics/open-source-models-datasets.md>)

Tags: [agentic](<https://devfeed.tech/tags/agentic.md>), [agents](<https://devfeed.tech/tags/agents.md>), [benchmarks](<https://devfeed.tech/tags/benchmarks.md>), [chain-of-thought](<https://devfeed.tech/tags/chain-of-thought.md>), [code](<https://devfeed.tech/tags/code.md>), [coding](<https://devfeed.tech/tags/coding.md>), [coding-agents](<https://devfeed.tech/tags/coding-agents.md>), [correlation](<https://devfeed.tech/tags/correlation.md>), [cs-ai](<https://devfeed.tech/tags/cs-ai.md>), [cs-cl](<https://devfeed.tech/tags/cs-cl.md>), [data](<https://devfeed.tech/tags/data.md>), [generation](<https://devfeed.tech/tags/generation.md>), [github](<https://devfeed.tech/tags/github.md>), [github-issues](<https://devfeed.tech/tags/github-issues.md>), [language-models](<https://devfeed.tech/tags/language-models.md>), [llama](<https://devfeed.tech/tags/llama.md>), [llama-3-1](<https://devfeed.tech/tags/llama-3-1.md>), [long-context](<https://devfeed.tech/tags/long-context.md>), [open-weight-models](<https://devfeed.tech/tags/open-weight-models.md>), [qwen3-5](<https://devfeed.tech/tags/qwen3-5.md>), [reading](<https://devfeed.tech/tags/reading.md>), [sampling](<https://devfeed.tech/tags/sampling.md>)

### AI overview

The study reports that sampler behavior as temperature rises can strongly affect long-generation quality in open-weight models. Across 29 models and ten benchmarks plus retrieval up to one million tokens, top-nsigma retained a median 100% of its temperature-1 score at temperature 2, while top-p retained 26%. On three Qwen3.5 models, coding agents using top-p, top-k, or Top-H resolved none of 100 GitHub issues at temperature 2; top-nsigma resolved 46 to 62. The authors associate quality loss with growth in the candidate-token pool: for one Llama-3.1-8B example, top-p expanded from 4 tokens at temperature 1 to 51,845 at 2, while top-nsigma stayed at 3. They report that fixing the pool at temperature 1 also prevented Top-H, min-p, and p-less from collapsing. Most samplers performed similarly at temperature 1.

### Source excerpt

arXiv:2611.22148v1 Announce Type: new Abstract: Open-weight language models are widely observed to get worse the longer they generate. Often, attempts to fix this involve more training. At high temperature, The sampler, i.e. the rule that picks the next token out of the model's probabilities, decides whether long and agentic generation survives and/or thrives. We test 29 open-weight models from 1B to 122B parameters on ten established benchmarks plus needle retrieval out to one million tokens, covering SWE-bench Verified coding agents, long chain-of-thought reasoning, long-form writing, long structured output and long-context reading. Samplers that keep their pool of candidate tokens small and steady as temperature rises don't lose accuracy. Samplers that let in low-probability tokens fall apart. At temperature 2, coding agents running top-p, top-k or Top-H resolve 0 of 100 GitHub issues, while the same agents running top-nsigma resolve 46 to 62 and win every issue the two samplers disagree on, on three Qwen3.5 models. Over all benchmarks top-nsigma keeps a median 100% of its temperature-1 score where top-p keeps 26%. Counting how many tokens each sampler lets through explains why. In one Llama-3.1-8B story, going from temperature 1 to 2 grows top-p's pool from 4 tokens to 51,845 while top-nsigma stays at 3. Across 133 combinations of sampler setting and temperature, the typical pool size predicts judged quality (Spearman correlation of -0.77), and when we pick the pool at temperature 1 and only apply temperature afterwards, Top-H, min-p and p-less stop collapsing. At the default temperature of 1 most samplers perform about the same, We release all code and data to the public.

## From Noise to Diversity: Random Embedding Injection in LLM Reasoning

DevFeed: [From Noise to Diversity: Random Embedding Injection in LLM Reasoning](<https://devfeed.tech/articles/from-noise-to-diversity-random-embedding-injection-in-llm-reasoning-131912.md>)

Original publisher: [Read original article](<https://arxiv.org/abs/2605.11936>)

Author: Heejun Kim, Seungpil Lee, Jewon Yeom, Jaewon Sok, Seonghyeon Park, Jeongjae Park, Taesup Kim, Sundong Kim

Published: 2026-11-13T05:00:00Z

Content type: article

Language: en

Sources: [arXiv: Artificial Intelligence](<https://devfeed.tech/sources/arxiv-artificial-intelligence.md>)

Topics: [llm-reasoning](<https://devfeed.tech/topics/llm-reasoning.md>), [Parallel reasoning](<https://devfeed.tech/topics/parallel-reasoning.md>), [prompt](<https://devfeed.tech/topics/prompt.md>), [Large Language Model](<https://devfeed.tech/topics/llm.md>), [Temperature settings in AI](<https://devfeed.tech/topics/temperature-settings-in-ai.md>), [grpo](<https://devfeed.tech/topics/grpo.md>)

Tags: [attention](<https://devfeed.tech/tags/attention.md>), [benchmarks](<https://devfeed.tech/tags/benchmarks.md>), [cs-ai](<https://devfeed.tech/tags/cs-ai.md>), [diversity](<https://devfeed.tech/tags/diversity.md>), [embedding](<https://devfeed.tech/tags/embedding.md>), [inference](<https://devfeed.tech/tags/inference.md>), [llm](<https://devfeed.tech/tags/llm.md>), [noise](<https://devfeed.tech/tags/noise.md>), [prompt](<https://devfeed.tech/tags/prompt.md>), [random](<https://devfeed.tech/tags/random.md>), [reasoning](<https://devfeed.tech/tags/reasoning.md>), [sampling](<https://devfeed.tech/tags/sampling.md>), [training](<https://devfeed.tech/tags/training.md>)

### AI overview

Random Soft Prompts (RSPs) append a freshly sampled sequence of random embedding vectors to an LLM input, avoiding prompt training while reaching accuracy comparable to optimized soft prompts on math reasoning benchmarks in several settings. The vectors are drawn from an isotropic Gaussian fitted to the pretrained embedding table's entrywise mean and variance. The authors propose that attention to the unfamiliar positions flattens the distribution over early generated tokens, branching reasoning trajectories; that effect then dilutes as generation continues. At inference, RSPs increase early token diversity and, with temperature sampling, widen Pass@N--the chance that at least one of N attempts is correct. The authors also report practical gains when applying the effect in DAPO training. The supplied text does not specify benchmark names or numerical results.

### Source excerpt

arXiv:2605.11936v3 Announce Type: replace Abstract: Recent soft prompt research has tried to improve reasoning by inserting trained vectors into LLM inputs, yet whether the gain comes from the learned content or from the act of injection itself has not been carefully separated. We study Random Soft Prompts (RSPs), which drop the training step entirely and append a freshly drawn sequence of random embedding vectors to the input. Each RSP vector is sampled from an isotropic Gaussian fitted to the entrywise mean and variance of the pretrained embedding table; the sequence carries no learned content, and yet reaches accuracy comparable to optimized soft prompts on math reasoning benchmarks in several settings. The mechanism unfolds in two stages: because attention has to absorb a never-seen-before random position, the distribution over the first few generated tokens flattens and reasoning trajectories branch, and as generation continues this influence dilutes naturally so the response commits to a single completion. We show that during inference RSPs lift early-stage token diversity and, combined with temperature sampling, widen Pass@N, the probability that at least one out of N attempts is correct. Beyond inference, we carry the same effect into DAPO training and demonstrate practical gains. Our contributions are: (i) RSP isolates the simplest form of soft prompt -- training-free, freshly resampled -- providing a unified lens for the structural effect of injection that variants otherwise differing in training and form all share; (ii) a theoretical and empirical validation of the underlying mechanism; and (iii) an extension from inference to training.

## One Temperature to Rule Them All?

DevFeed: [One Temperature to Rule Them All?](<https://devfeed.tech/articles/one-temperature-to-rule-them-all-128251.md>)

Original publisher: [Read original article](<https://arxiv.org/abs/2611.13077>)

Author: Aviv Orly (School of Physics and Astronomy, Tel Aviv University, Israel), Ori Shem-Ur (School of Physics and Astronomy, Tel Aviv University, Israel), Yaron Oz (School of Physics and Astronomy, Tel Avi

Published: 2026-11-11T05:00:00Z

Content type: article

Language: en

Sources: [arXiv: Artificial Intelligence](<https://devfeed.tech/sources/arxiv-artificial-intelligence.md>), [arXiv: Machine Learning](<https://devfeed.tech/sources/arxiv-machine-learning.md>)

Topics: [Temperature settings in AI](<https://devfeed.tech/topics/temperature-settings-in-ai.md>), [llm-reasoning](<https://devfeed.tech/topics/llm-reasoning.md>)

Tags: [cs-ai](<https://devfeed.tech/tags/cs-ai.md>), [cs-cl](<https://devfeed.tech/tags/cs-cl.md>), [cs-lg](<https://devfeed.tech/tags/cs-lg.md>), [diversity](<https://devfeed.tech/tags/diversity.md>), [inference](<https://devfeed.tech/tags/inference.md>), [large-language-models](<https://devfeed.tech/tags/large-language-models.md>), [machine-learning](<https://devfeed.tech/tags/machine-learning.md>), [performance](<https://devfeed.tech/tags/performance.md>), [robustness](<https://devfeed.tech/tags/robustness.md>), [sampling](<https://devfeed.tech/tags/sampling.md>), [temperature](<https://devfeed.tech/tags/temperature.md>)

### AI overview

In pass@K inference, assigning different temperatures to samples can improve performance, but the gains over a single temperature are typically modest when that temperature is tuned to the sampling budget K. The study analyzes per-question success across models and datasets and finds that harder questions are less likely to share an efficient temperature, with this relationship growing only logarithmically with hardness. It also develops an efficient way to evaluate the theoretically optimal multi-temperature allocation and attributes the limited gains to mathematical "dulling effects," which help explain why temperature choices remain robust across question distributions.

### Source excerpt

arXiv:2611.13077v1 Announce Type: cross Abstract: Inference-time sampling is a central mechanism for improving large language models, with temperature controlling the tradeoff between reliability and diversity. While recent work suggests that varying temperature across samples can improve multi-sample inference, simple fixed-temperature schemes remain the standard in practice. We investigate this discrepancy in the canonical pass@K setting, asking when temperature diversity is useful, and when a single tuned temperature suffices. To this end, we analyze per-question success probabilities across multiple models and datasets, tracking how they vary with sampling temperature. We identify several consistent properties of these profiles, including that harder questions are less likely to share efficient sampling temperatures, although this trend is only logarithmic in hardness. We then derive an efficient method for evaluating the theoretically optimal multi-temperature allocation scheme, and show that although such a scheme improves performance, its gains over single-temperature baselines are typically modest when temperature is tuned as a function of the sampling budget K. We explain this phenomenon through mathematical mechanisms that we call dulling effects, and show how they ensure the robustness of temperature choices across different question distributions. Our results clarify when multi-temperature sampling is useful, and how temperatures should ideally be chosen.

## Article: LLM Reliability Layers Under Test: Accuracy, Yield, and the Limits of Verification

DevFeed: [Article: LLM Reliability Layers Under Test: Accuracy, Yield, and the Limits of Verification](<https://devfeed.tech/articles/article-llm-reliability-layers-under-test-accuracy-yield-and-the-limits-of-verification-125689.md>)

Original publisher: [Read original article](<https://www.infoq.com/articles/llm-reliability-layers-limits-accuracy/>)

Author: Pushpdeep Mishra, Wejdan Bagais

Published: 2026-11-10T09:00:00Z

Content type: article

Language: en

Sources: [InfoQ](<https://devfeed.tech/sources/infoq.md>)

Topics: [Uncertainty quantification LLMs](<https://devfeed.tech/topics/uncertainty-quantification-llms.md>), [Reliable AI outputs](<https://devfeed.tech/topics/reliable-ai-outputs.md>), [Ground truth / benchmark quality](<https://devfeed.tech/topics/ground-truth-benchmark-quality.md>), [Temperature settings in AI](<https://devfeed.tech/topics/temperature-settings-in-ai.md>)

Tags: [ai](<https://devfeed.tech/tags/ai.md>), [ai-architecture](<https://devfeed.tech/tags/ai-architecture.md>), [ai-certification](<https://devfeed.tech/tags/ai-certification.md>), [ai-engineering-certification](<https://devfeed.tech/tags/ai-engineering-certification.md>), [ai-ml-data-engineering](<https://devfeed.tech/tags/ai-ml-data-engineering.md>), [architecture](<https://devfeed.tech/tags/architecture.md>), [article](<https://devfeed.tech/tags/article.md>), [artificial-intelligence](<https://devfeed.tech/tags/artificial-intelligence.md>), [errors](<https://devfeed.tech/tags/errors.md>), [failed](<https://devfeed.tech/tags/failed.md>), [generation](<https://devfeed.tech/tags/generation.md>), [infoq-certification-program](<https://devfeed.tech/tags/infoq-certification-program.md>), [large-language-models](<https://devfeed.tech/tags/large-language-models.md>), [layers](<https://devfeed.tech/tags/layers.md>), [limits](<https://devfeed.tech/tags/limits.md>), [llm](<https://devfeed.tech/tags/llm.md>), [llm-reliability](<https://devfeed.tech/tags/llm-reliability.md>), [llm-reliability-layers-limits-accuracy](<https://devfeed.tech/tags/llm-reliability-layers-limits-accuracy.md>), [machine-learning](<https://devfeed.tech/tags/machine-learning.md>), [ml-data-engineering](<https://devfeed.tech/tags/ml-data-engineering.md>), [more](<https://devfeed.tech/tags/more.md>), [over](<https://devfeed.tech/tags/over.md>), [records](<https://devfeed.tech/tags/records.md>), [recover](<https://devfeed.tech/tags/recover.md>), [reliability](<https://devfeed.tech/tags/reliability.md>), [software-engineering](<https://devfeed.tech/tags/software-engineering.md>), [sort](<https://devfeed.tech/tags/sort.md>), [stacking](<https://devfeed.tech/tags/stacking.md>), [test](<https://devfeed.tech/tags/test.md>), [trust](<https://devfeed.tech/tags/trust.md>), [under](<https://devfeed.tech/tags/under.md>), [verification](<https://devfeed.tech/tags/verification.md>), [yield](<https://devfeed.tech/tags/yield.md>)

### AI overview

Across a benchmark centered on adverse drug mentions, six reliability layers mostly sorted outputs by trust and withheld doubtful records; they corrected almost none and could not recover mentions the extractor missed. Reporting yield alongside accuracy made the cost of withholding visible. A deterministic vocabulary check caught nonexistent codes and unsupported spans but could not distinguish plausible answers from fabricated ones. Asking the model to quote text and choose from a retrieved concept menu performed far better than asking it to recall codes, which it invented 13-18% of the time. Voting did not improve results, self-correction rarely fired, and a second-model judge distinguished right from wrong better when shown the menu, though its verdict was not used to repair outputs. The authors attribute the main CADEC losses to extraction and annotation conventions; supervised CONORM performed better but required annotated training data. They recommend studying the data first, using deterministic lookups, measuring repeat-run variation, treating disagreements as diagnostic signals, and checking that each layer's verdict is consumed and the metric captures the defect. Findings'

### Source excerpt

Verification layers sort outputs by trust rather than fixing errors. In a benchmark of six reliability layers, voting and self-correction failed to recover accuracy - they only withheld doubtful records. Production systems gain more reliability by replacing generation with deterministic lookups, tracking yield over raw accuracy, and resolving extraction bottlenecks before stacking checks. By Pushpdeep Mishra, Wejdan Bagais

## Sampling Reveals Style: Unsupervised, Training-Free Discovery of Prompt-Conditional Stylistic Axes in LLM Activations

DevFeed: [Sampling Reveals Style: Unsupervised, Training-Free Discovery of Prompt-Conditional Stylistic Axes in LLM Activations](<https://devfeed.tech/articles/sampling-reveals-style-unsupervised-training-free-discovery-of-prompt-conditional-stylistic-axes-in-llm-activations-123209.md>)

Original publisher: [Read original article](<https://arxiv.org/abs/2609.19150>)

Author: Ajit Mallavarapu, Ziwei Gu

Published: 2026-11-09T05:00:00Z

Content type: article

Language: en

Sources: [arXiv: Machine Learning](<https://devfeed.tech/sources/arxiv-machine-learning.md>)

Topics: [Large Language Model](<https://devfeed.tech/topics/llm.md>), [qwen](<https://devfeed.tech/topics/qwen.md>), [text-generation](<https://devfeed.tech/topics/text-generation.md>), [prompt](<https://devfeed.tech/topics/prompt.md>), [llama](<https://devfeed.tech/topics/llama.md>), [Temperature settings in AI](<https://devfeed.tech/topics/temperature-settings-in-ai.md>)

Tags: [abstract](<https://devfeed.tech/tags/abstract.md>), [also](<https://devfeed.tech/tags/also.md>), [analysis](<https://devfeed.tech/tags/analysis.md>), [annotations](<https://devfeed.tech/tags/annotations.md>), [apply](<https://devfeed.tech/tags/apply.md>), [arxiv](<https://devfeed.tech/tags/arxiv.md>), [automatically](<https://devfeed.tech/tags/automatically.md>), [but](<https://devfeed.tech/tags/but.md>), [chat](<https://devfeed.tech/tags/chat.md>), [component](<https://devfeed.tech/tags/component.md>), [components](<https://devfeed.tech/tags/components.md>), [conditional](<https://devfeed.tech/tags/conditional.md>), [cost](<https://devfeed.tech/tags/cost.md>), [cs-cl](<https://devfeed.tech/tags/cs-cl.md>), [cs-lg](<https://devfeed.tech/tags/cs-lg.md>), [discovery](<https://devfeed.tech/tags/discovery.md>), [free](<https://devfeed.tech/tags/free.md>), [llm](<https://devfeed.tech/tags/llm.md>), [prompt](<https://devfeed.tech/tags/prompt.md>), [sampling](<https://devfeed.tech/tags/sampling.md>), [style](<https://devfeed.tech/tags/style.md>), [training](<https://devfeed.tech/tags/training.md>)

### AI overview

The paper proposes a training-free way to identify prompt-specific stylistic directions in LLM activations: sample multiple completions of one prompt at elevated temperature, apply PCA to their pooled hidden activations, and label the resulting axes from generations at each pole. In a study using 245 human-elicited annotations, the top two axes for Qwen-3.5-4B-Instruct matched requested human dimensions with 72.8% precision and 43.6% macro-recall; 75.6% of validity ratings judged the pole generations accurate to their labels. Results varied by model: Qwen models and Llama-3.2-3B exposed human-salient axes, while DeepSeek-7B-Chat achieved 35.3% precision, with leading components more dominated by structural than stylistic variation. The abstract presents PCA over decoding variance as a low-cost probe, while showing its usefulness depends on the model.

### Source excerpt

arXiv:2609.19150v3 Announce Type: replace-cross Abstract: Large language models (LLMs) encode rich stylistic structure in their hidden activations, but discovering which stylistic dimensions are salient for a given prompt typically requires supervised contrastive data. We present a training-free, prompt-conditional alternative: we repeatedly sample completions of a single prompt at elevated temperature, apply Principal Component Analysis (PCA) to the pooled hidden activations, and label the resulting axes automatically from the pole generations. We validate the discovered axes against 245 human-elicited stylistic annotations in a two-phase study. On our strongest model (Qwen-3.5-4B-Instruct), the top two axes match spontaneously requested human dimensions with 72.8% precision and 43.6% macro-recall, and 75.6% of validity ratings judge the axes' polar generations accurate to their labels, with 90.9% adjacent inter-annotator agreement. Discoverability is strongly model-dependent: both Qwen models and Llama-3.2-3B expose human-salient axes, while DeepSeek-7B-Chat drops to 35.3% precision, its leading components dominated by structural rather than stylistic variance. Simple PCA over a model's own decoding variance is thus an effective, low-cost probe of stylistic structure in LLM representations, one that also exposes sharp cross-model differences in how that structure is organized.

## API-TAIL: Detecting Model Substitution in LLM APIs through Temperature-Aligned Likelihood Tails

DevFeed: [API-TAIL: Detecting Model Substitution in LLM APIs through Temperature-Aligned Likelihood Tails](<https://devfeed.tech/articles/api-tail-detecting-model-substitution-in-llm-apis-through-temperature-aligned-likelihood-tails-104003.md>)

Original publisher: [Read original article](<https://arxiv.org/abs/2610.36801>)

Author: Haocheng Mei, Yuchuan Tian, Ye Yuan, Chao Xu, Allen Chen, Kai Han, Yunhe Wang

Published: 2026-10-28T04:00:00Z

Content type: article

Language: en

Sources: [arXiv: Machine Learning](<https://devfeed.tech/sources/arxiv-machine-learning.md>)

Topics: [audit](<https://devfeed.tech/topics/audit.md>), [Large Language Model](<https://devfeed.tech/topics/llm.md>), [Temperature settings in AI](<https://devfeed.tech/topics/temperature-settings-in-ai.md>), [API Monetization](<https://devfeed.tech/topics/api-monetization.md>)

Tags: [audit](<https://devfeed.tech/tags/audit.md>), [batch](<https://devfeed.tech/tags/batch.md>), [budget](<https://devfeed.tech/tags/budget.md>), [cs-cl](<https://devfeed.tech/tags/cs-cl.md>), [cs-lg](<https://devfeed.tech/tags/cs-lg.md>), [decoding](<https://devfeed.tech/tags/decoding.md>), [detection](<https://devfeed.tech/tags/detection.md>), [distribution](<https://devfeed.tech/tags/distribution.md>), [llm-apis](<https://devfeed.tech/tags/llm-apis.md>), [rank](<https://devfeed.tech/tags/rank.md>), [responses](<https://devfeed.tech/tags/responses.md>), [routing](<https://devfeed.tech/tags/routing.md>), [sampling](<https://devfeed.tech/tags/sampling.md>), [system-prompts](<https://devfeed.tech/tags/system-prompts.md>), [temperature](<https://devfeed.tech/tags/temperature.md>)

### AI overview

API-TAIL is designed to detect when an LLM API routes some requests to a cheaper substitute while billing for the advertised model. It accounts for honest providers' differing decoding and serving choices by treating them as a composite null. The audit aligns one effective temperature to center standardized surprisal scores across the batch, then flags the endpoint when too many responses remain in the likelihood tails under a threshold calibrated across legitimate configurations. The abstract reports that tests on commercial APIs controlled false alarms across diverse honest providers and detected low-rate substitution with a small query budget. Under the same composite calibration, it substantially outperformed rank- and MMD-based audits. These findings are reported in the supplied abstract.

### Source excerpt

arXiv:2610.36801v1 Announce Type: new Abstract: Commercial language model APIs return only text, allowing a provider to cut costs by quietly routing a fraction of user requests to a cheaper substitute model while billing for the advertised one. Detecting such partial substitution is challenging because honest providers also alter the output distribution through undocumented decoding and serving choices, such as temperature scaling, sampling truncation, repetition and presence penalties, and default system prompts, forcing an audit to test against a composite null of legitimate configurations rather than a single reference. Our key insight is that these legitimate variations primarily shift response typicality across the entire batch, whereas partial substitution injects individual responses that remain anomalous under the claimed model. Building on this, we introduce API-TAIL, a typicality audit that first absorbs batch-level shifts by aligning a single effective temperature to center standardized surprisal scores across the audited batch, and then flags the endpoint if the number of remaining tail responses exceeds a threshold calibrated across legitimate configurations. Evaluated on real-world commercial APIs, API-TAIL reliably controls false alarms across diverse honest providers while detecting even low-rate partial substitution with a small query budget, substantially outperforming existing rank- and MMD-based audits that lose detection power under the same composite calibration.

## Why Temperature 0 Isn't Deterministic in LLM Inference

DevFeed: [Why Temperature 0 Isn't Deterministic in LLM Inference](<https://devfeed.tech/articles/why-temperature-0-isn-t-deterministic-in-llm-inference-102564.md>)

Original publisher: [Read original article](<https://blog.dailydoseofds.com/p/why-temperature-0-isnt-deterministic>)

Author: Avi Chawla

Published: 2026-10-26T23:12:43Z

Content type: article

Language: en

Sources: [Daily Dose of Data Science](<https://devfeed.tech/sources/daily-dose-of-data-science.md>)

Topics: [LLM optimization](<https://devfeed.tech/topics/llm-optimization.md>), [Large Language Model](<https://devfeed.tech/topics/llm.md>), [Temperature settings in AI](<https://devfeed.tech/topics/temperature-settings-in-ai.md>), [vllm](<https://devfeed.tech/topics/vllm.md>), [LLM observability](<https://devfeed.tech/topics/llm-observability.md>)

Tags: [000](<https://devfeed.tech/tags/000.md>), [2](<https://devfeed.tech/tags/2.md>), [3](<https://devfeed.tech/tags/3.md>), [a-system-perspective](<https://devfeed.tech/tags/a-system-perspective.md>), [about](<https://devfeed.tech/tags/about.md>), [addition](<https://devfeed.tech/tags/addition.md>), [agent](<https://devfeed.tech/tags/agent.md>), [agentic](<https://devfeed.tech/tags/agentic.md>), [alignment](<https://devfeed.tech/tags/alignment.md>), [all](<https://devfeed.tech/tags/all.md>), [also](<https://devfeed.tech/tags/also.md>), [api](<https://devfeed.tech/tags/api.md>), [inference](<https://devfeed.tech/tags/inference.md>), [interview](<https://devfeed.tech/tags/interview.md>), [isn-t](<https://devfeed.tech/tags/isn-t.md>), [llm](<https://devfeed.tech/tags/llm.md>), [llm-inference](<https://devfeed.tech/tags/llm-inference.md>), [popular](<https://devfeed.tech/tags/popular.md>), [question](<https://devfeed.tech/tags/question.md>), [temperature](<https://devfeed.tech/tags/temperature.md>)

### AI overview

Temperature 0 removes sampling but does not guarantee identical LLM outputs: batch size can change floating-point addition order in GPU kernels, slightly shifting logits and flipping near-tied token choices. Because generation is autoregressive, one token flip can lead to widely different completions. The excerpt reports 80 completions across 1,000 Qwen3-235B runs; batch-invariant kernels made all 1,000 identical, at a speed cost. Reported Qwen3-8B timings were 26 seconds for default vLLM, 55 for its first deterministic version, and 42 after an attention-kernel improvement. It notes beta support via `VLLM_BATCH_INVARIANT=1` and an SGLang deterministic-inference flag with a reported 34.35% average slowdown. Reproducibility matters especially for evals, production debugging, and on-policy RL.

### Source excerpt

...explained visually (a popular LLM interview question).

## Behind Aggregate Scores: What Systematically Varying Arena-Hard's LLM Judge Reveals

DevFeed: [Behind Aggregate Scores: What Systematically Varying Arena-Hard's LLM Judge Reveals](<https://devfeed.tech/articles/behind-aggregate-scores-what-systematically-varying-arena-hard-s-llm-judge-reveals-98073.md>)

Original publisher: [Read original article](<https://arxiv.org/abs/2610.30512>)

Author: Louise Yorke

Published: 2026-10-23T04:00:00Z

Content type: article

Language: en

Sources: [arXiv: Artificial Intelligence](<https://devfeed.tech/sources/arxiv-artificial-intelligence.md>)

Topics: [Large Language Model](<https://devfeed.tech/topics/llm.md>), [Temperature settings in AI](<https://devfeed.tech/topics/temperature-settings-in-ai.md>), [AI Prompt Templates](<https://devfeed.tech/topics/ai-prompt-templates.md>), [A/B Testing](<https://devfeed.tech/topics/a-b-testing.md>), [llm-reasoning](<https://devfeed.tech/topics/llm-reasoning.md>)

Tags: [arena](<https://devfeed.tech/tags/arena.md>), [cs-ai](<https://devfeed.tech/tags/cs-ai.md>), [cs-cl](<https://devfeed.tech/tags/cs-cl.md>), [cs-cy](<https://devfeed.tech/tags/cs-cy.md>), [evaluations](<https://devfeed.tech/tags/evaluations.md>), [format](<https://devfeed.tech/tags/format.md>), [gpt](<https://devfeed.tech/tags/gpt.md>), [instructions](<https://devfeed.tech/tags/instructions.md>), [llm](<https://devfeed.tech/tags/llm.md>), [models](<https://devfeed.tech/tags/models.md>), [prompt](<https://devfeed.tech/tags/prompt.md>), [reasoning](<https://devfeed.tech/tags/reasoning.md>), [repeat](<https://devfeed.tech/tags/repeat.md>), [responses](<https://devfeed.tech/tags/responses.md>), [score](<https://devfeed.tech/tags/score.md>), [setup](<https://devfeed.tech/tags/setup.md>), [stable](<https://devfeed.tech/tags/stable.md>), [temperature](<https://devfeed.tech/tags/temperature.md>), [version](<https://devfeed.tech/tags/version.md>)

### AI overview

Across 500 Arena-Hard v2.0 prompts, GPT-4.1's win/tie/loss judgments changed substantially even when aggregate scores stayed similar. Repeating the default setup shifted its score by about one point while changing outcomes on 21.2% of prompts. Changing instructions produced further sensitivity: a setup omitting reasoning and several other instructions changed outcomes on 28.2 percentage points more prompts than unchanged reruns did on average and lowered the score by 4.09 points; an accuracy-prioritizing setup changed outcomes by 6.7 points more while barely moving the aggregate score. The authors conclude that aggregate scores alone do not establish prompt-level repeatability. For evaluations using individual verdicts, they recommend repeating each setup and reporting both aggregate scores and prompt-level agreement.

### Source excerpt

arXiv:2610.30512v1 Announce Type: cross Abstract: LLM judges are used to determine which of two answers is better. Trusting these verdicts requires knowing how repeatable they are and how much they depend on the judge's instructions. We show that similar aggregate scores can conceal substantial changes in individual verdicts, both when the same setup is repeated and when the instructions change. Using 500 Arena-Hard v2.0 prompts with two models' answers held fixed, we run GPT-4.1 as the judge under all eight combinations of criteria, output format and task framing, and repeat every setup unchanged at temperature zero on a pinned model version. Rerunning the default setup moves the aggregate score by about one point but changes the win/tie/loss outcome on 21.2% of prompts. Instruction changes introduce further sensitivity: in one setup, which asks for the verdict without reasoning and also drops several other instructions, outcomes change on 28.2 percentage points more prompts than the two setups' unchanged reruns do on average, and the aggregate score falls by 4.09 points. In another, where the criteria prioritise accuracy, outcomes change on 6.7 percentage points more prompts by the same comparison, while the aggregate score barely moves. A stable aggregate score therefore does not establish that individual verdicts are repeatable. This distinction matters when those verdicts are used as preference labels or to assess individual responses. Evaluations that rely on individual verdicts should repeat each setup they use and report both aggregate scores and prompt-level agreement.

## Power-Law Correlations Without Apparent Temperature-Tuned Criticality in Fixed-Tree Hierarchical Languages

DevFeed: [Power-Law Correlations Without Apparent Temperature-Tuned Criticality in Fixed-Tree Hierarchical Languages](<https://devfeed.tech/articles/power-law-correlations-without-apparent-temperature-tuned-criticality-in-fixed-tree-hierarchical-languages-93283.md>)

Original publisher: [Read original article](<https://arxiv.org/abs/2610.24334>)

Author: Marcel K\\"uhn, Bernd Rosenow

Published: 2026-10-21T04:00:00Z

Content type: article

Language: en

Sources: [arXiv: Machine Learning](<https://devfeed.tech/sources/arxiv-machine-learning.md>)

Topics: [Temperature settings in AI](<https://devfeed.tech/topics/temperature-settings-in-ai.md>)

Tags: [autoregressive](<https://devfeed.tech/tags/autoregressive.md>), [cond-mat-dis-nn](<https://devfeed.tech/tags/cond-mat-dis-nn.md>), [cs-lg](<https://devfeed.tech/tags/cs-lg.md>), [grammar](<https://devfeed.tech/tags/grammar.md>), [information](<https://devfeed.tech/tags/information.md>), [ising](<https://devfeed.tech/tags/ising.md>), [languages](<https://devfeed.tech/tags/languages.md>), [machine-learning](<https://devfeed.tech/tags/machine-learning.md>), [power](<https://devfeed.tech/tags/power.md>), [probabilistic](<https://devfeed.tech/tags/probabilistic.md>), [range](<https://devfeed.tech/tags/range.md>), [sampling](<https://devfeed.tech/tags/sampling.md>), [structure](<https://devfeed.tech/tags/structure.md>), [temperature](<https://devfeed.tech/tags/temperature.md>), [token](<https://devfeed.tech/tags/token.md>), [tokens](<https://devfeed.tech/tags/tokens.md>), [training](<https://devfeed.tech/tags/training.md>)

### AI overview

In a finite-depth probabilistic context-free grammar on a fixed hierarchical tree, exact next-token probabilities are computed by belief propagation, rescaled by softmax temperature, and sampled autoregressively. Across tested temperatures and grammar ensembles, token-to-token mutual information remains consistent with a power-law envelope: temperature changes its magnitude and fitted exponent, but the accessible system sizes show neither a long-distance plateau associated with an ordered phase nor a clear crossover to short-range exponential decay. An approximate Ising model on a tree accounts for how exponential decay with tree distance can produce power laws with token distance, so these correlations need not depend on tuning to a special decoding temperature. The study is a controlled baseline; it does not include training, approximation error, or neural architecture.

### Source excerpt

arXiv:2610.24334v1 Announce Type: new Abstract: Sampling temperature can substantially reshape autoregressive generation, but it is unclear when temperature changes in long-range correlations reflect a genuine phase transition rather than a smooth change in statistics. We study this question in a controlled analogue of temperature sampling: a finite-depth probabilistic context-free grammar on a fixed hierarchical tree, where exact next-token conditionals are computed by belief propagation and then rescaled by a softmax temperature before autoregressive sampling. We measure two-point mutual information between tokens as a function of separation. Across the tested temperatures and grammar ensembles, mutual information remains well described by a power-law envelope. Temperature changes the correlation magnitude and fitted exponent, but within the accessible system sizes we find no long-distance plateau characteristic of an ordered phase and no clear crossover to short-range exponential decay. An approximate mapping to an Ising model on a tree explains how exponential decay in tree distance becomes a power law in token distance, allowing power laws to persist without tuning to a special decoding temperature. This controlled baseline clarifies which temperature effects can arise from hierarchical structure alone, before adding training, approximation error, or neural architecture.

## Why Temperature 0 Isn't Deterministic

DevFeed: [Why Temperature 0 Isn't Deterministic](<https://devfeed.tech/articles/why-temperature-0-isn-t-deterministic-84540.md>)

Original publisher: [Read original article](<https://towardsdatascience.com/why-temperature-0-isnt-deterministic/>)

Author: Utkarsh Mangal

Published: 2026-10-10T12:00:00Z

Content type: article

Language: en

Sources: [Towards Data Science](<https://devfeed.tech/sources/towards-data-science.md>)

Topics: [Temperature settings in AI](<https://devfeed.tech/topics/temperature-settings-in-ai.md>), [Large Language Model](<https://devfeed.tech/topics/llm.md>), [quantization](<https://devfeed.tech/topics/quantization.md>), [Memory Safety](<https://devfeed.tech/topics/memory-safety.md>)

Tags: [ai](<https://devfeed.tech/tags/ai.md>), [deep-learning](<https://devfeed.tech/tags/deep-learning.md>), [floating-point](<https://devfeed.tech/tags/floating-point.md>), [gpu](<https://devfeed.tech/tags/gpu.md>), [large-data-models](<https://devfeed.tech/tags/large-data-models.md>), [large-language-models](<https://devfeed.tech/tags/large-language-models.md>), [llm](<https://devfeed.tech/tags/llm.md>), [noise](<https://devfeed.tech/tags/noise.md>), [temperature](<https://devfeed.tech/tags/temperature.md>), [token](<https://devfeed.tech/tags/token.md>)

### AI overview

The article analyzes why temperature-zero large language model inference can produce different outputs across runs. It connects token flips to floating-point noise, near-ties between logits, and kernels whose reduction order varies with batch size, then derives and tests an estimate of per-token flip probability. It also discusses limits of the experiments and recommends tolerant or semantic evaluation instead of exact output matching.

### Source excerpt

A one-line formula for how often an LLM's top token flips, and why identical completions fall apart after about a hundred tokens The post Why Temperature 0 Isn't Deterministic appeared first on Towards Data Science.

## Ep. 2: Mastering LLM Integration with Go and Prediction Guard

DevFeed: [Ep. 2: Mastering LLM Integration with Go and Prediction Guard](<https://devfeed.tech/articles/ep-2-mastering-llm-integration-with-go-and-prediction-guard-22244.md>)

Original publisher: [Read original article](<https://www.ardanlabs.com/blog/2024/06/ep2-mastering-llm-integration-with-go-and-prediction-guard.html>)

Published: 2024-07-06T00:00:00Z

Content type: tutorial

Language: en

Sources: [William Kennedy](<https://devfeed.tech/sources/william-kennedy.md>)

Topics: [Go client for Prediction Guard](<https://devfeed.tech/topics/go-client-for-prediction-guard.md>), [Using Prediction Guard API](<https://devfeed.tech/topics/using-prediction-guard-api.md>), [Go Language](<https://devfeed.tech/topics/go-language.md>), [Large Language Model](<https://devfeed.tech/topics/llm.md>), [Temperature settings in AI](<https://devfeed.tech/topics/temperature-settings-in-ai.md>)

Tags: [access-hosted-language-models](<https://devfeed.tech/tags/access-hosted-language-models.md>), [advanced-ai-capabilities](<https://devfeed.tech/tags/advanced-ai-capabilities.md>), [ai](<https://devfeed.tech/tags/ai.md>), [ai-project-innovation](<https://devfeed.tech/tags/ai-project-innovation.md>), [ai-response-variability](<https://devfeed.tech/tags/ai-response-variability.md>), [ai-tools-for-developers](<https://devfeed.tech/tags/ai-tools-for-developers.md>), [api](<https://devfeed.tech/tags/api.md>), [client](<https://devfeed.tech/tags/client.md>), [configure-max-tokens-and-temperature](<https://devfeed.tech/tags/configure-max-tokens-and-temperature.md>), [connect](<https://devfeed.tech/tags/connect.md>), [customizing-ai-model-output](<https://devfeed.tech/tags/customizing-ai-model-output.md>), [effective](<https://devfeed.tech/tags/effective.md>), [effective-ai-prompts](<https://devfeed.tech/tags/effective-ai-prompts.md>), [engineering](<https://devfeed.tech/tags/engineering.md>), [episode-2-generative-ai](<https://devfeed.tech/tags/episode-2-generative-ai.md>), [fine-tuning-ai-responses](<https://devfeed.tech/tags/fine-tuning-ai-responses.md>), [generate-diverse-ai-responses](<https://devfeed.tech/tags/generate-diverse-ai-responses.md>), [generative-ai](<https://devfeed.tech/tags/generative-ai.md>), [generative-ai-tutorial](<https://devfeed.tech/tags/generative-ai-tutorial.md>), [go](<https://devfeed.tech/tags/go.md>), [go-client-for-prediction-guard](<https://devfeed.tech/tags/go-client-for-prediction-guard.md>), [go-client-setup-tutorial](<https://devfeed.tech/tags/go-client-setup-tutorial.md>), [go-developers-and-ai](<https://devfeed.tech/tags/go-developers-and-ai.md>), [go-programming](<https://devfeed.tech/tags/go-programming.md>), [go-programming-language-ai](<https://devfeed.tech/tags/go-programming-language-ai.md>), [hosted-ai-models-setup](<https://devfeed.tech/tags/hosted-ai-models-setup.md>), [integrate-llms-into-projects](<https://devfeed.tech/tags/integrate-llms-into-projects.md>), [integration](<https://devfeed.tech/tags/integration.md>), [intro-to-generative-ai-series](<https://devfeed.tech/tags/intro-to-generative-ai-series.md>), [language-models](<https://devfeed.tech/tags/language-models.md>), [large-language-models-llms](<https://devfeed.tech/tags/large-language-models-llms.md>), [learn-ai-with-go](<https://devfeed.tech/tags/learn-ai-with-go.md>), [leverage-large-language-models](<https://devfeed.tech/tags/leverage-large-language-models.md>), [llm](<https://devfeed.tech/tags/llm.md>), [llms](<https://devfeed.tech/tags/llms.md>), [manage-ai-output-variability](<https://devfeed.tech/tags/manage-ai-output-variability.md>), [practical-ai-integration](<https://devfeed.tech/tags/practical-ai-integration.md>), [practical-ai-with-go-language](<https://devfeed.tech/tags/practical-ai-with-go-language.md>), [prediction-guard-api-tutorial](<https://devfeed.tech/tags/prediction-guard-api-tutorial.md>), [prompt](<https://devfeed.tech/tags/prompt.md>), [prompt-engineering](<https://devfeed.tech/tags/prompt-engineering.md>), [prompt-engineering-guide](<https://devfeed.tech/tags/prompt-engineering-guide.md>), [responses](<https://devfeed.tech/tags/responses.md>), [step-by-step-ai-tutorial](<https://devfeed.tech/tags/step-by-step-ai-tutorial.md>), [temperature](<https://devfeed.tech/tags/temperature.md>), [temperature-settings-in-ai](<https://devfeed.tech/tags/temperature-settings-in-ai.md>), [tokens](<https://devfeed.tech/tags/tokens.md>), [using-llms-with-go](<https://devfeed.tech/tags/using-llms-with-go.md>), [using-prediction-guard-api](<https://devfeed.tech/tags/using-prediction-guard-api.md>)

### AI overview

The episode shows how to connect to hosted language models using Prediction Guard's Go client, without requiring specialized hardware. It covers prompt engineering and configuring max tokens to control response length and temperature to influence output variability. Repeating the same prompt can produce different outputs, and the episode explains how developers can use that variability. The supplied text describes these topics but does not provide specific code examples or parameter values.

### Source excerpt

Introduction: Welcome to Episode 2 of our Intro to Generative AI series! In this segment, Daniel dives into the practical aspects of working with large language models (LLMs) using the Go programming language and the Prediction Guard API. Accessing LLMs: Learn how to set up and connect to hosted models using the Go client for Prediction Guard. Prompt Engineering: Discover how to create effective prompts and configure parameters like max tokens and temperature. Output Variability: Understand how to manage and utilize variability in AI responses for different results.