jXBW: A Compressed Index Enabling Structure-Aware JSONL Retrieval for Structured RAG
On the map: Retrieval-augmented generation → Knowledge-graph and structured-knowledge RAG
Abstract (arXiv)
Providing textitstructured information to large language models (LLMs) improves multi-step reasoning and factual grounding, and recent retrieval-augmented generation (RAG) systems therefore reconstruct structure from retrieved text on every query. When the corpus is already structured --- as in JSON Lines (JSONL), a popular format for LLM prompts, chemical compounds, and geospatial records --- this per-query rebuilding can be replaced by direct structural retrieval. The core primitive is textitsubstructure search: finding all JSON objects in a collection that contain a given query pattern. Existing approaches index each document separately, so both index space and query time grow with the total collection size; XML-based engines add conversion overhead and semantic mismatches. We propose jXBW, a compressed index for fast substructure search over JSONL, combining three innovations: (i) a merged tree representation that consolidates repeated structures across objects, (ii) a succinct tree index based on the eXtended Burrows--Wheeler Transform (XBW), and (iii) a newly developed three-phase substructure search algorithm that runs on this index. Together they achieve query-dependent complexity: chgbthe search avoids a full scan of the collection and is candidate- and output-sensitive, in compressed space. Experiments on seven real-world datasets, including PubChem (106 compounds) and OpenStreetMap (6.6 × 106 objects), show that jXBW outperforms the strongest tree-based baseline by 16× on the smallest dataset and by up to mathbf2,800× on the largest, and is more than 2 × 106× faster than the XQuery engine Saxon. jXBW thus brings structural retrieval over million-record JSONL collections into the sub-millisecond range.
Key facts. No citing papers in the map yet (data through 14 Oct 2026). Placed in Knowledge-graph and structured-knowledge RAG, one of 15 directions in Retrieval-augmented generation. Builds on 6 of its 28 references that are in the map. First posted on arXiv 18 Aug 2025.
Builds on
6 of 28 references.
References · 6
- 2020Retrieval-Augmented Generation for Knowledge-Intensive NLP Taskscited by 9,297
- 2024StructRAG: Boosting Knowledge Intensive Reasoning of LLMs via Inference-time Hybrid Information Structurizationcited by 71
- 2024GenQA: Generating Millions of Instructions from a Handful of Promptscited by 35
- 2025From Prompts to Templates: A Systematic Prompt Template Analysis for Real-world LLMappscited by 21
- 2025RAS: Retrieval-And-Structuring for Knowledge-Intensive LLM Generationcited by 16
- 2013From Theory to Practice: Plug and Play with Succinct Data Structurescited by 6
Built on by
Not cited yet.
Similar, not cited
Close in wording, no citation either way
- 2026Graphs RAG at Scale: Beyond Retrieval-Augmented Generation With Labeled Property Graphs and Resource Description Framework for Complex and Unknown Search Spaces
- 2026Object Aligner: A Configurable JSON Schema Similarity Score for Graphs, Applied to LLM Prompt Optimization
- 2026M-RAG: Semantic Key-Value Indexing for Retrieval-Augmented Generation
- 2026Structure-Aware Semantic Chunking with Title-Chain Prefixes: A 1600-Query Evaluation and the Measurement Trap in Text-Transform Ablations
- 2026FlexStructRAG: Flexible Structure-Aware Multi-Granular Relational Retrieval for RAG
- 2026RIT-RAG: Navigating Document Corpora with Retrieval-Induced Trees
- 2025EraRAG: Efficient and Incremental Retrieval Augmented Generation for Growing Corpora
- 2025MiniRAG: Towards Extremely Simple Retrieval-Augmented Generation