paper-with-me

홈 › Papers

Streaming Model Cascades for Semantic SQL

2026-04-01 · Paweł Liskowski, Kyle Schmaus arxiv

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. Model cascades reduce this cost by routing most rows through a fast proxy model and delegating uncertain cases to an expensive oracle. Prior SUPG-style cascades, however, require a global proxy-score pass that is itself an LLM-inference workload and blocks output in pipelined query engines. They also target either precision or recall and cannot serve workloads that need both. We formalize the cascade routing problem for streaming semantic SQL with independent parallel workers and present two complementary algorithms within this model. SUPG-IT extends SUPG from single-pass, single-metric estimation to streaming execution by iteratively refining two thresholds as oracle labels accumulate across batches, and is the first streaming cascade with joint probabilistic guarantees on user-specified precision and recall at a chosen failure probability $δ$. GAMCAL replaces user-specified targets with a single tradeoff parameter $α$ between classification error and oracle cost, and learns a monotone Generalized Additive Model that calibrates proxy scores to true-positive probabilities and supplies pointwise uncertainty for stochastic routing. On six classification, filtering, and join benchmarks evaluated in a production semantic SQL engine, both algorithms reach $F_1 \geq 0.95$ at their best operating points. GAMCAL also leads all six datasets at a 20% delegation budget and reaches $F_1 \geq 0.95$ with up to 58% fewer oracle calls than LOTUS's SUPG cascade. SUPG-IT attains the highest best-case $F_1$, with a mean of 0.989 across the six datasets.

📄 PDF Abstract BibTeX arXiv:2604.00660

Code (0)

등록된 구현이 없습니다.

Similar Papers 제목 키워드 기반

Endpoint Detection for Streaming End-to-End Multi-talker ASR

2022-01-24 · Liang Lu, Jinyu Li, Yifan Gong

Streaming end-to-end multi-talker speech recognition aims at transcribing the overlapped speech from conversations or meetings with an all-neural model in a streaming fashion, which is fundamentally different from a modu…

Sentencespeech-recognitionSpeech RecognitionSpeech Separation

Instance-aware Semantic Segmentation via Multi-task Network Cascades

2015-12-14 · CVPR 2016 6 · Jifeng Dai, Kaiming He, Jian Sun

Semantic segmentation research has recently witnessed rapid progress, but many leading methods are unable to identify object instances. In this paper, we present Multi-task Network Cascades for instance-aware semantic se…

Multi-Human Parsingobject-detectionObject DetectionSegmentation+1

Incomplete Gamma Integrals for Deep Cascade Prediction using Content, Network, and Exogenous Signals

2021-06-13 · Subhabrata Dutta, Shravika Mittal, Dipankar Das, Soumen Chakrabarti 외

The behaviour of information cascades (such as retweets) has been modelled extensively. While point process-based generative models have long been in use for estimating cascade growths, deep learning has greatly enhanced…

Semantic Agreement Enables Efficient Open-Ended LLM Cascades

2025-09-26 · Duncan Soiffer, Steven Kolawole, Virginia Smith arxiv

Cascade systems route computational requests to smaller models when possible and defer to larger models only when necessary, offering a promising approach to balance cost and quality in LLM deployment. However, they face…

Text Generation

Calibrate-Then-Delegate: Safety Monitoring with Risk and Budget Guarantees via Model Cascades

2026-04-15 · Edoardo Pona, Milad Kazemi, Mehran Hosseini, Yali Du 외 arxiv

Monitoring LLM safety at scale requires balancing cost and accuracy: a cheap latent-space probe can screen every input, but hard cases should be escalated to a more expensive expert. Existing cascades delegate based on p…