arXiv:2610.36178cs.CLOct 2026Cited by 1 paper on PaperVantage

Manuscript Offprint

arXiv:2610.36178

3, 7, 14, 17, 42: Instruction Tuning Installs and Sharpens Number-Choice Heuristics in Language Models

Samar Ansari

ABSTRACT

We measure, without sampling error, the probability a language model assigns to each integer from 1 to N when asked for a random number. For a fixed prompt the model defines one probability vector, which we compute by summing over each integer's scored spellings rather than estimate by sampling, removing the noise that limits earlier studies [1, 4]. We evaluate 18 open-weight model lines at five ranges up to N = 100, under 29 decoding configurations, on two inference stacks; 15 of them have matched base and instruction-tuned checkpoints that both give usable answers. Instruction tuning makes the distribution less uniform in all 15 pairs. It installs one heuristic, round-number avoidance, and sharpens another, endpoint avoidance. Base checkpoints do not avoid round numbers once the endpoints are removed from those sets; tuned checkpoints avoid them, multiples of 10 almost completely. Base checkpoints return the endpoints 1 and N at 0.30 to 0.60 of the interior rate; tuned checkpoints almost never return them. A preference for odd numbers is consistent across tuned checkpoints only at N = 100, where base checkpoints also show it weakly. Endpoint avoidance and the odd preference fit the account Kubovy and Psotka [6] proposed for human number choice; round-number avoidance is not part of that account, and the midpoint avoidance it predicts is essentially absent, with one slight exception at N = 100. Tuning does not install a new favourite integer shared across models: above N = 10 no modal integer is shared by more than 42 percent of tuned conditions, and P(17)P(17) rises in 10 of 15 pairs and falls in 5. The concentration is present in the model's own distribution: at temperature 1.0, nucleus truncation at top-p 0.95 adds a median of 0.035 to the total variation distance.

1 Introduction

Ask a chat model to pick a number between 1 and 10 and it will answer. Such requests are common: people use models to break ties, to make arbitrary choices and to stand in for a coin flip. The behaviour looks like a curiosity. We treat it as a question about calibration. A model with no reason to prefer any option should spread its probability across the options. The same requirement arises whenever a model must make an arbitrary choice among plausible candidates. What a model does when nothing favours any answer is therefore a measurable property, not a parlour trick.

Existing evidence on this behaviour comes almost entirely from sampling. A model is prompted many times under a fixed configuration and the answers are counted [4, 9]; budgets are typically on the order of 100 calls per configuration [1]. Sampling answers a coarse question well, but it cannot answer the mechanism question. A histogram of observed answers conflates two objects: the distribution the model itself assigns to candidates, and whatever the decoder does to that distribution. If instruction tuning concentrates the distribution and truncation flattens it, or the other way round, samples alone cannot tell which. Sampling error also limits resolution. Fine structure, such as the mass on one integer relative to its neighbours, is largely invisible at these budgets.

Our approach removes both obstacles for the primary measurement. For a fixed prompt and no conversation history, a language model defines exactly one probability distribution over continuations. Each candidate integer corresponds to a set of token sequences; each sequence has a computable conditional probability, and stopping after it carries its own probability. We score the bare and leading-space spelling of every candidate integer and sum. The result is the model's answer distribution over those spellings, with zero sampling error. Because the quantity is computed rather than estimated, questions of sample size and estimator bias do not arise for the primary measurement; they apply only to the sampling check we use for validation. We compute these distributions for 18 open-weight model lines, at five ranges from N = 5 to N = 100, across 29 decoding configurations, on two inference stacks.

First, instruction tuning concentrates the distribution. In all 15 checkpoint pairs where both variants give usable answers, the tuned model sat further from uniform than its base counterpart. At N = 30, gamma-3-4b moves from a total variation distance of 0.135 to 0.966. When the assistant turn is prefilled with “Answer:”, the tuned checkpoint places probability 1.000 on the integer 17. Base checkpoints can be nearly uniform: OLMo-2-7B base sits at a distance of 0.063. Second, tuned models avoid round numbers and base models do not. With endpoints excluded from the sets, base checkpoints place 0.92 to 1.12 of the uniform mass on interior multiples of 10, which is parity; tuned checkpoints place 0.00 to 0.12. Third, tuned models abandon the endpoints. Relative to the average interior integer, base models already return 1 or N only 0.30 to 0.60 times as often; tuned models return them at relative rates of 0.000 to 0.001 at every range. Fourth, tuned models lean toward odd numbers, but the lean is consistent across models only at N = 100. With endpoints, multiples of 5 and the modal integer removed, odd integers receive 2.09 times the mass of even ones at the median, and 27 of 33 tuned conditions prefer odd. At N = 20 and N = 30 the medians are 1.64 and 1.24, but a third of tuned conditions prefer even. Base checkpoints sit near parity at N = 20 and N = 30 and slightly above it at N = 100. Endpoint avoidance and the odd preference fit the account Kubovy and Psotka proposed for human number choice [6]; round-number avoidance is not part of that account. The specific integers models favour match human data at one range only: 7 at N = 10.

Our contributions are:

• an enumeration method for answer distributions, replacing sampling with a sum over token sequences, checked against 5,000 sampled generations for one condition and replicated on a second hardware stack;

  • a controlled base versus instruct comparison across 15 checkpoint pairs, with the answer position, decoding and hardware held fixed;

• evidence that round-number avoidance appears only after instruction tuning, that endpoint avoidance already present in base checkpoints is pushed by tuning to near-total avoidance, and that an odd-number preference is consistent only at the largest range;

• a public dataset of exact distributions, covering 85 completed runs and 12,325 result rows.

We claim novelty for the measurement and for the decomposition of behaviour into model and decoder contributions, not for the phenomenon itself: that base models are closer to uniform than tuned ones has already been reported from sampled data [8].