Lune

SIGMOD2026顶会

Cut Costs, Not Accuracy: LLM-Powered Data Processing with Guarantees

Sepanta Zeighami, Shreya Shankar, Aditya G. Parameswaran

摘要

Large Language Models (LLMs) are being increasingly used as a building block in data systems to process large text datasets. To do so, LLM model providers offer multiple LLMs with different sizes, spanning various cost-quality trade-offs when processing text at scale. Top-of-the-line LLMs (e.g., GPT-4o, Claude Sonnet) operate with high accuracy but are prohibitively expensive when processing many records. To avoid high costs, more affordable but lower quality LLMs (e.g., GPT-4o-mini, Claude Haiku) can be used to process records, but we need to ensure that the overall accuracy does not deviate substantially from that of the top-of-the-line LLMs. The model cascade framework provides a blueprint to manage this trade-off, by using the confidence of LLMs in their output (e.g., log-probabilities) to decide on which records to use the affordable LLM. However, existing solutions following this framework provide only marginal cost savings and weak theoretical guarantees because of poor estimation of the quality of the affordable LLM's outputs. We present BARGAIN, a method that judiciously uses affordable LLMs in data processing to significantly reduce cost while providing strong theoretical guarantees on the solution quality. BARGAIN employs a novel adaptive sampling strategy and statistical estimation procedure that uses data and task characteristics and builds on recent statistical tools to make accurate estimations with tight theoretical guarantees. Variants of BARGAIN can support guarantees on accuracy, precision, or recall of the output. Experimental results across 8 real-world datasets show that BARGAIN reduces cost, on average, by up to 86% more than state-of-the-art, while providing stronger theoretical guarantees on accuracy of output, with similar gains when guaranteeing a desired level of precision or recall.

问 Lune

几分钟读透这篇 Paper,不用再花一下午。

Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。

已有 6 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。

可以从这些问题问起

Lune 可以查阅

全文 · 引用它的顶会 Paper · 相关的 Paper

获取答案

免费开始,无需绑卡

脉络

  • How Large Language Models Will Disrupt Data Management 引用了 Can Foundation Models Wrangle Your Data?
  • Prefix-Cache-Aware Data Reordering for LLM-Augmented Database Analytics 引用了 Can Foundation Models Wrangle Your Data?
  • DocETL: Agentic Query Rewriting and Evaluation for Complex Document Processing 引用了 How Large Language Models Will Disrupt Data Management
  • DocETL: Agentic Query Rewriting and Evaluation for Complex Document Processing 引用了 Language Models Enable Simple Systems for Generating Structured Views of Heterogeneous Data Lakes
  • Multi-Objective Agentic Rewrites for Unstructured Data Processing 引用了 Language Models Enable Simple Systems for Generating Structured Views of Heterogeneous Data Lakes
  • Multi-Objective Agentic Rewrites for Unstructured Data Processing 引用了 DocETL: Agentic Query Rewriting and Evaluation for Complex Document Processing
  • Automated Discovery of Test Oracles for Database Management Systems Using LLMs 引用了 DocETL: Agentic Query Rewriting and Evaluation for Complex Document Processing
  • ScaleDoc: Scaling LLM-based Predicates over Large Document Collections 引用了 Language Models Enable Simple Systems for Generating Structured Views of Heterogeneous Data Lakes
  • ScaleDoc: Scaling LLM-based Predicates over Large Document Collections 引用了 DocETL: Agentic Query Rewriting and Evaluation for Complex Document Processing
  • Featurized-Decomposition Join: Low-Cost Semantic Joins with Guarantees 引用了 Language Models Enable Simple Systems for Generating Structured Views of Heterogeneous Data Lakes
  • Featurized-Decomposition Join: Low-Cost Semantic Joins with Guarantees 引用了 BlazeIt: Optimizing Declarative Aggregation and Limit Queries for Neural Network-Based Video Analytics
  • Featurized-Decomposition Join: Low-Cost Semantic Joins with Guarantees 引用了 Can Foundation Models Wrangle Your Data?
  • Featurized-Decomposition Join: Low-Cost Semantic Joins with Guarantees 引用了 DocETL: Agentic Query Rewriting and Evaluation for Complex Document Processing
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper6

  1. Multi-Objective Agentic Rewrites for Unstructured Data ProcessingLindsey Linxi Wei, Shreya Shankar, Sepanta Zeighami, Yeounoh Chung 等VLDB 2026 · 15 次引用
  2. Featurized-Decomposition Join: Low-Cost Semantic Joins with GuaranteesSepanta Zeighami, Shreya Shankar, Aditya G. ParameswaranVLDB 2026 · 11 次引用
  3. ScaleDoc: Scaling LLM-based Predicates over Large Document CollectionsHengrui Zhang, Yulong Hui, Yihao Liu, Huanchen ZhangSIGMOD 2026 · 2 次引用
  4. Automated Discovery of Test Oracles for Database Management Systems Using LLMsQiuyang Mang, Runyuan He, Suyang Zhong, Xiaoxuan Liu 等SIGMOD 2026 · 1 次引用
  5. Prefix-Cache-Aware Data Reordering for LLM-Augmented Database AnalyticsYingze Li, dong wang, Yiming Guo, Yao Chen 等ICML 2026

它引用的 Paper16

  1. Can Foundation Models Wrangle Your Data?Avanika Narayan, Ines Chami, Laurel J. Orr, Christopher RéVLDB 2023 · 325 次引用
  2. Language Models Enable Simple Systems for Generating Structured Views of Heterogeneous Data LakesSimran Arora, Brandon Yang, Sabri Eyuboglu, Avanika Narayan 等VLDB 2024 · 165 次引用
  3. How Large Language Models Will Disrupt Data ManagementRaul Castro Fernandez, Aaron J. Elmore, Michael J. Franklin, Sanjay Krishnan 等VLDB 2023 · 127 次引用
  4. BlazeIt: Optimizing Declarative Aggregation and Limit Queries for Neural Network-Based Video AnalyticsDaniel Kang, Peter Bailis, Matei ZahariaVLDB 2020 · 103 次引用
  5. DocETL: Agentic Query Rewriting and Evaluation for Complex Document ProcessingShreya Shankar, Tristan Chambers, Tarak Shah, Aditya G. Parameswaran 等VLDB 2025 · 62 次引用

相关 Paper

  1. Large Language Model Cascades with Mixture of Thought Representations for Cost-Efficient ReasoningMurong Yue, Jie Zhao, Min Zhang, Liang Du 等ICLR 2024 · 153 次引用
  2. SpareLLM: Automatically Selecting Task-Specific Minimum-Cost Large Language Models under Equivalence ConstraintSaehan Jo, Immanuel TrummerSIGMOD 2025 · 4 次引用
  3. Task Cascades for Efficient Unstructured Data ProcessingShreya Shankar, Sepanta Zeighami, Aditya G. ParameswaranSIGMOD 2026 · 7 次引用
  4. SATER: A Self-Aware and Token-Efficient Approach to Routing and CascadingYuanzhe Shen, Yide Liu, Zisu Huang, Ruicheng Yin 等EMNLP 2025
  5. C3PO: Optimized Large Language Model Cascades with Probabilistic Cost Constraints for ReasoningAntonios Valkanas, Soumyasundar Pal, Pavel Rumiantsev, Yingxue Zhang 等NeurIPS 2025 · 10 次引用
黄昏的海面,两侧是细线勾勒的悬崖