[Paper Review] Succeeding at Scale: Automated Dataset Construction and Query-Side Adaptation for Multi-Tenant Search
The paper introduces DevRev Search, an automated multi-retriever data-creation pipeline using LLMs for filtering, and an index-preserving, query-side adaptation (LoRA) strategy to enable scalable, tenant-specific retrieval without re-indexing. It analyzes layer-specific LoRA tuning and compares query-only versus joint fine-tuning across enterprise and scientific domains.
Large-scale multi-tenant retrieval systems generate extensive query logs but lack curated relevance labels for effective domain adaptation, resulting in substantial underutilized "dark data". This challenge is compounded by the high cost of model updates, as jointly fine-tuning query and document encoders requires full corpus re-indexing, which is impractical in multi-tenant settings with thousands of isolated indices. We introduce DevRev-Search, a passage retrieval benchmark for technical customer support built via a fully automated pipeline. Candidate generation uses fusion across diverse sparse and dense retrievers, followed by an LLM-as-a-Judge for consistency filtering and relevance labeling. We further propose an Index-Preserving Adaptation strategy that fine-tunes only the query encoder, achieving strong performance gains while keeping document indices fixed. Experiments on DevRev-Search, SciFact, and FiQA-2018 show that Parameter-Efficient Fine-Tuning (PEFT) of the query encoder delivers a remarkable quality-efficiency trade-off, enabling scalable and practical enterprise search adaptation.
Motivation & Objective
- Address the lack of labeled data in enterprise search domains ('dark data') and the high cost of updating document encoders in multi-tenant systems.
- Build a scalable DevRev Search benchmark by auto-generating training data via multi-retriever fusion and LLM-based filtering.
- Propose an index-preserving adaptation workflow that tunes only the query encoder using LoRA to avoid document re-indexing.
- Investigate layer-targeting and rank selection to optimize the quality-efficiency trade-off in query-side adaptation.
Proposed method
- Construct a scalable DevRev Search dataset by pooling candidates from seven retrievers (six dense, one lexical) via reciprocal rank fusion and filtering with an LLM-based judge.
- Apply an index-preserving adaptation: fine-tune only the query encoder with Low-Rank Adaptation (LoRA) while freezing the document index.
- Perform layer-sensitivity experiments to determine which transformer components (e.g., QV, FFN, QKV) and LoRA rank best balance recall and efficiency.
- Evaluate on DevRev Search (enterprise) and SciFact (scientific) to compare Query-Only versus Joint Query-Document fine-tuning.
- Use InfoNCE loss with mined hard negatives and a cosine scheduler; analyze which query encoder layers to tune for optimal performance.

Experimental results
Research questions
- RQ1Can query-only fine-tuning match or surpass joint query-document fine-tuning in enterprise-like domains without re-indexing the corpus?
- RQ2How does LoRA rank and targeted module tuning affect retrieval quality and efficiency across different datasets and model sizes?
- RQ3What is the impact of layer-targeting (e.g., QV vs FFN vs All Layers) on recall and parameter efficiency in multi-tenant settings?
- RQ4Does multi-retriever fusion paired with LLM-based filtering produce high-quality, automatically generated training data for domain adaptation?
Key findings
- Query-Only adaptation can outperform Joint QD tuning on the DevRev Search benchmark, achieving higher Recall@10 in enterprise data while avoiding re-indexing costs.
- On SciFact, Query-Only remains highly competitive and within 1-2% of the Joint-QD upper bound, indicating practical viability for production systems.
- LoRA rank and layer-targeting effects are dataset- and model-dependent; smaller models benefit from higher capacity (higher rank, all layers) on DevRev, while larger models favor targeted, lower-rank tuning (e.g., QV/FFN) on SciFact.
- For DevRev Search, the optimal single-model recall from individual retrievers is limited (highest 82.48%), motivating the necessity of a diverse 7-model ensemble for dataset construction.
- The dataset statistics show DevRev Training: 291 queries with an average of 13.61 relevant chunks per query, illustrating high relevance density in enterprise data.

Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.