---
title: "A New Ranking Framework for Better Notification Quality on Instagram"
description: "Instagram adds a diversity layer on top of its engagement-optimized notification ranking models to stop over-sending notifications about the same author or product surface such as Stories."
url: "https://swe.quest/articles/a-new-ranking-framework-for-better-notification-quality-on-instagram-dc3c55fb5c8ff08d"
canonical: "https://engineering.fb.com/2025/09/02/ml-applications/a-new-ranking-framework-for-better-notification-quality-on-instagram/"
source: "Meta Engineering"
published: "2025-09-02"
difficulty: "medium"
kind: "Case study"
reading_minutes: 5
tags: ["recommendation-systems","communications","machine-learning"]
---

# A New Ranking Framework for Better Notification Quality on Instagram

A post on [Meta Engineering](https://swe.quest/sources/meta.md), published 2025-09-02, 5 min read, Case study. Original: [https://engineering.fb.com/2025/09/02/ml-applications/a-new-ranking-framework-for-better-notification-quality-on-instagram/](https://engineering.fb.com/2025/09/02/ml-applications/a-new-ranking-framework-for-better-notification-quality-on-instagram/)

## Summary

Instagram adds a diversity layer on top of its engagement-optimized notification ranking models to stop over-sending notifications about the same author or product surface such as Stories. Each candidate's base relevance score is multiplied by a demotion factor D(c) = ∏(1 − w\_i·p\_i(c)). Here p\_i is an MMR-style maximum similarity to recently sent notifications along dimensions like author, content, notification type and product surface, binarized by a threshold, and each w\_i is a tunable per-dimension weight. The framework reduced daily notification volume while improving click-through rate. Planned next steps are adaptive penalties that scale with notification volume and timing, and possibly using LLMs to judge semantic similarity.

Written by swe.quest, not by the author.

**Difficulty:** Medium: assumes a working developer; shows how it is built or done

## Topics

- [Recommendations & ranking](https://swe.quest/tags/recommendation-systems.md) (AI & ML)
- [Communications](https://swe.quest/tags/communications.md) (Domains)
- [Machine learning](https://swe.quest/tags/machine-learning.md) (AI & ML)

## Prerequisites

- ranking model basics ([easy posts on Recommendations & ranking](https://swe.quest/tags/recommendation-systems.md?difficulty=easy))
- click-through rate optimization ([easy posts on Performance engineering](https://swe.quest/tags/performance.md?difficulty=easy))

## Keywords

Instagram, maximal marginal relevance, MMR, notification ranking

## Related posts

- [Improving Instagram notification management with machine learning and causal inference](https://swe.quest/articles/improving-instagram-notification-management-with-machine-learning-and-causal-112508fbe79ae4ec.md): Meta Engineering · 2022-10-31 · Medium · 5 min read · Machine learning, Communications, Recommendations & ranking
  Instagram replaced click-through-rate filtering for daily digest story notifications with a neural uplift model that estimates the incremental effect of sending versus not sending on user activity.
- [Engineering stories behind the Medium Daily Digest Algorithm: Part 4](https://swe.quest/articles/engineering-stories-behind-the-medium-daily-digest-algorithm-part-4-ad90430cb239c852.md): Medium Engineering · 2025-09-03 · Medium · 8 min read · Recommendations & ranking, Communications
  Medium fixed repetitive Daily Digest recommendations for power users by tracking which digest emails had at least one clicked story ("definitely opened", since Apple Mail Privacy Protection makes open tracking unreliable) and filtering out posts already sent in such digests.
- [Adapting the Facebook Reels RecSys AI Model Based on User Feedback](https://swe.quest/articles/adapting-the-facebook-reels-recsys-ai-model-based-on-user-feedback-9918fb6d6f23d0f0.md): Meta Engineering · 2026-01-14 · Medium · 5 min read · Recommendations & ranking, Machine learning, Evaluation
  Facebook Reels added a User True Interest Survey (UTIS) model that learns from in-feed survey responses asking how well a video matches the viewer's interests, instead of relying only on engagement signals like likes and watch time.
- [Our Early Journey to Transform Instacart’s Discovery Recommendations with LLMs](https://swe.quest/articles/our-early-journey-to-transform-instacart-s-discovery-recommendations-with-llms-2b1f0ff7e32d37b4.md): Instacart Tech · 2026-02-26 · Medium · 14 min read · Recommendations & ranking, LLMs, RAG & retrieval, Evaluation, E-commerce
  Instacart rebuilt its Shopping Hub discovery recommendations around a top-down, cascaded LLM pipeline.
- [Scaling the Instagram Explore recommendations system](https://swe.quest/articles/scaling-the-instagram-explore-recommendations-system-eef9723f73cee8af.md): Meta Engineering · 2023-08-09 · Medium · 9 min read · Recommendations & ranking, Machine learning, Caching, Scaling, Vector search
  Instagram Explore uses a four-stage funnel of retrieval, first-stage ranking, second-stage ranking and final reranking, built around caching and pre-computation so heavier models can be used at every stage.

Browse: [Latest posts](https://swe.quest/index.md) · [Topics](https://swe.quest/tags.md) · [Sources](https://swe.quest/sources.md) · [Topic map](https://swe.quest/map.md) · [Site guide (llms.txt)](https://swe.quest/llms.txt)
