mlsanityData to 14 Oct 2026

Efficiently Deploying LLMs with Controlled Risk

arXiv 2410.02173 ↗First posted 3 Oct 2024cs.LG cs.AIcited by 5

Not on the map. Why?

Abstract (arXiv)

Deploying large language models in production requires simultaneous attention to efficiency and risk control. Prior work has shown the possibility to cut costs while maintaining similar accuracy, but has neglected to focus on risk control. By contrast, here we present hierarchical chains with multi-level abstention (HCMA), which use model-intrinsic uncertainty to delegate queries along the LLM intelligence hierarchy, enabling training-free model switching based solely on black-box API calls. Our framework presents novel trade-offs between efficiency and risk. For example, deploying HCMA on MMLU cuts the error rate of Llama3 405B by 30% when the model is allowed to abstain on 20% of the queries. To calibrate HCMA for optimal performance, our approach uses data-efficient logistic regressions (based on a simple nonlinear feature transformation), which require only 50 or 100 labeled examples to achieve excellent calibration error (ECE), cutting ECE by 50% compared to naive Platt scaling. On free-form generation tasks, we find that chain-of-thought is ineffectual for selective prediction, whereas zero-shot prompting drives error to 0% on TruthfulQA at high abstention rates. As LLMs are increasingly deployed across computing environments with different capabilities (such as mobile, laptop, and cloud), our framework paves the way towards maintaining deployment efficiency while putting in place sharp risk controls.

Key facts. Cited by 5 papers in the map (data through 14 Oct 2026). Builds on 38 of its 48 references that are in the map. First posted on arXiv 3 Oct 2024.

Builds on

38 of 48 references.

References · 38

  1. 2022Training language models to follow instructions with human feedbackcited by 15,971
  2. 2015Distilling the Knowledge in a Neural Networkcited by 10,324
  3. 2021Training Verifiers to Solve Math Word Problemscited by 10,109
  4. 2017On Calibration of Modern Neural Networkscited by 4,960
  5. 2022FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awarenesscited by 3,673
  6. 2016A Baseline for Detecting Misclassified and Out-of-Distribution Examples in Neural Networkscited by 2,385
  7. 2022Language Models (Mostly) Know What They Knowcited by 1,856
  8. 2022Fast Inference from Transformers via Speculative Decodingcited by 1,653
  9. 2023Can LLMs Express Their Uncertainty? An Empirical Evaluation of Confidence Elicitation in LLMscited by 974
  10. 2023FrugalGPT: How to Use Large Language Models While Reducing Cost and Improving Performancecited by 853
  11. 2017Selective Classification for Deep Neural Networkscited by 852
  12. 2023Semantic Uncertainty: Linguistic Invariances for Uncertainty Estimation in Natural Language Generationcited by 819
26 more
  1. 2023SelfCheckGPT: Zero-Resource Black-Box Hallucination Detection for Generative Large Language Modelscited by 810
  2. 2022Teaching Models to Express Their Uncertainty in Wordscited by 751
  3. 2023The Internal State of an LLM Knows When It's Lyingcited by 659
  4. 2023LLM-Blender: Ensembling Large Language Models with Pairwise Ranking and Generative Fusioncited by 564
  5. 2020How Can We Know When Language Models Know? On the Calibration of Language Models for Question Answeringcited by 445
  6. 2024Hybrid LLM: Cost-Efficient and Quality-Aware Query Routingcited by 372
  7. 2024INSIDE: LLMs' Internal States Retain the Power of Hallucination Detectioncited by 323
  8. 2023Generating with Confidence: Uncertainty Quantification for Black-box Large Language Modelscited by 293
  9. 2024A Survey on Knowledge Distillation of Large Language Modelscited by 284
  10. 2024Semantic Entropy Probes: Robust and Cheap Hallucination Detection in LLMscited by 259
  11. 2024RouterBench: A Benchmark for Multi-LLM Routing Systemcited by 238
  12. 2022Out-of-Distribution Detection and Selective Generation for Conditional Language Modelscited by 197
  13. 2024Kernel Language Entropy: Fine-grained Uncertainty Quantification for LLMs from Semantic Similaritiescited by 159
  14. 2023Routing to the Expert: Efficient Reward-guided Ensemble of Large Language Modelscited by 145
  15. 2023Large Language Model Cascades with Mixture of Thoughts Representations for Cost-efficient Reasoningcited by 143
  16. 2023AutoMix: Automatically Mixing Language Modelscited by 125
  17. 2024Language Model Cascades: Token-level uncertainty and beyondcited by 121
  18. 2023Fly-Swat or Cannon? Cost-Effective Language Model Choice via Meta-Modelingcited by 95
  19. 2022Investigating Selective Prediction Approaches Across Several Tasks in IID, OOD, and Adversarial Settingscited by 66
  20. 2023Adaptation with Self-Evaluation to Improve Selective Prediction in LLMscited by 50
  21. 2023Fusing Models with Complementary Expertisecited by 46
  22. 2024Improving Uncertainty Estimation through Semantically Diverse Language Generationcited by 35
  23. 2023Tryage: Real-time, intelligent Routing of User Prompts to Large Language Modelscited by 30
  24. 2023Post-Abstention: Towards Reliably Re-Attempting the Abstained Instances in QAcited by 20
  25. 2023OrchestraLLM: Efficient Orchestration of Language Models for Dialogue State Trackingcited by 19
  26. 2024Probabilities of Chat LLMs Are Miscalibrated but Still Predict Correctness on Multiple-Choice Q&Acited by 16

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2025: 3; 2026: 2.

5 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2025From Large to Super-Tiny: End-to-End Optimization for Cost-Efficient LLMs
  2. 2026Scaling Down the Scaling Laws: Parameter Efficiency and Compute-Optimal Training in Resource-Constrained Large Language Models
  3. 2026Cluster, Route, Escalate: Cascaded Framework for Cost-Aware LLM Serving
  4. 2026Safeguarding LLM Fine-tuning via Push-Pull Distributional Alignment
  5. 2024Empirical Guidelines for Deploying LLMs onto Resource-constrained Edge Devices
  6. 2025Activation Approximations Can Incur Safety Vulnerabilities Even in Aligned LLMs: Comprehensive Analysis and Defense
  7. 2025A Comprehensive Survey in LLM(-Agent) Full Stack Safety: Data, Training and Deployment
  8. 2026From Stochastic Answers to Verifiable Reasoning: Interpretable Decision-Making with LLM-Generated Code