Key Concepts from Recommendation System

John Lu
3 min readAug 21, 2024

TL;DR: Recommendation system demand a deep understanding of not only the technical aspects but also the ability to interpret and apply evaluation metrics effectively. This blog post, inspired by foundational recommendation system concepts, will equip you with all the essentials you need.

1. Understanding Recommendation Systems

At the heart of many ML-driven applications is the recommendation system, an essential tool for enhancing user experience. Whether you’re designing for content platforms, e-commerce sites, or search engines, mastering recommendation systems is crucial. Understanding user retention, consumption patterns, and metrics like daily active users (DAU) and feed daily active users (FDAU) will showcase your ability to optimize engagement.

  • DAU and FDAU: Measuring user activity and how it correlates with recommendation systems helps refine strategies. DAU shows the overall user engagement, while FDAU narrows down on users specifically interacting with recommendations.
  • Retention Rate: Design strategies to increase retention through personalized recommendations that encourage users to return.

2. Core Metrics

Metrics are vital in evaluating the success of any ML-driven product. Key metrics include:

  • User Scale Metrics: Measure user engagement through metrics like Daily Active Users (DAU), Weekly Active Users (WAU), and Monthly Active Users (MAU). For example, DAU measures how many unique users are active on the platform each day​.
  • Retention Metrics: The n-day retention (e.g., the percentage of users who return in the next n day) and longer-term metrics like 7-day or 28-day retention. Retention reflects how well an application keeps its users engaged over time​.
  • Consumption Metrics: These include average number of items read or average time spent on a platform per user each day. In recommendation systems, increased consumption can indicate improved recommendation quality​.
  • Non-core Metrics: Interaction-related metrics such as click-through rate (CTR), interaction rate (e.g., likes, shares, comments), and effective click rate (excluding accidental clicks) are often used for observing user engagement​.

3. A/B Testing: A Critical Experiment

A/B testing is used to determine whether new features or model changes yield significant improvements.

  • Dividing users into experimental and control groups (e.g., 10% receive the new feature, while 90% remain on the existing one).
  • Comparing metrics like DAU, retention rates, and consumption time between the groups.
  • Performing layered experiments to manage complex testing scenarios where multiple tests (e.g., algorithms, front-end changes) run simultaneously. Experiments in different layers should be orthogonal to avoid interference.

4. Common trade-offs in Metrics

When interpreting these metrics, be aware of the potential trade-offs:

  • Retention vs. Consumption: Increasing the time spent on the platform might reduce the number of interactions (e.g., users watching longer videos might interact less with other content).
  • Misleading Retention Gains: Gaining retention by excluding inactive users can create false impressions. Be sure to assess whether improvements genuinely reflect increased user engagement or just exclude unengaged users.

Final Thoughts

Successfully designing a recommendation system involves a blend of technical knowledge, understanding evaluation metrics, and the ability to think critically about how your algorithms impact the user experience. Dive deep into the metrics that drive your product, understand the significance of A/B testing, and always keep user engagement at the forefront.

By mastering these key concepts, you’ll have foundational concepts of recommendation system and ready to make a lasting impact in the field.

--

--

John Lu

AI Engineer. Deeply motivated by challenges and tends to be excited by breaking conventional ways of thinking and doing. He builds fun and creative apps.