Classic RAG Limitations Explained
Key Takeaways
Explains the limitations of classic RAG systems
Full Transcript
Welcome back. In this video, we are going to cover what is rag and where it breaks. By the end of this video, you will have a clear picture of how classic rack works and the exact point where it starts to fall apart. Let's start with the basics. What exactly is rag? Rack stands for retrieval augmented generation. It works in three steps. First, retriever. Find the most relevant content from your document based on the user's query. Second, augment. take that retrieved content and add it to LLM prompt as context. And third is generation. The LLM produces a grounded accurate answer using that context. That's the core idea. Simple and powerful. But as we will see, there are specific situations where this approach breaks down. Now let's look at how this actually works end to end. Your source documents, whether PDFs, web pages, or any text files, goes through a chunker that splits them into smaller pieces. Each chunk is passed through an embedding model that converts text into vectors. Those vectors are stored in vector store. When a user sends a query, it goes through the same embedding model. The retriever then searches the vector store for the most similar chunks. Those chunks are passed into LLM context window along with the original question and the LLM generates the final answer. This is the classic rag pipeline. Keep this flow in mind as we walk through where things go wrong. Before we critique rag, let's be fair about where it genuinely works well. Factual lookups from a fixed document set works great. If someone askked what is your refund policy and that answer sits cleanly in one document, Rag will find it. Single hop question answer over internal documents works well too. Questions like what does the contract say about termination have self-contained answer that rag handles reliably and rag does meaningfully reduce hallucination. The LLM now has real retrieved content to work from instead of guessing from training data alone. Rag is not broken. It is solid system for specific class of problems. The question is what happens when your queries get more complex? Here is the first failure mode multihop queries. Consider this question. Which researchers influence the methodology used in this paper and what institution are they affiliated with? What rack does is it retrieves the chunk closest to that query text maybe the abstract and stops there. It misses the citation chain entirely. What is actually needed is a chain of reasoning. Paper cites author Affiliated with institution X who also collaborated with author B. That is three hop of reasoning. Rag has no mechanism to chain reasoning across multiple documents or entities. It makes one retrieval jump not three. That is the core limitation here. The second failure mode is one of the most important. Rag has no awareness of relationship between entities. Take this query. How are company A and company B connected? What rag does? It searches for chunks containing both names and written co-occurrence. But co-occurrence is not connection. What is actually needed is a traversal. Company A acquired subsidiary X which was founded by person Y who sits on the board of company B. That chain of relationship does not live in any single chunk. It exists in the structure between documents in the edges between entities. Rag has no way to see that structure. It treats every chunk as an isolated island. The third failure mode is chunk loss and ambiguity. And this one is very common in practice. The chunking problem. The answer often sits across two chunks. The chunker splits at a fixed token count and neither chunk alone is useful. You lose the answer at the boundary. Now the ambiguity problem. Tell me about the Apple announcement. Which apple? Which announcement? Which air? Vector similarity retrieves whatever is the closest to that query, not what users actually meant. Rag has no disambiguation layer. It matches text not intent. These are not rare edge cases. They happen constantly in real world rack deployments. That wraps up video one. We now have a clear picture of what classic rack is, how it flows end to end, and three specific places where it breaks. Multihop queries, no relationship awareness and chunk loss with ambiguity. In the next video, we will see how graph rack is designed to solve all three. See you there.
Original Description
Description:
In this video, you will get a deep understanding of how classic Retrieval-Augmented Generation (RAG) works and exactly where it fails in real-world applications.
What you will learn:
The complete classic RAG flow step by step
What multi-hop query failures are and why they happen
How chunk loss affects retrieval quality
How ambiguity in queries breaks classic RAG systems
Why these limitations make Graph RAG necessary
This is the foundation you need before building any Graph RAG system. If you have ever wondered why your RAG chatbot gives wrong or incomplete answers, this video explains exactly why.
Watch on YouTube ↗
(saves to browser)
Sign in to unlock AI tutor explanation · ⚡30
Playlist
Uploads from Analytics Vidhya · Analytics Vidhya · 0 of 60
← Previous
Next →
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
The DataHour: Data Science in Retail
Analytics Vidhya
The DataHour: Anomaly detection using NLP and Predictive Modeling
Analytics Vidhya
The DataHour: Energy Data Science Project from Scratch
Analytics Vidhya
The DataHour: Explainable AI Need and Implementation
Analytics Vidhya
The DataHour: Google Cloud AI/ML
Analytics Vidhya
Prediction to Production in Machine Learning #machinelearning #prediction
Analytics Vidhya
Practical Applications of Data science in Ecommerce
Analytics Vidhya
How to tackle Overfitting?#machinelearning #overfitting
Analytics Vidhya
Building Data Pipelines on GCP #googlecloud #datapipelines #data
Analytics Vidhya
Hands-on with A/B Testing #abtesting #datascience
Analytics Vidhya
Efficient Implementations of Transformers #transformers #cnn #machinelearning
Analytics Vidhya
Modern Deep Learning Architecture #deeplearning #architecture #deeplearningtutorial
Analytics Vidhya
Key steps for Designing Artificial Neural Network (ANN) for Image classification #machinelearning
Analytics Vidhya
5 things you should know about Azure SQL #azure #sql #datahour #datascience
Analytics Vidhya
AI & ML in the Automotive Industry #machinelearning #ai
Analytics Vidhya
Building Machine Learning Models in BigQuery
Analytics Vidhya
NLP aspects in Telecommunication Industry
Analytics Vidhya
Practical Time Series Analysis
Analytics Vidhya
Fundamentals of Quantum Computing
Analytics Vidhya
A DAY IN THE LIFE of a Data Scientist (From waking up to working on algorithms)
Analytics Vidhya
Classification Machine Learning Model from Scratch
Analytics Vidhya
Knowledge Graph Solutions using Neo4j
Analytics Vidhya
Model Guesstimation (MLOps)
Analytics Vidhya
ETL Pipelines in Google Cloud Platform
Analytics Vidhya
Key steps for Designing Convolutional Neural Network(CNN) for Image Classification
Analytics Vidhya
Getting Started with AWS EC2 #amazon #aws
Analytics Vidhya
How to Use Azure NLP and Graph Databases for Intelligent Knowledge Mining
Analytics Vidhya
Certified AI & ML BlackBelt Plus Program #shorts
Analytics Vidhya
Visualizing Data using Python #machinelearning #visualization #python
Analytics Vidhya
DCNN for Machine RUL Prediction using Time-series Data #timeseries #machinelearning #datascience
Analytics Vidhya
M in ML stands for Math & Magic
Analytics Vidhya
An Unsupervised ML approach using Clustering
Analytics Vidhya
Customizing Large Language Models GPT3 for Real-life Use Cases #gpt3 #datascience
Analytics Vidhya
Model Parameters vs Hyperparameters - Techniques in ML Engineering #machinelearning
Analytics Vidhya
Practical MLOps #mlops #datascience
Analytics Vidhya
Data Engineering with Databricks #dataengineering #databricks
Analytics Vidhya
Multi-Objective Optimisation
Analytics Vidhya
When Airflow Meets Kubernetes
Analytics Vidhya
AI in Banking
Analytics Vidhya
Learn Convolutional Neural Network for Image Recognition
Analytics Vidhya
Extracting Value from Data
Analytics Vidhya
How to measure Marketing Channel Effectiveness
Analytics Vidhya
Transforming Lives | Data Science Immersive Bootcamp
Analytics Vidhya
Stock Market Analysis - AI driven approach
Analytics Vidhya
Become a Data Engineering Professional in 2022 | Future Trends + Skills Required
Analytics Vidhya
Ensemble Techniques in Machine Learning #machinelearning #ensemble #datascience
Analytics Vidhya
The Power of Visualization | Tableau Full Course | Analytics Vidhya
Analytics Vidhya
Demand for Data Engineers is on the Rise | Data Engineer | Analytics Vidhya
Analytics Vidhya
Data Visualization in Data Science | DataHour | Analytics Vidhya
Analytics Vidhya
Role of Optimization in Machine Learning & Deep Learning | DataHour | Analytics Vidhya
Analytics Vidhya
Solving any Machine Learning Problem | Approach and Steps Involved
Analytics Vidhya
Topic Modeling Explained with Implementation | Using LDA in Python | DataHour by Arpendu Ganguly
Analytics Vidhya
Data Engineering in E-Commerce | The Best Case Study
Analytics Vidhya
Introduction to Classification using Azure Machine Learning | DataHour | Analytics Vidhya
Analytics Vidhya
Introduction to Federated Learning | DataHour | Analytics Vidhya
Analytics Vidhya
Diffusion Models for Generative Arts | DataHour | Analytics Vidhya
Analytics Vidhya
Master Google Analytics in 1 Hour | DataHour | Analytics Vidhya
Analytics Vidhya
Learn Hypothesis Testing | DataHour | Analytics Vidhya
Analytics Vidhya
A Practical Approach to Kaggle Competition | DataHour | Analytics Vidhya
Analytics Vidhya
Making AI work for Business | DataHour | Analytics Vidhya
Analytics Vidhya
Related Reads
📰
📰
📰
📰
Building Trustworthy Production RAG Systems Through Continuous Evaluation
Towards Data Science
Most RAG Hallucinations Are Retrieval Failures: How the Retrieval Brick Decides What the Model Can Invent
Towards Data Science
Beyond Search: Building Knowledge Nexus — The Future of AI-Powered Enterprise Intelligence
Medium · Machine Learning
From Documents to Intelligent Answers: Building a RAG Agent from Scratch & Lessons Learned
Dev.to · Sri Deevi
🎓
Tutor Explanation
DeepCamp AI