Compiling Autoregressive LLM Control into Policy-Exact Parallel Inference for Hierarchical RAG
Not on the map. Why?
Abstract (arXiv)
Large language models increasingly act as controllers in structured decision pipelines, yet their decisions are still executed by autoregressive text decoding. Hierarchical RAG is one such setting: at each frontier of a document tree, an LLM commits to b of k sections under an input-dependent action grammar, executed as either failure-prone free-form JSON or reliable but strictly serial grammar-constrained generation. We show that this serialization is unnecessary for bounded-horizon control: the reachable future forms a shallow action-prefix tree, which we compile --- one root prefill plus one tree-causal probe evaluate every prefix-conditioned action distribution with serial decoding's tokens, positions, and causal ancestry. A prefix-state lemma makes compiled control policy-exact in exact arithmetic: the same policy with a two-forward critical path and zero output tokens. One further probe pass certifies the exact order-marginalized MAP set. Across four document-disjoint splits and two scales on the primary MetaX device, compiled control matches the serial policy on 84--89% of questions --- every instrumented divergence a floating-point near-tie --- and cuts control latency by 35--47% versus token-wise serial decoding and 6--7% versus an idealized chunked engine; an H800 repetition preserves the ordering.
Key facts. No citing papers in the map yet (data through 26 Nov 2026). Builds on 23 of its 25 references that are in the map. Submitted 22 Oct 2026.
Builds on
23 of 25 references.
References · 23
- 2020Retrieval-Augmented Generation for Knowledge-Intensive NLP Taskscited by 9,845
- 2024Qwen2.5 Technical Reportcited by 5,527
- 2024Medusa: Simple LLM Inference Acceleration Framework with Multiple Decoding Headscited by 961
- 2024RAPTOR: Recursive Abstractive Processing for Tree-Organized Retrievalcited by 589
- 2021A Dataset of Information-Seeking Questions and Answers Anchored in Research Paperscited by 527
- 2021PICARD: Parsing Incrementally for Constrained Auto-Regressive Decoding from Language Modelscited by 432
- 2023SpecInfer: Accelerating Generative Large Language Model Serving with Tree-based Speculative Inference and Verificationcited by 412
- 2023Large Language Models Sensitivity to The Order of Options in Multiple-Choice Questionscited by 312
- 2023Efficient Guided Generation for Large Language Modelscited by 244
- 2023Grammar-Constrained Decoding for Structured NLP Tasks without Finetuningcited by 229
- 2023An LLM Compiler for Parallel Function Callingcited by 217
- 2023Walking Down the Memory Maze: Beyond Context Limit through Interactive Readingcited by 144
11 more
- 2025JSONSchemaBench: A Rigorous Benchmark of Structured Outputs for Language Modelscited by 86
- 2024OCR Hinders RAG: Evaluating the Cascading Impact of OCR on Retrieval-Augmented Generationcited by 31
- 2024Beyond Performance: Quantifying and Mitigating Label Bias in LLMscited by 29
- 2024DeFT: Decoding with Flash Tree-attention for Efficient Tree-structured LLM Inferencecited by 24
- 2025LLM-guided Hierarchical Search for End-to-end Reasoning Intensive Retrievalcited by 7
- 2026MultiDocFusion: Hierarchical and Multimodal Chunking Pipeline for Enhanced RAG on Long Industrial Documentscited by 7
- 2025Equipping Retrieval-Augmented Large Language Models with Document Structure Awarenesscited by 4
- 2026Mean-Field Parallel Decoding for Discrete Diffusion Language Modelscited by 4
- 2026SimpleTool: Parallel Decoding for Real-Time LLM Function Callingcited by 3
- 2025Inferring from Logits: Exploring Best Practices for Decoding-Free Generative Candidate Selectioncited by 2
- 2026Contextual Plackett-Luce: An Efficient Neural Model for Probabilistic Sequence Selection under Ambiguitycited by 1
Built on by
Not cited yet.
Similar, not cited
Close in wording, no citation either way
- 2026From Inference Engine to Inference Control Plane: Connecting vLLM, llm-d, and the Evolution of Efficient Distributed LLM Serving
- 2026Compute Where it Counts: Self Optimizing Language Models
- 2026AutoCRAT: Within-trajectory Joint Control of Stochasticity and Compute for LLM Reasoning
- 2025Test-Time Alignment for Large Language Models via Textual Model Predictive Control
- 2026AutoRefine: Compiling Trajectories into Validated Typed Agent Artifacts
- 2024Beyond Autoregression: Fast LLMs via Self-Distillation Through Time
- 2026Self-Orchestrating Language Models: Leveraging Semantic Dependence for Efficient Inference
- 2024Auto-RAG: Autonomous Retrieval-Augmented Generation for Large Language Models