TL;DR
DRAMA is a parameter- and energy-efficient framework for multi-domain neural information retrieval that matches the accuracy of specialized search models while slashing inference energy costs by over 75%. By pairing a single frozen retrieval backbone with lightweight, domain-specific adapters and an independent gating network, it allows search engines to scale sustainably to new domains without full model retraining.
What Problem Does This Paper Address?
Neural Information Retrieval (NIR) models have dramatically improved search quality by capturing deep semantic meaning rather than just matching keywords. However, this accuracy comes at a massive computational and environmental cost.
When deploying search systems across multiple distinct domains (e.g., shifting from computer science papers to gaming forums), engineers face a difficult trade-off:
- Maintain separate, specialized models for each domain: This delivers the highest accuracy but results in massive storage overhead and linear scaling costs as new domains are added.
- Train a single unified model on all data: This is more efficient to deploy, but the model often suffers from "gradient interference"—where conflicting vocabulary and contexts across domains degrade overall retrieval performance.
The authors introduce DRAMA (Domain Retrieval using Adaptive Module Allocation) to break this bottleneck, offering a sustainable, scalable architecture for multi-domain search.
Methods
DRAMA achieves its efficiency by combining a frozen core model with dynamic, lightweight components. Its architecture consists of three main parts:
- Shared Retrieval Backbone: A standard dense retrieval model (such as DistilBERT or MiniLM) that remains completely frozen during training, acting as a stable base.
- Domain-Specific Adapters: Instead of fine-tuning the whole model, DRAMA inserts tiny, trainable adapter layers (supporting both Houlsby and LoRA architectures). Each adapter is trained via Knowledge Distillation (KD) to mimic a large, fully fine-tuned teacher model specialized in that specific domain. The training uses a combination of Mean Squared Error (MSE) to match teacher scores and a triplet margin loss for hard retrieval labels.
- Decoupled Domain Classifier (Gating Function): A lightweight classifier analyzes incoming queries to predict their domain and dynamically activates only the corresponding adapter.
Unlike traditional Mixture-of-Experts (MoE) systems where the router and experts are trained jointly, DRAMA trains them independently. This decoupled design choice is vital for scalability: when a new domain emerges, engineers can train a single new adapter and update the classifier without touching or retraining any existing components.
Datasets
The authors evaluated DRAMA across two multi-domain web retrieval benchmarks and two zero-shot transfer tasks:
- Academic Search: A semi-synthetic dataset consisting of four large, overlapping domains: Computer Science, Physics, Political Science, and Psychology (~5 million documents per domain).
- SE-PQA (Community Question Answering): Real-world user data from Stack Exchange spanning four distinct communities: Apple, English, Gaming, and SciFi.
- BEIR Benchmarks (Zero-Shot Evaluation): To test generalization to completely unseen domains, the models were evaluated on SCIDOCS (citation prediction) and Quora (duplicate question detection).
Key Insights and Ideas
- Decoupling Enables True Modularity: Traditional MoE architectures require end-to-end retraining when adding new experts. DRAMA proves that isolating adapter training from the gating function preserves performance while making the system infinitely more practical for production environments.
- Conflicting Semantics Hurt Unified Models: The experiments confirm that a single general model trained on all domains simultaneously (the "ALL" baseline) consistently underperforms compared to domain-specific models due to clashing feature representations.
- Compact Knowledge Storage: The paper demonstrates that domain-specific expertise can be compactly distilled into adapters representing only a fraction of the base model's parameters (adding at most 4% parameters per domain) without losing retrieval effectiveness.
Key Results
- >75% Energy and Emission Reductions: By utilizing a single shared backbone instead of an ensemble of independent models, DRAMA slashes theoretical FLOPs, energy consumption, and carbon emissions by more than 75% during inference.
- On-Par Retrieval Performance: Across both BiEncoder and CrossEncoder configurations, DRAMA consistently beats the unified multi-domain baseline and performs on par with fully fine-tuned specialized models. For example, in the DistilBERT BiEncoder setup, DRAMA outperformed the general model by an average of 3% MAP@100.
- Strong Zero-Shot Generalization: When faced with out-of-domain queries from entirely unseen communities, DRAMA showcased superior robustness, outperforming the general model by up to 3.3% on CrossEncoder architectures.
Limitations and Future Work
- Routing Bottleneck: DRAMA's effectiveness relies heavily on the gating function's accuracy. In ambiguous or highly multidisciplinary domains (such as Political Science in the academic dataset, where routing precision dropped to 63%), misrouting queries can lead to minor performance drops.
- Dependency on Labeled Domains: The current framework assumes that queries in the training set come with explicit domain labels. The authors suggest that future work should explore unsupervised gating mechanisms that can dynamically discover and cluster latent domains without human labeling.
Summary updated