On the Scaling of Robustness and Effectiveness in Dense Retrieval

Yu-An Liu, Ruqing Zhang, Jiafeng Guo, Maarten de Rijke, Yixing Fan, Xueqi Cheng

Introduction

Dense retrieval (DR) models, which utilize neural embeddings to identify relevant documents, serve as the foundational technology for modern search engines. While these models demonstrate high effectiveness on standard, in-distribution data, they are often brittle when encountering out-of-distribution (OOD) data or deliberate adversarial attacks.

In the field of deep learning, "scaling laws" have established that model performance typically improves predictably with increases in data volume and parameter count. While this relationship is well-documented for effectiveness, its application to robustness has remained unclear. This research investigates whether robustness follows similar power-law scaling and explores the potential trade-offs between building models that are both accurate and resilient.

The Scaling of Robustness and the Sensitivity Split

A primary contribution of this work is the discovery that OOD robustness indeed follows a predictable power-law scaling relationship. By varying model sizes (0.5M to 87M parameters) and training data volumes (30K to 480K pairs) using BERT and ERNIE architectures, the researchers quantified these relationships.

A critical finding is the "sensitivity split": robustness is significantly more sensitive to dataset size, whereas effectiveness is more heavily influenced by model size. This implies that simply increasing model parameters leads to diminishing returns for robustness if the training data volume is not scaled proportionally.

Figure 2: Joint scaling of effectiveness and robustness across model sizes (left) and data sizes (right). The dashed red line represents the Pareto frontier.

Furthermore, the study reveals that common optimization techniques, such as hard-negative mining, often push models away from the Pareto frontier—the optimal balance where one metric cannot be improved without degrading the other. These methods tend to over-prioritize effectiveness at the expense of robustness, leading to suboptimal resource utilization.

Pareto Training: Optimizing the Trade-off

To address these inefficiencies, the authors propose Pareto training, a dynamic optimization strategy. Unlike standard training that uses fixed loss weights, Pareto training adaptively adjusts weights at each step based on the model's distance from the Pareto frontier. This nudges the optimization process in the most resource-efficient direction.

Figure 5: Power-law scaling of retrieval error on the T2Ranking dataset, showing predictable performance improvements as resources scale.

Experimental Results and Benchmarks

The researchers evaluated their findings across several high-profile benchmarks, including MS MARCO and T2Ranking for training, and the BEIR benchmark for English OOD evaluation. They also introduced BCIR, a new benchmark for Chinese OOD robustness across five domains (medical, news, e-commerce, etc.).

Key results include:

  • Efficiency Gains: Pareto training improves scaling efficiency by up to 2.5x. A Pareto-trained model can achieve the same joint performance as a standard model using more than double the data or parameters.
  • Resource Savings: To achieve a 10% boost in both metrics for a state-of-the-art model like Llama2Vec using standard methods, one would theoretically require a 175B parameter model and 10x the data. Pareto training makes such gains achievable at significantly smaller scales.
  • Adversarial Robustness: The study found that vanilla models exhibit "noisy" scaling for adversarial robustness; predictable scaling laws only emerge when models are explicitly exposed to adversarial examples during training.

Conclusion and Future Work

This research demonstrates that robustness in dense retrieval is as predictable as effectiveness, provided the correct scaling factors are prioritized. Pareto training offers a path toward more robust search systems without requiring prohibitive increases in hardware or data.

Future research will focus on extending these scaling laws to more complex architectures like ColBERT and multi-vector models, as well as validating these findings on multi-billion parameter Large Language Models (LLMs). Additionally, exploring other dimensions of robustness, such as retrievability and performance variance across demographic groups, remains a vital next step.

Summary updated

BibTeX
@inproceedings{liu2025scaling,
  author = {Yu-An Liu and Ruqing Zhang and Jiafeng Guo and Maarten de Rijke and Yixing Fan and Xueqi Cheng},
  title = {{On the Scaling of Robustness and Effectiveness in Dense Retrieval}},
  booktitle = {International ACM SIGIR Conference on Research and Development in Information Retrieval},
  year = {2025},
}
Figure