One small retriever does all the heavy lifting for domain RAG applications.
A single retriever model fine-tuned on multiple domain tasks enables efficient, scalable RAG applications while maintaining multilingual capabilities and strong generalization across domains.
-----
https://arxiv.org/abs/2501.04652
π€ Original Problem:
Deploying RAG applications faces two key challenges: retrieving domain-specific information and managing multiple retrievers for different applications is computationally expensive and inefficient.
-----
π§ Solution in this Paper:
β The paper instruction fine-tunes a small retriever encoder (mGTE-base, 305M parameters) on various domain tasks
β The training combines workflow steps, database tables, and field retrieval tasks into a single model
β Data balancing through frequency-based downsampling prevents bias from overrepresented steps
β The multi-task approach enables one retriever to serve multiple applications efficiently
-----
π‘ Key Insights:
β Multi-task instruction fine-tuning improves generalization across domains
β Downsampling frequent components boosts step retrieval performance by 8%
β The model preserves multilingual capabilities despite English-only training
-----
π Results:
β Step retrieval: 0.90 recall@15 on out-of-domain tests
β Table retrieval: 0.90 recall@5 across domains
β Field retrieval: 0.60 recall@5 for database fields
β Workflow retrieval: 0.94 recall@5 on unseen tasks










