Evaluation and QualityExperiments and causal evidencePrincipal
How should an A/B experiment account for treatment effects carried through shared generated artifacts?
By Amit Kumar3 min readWorked answer includedReviewed 27 Sept 2026
The question
Interview question
A writing assistant assigns users to A or B. B makes better project summaries. A user in B creates a summary in a shared workspace, and users assigned to A read it and finish their tasks faster. The dashboard reports a small user-level treatment effect. Can the team conclude B barely helps?
Draft your approach first
Take a few minutes before you read the answer. Name the constraint that matters most, the failure you are designing for and how you would know it worked.
Reveal the worked answerWorked answer
A control user can benefit from a treatment user’s generated document, so the ordinary user-level difference mixes several effects. It includes the direct effect on creators and the benefit or harm transmitted to viewers in both arms. Random assignment alone does not stop that shared artifact from carrying treatment across groups. Google’s work on shared exposure paths studies related interference through bipartite relationships. The workspace graph and target effect here still need to be defined for this product.
I would map exposure before choosing a new test. Who creates artifacts, who can view or edit them, how long do they persist, and which outcomes depend on them? Track artifact creator assignment, model version, publication time, viewers and edits, with privacy limits. Then distinguish the question we actually need answered. Is it the direct effect on a creator holding everyone else's artifacts fixed? The effect of switching an entire workspace to B? Or the effect of a 20 percent rollout where mixed workspaces continue? Those are different interventions, and each defines a different quantity to estimate. One user-level A/B number does not estimate all three.
If the product decision is workspace-wide rollout, assign whole workspaces where possible, and keep shared artifacts within those clusters during the measurement window. Balance workspace size, prior activity and project type, and use enough independent workspaces. Existing cross-workspace viewers or copied documents can still create spillover, so record those edges and report exposure. If a company has one giant shared space, workspace randomization gives almost no independent units. Consider an organization-level design, a staged switchback only if artifacts and their effects can be reset or modeled, or a limited experiment with an explicitly narrower claim. Do not present a tiny user-level confidence interval as proof when the actual independent units are few.
The analysis should include all assigned users, including those who never created an artifact, and separate creators, viewers and mixed exposure. Compare task completion, quality, time and downstream correction, not only how many summaries were generated. Record when an artifact was created under A and later edited under B, because its label cannot be inferred from the current owner alone. A straightforward “remove all users who saw the other arm” analysis conditions on a post-assignment event and can select a different population. Treat that as a diagnostic, not the headline causal estimate.
If the interviewer suggests isolating the GPU pool, that fixes a different interference path. The model A/B test shares one GPU pool. Can you trust its latency result? is about latency and capacity contamination through shared compute. This question remains even with perfectly separate GPUs because a generated document is a persistent treatment channel. The right experiment follows the people and artifacts through which the product creates value.
Related questions
- How should teams decide whether to release a model that improves preferences but regresses a critical tool workflow?Principal
- How would you reconcile flat offline scores with lower online success after a prompt rollout?Principal
- When can historical routing logs support an estimate of a new model router’s quality and cost?Principal
Keep practising evaluation and quality
Follow another question in this area, or search the complete library.
Get my essays on AI engineering and distributed systems by email. Subscribe to ArchCrux