RAGSynth: Synthetic Data for Robust and Faithful RAG Component Optimization

RAG can enhance the performance of LLMs on knowledge-intensive tasks. Various RAG paradigms, including vanilla, planning-based, and iterative RAG, are built upon 2 cores: the retriever, which should robustly select relevant documents across complex queries, and the generator, which should faithfully synthesize responses. However, existing retrievers rely heavily on public knowledge and struggle with queries of varying logical complexity and clue completeness, while generators frequently face fidelity problems. In this work, we introduce RAGSynth, a framework that includes a data construction modeling and a corresponding synthetic data generation implementation, designed to optimize retriever robustness and generator fidelity. Additionally, we present SynthBench, a benchmark encompassing 8 domain-specific documents across 4 domains, featuring diverse query complexities, clue completeness, and fine-grained citation granularity. Leveraging RAGSynth, we generate a large-scale synthetic dataset, including single and multi-hop. Extensive experiments demonstrate that the synthetic data significantly improves the robustness of the retrievers and the fidelity of the generators. Additional evaluations confirm that RAGSynth can also generalize well across different domains. By integrating the optimized retrievers into various RAG paradigms, we consistently observe enhanced RAG system performance. We have open-sourced the implementation onthis https URL.
View on arXiv@article{shen2025_2505.10989, title={ RAGSynth: Synthetic Data for Robust and Faithful RAG Component Optimization }, author={ Haiyang Shen and Hang Yan and Zhongshi Xing and Mugeng Liu and Yue Li and Zhiyang Chen and Yuxiang Wang and Jiuzheng Wang and Yun Ma }, journal={arXiv preprint arXiv:2505.10989}, year={ 2025 } }