KatInterview

Designing an Experiment for an AI Conversation Assistant in Community Forums

Statistics & ExperimentsModel answer
MediumModel answerStatistics & Experimentsa-b-testingexperiment-designmetrics

Last updated

Design an A/B test for a proactive AI assistant in forum threads, covering metrics, randomization, and evaluation of novelty and interaction effects.

Scenario

A large online community platform wants to roll out an AI-powered conversation assistant that proactively surfaces relevant discussion prompts to users browsing forum threads. The product team hopes this feature will deepen community engagement and encourage users to participate more actively in discussions.

Task

Design an end-to-end A/B test to evaluate whether this AI assistant achieves its goal. Your answer should cover:

  1. Metric Definition: Choose a primary success metric and at least two guardrail metrics that protect against unintended harm to the platform or its users.
  2. Experiment Design: Explain how you would randomize users or units into treatment and control, and how you would determine the required sample size.
  3. Evaluation: Describe how you would interpret the results, specifically accounting for novelty effects, interaction with concurrent experiments, and the risk that the feature feels intrusive or spammy to the community.

Constraints

  • You have access to standard event-logging infrastructure (impressions, clicks, comments, votes, etc.).
  • The platform's users are known to react negatively to features that feel like advertising or corporate interference.
  • The AI assistant requires real-time inference, so latency and compute cost per impression are meaningful concerns.

Hints

Hint 1

Think about whether user-level randomization is valid here. If a treated user's AI-prompted comments appear in threads that control users also read, does that violate independence assumptions?

Hint 2

Consider clustering at a higher level of randomization to capture spillover effects within shared discussion spaces.

Hint 3

Separate novelty-driven engagement from durable value by analyzing treatment effects relative to time since first exposure rather than calendar date.