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

SchemaRAG:面向LLM驱动的结构化信息提取的动态大规模模式缩减

SchemaRAG: Dynamic Large Schema Reduction for LLM-driven Structured Information Extraction

Sin Yu Bonnie Ho, Arlie Coles, Erik Larsson, Eric Marshall, Nathan Bodenstab, Paul Vozila

AI总结:

针对大规模模式导致LLM提取结构化信息时成本高、性能下降的问题,提出SchemaRAG框架,通过检索增强动态缩减输出模式空间,在医疗和电商数据集上实现F1提升8.8%、延迟降低47%、令牌成本降低48%。

摘要:

使用大型语言模型(LLM)从非结构化文本中提取结构化数据时,当目标模式庞大且复杂时变得具有挑战性。在这种情况下,在提示中包含完整模式会增加成本和延迟,存在中间丢失性能下降的风险,并可能超出上下文长度限制。我们提出SchemaRAG,一个检索增强生成(RAG)框架,通过利用模式元数据和可用的少样本示例,动态修剪模式条件信息提取任务的输出模式空间。我们在真实世界的医疗和电商数据集上评估SchemaRAG。我们的结果表明,SchemaRAG可以实现高达8.8%的微F1提升、47%的延迟降低和48%的令牌成本降低,展示了其在大规模模式提取中的实用性。

英文摘要:

Extracting structured data from unstructured text using large language models (LLMs) becomes challenging when target schemas are large and complex. In such cases, including the full schema in the prompt increases cost and latency, risks lost-in-the-middle performance degradation, and can exceed context length limits. We propose SchemaRAG, a retrieval-augmented generation (RAG) framework that dynamically prunes the output schema space for schema-conditioned information extraction tasks by leveraging schema metadata and few-shot examples when available. We evaluate SchemaRAG on real-world healthcare and e-commerce datasets. Our results show that SchemaRAG can achieve up to an 8.8% increase in micro-F1, a 47% reduction in latency, and a 48% reduction in token costs, demonstrating its practicality for large-schema extraction.

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

↑