The Quest to Understand Metric Movements

Pinterest Engineering
9 min readadvanced
--
View Original

Overview

The article discusses the challenges of understanding metric movements and outlines three approaches used at Pinterest for root-cause analysis (RCA). These approaches include 'Slice and Dice', 'General Similarity', and 'Experiment Effects', each aimed at identifying the reasons behind changes in key metrics.

What You'll Learn

1

How to analyze metric movements using a segment tree structure

2

Why understanding general similarity between metrics can help identify root causes

3

How to leverage A/B testing to understand the impact of new features on metrics

Key Questions Answered

What are the three approaches for root-cause analysis at Pinterest?
The three approaches for root-cause analysis at Pinterest are 'Slice and Dice', which segments metrics for deeper analysis; 'General Similarity', which looks for correlations between metric movements; and 'Experiment Effects', which examines the impact of A/B tests on metrics.
How does the Slice and Dice approach work?
The Slice and Dice approach involves breaking down a multidimensional metric into finer segments based on various dimensions like country and device type. This helps identify significant segments that contribute to metric movements or exhibit unusual behavior.
What statistical methods are used to measure similarity between metrics?
The article mentions using Pearson correlation, Spearman’s rank correlation, Euclidean similarity, and Dynamic time warping to measure the similarity of metric movements. These methods help identify both positive and negative associations between metrics.
What is the purpose of the Experiment Effects approach?
The Experiment Effects approach aims to identify which experiments have influenced a specific metric by analyzing the differences between control and treatment groups. This helps in understanding the impact of new features on user engagement and other key metrics.

Key Actionable Insights

1
Utilize the Slice and Dice approach to dissect complex metrics into manageable segments for analysis.
This method allows teams to pinpoint specific areas of concern within a metric, facilitating targeted investigations and quicker resolutions to performance issues.
2
Implement General Similarity analysis to correlate metric movements across different dimensions.
By understanding how different metrics behave in relation to each other, teams can uncover hidden dependencies and potential root causes of performance changes.
3
Leverage A/B testing data to assess the impact of new features on key metrics.
This approach not only helps validate hypotheses but also provides empirical evidence of how changes affect user behavior, guiding future development decisions.

Common Pitfalls

1
Relying solely on correlation without considering causation can lead to misleading conclusions.
It's essential to remember that correlation does not imply causation; thus, further experiments or analyses may be needed to establish true relationships between metrics.