When is a better LLM worth paying for? Stochastic Optimization with Switching Mixed-Fidelity Oracles
Not on the map. Why?
Abstract (arXiv)
Large language models (LLMs) are increasingly used upstream of decision-making to clean data, detect label errors, and reconstruct missing values. Yet LLM-assisted data curation creates a new operational tradeoff: higher-fidelity models and richer prompts can be substantially more expensive, while the value of this additional fidelity depends on the downstream optimization accuracy. This raises the central question of this work: when should one pay for a better LLM, given a specific downstream task at hand? We study this question through stochastic optimization with mixed-fidelity first-order oracles, which can have systematic bias and state-dependent variance. We develop two cost-aware algorithmic frameworks that allow adaptive switching between stochastic oracles. With known bias, the first meta-algorithm applies a restarted, cost-aware policy that adaptively selects oracle fidelity across optimization stages. Its cumulative cost is no larger than that of the best fixed oracle in hindsight and can be substantially smaller. With unknown bias, we develop a budgeted certification scheme that uses occasional trusted-gradient evaluations to certify the optimization progress and eliminate unsuccessful oracle sources, and show an explicit tradeoff between certification cost and delayed detection of biased sources. We provide concrete realizations of these meta-algorithms by applying biased stochastic gradient extrapolation (SGE) and recursive regularization under state-dependent noise as subroutines. Synthetic and LLM-completion experiments illustrate the qualitative switching behavior predicted by the theory: the adaptive policy skips several expensive LLM oracles and substantially reduces cumulative cost relative to fixed high-fidelity alternatives while achieving comparable accuracy.
Key facts. No citing papers in the map yet (data through 26 Nov 2026). Builds on 40 of its 56 references that are in the map. Submitted 15 Oct 2026.
Builds on
40 of 56 references.
References · 40
- 2020Denoising Diffusion Probabilistic Modelscited by 21,784
- 2024Chatbot Arena: An Open Platform for Evaluating LLMs by Human Preferencecited by 1,276
- 2016Optimization Methods for Large-Scale Machine Learningcited by 1,188
- 2023FrugalGPT: How to Use Large Language Models While Reducing Cost and Improving Performancecited by 1,000
- 2023ChatGPT Outperforms Crowd-Workers for Text-Annotation Taskscited by 924
- 2024RouteLLM: Learning to Route LLMs with Preference Datacited by 809
- 2017Snorkel: Rapid Training Data Creation with Weak Supervisioncited by 386
- 2023Prediction-Powered Inferencecited by 254
- 2018Using Trusted Data to Train Deep Networks on Labels Corrupted by Severe Noisecited by 219
- 2019SGD: General Analysis and Improved Ratescited by 212
- 2018Survey of multifidelity methods in uncertainty propagation, inference, and optimizationcited by 153
- 2017Multi-fidelity Bayesian Optimisation with Continuous Approximationscited by 133
28 more
- 2020On the Convergence of SGD with Biased Gradientscited by 100
- 2023LLMs Accelerate Annotation for Medical Information Extractioncited by 78
- 2020SGD for Structured Nonconvex Functions: Learning Rates, Minibatching and Interpolationcited by 71
- 2018How To Make the Gradients Small Stochastically: Even Faster Convex and Nonconvex SGDcited by 58
- 2019The Complexity of Making the Gradient Small in Stochastic Convex Optimizationcited by 35
- 2023Entity Matching using Large Language Modelscited by 35
- 2024Are LLMs Better than Reported? Detecting Label Errors and Mitigating Their Effect on Model Performancecited by 28
- 2024LLM-Forest: Ensemble Learning of LLMs with Graph-Augmented Prompts for Data Imputationcited by 27
- 2021Stochastic Bias-Reduced Gradient Methodscited by 26
- 2020Simple and optimal methods for stochastic variational inequalities, II: Markovian noise and policy evaluation in reinforcement learningcited by 25
- 2024Schema Matching with Large Language Models: an Experimental Studycited by 22
- 2024How much is a noisy image worth? Data Scaling Laws for Ambient Diffusioncited by 19
- 2019A Universally Optimal Multistage Accelerated Stochastic Gradient Methodcited by 18
- 2017Random gradient extrapolation for distributed and stochastic optimizationcited by 15
- 2023Accelerated stochastic approximation with state-dependent noisecited by 13
- 2024LLM4DSR: Leveraging Large Language Model for Denoising Sequential Recommendationcited by 12
- 2021An Even More Optimal Stochastic Optimization Algorithm: Minibatching and Interpolation Learningcited by 11
- 2019Efficient Optimization of Loops and Limits with Randomized Telescoping Sumscited by 10
- 2024Universality of AdaGrad Stepsizes for Stochastic Optimization: Inexact Oracle, Acceleration and Variance Reductioncited by 10
- 2020Sparse recovery by reduced variance stochastic approximationcited by 9
- 2017Unbiased Simulation for Optimizing Stochastic Function Compositionscited by 8
- 2024Multi-level Monte-Carlo Gradient Methods for Stochastic Optimization with Biased Oraclescited by 8
- 2025Unleashing the Power of Large Language Model for Denoising Recommendationcited by 8
- 2024A Context-Aware Approach for Enhancing Data Imputation with Pre-trained Language Modelscited by 6
- 2025Calibrating Pre-trained Language Classifiers on LLM-generated Noisy Labels via Iterative Refinementcited by 5
- 2024A Guide to Stochastic Optimisation for Large-Scale Inverse Problemscited by 4
- 2026Online Pandora's Box for Contextual LLM Cascadingcited by 3
- 2017Online learning in optical tomography: a stochastic approachcited by 2
Built on by
Not cited yet.