Share your thoughts, 1 month free Claude Pro on usSee more
WorkDL logo mark

Domain-Specific Data Generation Framework for RAG Adaptation

About

Retrieval-Augmented Generation (RAG) combines the language understanding and reasoning power of large language models (LLMs) with external retrieval to enable domain-grounded responses. Effectively adapting RAG systems to domain-specific settings requires specialized, context-rich training data beyond general-purpose question-answering. Here, we propose RAGen, a scalable and modular framework for generating domain-grounded question-answer-context (QAC) triples tailored to diverse RAG adaptation approaches. RAGen produces these QAC triples by identifying key concepts in documents, generating diverse questions guided by Bloom's Taxonomy-inspired principles, and pairing them with precise answers extracted from relevant contexts. RAGen supports multiple RAG adaptation strategies, including the optimization of key components such as the LLM, retriever, and embedding model, etc. Its modular pipeline features semantic chunking, hierarchical concept extraction, and multi-chunk retrieval, along with the introduction of curated distractor contexts to promote robust reasoning. Designed for scalability, RAGen efficiently handles large and evolving document corpora without redundant processing, making it especially suitable for dynamic evolving domains such as scientific research and enterprise knowledge bases.

Chris Xing Tian, Weihao Xie, Zhen Chen, Zhengyuan Yi, Hui Liu, Haoliang Li, Shiqi Wang, Siwei Ma• 2025

Related benchmarks

TaskDatasetResultRank
Information RetrievalPPFS
R@130.95
12
Information RetrievalTradePolicy
Recall@138.91
12
Information RetrievalBusinessAI
Recall@130.02
12
Response GenerationPPFS
ROUGE-L39.55
6
Response GenerationTradePolicy
ROUGE-L39.11
6
Response GenerationBusinessAI
ROUGE-L36.82
6
Information RetrievalQASPER NLP
R@125.81
4
Question Answering GenerationQASPER NLP (test)
ROUGE-L0.2553
4
Showing 8 of 8 rows

Other info

Follow for update