Offline Accuracy Up, Online Completion Down: Diagnosing Metric Divergence and Designing Gradual Rollouts
The new model gains a beautiful five points in offline tests, ships fully, and online task completion drops instead — the classic AI product manager nightmare. The gap between offline metrics and online goals is fundamentally test set distribution ≠ real traffic distribution, compounded by a chain reaction triggered by changed model behavior. A team that only reads offline scores will never explain this divergence.
This is the ninth post in an experience-sharing series for AI customer service product managers and developers, drawn from hands-on practice as an AI product manager at a Southeast Asian cross-border e-commerce platform. In this post I want to share how to investigate test set bias, real traffic distribution, tool-call failures, and user behavior changes when a new model version improves offline answer accuracy but online task completion declines — and how to design gradual rollout and regression testing mechanisms.

Three Key Points in Diagnosing the Offline-Online Gap
- Root-causing offline-online divergence: systematically investigate across data, pipeline, and user layers instead of waving it off with "production is complicated."
- Gradual rollout and A/B experiment design: release pacing, traffic splitting dimensions, and circuit-breaker rollback conditions thought through in advance.
- Data-driven diagnosis methodology: every step has an explicit hypothesis, evidence, and verification.
The Overall Design
1. Check test set bias first: doubt your own eval set
- Check whether the test set is stale or under-covered: compare its question-type, language, and site distribution against recent real traffic; find categories the set misses or under-weights;
- Manually spot-check categories where the new model "improved" — confirm it genuinely improved, rather than merely fitting the test set's phrasing style better (overfitting the eval set).
2. Compare real traffic distribution: declines are rarely global
Use online logs to compare old and new versions by traffic buckets across metrics (intent, language, task type) and locate where the decline concentrates. A common pattern: aggregate metrics look fine, but a specific scenario (minor languages, composite intents, tool-dependent tasks) degraded noticeably and got averaged away.
3. Investigate tool calls and pipeline changes: the new model behaves differently
- The new model may change tool-calling behavior: compare call counts, parameter error rates, timeout rates, and format compliance; a chattier model may reorder calls or skip calls it should make;
- Check whether response latency and token consumption changes caused timeouts and mid-conversation abandonment — completion may have dropped not because answers were wrong but because users waited too long.
4. User behavior changes: distinguish "no answer" from "worse experience"
Compare conversation length, repeat-question rate, abandonment points, negative feedback, and handoff-reason distributions. The same completion drop means two entirely different problems — "user asked three times and got nothing" versus "answers too verbose, user just left" — with different fixes.
5. Rollout and regression mechanisms: never ship blind again
- Release pacing: 1% → 5% → 25% → 100%, split by user dimension (each user stays on one version), with automatic circuit breakers — completion or handoff rate breaching thresholds triggers automatic rollback;
- Run significance tests during each stage's observation window to avoid mistaking noise for trend;
- Upgrade regression testing: feed online failure cases back into the test set; stop looking at accuracy alone offline — add tool-call success rate and end-to-end task completion simulation so offline metrics align with online goals.
How This Maps to Weiyu
The Weiyu open-source customer service system (GitHub: https://github.com/bytedesk/bytedesk , website: https://www.weiyuai.cn ) supports multi-model integration and on-demand switching, giving room for model-level A/B comparison; conversation statistics track online metrics like resolution rate, handoff rate, and satisfaction by time and channel — the first place metric divergence shows up; full conversation records support after-the-fact bucketed review to locate which scenarios degraded; and the complete AI-to-human collaboration chain ensures problem conversations during rollout are caught by human agents. On the open-source architecture, teams can further plug in their own A/B splitting and circuit-breaker strategies.
Key Takeaways
- Suspect the test set first: stale distribution or eval-set overfitting is the prime suspect when offline rises and online falls.
- Locate degraded traffic by bucketing: declines often concentrate in minor languages or composite intents — don't be fooled by the aggregate.
- Tool-calling behavior shifts with the model: call counts, parameter error rates, and timeouts belong in every comparison.
- Distinguish "couldn't answer" from "worse experience": why users abandon determines what you optimize.
- Gradual rollout + circuit breakers + case backflow gradually align offline metrics with online goals.
