Skip to content
AI & Machine Learning Medium #benchmark-contamination#overfit#eval

Leaderboard Overfit

Models tuned on a benchmark. Held-out variants reveal the gap.

A free, animated leaderboard overfit you can read here or embed on any website, from Scrollchart.

Leaderboard Overfit

Leaderboard OverfitHeadline score vs held-out variant; contaminated models drop 5-9 points, clean models drop <1

Headline score vs held-out variant for several models. Models with public benchmark in their training drop more than models trained earlier. Contamination-detection methods (n-gram overlap, perplexity gap) explained.

Good for

  • AI research literacy articles explaining why leaderboard rankings mislead practitioners
  • ML engineering content on contamination detection methods before model deployment
  • Policy and governance pieces covering evaluation integrity for foundation model audits

Source & accuracy

This leaderboard overfit is an editorial illustration built to represent the concept accurately. Where it shows figures, they are typical or representative values chosen to make the relationship clear, not a single underlying dataset. The diagram and its explainer are reviewed and maintained centrally, and updated over time as understanding improves.

Gaming the public test set

Kaggle and other machine learning competitions publish leaderboards where teams submit predictions on a public test set and see immediate scores. The problem: if hundreds of teams submit thousands of predictions, each trying to maximize public score, someone will eventually find patterns in the public data that do not generalize to the hidden test set (used for final ranking). The public score is optimistic.

Leaderboard overfitting happens when a team optimizes for the specific public test examples. Maybe the public set has more of a certain class, or examples from a particular source. A model tuned to exploit this quirk will rank high on the public leaderboard but crash on the hidden set. The gap between public and private leaderboard position is the smoking gun.

Mitigation: train/val/test discipline

The safest approach is to treat public score as one data point, not the objective. Create your own validation set from the training data, and primarily optimize on that. Submit to the public leaderboard sparingly, once you have confidence in the model. Avoid iterating thousands of submissions, each tweaked by 0.001 points.

Organizations running competitions can also dampen leaderboard overfitting by holding back half the test set (private) for final ranking, or by adding noise to public scores. But participants cannot control this. The lesson: leaderboards are noisy and incomplete signals. Trust your own validation more than public scores, especially late in a competition when public leaderboards are heavily optimized by many teams. Generalization to held-out data is what matters.

Embed this diagram

Add this animated leaderboard overfit to your own site. Copy one line of HTML, or use the embed builder for theme and sizing options.

Reference

What this is
A free, embeddable, animated leaderboard overfit for any website.
Who uses it
AI/ML blogs.
How to embed
Copy one line of HTML. No signup. No watermark. Works in WordPress, Webflow, Ghost, Substack, plain HTML.
File size
iframe embed, ~80 KB gzipped (loads on demand, does not block your page paint).
License
Free forever. Editorial explainer text included; updated centrally over time.

Embed format options

Copy the universal HTML snippet, the WordPress shortcode, or an iframe fallback - see the WordPress plugin page for details. Any format keeps the same Core Web Vitals profile and the same explainer text.

Embed snippet
<div data-scrollchart="leaderboard-overfit" data-scrollchart-v="1"></div>
<script src="https://scrollchart.com/embed.js" async></script>

Frequently asked questions

Where can I get a free animated "Leaderboard Overfit" for my website?
Scrollchart provides "Leaderboard Overfit" as a free, embeddable animated diagram you can add to any website with one line of HTML. No signup is required and there is no watermark. The diagram and its explainer text are served from scrollchart.com, so the embed stays current without any maintenance on your end.
How do I embed a leaderboard overfit in a developer or tech blog?
Copy the one-line snippet from the Scrollchart diagram page and paste it into your post HTML. It works in any static site generator, CMS, or hand-coded HTML page. The embed is a thin loader, not an iframe, so the content is fully in your DOM.