AI & MLRecommendedAIML-RET-013
Training Dense Retrievers
Bi-encoders trained contrastively on query-passage pairs, with hard negatives doing most of the work.
- Difficulty
- 4 / 5
- Importance
- 4 / 5
- Study time
- 1–2 h
- Kind of work
- Mixed
Why it matters
The learner can construct a contrastive training batch with in-batch and hard negatives and explain why hard negatives matter.