arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2510.11217cs.CLcs.AI
收藏

面向RAG适应的领域特定数据生成框架

Domain-Specific Data Generation Framework for RAG Adaptation

Peng Cheng Laboratory(鹏城实验室);City University of Hong Kong(香港城市大学);Peking University(北京大学)

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

AI总结:

本文提出RAGen框架,通过识别文档中的关键概念生成领域相关的问答对,支持多种RAG适应策略,提升领域适应效果。

摘要:

Retrieval-Augmented Generation (RAG)结合大型语言模型的语言理解和推理能力与外部检索,以实现领域相关的响应。有效适应RAG系统到领域特定设置需要专门的、上下文丰富的训练数据,超越通用问题回答。本文提出RAGen,一个可扩展且模块化的框架,用于生成针对多样化RAG适应方法定制的问答上下文三元组。RAGen通过识别文档中的关键概念,生成受Bloom分类法启发的多样化问题,并与精确提取的答案配对。RAGen支持多种RAG适应策略,包括优化关键组件如LLM、检索器和嵌入模型等。其模块化流水线包括语义分块、层次概念提取、多块检索,以及引入经过精心挑选的干扰上下文以促进稳健推理。设计用于可扩展性,RAGen高效处理大规模和不断变化的文档语料库,无需冗余处理,使其特别适合动态变化的领域,如科学研究和企业知识库。

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑