Share from 0:00
0:00
/

"ScalingNote: Scaling up Retrievers with Large Language Models for Real-World Dense Retrieval"

The podcast on this paper is generated with Google's Illuminate.

ScalingNote introduces a two-stage method to scale up dense retrieval using LLMs while maintaining fast query response times for real-world applications.

-----

https://arxiv.org/abs/2411.15766

πŸ” Original Problem:

β†’ Real-world dense retrieval systems face a critical trade-off between model performance and query latency. While using LLMs can improve retrieval quality, they significantly slow down online query processing.

β†’ Current systems focus on negative sampling strategies rather than scaling up model size due to deployment constraints.

-----

πŸ› οΈ Solution in this Paper:

β†’ ScalingNote employs a two-stage training approach to leverage LLMs effectively.

β†’ Stage 1 trains dual towers initialized from the same LLM using contrastive learning and hard negative mining.

β†’ Stage 2 performs Query-based Knowledge Distillation to transfer knowledge from the LLM query tower to a smaller, faster BERT-based query tower.

β†’ The system uses residual K-means clustering for document indexing and IVFPQ for efficient retrieval.

-----

πŸ’‘ Key Insights:

β†’ Scaling laws in dense retrieval show that larger models and more data improve performance up to a certain point

β†’ Query towers can be effectively distilled while maintaining document tower complexity

β†’ Title-specific query prediction improves document relevance

-----

πŸ“Š Results:

β†’ Achieved 83.01% AUC-SAT and 82.14% AUC-REL on manual test dataset

β†’ Reduced irrelevant document retrieval by 1.546% in top-20 results

β†’ Maintained high QPS (33,810) with 4-layer BERT student model

Discussion about this video

User's avatar

Ready for more?