Do Reranking Models Actually Improve RAG?

Adam Lucek June 17, 2025
Video Thumbnail
Adam Lucek Logo

Adam Lucek

@adamlucek

About

teach them to long for the endless immensity of the sea For inquiries, refer to the email in my links section.

Video Description

To try everything Brilliant has to offer—free—for a full 30 days, visit https://brilliant.org/AdamLucek/ You’ll also get 20% off an annual premium subscription! Resources: Code - https://github.com/ALucek/rag-reranking BERT Video - https://www.youtube.com/watch?v=n_UQ0e0fBIA What Really Is a Vector Database? - https://youtu.be/NMfArmQ27m4 Chapters: 00:00 - Intro 02:00 - Brilliant! 03:46 - Bi Encoder Theory 07:00 - Bi Encoder Example 09:44 - Cross Encoder Theory 12:46 - Cross Encoder Example 14:59 - Late Interaction Theory 18:14 - Late Interaction Example 21:40 - RAG Setup 26:46 - Full RAG Reranking Pipeline 30:57 - Discussion #ai #datascience #programming This video is sponsored by Brilliant