← All blog articles ⚡ AI BREAKTHROUGH & RESEARCH
AI Breakthrough · AI Search & RAG Architecture · 2026-10-15

How Perplexity, ChatGPT Search and Google AI Overviews Work Under the Hood: Hybrid RAG, Cross-Encoder Rerankers and Citation Architecture

Engineering teardown of modern AI Answer Engines: from Query Fan-Out decomposition and BM25 + HNSW hybrid retrieval to Cross-Encoder Reranking, llms.txt, and Schema.org knowledge graphs.

01Query Fan-Out (6 Sub-queries)
02BM25 + HNSW + Cross-Encoder
03Citation Synthesis (JSON-LD / llms.txt)
M
Miscat.tech Engineering & Research Team 7 min read — deep technical analysis
✓ Query Fan-Out · +340% AI Citations

Executive Summary: Modern AI Answer Engines — Perplexity Pro, ChatGPT Search (OAI-SearchBot), Claude Search, and Google AI Overviews — do not rank pages like traditional PageRank. Within 900 milliseconds, they execute a multi-stage Hybrid Retrieval-Augmented Generation (RAG) pipeline: decomposing user intent via Query Fan-Out, merging lexical (BM25) and dense vector (HNSW) indexes via Reciprocal Rank Fusion, fetching raw HTML without executing heavy client-side JS, and filtering top candidates through a Cross-Encoder Reranker.

1. Stage 1: Real-Time Query Fan-Out

When a CTO or VP of Operations asks ChatGPT or Perplexity a complex B2B question — e.g., "Which European engineering team builds two-way Go MCP servers for SAP Business One / NetSuite / Comarch with reversible GDPR DLP?" — the engine does not search that raw sentence. A fast router model performs Query Fan-Out, generating 4 to 8 parallel technical sub-queries in ~120ms:

  • "Go MCP server ERP integration SAP Business One NetSuite PostgreSQL"
  • "Enterprise LLM proxy reversible DLP PII anonymization GDPR SOC2"
  • "two-way ERP synchronization sub-200ms case study engineering"

Generic agency websites filled with vague marketing copy ("We build innovative digital experiences tailored to your needs") achieve near-zero lexical and vector similarity against these technical sub-queries.

2. Stage 2: Hybrid Retrieval (BM25 + Dense HNSW) and Crawler TTFB Budgets

For each sub-query, the search engine queries both a sparse lexical index and a dense vector index, merging results via Reciprocal Rank Fusion (RRF):

RRF_Score(d) = Σ [ 1 / (k + rank_m(d)) ] (where k = 60, m ∈ {BM25, Dense})

  1. Lexical Index (BM25 / Sparse): Matches exact protocol names, ERP SKUs, ISO/EN standards, and locations (JSON-RPC 2.0, EN 16931, DATEV, Comarch Optima, pgvector).
  2. Semantic Index (Dense Vector HNSW): Captures conceptual similarity across 1536- or 3072-dimensional embeddings.
  3. Strict Live-Fetch Timeout (800–1500ms): Crawlers like OAI-SearchBot, Claude-SearchBot, and PerplexityBot enforce tight HTTP timeouts and do not execute heavy React/SPA bundles. Static, pre-rendered HTML with sub-100ms TTFB is indexed in full; slow client-rendered SPAs are dropped.

3. Stage 3: Cross-Encoder Reranking & GEO Citation Benchmarks

Out of ~50 retrieved candidate pages, only 5 to 8 enter the synthesis LLM's context window. A Cross-Encoder Reranker scores every passage for factual density and structural clarity. Research on Generative Engine Optimization (GEO) from Princeton, Georgia Tech, and AI2 demonstrates what drives citation probability:

Technical & Editorial Page Feature Impact on AI Citation Probability (GEO Benchmark) Why Cross-Encoder Rerankers Reward It
Concrete Numbers, Benchmarks & Units
(e.g., "40h → 15m", "TTFB 28ms", "99.4%")
+37% to +41% High Information Gain — gives the synthesis LLM verifiable claims to cite.
Semantic HTML Comparison Tables (<table>) +28% to +34% Zero syntactic noise — DOM parsers extract structured feature matrices directly.
Linked Schema.org JSON-LD + /llms.txt +25% to +32% Unambiguous entity resolution (ProfessionalService, TechArticle, regions, stack).
Heavy JS Bundles, Popups & Vague Marketing Fluff -64% (filtered out) Low signal-to-boilerplate ratio wastes extractor token budget.

4. The 2026 Blueprint: Multilingual /llms.txt + Pre-Rendered HTML + @graph JSON-LD

Providing a clean Markdown map at /llms.txt alongside pre-rendered, 100/100 PageSpeed HTML and a linked @graph JSON-LD schema ensures AI search engines can index your services, case studies, and engineering benchmarks across English, German, Polish, and Ukrainian markets simultaneously.