We asked LLMs to pick a random number.
We took 3 popular LLMs:
... and asked them all the same question:
We tried this with temperature settings ranging from 0.0
(which always pick the favorite), 0.1
, 0.2
, ... 1.0
(which picks more randomly).
A good random number generator would pick all numbers with equal probability, i.e. there's a 1% chance of picking any number
But each LLM picked some numbers (like 42, 72) far more often than others.
LenioLabs' experiment in Oct 2023 revealed 42 as GPT 3.5 Turbo's favorite number. In Apr 2024, 47 is its favorite.
While 47 is a strong favorite, 42 emerges as the leader. Is this perhaps because GPT 3.5 was used to train Claude 3 Haiku, and 42 was its favorite earlier?
While 42 is the second most popular, 72 is by far the leader. What's so interesting about 72?
While 42 is the second most popular, 72 is by far the leader.
Some behaviors are explainable based on human preference.
Multiple of | Frequency |
---|
Ends with | Frequency |
---|
But some behaviours are not so obvious.
We may need more research into LLM psychology.
UPDATE: A few readers on LinkedIn and DVS Slack pointed out a few interesting related pieces: