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

Sin Yu Bonnie Ho, Arlie Coles, Erik Larsson, Eric Marshall, Nathan Bodenstab +1 more
5/4/2026
cs.IRcs.AI
rag

No confident code implementation found for this paper.

Abstract

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.

Show full abstract

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.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{ho2026schemarag,
  title  = {SchemaRAG: Dynamic Large Schema Reduction for LLM-driven Structured Information Extraction},
  author = {Sin Yu Bonnie Ho and Arlie Coles and Erik Larsson and Eric Marshall and Nathan Bodenstab and Paul Vozila},
  year   = {2026},
  eprint = {2607.00008},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2607.00008v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2607.00008.svg)](https://codeofpaper.com/paper/2607.00008)

Discussion