Quantifying non deterministic drift in large language models
This paper empirically quantifies baseline behavioral drift in large language models by demonstrating that output variability persists even at zero temperature across different models and prompt types, establishing a systematic reference point for evaluating future mitigation strategies.
Original paper licensed under CC BY 4.0 (http://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer
Imagine you have a very smart, creative robot assistant. You ask it the exact same question, "What's the weather like?" and you tell it, "Be as precise and boring as possible." You'd expect it to give you the exact same answer every single time, right?
This paper, written by Claire Nicholson, investigates what happens when you actually try that with modern AI robots (called Large Language Models or LLMs). The surprising finding is: Even when you tell the robot to be perfectly consistent, it often isn't.
Here is a simple breakdown of what the study found, using everyday analogies:
1. The "Ghost in the Machine" (Non-Determinism)
The researchers treated two different AI models like they were identical twins:
- The Cloud Robot: A model called
gpt-4o-minithat lives on a big server farm (like a restaurant kitchen you can't see). - The Local Robot: A model called
llama3.1-8bthat runs on a single computer in a lab (like a chef cooking in your own kitchen).
They asked these robots the same questions over and over again, with the settings turned to "maximum consistency" (Temperature 0.0).
- The Result: The Cloud Robot gave a different answer about 1 out of every 4 times. The Local Robot was more consistent, but still changed its answer about 1 out of every 10 times.
The Analogy: Imagine asking a baker to make a chocolate cake using the exact same recipe and ingredients. You'd expect the cake to look identical every time. But in this study, the baker (the AI) sometimes adds a pinch more salt, or arranges the sprinkles differently, even though you told them to follow the recipe perfectly.
2. Why Does This Happen?
The paper suggests two main reasons for this "drift":
- The Model Itself: Bigger, more complex models seem to be more "jittery" and less consistent than smaller ones.
- The Kitchen (Infrastructure): For the Cloud Robot, the way the request travels through the internet, how the computer processes the data, or even how the server is organized can change the result. It's like if the baker's oven had a slight temperature fluctuation or if the mixing bowl was slightly different size each time, even if the recipe was the same.
3. The "Temperature" Knob
The researchers also tested what happens when they turned up the "Temperature" (a setting that makes AI more creative and random).
- Low Temperature (0.0): The robot tries to be boring and consistent, but still slips up occasionally.
- High Temperature (0.7): The robot goes wild. In this mode, every single answer was different. It was like asking the baker to make a cake, but telling them to "get creative." Suddenly, every cake looked completely different.
4. The "Word Count" and "Similarity" Check
How did they measure this? They didn't just read the answers; they used math to compare them.
- Unique Fraction: They counted how many times the robot gave a totally new answer.
- Jaccard Similarity: This is a fancy way of asking, "How many words are the same?"
- When the robot was "boring" (0.0), the answers were about 90% similar.
- When the robot was "creative" (0.7), the answers were less than 50% similar.
5. What This Means for You (The "Variance Budget")
The paper doesn't tell you how to fix this problem. Instead, it says: "You need to know this is happening before you try to fix it."
Think of it like a "Variance Budget."
- If you are building a system that generates financial numbers, you might say, "I can only tolerate a 5% difference in the output."
- If the AI drifts more than that, you know you need to intervene.
- But first, you need to know what the "normal" drift looks like without any help. This paper provides that baseline map.
Summary
This study is a "measurement report." It didn't invent a new way to stop the robots from changing their minds. Instead, it measured exactly how much they change their minds when left alone.
The main takeaway: Even when you think you have a robot locked down to be 100% predictable, it's actually wiggling around a bit. If you rely on a single answer from an AI, you might be missing the fact that it could have said something slightly different the next time you asked. To get the full picture, you might need to ask the same question a few times and look at the average.
Drowning in papers in your field?
Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.