paper-with-me

Papers

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

2026-01-13 · Jinbo Su, Yuxuan Hu, Cuiping Li, Hong Chen, Jia Li, Lintao Ma, Jing Zhang 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.

📄 PDF Abstract BibTeX arXiv:2601.08743

Code (0)

등록된 구현이 없습니다.

Similar Papers 제목 키워드 기반

CacheClip: Accelerating RAG with Effective KV Cache Reuse

2025-10-11 · Bin Yang, Qiuyu Leng, Jun Zeng, Zhenhua Wu arxiv

Retrieval-Augmented Generation (RAG) systems suffer from severe time-to-first-token (TTFT) bottlenecks due to long input sequences. Existing KV cache reuse methods face a fundamental trade-off: prefix caching requires id…

Structural Adversarial Attacks on Relational Deep Learning under Integrity Constraints

2026-07-08 · Alan Gany, Bogdan Cautis, Silviu Maniu arxiv

Relational Deep Learning (RDL) has become a standard methodology for machine learning on relational databases: the database is encoded as a heterogeneous temporal graph in which tuples become nodes and primary-key to for…

Adversarial RobustnessGraph Neural Network

Robust and Efficient Embedded Convex Optimization through First-Order Adaptive Caching

2025-07-04 · Ishaan Mahajan, Brian Plancher arxiv

Recent advances in Model Predictive Control (MPC) leveraging a combination of first-order methods, such as the Alternating Direction Method of Multipliers (ADMM), and offline precomputation and caching of select operatio…

The microscopic relationships between triangular arbitrage and cross-currency correlations in a simple agent based model of foreign exchange markets

2020-02-07 · Alberto Ciacci, Takumi Sueshige, Hideki Takayasu, Kim Christensen 외

Foreign exchange rates movements exhibit significant cross-correlations even on very short time-scales. The effect of these statistical relationships become evident during extreme market events, such as flash crashes.In …

Foreign object segmentation in chest x-rays through anatomy-guided shape insertion

2025-01-21 · Constantin Seibold, Hamza Kalisch, Lukas Heine, Simon Reiß 외

In this paper, we tackle the challenge of instance segmentation for foreign objects in chest radiographs, commonly seen in postoperative follow-ups with stents, pacemakers, or ingested objects in children. The diversity …

AnatomyDiversityInstance SegmentationSemantic Segmentation