The FID Lottery: Quantifying Hidden Randomness in Generative-Model Evaluation
This paper reveals that the Frechet Inception Distance (FID) exhibits significant hidden randomness primarily driven by training seeds rather than sampling variations, prompting a recommendation to report FID with error bars and treat small performance gaps as statistically inconclusive.
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 are a judge at a cooking competition. Every chef (a generative AI model) presents a dish, and you give them a score based on how delicious it looks and tastes. In the world of AI image generation, this score is called FID (Fréchet Inception Distance). The lower the score, the better the dish.
For years, the community has treated this score like a perfect, unchangeable fact. If Chef A gets a score of 34.0 and Chef B gets 33.5, everyone assumes Chef B is definitively better.
This paper, "The FID Lottery," argues that this is a dangerous illusion. The authors claim that the score you see isn't just a measure of the chef's skill; it's also a measure of luck.
Here is the breakdown of their findings using simple analogies:
1. The Two Lotteries
The authors say that every time an AI generates an image, two different "lotteries" are being played:
The Training Lottery (The Big One): Before the chef even starts cooking, they roll the dice on three things:
- The Ingredients: How the data is shuffled and ordered.
- The Pantry Setup: How the AI's brain (weights) is initialized at the start.
- The Cooking Process: A specific type of "noise" (random static) is added to the recipe at every single step of training.
- The Result: Even if two chefs follow the exact same recipe, the one who got the "lucky" dice roll during training will end up with a slightly different (and often better) dish.
The Generation Lottery (The Small One): Once the dish is cooked, the chef has to plate it. They have to pick a random starting point for the final garnish.
- The Result: If you ask the same chef to plate the dish 10 times, the scores will vary slightly, but not much.
The Big Discovery: The authors found that retraining the model (playing the Training Lottery again) changes the score 3.2 times more than just re-plating the same dish (playing the Generation Lottery).
2. The "Hidden" Noise Floor
The paper reveals that there is a "noise floor" for these scores.
- Imagine the score is a thermometer. The authors found that the temperature fluctuates naturally by about 1% to 2% just because of luck, even if the chef does nothing different.
- The Problem: Many recent AI papers claim to have improved the score by tiny amounts (e.g., going from 34.0 to 33.8). The authors argue that if the improvement is smaller than this 1–2% "luck gap," it might not be a real improvement at all. It might just be that the lucky dice rolled in their favor that time.
3. Bigger Isn't Always Better (Regarding Luck)
You might think that if you build a bigger, more powerful AI (a bigger kitchen), the luck factor would disappear.
- The Finding: No. Whether the AI is small or huge, the "luck gap" stays roughly the same percentage (1–2%).
- The Analogy: It's like rolling dice. Whether you roll a single die or a thousand dice, the randomness is still there. Making the model bigger doesn't make the dice less random.
4. The "Golden Ticket" (Luck of the Draw)
The authors found that some training runs are just incredibly lucky.
- The Finding: A "lucky" training seed (a lucky start) can reach the same high-quality score as an "unlucky" seed, but it can do it twice as fast.
- The Implication: If a researcher claims their new method made training 2x faster, they might just be comparing their "unlucky" old method against a "lucky" new run. They might not have actually improved the code; they just got lucky with the dice.
5. Tuning the Guidance (The "Secret Sauce")
The paper also looked at a setting called "Classifier-Free Guidance" (CFG), which is like a dial that tells the AI how strictly to follow a prompt.
- The Finding: If you tune this dial perfectly for every single training run, you can reduce the noise gap by half.
- The Catch: Doing this changes the rankings. The "lucky" seed that was #1 before might drop to #5 after you tune the dial. It's like if you adjusted the oven temperature for every single cake; the one that was best at 350°F might not be the best at 360°F.
The New Rules of the Game
Based on these findings, the authors suggest a new way to report results so we stop being fooled by luck:
- Don't trust a single number: Don't just report one score. Report an "error bar" (a range) based on running the training multiple times with different seeds.
- Ignore tiny wins: If a new method only improves the score by less than ~1.3%, treat it as "inconclusive." It's likely just noise.
- Tune the dial: If you are using guidance, tune it specifically for each run, but remember that this changes which runs are considered "best."
In summary: The paper tells us that in the world of AI image generation, luck plays a massive role. We have been treating random fluctuations as scientific breakthroughs. To know if a new method is actually better, we need to run the experiment many times and see if the improvement holds up against the "noise" of the lottery.
Drowning in papers in your field?
Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.