Switchback tests: infrastructure for experiments under network effects

Daniil Nikolsky, Iskander Mirmakhmadov, Alexander Kuznetsov23 Jun 2026

Problem

A classic A/B test assumes that test users do not affect control users. That fails when both groups compete for one resource (cars, couriers, ad slots), see each other's prices, or when the law forbids different conditions for customers. The test group takes orders from the control group instead of creating new ones, so the average treatment effect (ATE) is biased. Splitting by city or district does not fix it: cities are not comparable, and districts exchange passengers during the day.

Example from the article: a taxi service tests a driver price coefficient of 0.5 instead of 1.0. Splitting drivers by user ID is biased: both groups serve the same passengers.

Solution in brief

Randomize pairs of cluster and time window (a "geochron") instead of users. Each window, every cluster gets a new random group, so groups stay isolated at any moment and comparable over time. Compute inference with cluster-robust standard errors, cut the window edges with burn-in and burn-out, and keep assignments in one table read by both the service and the warehouse.

Questions this case answers
  • How to estimate the causal effect of a change when units interfere through a shared resource and user-level randomization is impossible or illegal
  • How to build experiment infrastructure that randomizes cluster and time-window pairs and computes valid inference on correlated data
  • How to measure the effect of a change when test and control users compete for the same drivers, couriers or slots?
  • How to run a switchback experiment on an experimentation platform instead of one-off scripts?

Tools and methods

  • Switchback test — randomizing cluster and window pairs
  • Cluster-robust standard errors (sandwich estimator) — valid intervals for correlated observations
  • Burn-in and burn-out — cut the window edges to limit spillover
  • Assignments table — one materialized group per experiment, window and cluster
  • Trisigma.io — Avito's platform with this design
Continue reading — it's free

Google or a one-time email code. No password.