Cluster Randomized Test for People You May Know Ranking

Last updated: November 29, 2026

Quick Overview

You want to test a new People You May Know ranking model, but connection invitations involve two members and treated members change the experience of control members. Design an experiment that gives an unbiased estimate of the effect on connections formed.

LinkedIn
Analytics & Experimentation
Data Scientist
LinkedIn
November 29, 2026
Data Scientist
Onsite
Analytics & Experimentation
Hard

0

0

0 solved


You want to test a new People You May Know ranking model, but connection invitations involve two members and treated members change the experience of control members. Design an experiment that gives an unbiased estimate of the effect on connections formed.

LinkedIn is known for research on experimentation under network interference, and PYMK is the classic case because an invitation sent by a treated member lands on a control member. Interviewers check that you can name the interference mechanism, design a graph cluster or ego-cluster experiment, and reason about the bias and variance trade-off.

What the Interviewer Expects
  • Explains why member-level randomization violates SUTVA for PYMK
  • Proposes graph clustering and cluster-level randomization
  • Discusses the bias and variance trade-off of cluster size
  • Describes how to measure spillover by comparing designs
  • Chooses metrics on both sender and receiver side
  • Addresses analysis with cluster-robust standard errors
Key Topics to Cover
network interference
SUTVA
graph cluster randomization
ego-network experiments
PYMK
How to Approach This
  1. Define success metrics carefully. A good metric is measurable, actionable, and aligned with business goals.
  2. Run experiments long enough to account for novelty effects and weekly seasonality.
  3. Use funnel analysis to identify where users drop off for maximum optimization impact.
  4. Segment results by key dimensions (platform, country, user cohort) to catch hidden patterns.
  5. Consider network effects and interference between treatment and control groups.
Possible Follow-up Questions
  • How would you detect whether interference is large enough to matter?
  • What clustering algorithm would you use for a graph with hundreds of millions of nodes?
  • How does the design change if you only care about invitations sent rather than accepted?
Sharpen Your Skills on Codemia

Practice similar problems with our interactive workspace, get AI feedback, and track your progress.

Browse Analytics Questions
Sample Answer
Clarify

The metric is connections formed (invitations accepted) per member over 28 days. The interference: treatment changes whom treated members invite, and those invites arrive in control members' inboxes, ...

Approach

Randomize at the level of graph clusters so that most edges stay inside one arm. Partition the member graph into clusters with high internal edge density, assign whole clusters to treatment or control...


Submit Your Answer
Markdown supported