paper-with-me

홈 › Papers

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

2025-09-02 · Sepanta Zeighami, Shreya Shankar, Aditya Parameswaran arxiv

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.

📄 PDF Abstract BibTeX arXiv:2509.02896

Code (0)

등록된 구현이 없습니다.

Similar Papers 제목 키워드 기반

Arbitrary Precision Printed Ternary Neural Networks with Holistic Evolutionary Approximation

2025-08-27 · Vojtech Mrazek, Konstantinos Balaskas, Paula Carolina Lozano Duarte, Zdenek Vasicek 외 arxiv

Printed electronics offer a promising alternative for applications beyond silicon-based systems, requiring properties like flexibility, stretchability, conformality, and ultra-low fabrication costs. Despite the large fea…

Semantic Operators: A Declarative Model for Rich, AI-based Data Processing

2024-07-16 · Liana Patel, Siddharth Jha, Melissa Pan, Harshit Gupta 외

The semantic capabilities of large language models (LLMs) have the potential to enable rich analytics and reasoning over vast knowledge corpora. Unfortunately, existing systems either empirically optimize expensive LLM-p…

Extreme Multi-Label ClassificationFact CheckingMulti-Label ClassificationMUlTI-LABEL-ClASSIFICATION

Using Sampling to Estimate and Improve Performance of Automated Scoring Systems with Guarantees

2021-11-17 · Yaman Kumar Singla, Sriram Krishna, Rajiv Ratn Shah, Changyou Chen

Automated Scoring (AS), the natural language processing task of scoring essays and speeches in an educational testing setting, is growing in popularity and being deployed across contexts from government examinations to c…

Calibeating Prediction-Powered Inference

2026-04-23 · Lars van der Laan, Mark Van Der Laan arxiv

We study semisupervised mean estimation with a small labeled sample, a large unlabeled sample, and a black-box prediction model whose output may be miscalibrated. A standard approach in this setting is augmented inverse-…

SMART: Automatically Scaling Down Language Models with Accuracy Guarantees for Reduced Processing Fees

2024-03-11 · Saehan Jo, Immanuel Trummer

The advancement of Large Language Models (LLMs) has significantly boosted performance in natural language processing (NLP) tasks. However, the deployment of high-performance LLMs incurs substantial costs, primarily due t…