Negative Documents and Hard Negatives in RAG Training (ANSWERED)
Medium RAG interview on hard negatives for embedding/reranker quality.
TL;DR — Quick Answer
Hard negatives are near-miss documents that look similar but are irrelevant. Training with them teaches the embedder/reranker to separate subtle differences, improving precision@k more than easy random negatives alone.
The Interview Question
What are hard negatives in retrieval training, and how do they improve a RAG embedding or reranker model?
Deep Explanation
Sign in to unlock full answer
Get deep explanations, PDF export & all RAG questions
- 6 more sections of deep explanation
- Real-world examples
- Common mistakes
- Interviewer expectations
- Follow-up questions
RAGEmbeddingsRerankingTrainingGoogleMetaCohere