arXiv AI

Streaming Model Cascades for Semantic SQL

arXiv:2604. 00660v2 Announce Type: replace-cross Abstract: Modern data warehouses extend SQL with semantic operators that invoke large language models on each qualifying row, making per-row inference orders of magnitude more expensive than traditional SQL.

arXiv AI
Jun 30

SemJoin: Semantic Join Optimization

arXiv:2606. 29532v1 Announce Type: cross Abstract: Integrating unstructured data into relational database systems is increasingly important as demand grows for natural language querying and analysis.

By Christopher Gou, Aditya Banerjee, Jiaxuan Wang, Chunwei Liu
arXiv AI
Jul 28

Kalypso: Relational LLM Serving

arXiv:2607. 23815v1 Announce Type: cross Abstract: Large language models are increasingly used as semantic operators for filtering, extracting, ranking, joining, and transforming unstructured data.

By Hojae Son, Md Ashraful Islam, Huy Gia Cao, Hui Guan, Marco Serafini
arXiv AI
Aug 28

Compositional Online Learning for Semantic Data Processing Systems

The paper introduces compositional online learning for semantic data processing systems, addressing the high cost and latency of large language model (LLM) calls. It proposes a framework that combines lightweight online-learning components—such as memoization, per-call filter-ordering, and per-batch cascade-routing—within the LLM call boundary, allowing each component to make real-time decisions and update its models without exceeding the LLM round-trip time. A production case study in Cortex AISQL demonstrates that these components can reduce the per-row LLM cost by up to 8× compared to a baseline workload.

By Pawe\l{} Liskowski, Fuheng Zhao, Benjamin Han, Anupam Datta, Dimitris Tsirogiannis
arXiv AI
Nov 16

LuthorSQL: A One-Pass Text-to-SQL Model as System 1 for a Slower LLM Agent

LuthorSQL is a 7B non‑autoregressive text‑to‑SQL model that performs a single forward pass to predict slot scores over a bounded grammar, compiles up to 32 candidate plans, and selects an answer with a trained validator. It achieves 68.03 % execution accuracy on BIRD’s hidden test set in 0.84 s per question on a single GPU, retains accuracy with 9 GB 8‑bit quantized weights, and zero‑shot transfers to multiple database engines within 3.1 points of native SQLite performance. When paired with Claude Opus 5.5 in a confidence cascade, LuthorSQL answers nearly half of queries locally, reducing API cost by 33.3 % while maintaining the same overall accuracy.

By Ibrahim Memon, Armin Karamzade, M. Hanif Jhaveri, Roy Fox
arXiv AI
Nov 5

AvalancheBench: Evaluating Enterprise Agent-Driven Semantic Query Processing Through Latent World Recovery

AvalancheBench is a multimodal enterprise analytics benchmark that tests data agents’ ability to recover a latent world from observed data, using 58 questions across text, images, and documents. It evaluates agents on analytical fidelity, monetary cost, and a new capability‑adjusted token cost (CATC) metric, revealing that misinterpreting requirements and misuse of semantic operators are the biggest sources of error. The benchmark highlights how errors can propagate through dependent questions, affecting overall performance.

By Darek Kleczek, Fuheng Zhao, Alexander W. Lee, Julien Tissier, Pawel Liskowski, Ugur Cetintemel, Anupam Datta
arXiv Computation and Language
Oct 26

Cluster, Route, Escalate: Cascaded Framework for Cost-Aware LLM Serving

arXiv:2606.27457v2 Announce Type: replace-cross Abstract: Serving open-weight language models on premises forces a trade-off between accuracy and computational cost. Hosting models of different sizes...

By Yasmin Moslem, Magdalena Kacmajor, Vasudevan Nedumpozhimana, Ammar Abbas, Solmaz Panahi, David Lynch, Zhuangzhuang Nie, Alexandros Agapitos, Aleksandar Milenovic, Hongmeng Song, Yucheng Shi, Yue Pan, Patricia Buffini, John D. Kelleher
arXiv AI
Jul 8

Spider 2.0-AIFunc: Extending Real-World Text-to-SQL to AI-Native SQL Workflows

arXiv:2607. 06229v1 Announce Type: cross Abstract: Major cloud data platforms now expose large language model capabilities as native SQL functions, enabling analysts to perform classification, filtering, sentiment analysis, extraction, similarity search, and aggregation within ordinary SQL queries.

By Tianyang Liu, Canwen Xu, Fangyu Lei, Nikki Lijing Kuang, Jixuan Chen, Tao Yu, Julian McAuley, Zhewei Yao, Yuxiong He