What's the difference between offline and online AI evals?

Answered by Falk Gottlob · Reviewed · 2 min read

THE SHORT ANSWER

An offline eval grades your AI on a fixed set of test cases before release. An online eval grades a sample of real, live usage after release. Offline is fast and cheap, but it only stands in for real customers. Online shows what customers actually get, but problems reach them first. Use the two as a funnel. Spotify filters changes with offline evals, then lets live A/B tests settle the close calls. In Spotify's words, an offline score never checked against live results is 'opinions, not evidence.'

Offline means before release, on a fixed set. Online means after release, on real traffic. You need both, and they answer different questions.

An offline eval asks: on the cases we chose, did this change make things better or worse? It runs in minutes. Nobody gets hurt. Its weakness is that it's a stand-in. Anthropic's engineering team warns it can create false confidence if it doesn't match how people really use the product.

An online eval asks: what are real customers getting right now? It grades a sample of live use, sometimes as an A/B test against the old version. It shows behavior you never thought to test. Its weakness is timing. By the time it sees a problem, customers have seen it too.

Spotify, the music streaming company, has written the most honest work on how the two fit. Matilda Ankargren and Mårten Schultzberg call it "a funnel, not a fork." Offline evals filter out weak changes fast. Live tests settle the close calls and check for harm. Schultzberg's November post adds the hard part. You can only skip the live test if your offline scores have predicted live results well in the past. You need a history to know that.

Intercom works the same way with Fin, its customer service agent. Simulated conversations run before a release. Then the release rolls out gradually. As Intercom puts it, "a 1% regression could affect thousands of conversations a day." Live monitors flag bad conversations, and those become new test cases.

That loop is the point. Every live failure should end up in the offline set.

How test scores get compared with live results is one of the six decisions in Evals for CPOs. The harness side is in Evals for Engineers. Start with Evals From Zero, and find every guide on the AI evals hub.

SOURCES

THE LONG VERSION

RELATED ANSWERS

If this was useful, The AI Product Transformation is where I share more of it.

One email every Monday with the week's best posts and what changed on the site.

Unsubscribe anytime. Read past issues.