原帖引用 · 原文
Rohan Paul@rohanpaul_ai
Title: "The Illusion of Stochasticity in LLMs"
New Google DeepMind paper finds that AI models cannot make truly random choices on their own, but larger models pick correctly when a computer program gives them a random number first.
Agents often need to pick actions at random with set odds, like checking servers in an unpredictable order. LLMs say they will pick uniformly, then keep landing on favorites like 7, 42, or answer C.
They asked Gemini, Qwen3, and OLMo models to sample from simple distributions 1024 times each. They also tried other temperature and sampling settings, and gave models a random number to convert.
Every reported statistical test for matching the target odds failed, and changing temperature or top-p did not fix it. In a security game where truly random checks let attackers win 75% of the time, Gemini's picks let them win 96.6% to 99.9%.
If your agent needs randomness, generate it in code and pass it in, instead of asking the model to be random.
在 X 查看这条帖子 ↗
· UTC+8