paper-with-me

홈 › Papers

Optimising Calls to Large Language Models with Uncertainty-Based Two-Tier Selection

2024-05-03 · Guillem Ramírez, Alexandra Birch, Ivan Titov

Researchers and practitioners operating on a limited budget face the cost-performance trade-off dilemma. The challenging decision often centers on whether to use a large LLM with better performance or a smaller one with reduced costs. This has motivated recent research in the optimisation of LLM calls. Either a cascading strategy is used, where a smaller LLM or both are called sequentially, or a routing strategy is used, where only one model is ever called. Both scenarios are dependent on a decision criterion which is typically implemented by an extra neural model. In this work, we propose a simpler solution; we use only the uncertainty of the generations of the small LLM as the decision criterion. We compare our approach with both cascading and routing strategies using three different pairs of pre-trained small and large LLMs, on nine different tasks and against approaches that require an additional neural model. Our experiments reveal this simple solution optimally balances cost and performance, outperforming existing methods on 25 out of 27 experimental setups.

📄 PDF Abstract BibTeX arXiv:2405.02134

Code (0)

등록된 구현이 없습니다.

Similar Papers 제목 키워드 기반

Cache & Distil: Optimising API Calls to Large Language Models

2023-10-20 · Guillem Ramírez, Matthias Lindemann, Alexandra Birch, Ivan Titov

Large-scale deployment of generative AI tools often depends on costly API calls to a Large Language Model (LLM) to fulfil user queries. To curtail the frequency of these calls, one can employ a smaller language model -- …

Active LearningLanguage ModelingLanguage ModellingLarge Language Model

All Language Models Large and Small

2024-02-19 · Zhixun Chen, Yali Du, David Mguni

Many leading language models (LMs) use high-intensity computational resources both during training and execution. This poses the challenge of lowering resource costs for deployment and faster execution of decision-making…

AllDecision MakingGPU

When Engineering Outruns Intelligence: Rethinking Instruction-Guided Navigation

2025-07-26 · Matin Aghaei, Lingfeng Zhang, Mohammad Ali Alomrani, Mahdi Biparva 외 arxiv

Recent ObjectNav systems credit large language models (LLMs) for sizable zero-shot gains, yet it remains unclear how much comes from language versus geometry. We revisit this question by re-evaluating an instruction-guid…

Optimising energy and overhead for large parameter space simulations

2019-10-06 · Alexander J. M. Kell, Matthew Forshaw, A. Stephen McGough

Many systems require optimisation over multiple objectives, where objectives are characteristics of the system such as energy consumed or increase in time to perform the work. Optimisation is performed by selecting the `…

Reinforcement Learning

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…