mlsanityData to 14 Oct 2026

TableCache: Primary Foreign Key Guided KV Cache Precomputation for Low Latency Text-to-SQL

arXiv 2601.08743 ↗First posted 13 Jan 2026cs.CL cs.AIcited by 2

On the map: Efficient LLM inference and serving → KV cache optimization

Abstract (arXiv)

In Text-to-SQL tasks, existing LLM-based methods often include extensive database schemas in prompts, leading to long context lengths and increased prefilling latency. While user queries typically focus on recurrent table sets-offering an opportunity for KV cache sharing across queries-current inference engines, such as SGLang and vLLM, generate redundant prefix cache copies when processing user queries with varying table orders. To address this inefficiency, we propose precomputing table representations as KV caches offline and querying the required ones online. A key aspect of our approach is the computation of table caches while preserving primary foreign key relationships between tables. Additionally, we construct a Table Trie structure to facilitate efficient KV cache lookups during inference. To enhance cache performance, we introduce a cache management system with a query reranking strategy to improve cache hit rates and a computation loading pipeline for parallelizing model inference and cache loading. Experimental results show that our proposed TableCache achieves up to a 3.62x speedup in Time to First Token (TTFT) with negligible performance degradation.

Key facts. Cited by 2 papers in the map (data through 14 Oct 2026). Placed in KV cache optimization, one of 12 directions in Efficient LLM inference and serving. Builds on 19 of its 24 references that are in the map. First posted on arXiv 13 Jan 2026.

Builds on

19 of 24 references.

Closest ancestors · 9

Same direction, newest first

  1. 2025KVzip: Query-Agnostic KV Cache Compression with Context Reconstruction29 May
  2. 2025KVLink: Accelerating Large Language Models via Efficient KV Cache Reuse21 Feb
  3. 2024TurboRAG: Accelerating Retrieval-Augmented Generation with Precomputed KV Caches for Chunked Text10 Oct
  4. 2024Ada-KV: Optimizing KV Cache Eviction by Adaptive Budget Allocation for Efficient LLM Inference16 Jul
  5. 2024Quest: Query-Aware Sparsity for Efficient Long-Context LLM Inference16 Jun
  6. 2024PyramidKV: Dynamic KV Cache Compression based on Pyramidal Information Funneling4 Jun
  7. 2024CacheBlend: Fast Large Language Model Serving for RAG with Cached Knowledge Fusion26 May
  8. 2024SnapKV: LLM Knows What You are Looking for Before Generation22 Apr
  9. 2023Efficient Memory Management for Large Language Model Serving with PagedAttention12 Sep

Other references · 10

  1. 2023Can LLM Already Serve as A Database Interface? A BIg Bench for Large-Scale Database Grounded Text-to-SQLscited by 688
  2. 2023DIN-SQL: Decomposed In-Context Learning of Text-to-SQL with Self-Correctioncited by 477
  3. 2023Text-to-SQL Empowered by Large Language Models: A Benchmark Evaluationcited by 385
  4. 2023Prompt Cache: Modular Attention Reuse for Low-Latency Inferencecited by 268
  5. 2022Binding Language Models in Symbolic Languagescited by 228
  6. 2024CodeS: Towards Building Open-source Language Models for Text-to-SQLcited by 187
  7. 2024CHESS: Contextual Harnessing for Efficient SQL Synthesiscited by 169
  8. 2023Enhancing Few-shot Text-to-SQL Capabilities of Large Language Models: A Study on Prompt Design Strategiescited by 45
  9. 2024Don't Do RAG: When Cache-Augmented Generation is All You Need for Knowledge Taskscited by 38
  10. 2024Block-Attention for Efficient Prefillingcited by 37

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2026: 2.

2 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2026Randomization Boosts KV Caching, Learning Balances Query Load: A Joint Perspective
  2. 2025Towards Efficient Key-Value Cache Management for Prefix Prefilling in LLM Inference
  3. 2025LMCache: An Efficient KV Cache Layer for Enterprise-Scale LLM Inference
  4. 2026Comparative Characterization of KV Cache Management Strategies for LLM Inference
  5. 2026IceCache: Memory-efficient KV-cache Management for Long-Sequence LLMs
  6. 2026The KV Cache Working Set: Online Capacity Planning for LLM Inference Systems
  7. 2026KV2: A Self-Refining KV Cache
  8. 2024Get More with LESS: Synthesizing Recurrence with KV Cache Compression for Efficient LLM Inference