Cover art for Why RAG Retrieves Irrelevant Chunks

Why RAG Retrieves Irrelevant Chunks

Fix RAG retrieval issues by testing with real questions and checking where evidence drops out.

Nov 26, 2026

16 cards · 2m · tap to begin

From · · 2m

Why RAG Retrieves Irrelevant Chunks

Fix RAG retrieval issues by testing with real questions and checking where evidence drops out.

In brief

Fix RAG retrieval issues by testing with real questions and checking where evidence drops out. Test RAG with 20-30 real user questions to find where evidence drops out before changing models. Originally reported by Startup Fortune.

Why RAG Retrieves Irrelevant Chunks

Why Is My RAG Retrieving Irrelevant Chunks, and Which Fix Comes First?

When your AI assistant pulls wrong passages, swapping models is a tempting first move but can miss the real problem.

Test with Real Questions

Pull 20-30 real user questions from logs or support tickets to find where evidence drops out.

Check Where Evidence Drops

For each question, write down the correct answer and copy the exact passage that proves it.

Run the Pipeline

Save four things per question: search results with filters off, with filters on, reranked order, and the final prompt.

Uber's PDF Problem

Uber found table cells were pulled loose from rows and columns when loading PDFs with standard tools.

Chroma's Test Results

Chroma's July 2024 tests found 800-token chunks with 400 tokens of overlap gave slightly below-average recall.

Anthropic's Fix

Anthropic cut top-20 retrieval failure rate from 5.7% to 1.9% with contextual chunks and reranking.

Check Chunk Size

OpenAI's default uses 800-token chunks with 400 tokens of overlap, which Chroma found slightly below average recall.

Recursive Splitter

A recursive character splitter at 200 tokens with no overlap scored 88.1% recall, better than 87.9% with overlap.

Fix the Earliest Stage

Start with the corpus and parser before changing models or embedding settings.

Check Embedding Settings

Length limits and input labels affect how embeddings process text, especially for long chunks.

Filters Can Cause Problems

Filters may remove the right chunk before ranking, especially with date or product tags.

Hybrid Search Helps

Combine vector search with BM25 keyword search to catch missed passages like error code TS-999.

Reranking Improves Results

Anthropic reranked 150 candidates to 20, cutting top-20 failure rate from 5.7% to 1.9%.

When Answer is Still Wrong

If evidence is there but answer is wrong, test the model with just that passage to see if it uses it.

Which Fix Comes First

Fix the earliest stage causing meaningful failures, even if later stages have bigger piles.

The big picture

Test RAG with 20-30 real user questions to find where evidence drops out before changing models.

Read the original on Startup Fortune

Read the TL;DR — this story on one card.

How we make summaries

React

Sign in to react and comment.

Comments (0)

Life is short. Keep it sweet. Respect others' opinions and be kind!

    Recommended next

    More decks on rag and related topics.