{
  "@context": "https://schema.org",
  "@type": "BlogPosting",
  "headline": "Is RRF the Secret to Dominating AI Citations? I Decoded ChatGPT's Ranking Formula",
  "description": "Is RRF the Secret to Dominating AI Citations? I Decoded ChatGPT's Ranking Formula",
  "datePublished": "2025-07-22T00:00:00.000Z",
  "dateModified": "2025-11-02T00:00:00.000Z",
  "url": "https://metehan.ai/blog/chatgpt-is-using-reciprocal-rank-fusion-rrf/",
  "category": "featured-research",
  "tags": [],
  "image": "/wp-content/uploads/2025/07/Rank-based-fusion-example-Initially-the-documents-in-the-ranked-lists-are-grouped-by.png",
  "wordCount": 1567,
  "readTime": "8 min",
  "articleBody": "Like many SEOs, I love looking at ChatGPT's dev console on Chrome. I was digging around for Google & Bing fingerprints when I discovered a code snippet that reveals how ChatGPT processes search results, using Reciprocal Rank Fusion (RRF). While there have been experiments and rumors about ChatGPT using various search engines, what's clear from the code is their RRF implementation, which gives us insights into how AI search works.\n\nImportant Note: I'm not saying that I found the exact dominating formula; this can be changed. This post presents mathematical compositions from my findings and you can review it on your own. [RRF is not something new.](https://research.google/pubs/reciprocal-rank-fusion-outperforms-condorcet-and-individual-rank-learning-methods/)*However, as an SEO; it's great to see search engine mathematical methods, models in the source code. I'm writing this post to give you a mathematical perspective and tell why you still need SEO. For some cases, I believe LLMs are using one single query.*\n\n*a coffee question for the friends in London -> [Do you want to join a free AI & SEO chat in-person?](https://www.linkedin.com/posts/metehanyesilyurt_london-seo-ai-think-tank-august-free-activity-7354106835697623040-iz4_?utm_medium=ios_app)*\n\nLet's start.\n\n![](/wp-content/uploads/2025/07/rrf-scaled.png)\n\n## What is Reciprocal Rank Fusion (RRF)?\n\nRRF isn't new - it's been around since 2009 and is widely used in information retrieval. It's a method to combine search results from multiple queries into one final ranking. The formula is straightforward:\n\n**RRF score = 1/(60 + rank position)**\n\nSo:\n\n- Rank #1 = 1/(60+1) = 0.0164\n- Rank #5 = 1/(60+5) = 0.0154\n- Rank #10 = 1/(60+10) = 0.0143\n\nWhen a system runs multiple queries and finds the same page in different positions, it adds up all these scores. I will keep it 60 as default since the there are no specific settings in the source code. Meanwhile, it doesn't change the perspective even using default numbers.\n\n## Why LLMs Search Multiple Times When You Ask a Question (Not Just Once)\n\nHere's what many people don't realize: When you ask ChatGPT, Perplexity or Google's AI mode a question, they don't just run one search. They run multiple searches with different terms and combine all the results.\n\nFor example, ask about \"coffee makers\" and behind the scenes they might search:\n\n- \"coffee makers\"\n- \"best coffee machines\"\n- \"how to choose coffee maker\"\n- \"coffee brewing devices\"\n- \"home coffee makers reviews\"\n\nThis is how Google's newest AI mode works too; multiple searches, combined results. RRF is the mathematical method that merges all these searches into one final answer. This explains why AI search results often look different from a traditional single Google search. (And of course, QFO can use a different angle for multiple searches)\n\n## The Code Discovery: How ChatGPT Processes Search Results\n\nWhile inspecting ChatGPT's search implementation, I found this revealing code:\n\n```\nrrf_alpha: 1,\nrrf_input_threshold: 0,\nranking_model: null\n\n```\n\nThis confirms ChatGPT uses standard RRF to combine search results. What's interesting is how this implementation reveals the importance of ranking for multiple query variations.\n\n## Why RRF Validates the Importance of Topical Authority\n\nHere's where it gets interesting for SEOs. RRF mathematically proves why topical authority and topic clusters work so well:\n\n**Page A: Single-Keyword Focus**\n\n- \"coffee makers\" → Rank #1 → Score: 0.0164\n- \"best coffee makers\" → Rank #15 → Score: 0.0133\n- \"coffee machines\" → Not ranking → Score: 0\n- \"coffee maker reviews\" → Rank #25 → Score: 0.0118\n- **Total RRF Score: 0.0415**\n\n**Page B: Topic Cluster Approach**\n\n- \"coffee makers\" → Rank #4 → Score: 0.0156\n- \"best coffee makers\" → Rank #5 → Score: 0.0154\n- \"coffee machines\" → Rank #6 → Score: 0.0152\n- \"coffee maker reviews\" → Rank #4 → Score: 0.0156\n- \"home coffee makers\" → Rank #7 → Score: 0.0149\n- **Total RRF Score: 0.0767**\n\n**Page B wins by almost 1.8x** because it has broader topical coverage.\n\n## The Math Behind \"Consistency Beats Individual Rankings\"\n\nThis explains why topic clusters are so effective:\n\n**Scenario 1: Traditional Keyword Targeting**\n\n- 1 keyword at position #1: 1/(60+1) = 0.0164\n- Total RRF = 0.0164\n\n**Scenario 2: Topic Cluster Strategy**\n\n- 10 related keywords at position #5: 10 × (1/(60+5)) = 10 × 0.0154 = 0.154\n- Total RRF = 0.154\n\nThe topic cluster scores **almost 10x higher** (0.154 vs 0.0164). This math applies whenever systems combine multiple related queries.\n\n## How Modern Search Engines Think About Relevance\n\nRRF implementation in ChatGPT gives us a window into how AI-powered search evaluates content:\n\n1. **Multiple Query Variations**: AI doesn't just search once; it explores related queries\n2. **Cumulative Scoring**: Pages gain value by appearing across multiple searches\n3. **Topic Understanding**: Systems recognize and reward comprehensive coverage\n\n## Why Topic Clusters Work: The RRF Perspective\n\nTopic clusters aren't just a content strategy - they're mathematically optimal for RRF-style ranking:\n\n### Example: Coffee Maker Topic Cluster\n\n**Hub Page**: \"Complete Guide to Coffee Makers\" **Cluster Pages**:\n\n- Types of coffee makers\n- How to choose a coffee maker\n- Coffee maker maintenance\n- Best coffee makers by budget\n- Coffee maker troubleshooting\n\nWhen someone searches any coffee maker query, the entire cluster has ranking potential:\n\n```\nQuery: \"how to clean coffee maker\"\n- Maintenance page: Rank #2 → 0.0161\n- Hub page: Rank #5 → 0.0154\n- Troubleshooting page: Rank #8 → 0.0147\nTotal cluster RRF: 0.0462\n\nvs.\n\nStandalone page: Rank #1 → 0.0164\n\n```\n\n**The cluster wins by almost 300%!**\n\n## Real-World Topical Authority Calculation\n\nLet's model a site with strong topical authority:\n\n**Coffee Authority Site** (30 related pages):\n\n- Ranks #3-10 for 50 coffee-related queries\n- Average position: #6\n- RRF per query: 1/(60+6) = 0.0152\n- Total RRF: 50 × 0.0152 = 0.76\n\n**Single-Page Site**:\n\n- Ranks #1 for \"best coffee makers 2025\"\n- Ranks nowhere for other queries\n- Total RRF: 0.0164\n\n**The topical authority site scores almost 60x higher!**\n\n## What This Means for Modern SEO\n\n### 1. **Topical Authority is Mathematically Superior**\n\nRRF proves that comprehensive topic coverage beats individual keyword rankings. This isn't just theory, it's math.\n\n### 2. **AI Search Rewards Comprehensive Coverage**\n\nWhether it's ChatGPT or other AI systems, the trend is clear: comprehensive, authoritative content wins over narrow optimization.\n\n### 3. **Topic Clusters Align with Ranking Math**\n\nThe topic cluster strategy isn't just good for users, it's optimized for how modern search systems combine and evaluate results.\n\n### 4. **Query Variations Matter More Than Ever**\n\nEvery way users might search for your topic is an opportunity to add to your RRF score:\n\n- \"coffee makers\"\n- \"coffee machines\"\n- \"coffee brewing devices\"\n- \"home coffee makers\"\n- \"automatic coffee makers\"\n\n## The Code Also Shows Multi-Source Integration\n\nAnother interesting finding from the code:\n\n```\n// ChatGPT processes multiple result types:\n- webpage\n- webpage_extended  \n- grouped_webpages\n- image_inline\n\n```\n\nThis suggests AI search systems don't just look at one result type, they combine multiple signals, further rewarding comprehensive content that appears across different formats.\n\n## How to Apply RRF Thinking to Your SEO Strategy\n\n### 1. **Map Your Entire Topic Space**\n\n- Find ALL query variations users might search\n- Look at search suggestions and related queries\n- Analyze what comprehensive coverage looks like\n- Study sites with strong topical authority\n\n### 2. **Build Comprehensive Topic Clusters**\n\n- Create a strong hub page\n- Build supporting pages for subtopics\n- Interlink extensively\n- Cover every angle users might search\n\n### 3. **Measure Topical Coverage, Not Just Rankings**\n\n- Track rankings across 50+ related queries\n- You can work on your \"topic RRF score\"\n- Monitor total presence across the topic, not just individual positions\n\n### 4. **Optimize for Consistency**\n\nBetter to rank #4-8 for 30 queries than #1 for 3 queries. The math:\n\n- 30 queries at average #6: RRF = 0.456\n- 3 queries at #1: RRF = 0.049\n- **Consistency wins by almost 10x**\n\n*Note: You may rank at a top keyword in the first position, but you may likely rank more in the top 10 positions for many queries. This math is for simulation.*\n\n## Conclusion\n\nFinding RRF in ChatGPT's code gives us a mathematical framework for understanding why topical authority and topic clusters work so well in modern search. While we can't know exactly which search engines ChatGPT uses or will use in the future, the RRF implementation shows us how AI systems think about ranking and relevance.\n\nThe math doesn't lie. In a world where AI search combines multiple queries and signals, the sites that win are those that consistently appear across entire topic spaces. Topic clusters aren't just a content strategy - they're a mathematical advantage in modern search.\n\nUnderstanding RRF helps us see why topical authority matters. It's not about gaming the system - it's about aligning with how AI search naturally evaluates and combines relevance signals across related queries.\n\nThis isn't just about ChatGPT, it's about preparing for a future where all search becomes more AI-driven and comprehensive coverage beats narrow optimization.\n\nWho to follow?\n\n[Lily Ray](https://x.com/lilyraynyc), [Mike King](https://x.com/iPullRank), [Andrea Volpini](https://x.com/cyberandy), [Kevin Indig](https://x.com/kevin_indig), [Aleyda Solis](https://x.com/aleyda), [Gianluca Fiorelli](https://x.com/gfiorelli1), [Gagan Ghotra](https://x.com/gaganghotra_), [Koray Tugberk Gubur](https://x.com/KorayGubur), [Shaun Anderson](https://x.com/Hobo_Web), [Charles Floate](https://x.com/Charles_SEO)\n\n*Ending note:*\n\n*I'll leave a related research paper here:*\n\n*[https://arxiv.org/html/2507.12425v1](https://arxiv.org/html/2507.12425v1)*\n\n*-They are not the same. But MRR(Mean Reciprocal Rank) is related to the RRF.*\n\n**One is for evaluation, the other is for ranking.*\n\nUseful sources:\n\n[https://lfomendes.medium.com/thoughts-on-rag-hybrid-search-and-rank-fusion-ab2024d2102b](https://lfomendes.medium.com/thoughts-on-rag-hybrid-search-and-rank-fusion-ab2024d2102b)\n\n[https://medium.com/@devalshah1619/mathematical-intuition-behind-reciprocal-rank-fusion-rrf-explained-in-2-mins-002df0cc5e2a](https://lfomendes.medium.com/thoughts-on-rag-hybrid-search-and-rank-fusion-ab2024d2102b)\n\n*Note: These findings are based on code analysis from ChatGPT's Chrome DevTools and represent experimental observations. Search implementations may vary and evolve over time. I'm using AI to write my posts faster.*",
  "author": {
    "@type": "Person",
    "name": "Metehan Yesilyurt",
    "url": "https://metehan.ai",
    "sameAs": [
      "https://x.com/metehan777",
      "https://www.linkedin.com/in/metehanyesilyurt",
      "https://github.com/metehan777"
    ]
  },
  "publisher": {
    "@type": "Person",
    "name": "Metehan Yesilyurt",
    "url": "https://metehan.ai"
  },
  "alternateFormat": {
    "html": "https://metehan.ai/blog/chatgpt-is-using-reciprocal-rank-fusion-rrf/",
    "json": "https://metehan.ai/api/post/chatgpt-is-using-reciprocal-rank-fusion-rrf.json",
    "rss": "https://metehan.ai/rss.xml"
  }
}