Papers › DomainRAG: A Chinese Benchmark for Evaluating Domain-specific Retrieval-Augmented Generation

DomainRAG: A Chinese Benchmark for Evaluating Domain-specific Retrieval-Augmented Generation

9 Jun 2024arXiv:2406.05654archive 2025-07-28

Shuting Wang, Jiongnan Liu, Shiren Song, Jiehan Cheng, Yuqi Fu, Peidong Guo, Kun Fang, Yutao Zhu, Zhicheng Dou

Retrieval-Augmented Generation (RAG) offers a promising solution to address various limitations of Large Language Models (LLMs), such as hallucination and difficulties in keeping up with real-time updates. This approach is particularly critical in expert and domain-specific applications where LLMs struggle to cover expert knowledge. Therefore, evaluating RAG models in such scenarios is crucial, yet current studies often rely on general knowledge sources like Wikipedia to assess the models' abilities in solving common-sense problems. In this paper, we evaluated LLMs by RAG settings in a domain-specific context, college enrollment. We identified six required abilities for RAG models, including the ability in conversational RAG, analyzing structural information, faithfulness to external knowledge, denoising, solving time-sensitive problems, and understanding multi-document interactions. Each ability has an associated dataset with shared corpora to evaluate the RAG models' performance. We evaluated popular LLMs such as Llama, Baichuan, ChatGLM, and GPT models. Experimental results indicate that existing closed-book LLMs struggle with domain-specific questions, highlighting the need for RAG models to solve expert problems. Moreover, there is room for RAG models to improve their abilities in comprehending conversational history, analyzing structural information, denoising, processing multi-document interactions, and faithfulness in expert knowledge. We expect future studies could solve these problems better.

PaperPDFCodeCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2406.05654")

Code

Syntology Ran 12 of 12 code samples harvested from 1 repository linked to this paper; 0 have no recorded run. Of those that ran: 1 ran · our draft was wrong; 11 ran with no contract checked.

By repository: official repository: 12 samples from 1 repository, 12 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

ShootingWong/DomainRAG officialmentioned in paperpytorch report
ruc-nlpir/flashrag mentioned on GitHubpytorchMIT report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

12 samples harvested; 12 ran; 0 honoured the contract we drafted; 0 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

1ran · our draft was wrong
11ran

Licence: 12 of the 12 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from ShootingWong/DomainRAG. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

collator ShootingWong/DomainRAG/BCM/evaluation/tasks/Datasets.py official repository ran · our draft was wrong no licence file found · pointer only · bda36ad0c44dbd74 · report
em ShootingWong/DomainRAG/BCM/evaluation/Evaluator.py official repository ran no licence file found · pointer only · abd810c2287f2f36 · report
em_strict ShootingWong/DomainRAG/BCM/evaluation/Evaluator.py official repository ran no licence file found · pointer only · 1b33d678e1809cd1 · report
get_answer ShootingWong/DomainRAG/BCM/models/llm_models.py official repository ran no licence file found · pointer only · 0569ac90f9042b0d · report
get_answer ShootingWong/DomainRAG/BCM/evaluation/prediction_results/gpt_eval.py official repository ran no licence file found · pointer only · ad0fc83e3ddfae96 · report
gpt_generate_str ShootingWong/DomainRAG/BCM/models/llm_models.py official repository ran no licence file found · pointer only · 91292e0608245752 · report
gpt_generate_str ShootingWong/DomainRAG/BCM/evaluation/prediction_results/gpt_eval.py official repository ran no licence file found · pointer only · 2e867288439d6ac9 · report
load_jsonl ShootingWong/DomainRAG/BCM/models/main_retrieval.py official repository ran no licence file found · pointer only · 82caf5acc631d96f · report
normalize_answer ShootingWong/DomainRAG/BCM/evaluation/Evaluator.py official repository ran fingerprinted no licence file found · pointer only · 6205dd62c2627dde · report
remove_space ShootingWong/DomainRAG/BCM/evaluation/tasks/Datasets.py official repository ran fingerprinted no licence file found · pointer only · a0b7c401fe27624d · report
runProcess_gpt ShootingWong/DomainRAG/BCM/models/llm_models.py official repository ran no licence file found · pointer only · 14fd7d0254bdc425 · report
runProcess_gpt ShootingWong/DomainRAG/BCM/evaluation/prediction_results/gpt_eval.py official repository ran no licence file found · pointer only · 950491e7e95875bb · report

Tasks

Common Sense ReasoningDenoisingGeneral KnowledgeHallucinationRAGRetrievalRetrieval-augmented Generation

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Methods

AdamAttentionAttention DropoutBARTBERTBPECosine AnnealingDense ConnectionsDiscriminative Fine-TuningDropoutGPTLayer NormalizationLinear LayerLinear Warmup With Cosine AnnealingLinear Warmup With Linear DecayMulti-Head AttentionRAGResidual ConnectionSoftmaxWeight DecayWordPiece

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections