paper-with-me

홈 › Papers

Rational Tuning of LLM Cascades via Probabilistic Modeling

2025-01-16 · Michael J. Zellinger, Matt Thomson

Understanding the reliability of large language models (LLMs) has recently garnered significant attention. Given LLMs' propensity to hallucinate, as well as their high sensitivity to prompt design, it is already challenging to predict the performance of an individual LLM. However, the problem becomes more complex for compound LLM systems such as cascades, where in addition to each model's standalone performance, we must understand how the error rates of different models interact. In this paper, we present a probabilistic model for the joint performance distribution of a sequence of LLMs, which enables a framework for rationally tuning the confidence thresholds of a LLM cascade using continuous optimization. Compared to selecting confidence thresholds using grid search, our parametric Markov-copula model significantly improves runtime scaling with respect to the length of the cascade and the desired resolution of the cost-error curve, turning them from intractable into low-order polynomial. In addition, the optimal thresholds computed using our continuous optimization-based algorithm increasingly outperform those found via grid search as cascade length grows, improving the area under the cost-error curve by 1.9% on average for cascades consisting of at least three models. Overall, our Markov-copula model provides a rational basis for tuning LLM cascade performance and points to the potential of probabilistic methods in analyzing LLM systems.

📄 PDF Abstract BibTeX arXiv:2501.09345

Code (0)

등록된 구현이 없습니다.

Similar Papers 제목 키워드 기반

Sharp Thresholds of the Information Cascade Fragility Under a Mismatched Model

2020-06-07 · Wasim Huleihel, Ofer Shayevitz

We analyze a sequential decision making model in which decision makers (or, players) take their decisions based on their own private information as well as the actions of previous decision makers. Such decision making pr…

Decision MakingSequential Decision Making

Language Model Cascades

2022-07-21 · David Dohan, Winnie Xu, Aitor Lewkowycz, Jacob Austin 외

Prompted models have demonstrated impressive few-shot learning abilities. Repeated interactions at test-time with a single model, or the composition of multiple models together, further expands capabilities. These compos…

Few-Shot LearningLanguage ModelingLanguage Modellingmodel+1

Probabilistic Event Cascades for Alzheimer's disease

2012-12-01 · NeurIPS 2012 12 · Jonathan Huang, Daniel Alexander

Accurate and detailed models of the progression of neurodegenerative diseases such as Alzheimer's (AD) are crucially important for reliable early diagnosis and the determination and deployment of effective treatments. I…

Cascade-LSTM: Predicting Information Cascades using Deep Neural Networks

2020-04-26 · Sameera Horawalavithana, John Skvoretz, Adriana Iamnitchi

Predicting the flow of information in dynamic social environments is relevant to many areas of the contemporary society, from disseminating health care messages to meme tracking. While predicting the growth of informatio…

Reconciling Irrational Human Behavior with AI based Decision Making: A Quantum Probabilistic Approach

2018-08-14 · Sagar Uprety, Dawei Song

There are many examples of human decision making which cannot be modeled by classical probabilistic and logic models, on which the current AI systems are based. Hence the need for a modeling framework which can enable in…

Decision Making