Task-level Distributionally Robust Optimization for Large Language Model-based Dense Retrieval
Guangyuan Ma, Yongliang Ma, Xing Wu, Zhenpeng Su, Ming Zhou, Songlin Hu

TL;DR
This paper introduces a task-level Distributionally Robust Optimization method for large language model-based dense retrieval, enhancing domain generalization and efficiency by reweighting training data across tasks.
Contribution
The proposed tDRO algorithm optimizes domain weights during fine-tuning, improving robustness and reducing dataset usage in large-scale retrieval tasks.
Findings
Improves retrieval performance across multiple benchmarks.
Reduces dataset usage by up to 30%.
Enhances domain generalization in LLM-DR models.
Abstract
Large Language Model-based Dense Retrieval (LLM-DR) optimizes over numerous heterogeneous fine-tuning collections from different domains. However, the discussion about its training data distribution is still minimal. Previous studies rely on empirically assigned dataset choices or sampling ratios, which inevitably lead to sub-optimal retrieval performances. In this paper, we propose a new task-level Distributionally Robust Optimization (tDRO) algorithm for LLM-DR fine-tuning, targeted at improving the universal domain generalization ability by end-to-end reweighting the data distribution of each task. The tDRO parameterizes the domain weights and updates them with scaled domain gradients. The optimized weights are then transferred to the LLM-DR fine-tuning to train more robust retrievers. Experiments show optimal improvements in large-scale retrieval benchmarks and reduce up to 30%…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Code & Models
- 🤗tdro-llm/s0-baseline-Qwen1.5-0.5Bmodel
- 🤗tdro-llm/s2-tdro-Qwen1.5-0.5B-currmodel
- 🤗tdro-llm/s2-tdro-Qwen1.5-0.5B-top70model
- 🤗tdro-llm/s0-baseline-Qwen1.5-1.8Bmodel
- 🤗tdro-llm/s0-baseline-Qwen1.5-4Bmodel
- 🤗tdro-llm/s0-baseline-Qwen1.5-7Bmodel
- 🤗tdro-llm/s0-baseline-Mistral-7B-v0.1model
- 🤗tdro-llm/s0-baseline-Llama-3-8Bmodel
- 🤗tdro-llm/s2-tdro-Qwen1.5-1.8B-currmodel
- 🤗tdro-llm/s2-tdro-Qwen1.5-4B-currmodel
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsTopic Modeling
