LinkedIn analytics tracking pixel for AIDOLS AI consulting website performance measurement
Deployment & Operations

A/B Testing for ML

A/B testing for ML is the practice of randomly splitting live traffic between a control model and a candidate model to measure the candidate's causal impact on real business metrics — revenue, conversion, retention, defect rate.

Full definition

A/B testing closes the gap between offline metrics (AUC, RMSE) and online outcomes (revenue per user). Best practice: pre-register the primary metric and minimum detectable effect, randomize at the unit of analysis (user, session), run for at least one full business cycle, and adjust for novelty effects. Microsoft's ExP team has published canonical guidance on common online-experiment pitfalls.

Why it matters

A model that wins offline can lose online — and vice versa. Teams that ship without A/B tests routinely degrade the metrics they claim to be improving. Mature AI organizations make A/B testing the only path to production for any model that touches user-facing decisions.

Example

A marketplace ramps a new ranking model to 5%, then 50% of users. The new model improves offline NDCG by 3% but reduces sessions-per-user by 1.4% — the team rolls back and investigates the diversity collapse.

Source & further reading

Primary source: Kohavi, Tang, Xu — "Trustworthy Online Controlled Experiments" (Cambridge UP) (2020).

Citation policy: this entry is part of the AIDOLS AI Implementation Glossary and may be quoted for research, journalism, and education with attribution to aidolsgroup.com/es/glossary/ab-testing-ml/.