paper-with-me

홈 › Papers

Large Language Model Cascades with Mixture of Thoughts Representations for Cost-efficient Reasoning

2023-10-04 · Murong Yue, Jie Zhao, Min Zhang, Liang Du, Ziyu Yao

Large language models (LLMs) such as GPT-4 have exhibited remarkable performance in a variety of tasks, but this strong performance often comes with the high expense of using paid API services. In this paper, we are motivated to study building an LLM cascade to save the cost of using LLMs, particularly for performing reasoning (e.g., mathematical, causal) tasks. Our cascade pipeline follows the intuition that simpler questions can be addressed by a weaker but more affordable LLM, whereas only the challenging questions necessitate the stronger and more expensive LLM. To realize this decision-making, we consider the "answer consistency" of the weaker LLM as a signal of the question difficulty and propose several methods for the answer sampling and consistency checking, including one leveraging a mixture of two thought representations (i.e., Chain-of-Thought and Program-of-Thought). Through experiments on six reasoning benchmark datasets, with GPT-3.5-turbo and GPT-4 being the weaker and stronger LLMs, respectively, we demonstrate that our proposed LLM cascades can achieve performance comparable to using solely the stronger LLM but require only 40% of its cost.

📄 PDF Abstract BibTeX arXiv:2310.03094

Code (1)

murongyue/llm_mot_cascade 공식 구현

Tasks

Decision MakingLanguage ModelingLanguage ModellingLarge Language Model

Methods 이 논문이 사용한 방법론

{Dispute@FaQ-s}How to file a dispute with Expedia? How to file a dispute with Expedia? To file a complaint against Expedia, first try contacting their customer service directly. You can reach them by phone at…
Multi-Head Attention 설명 없음
Attention 설명 없음
Cosine Annealing Cosine Annealing is a type of learning rate schedule that has the effect of starting with a large learning rate that is relatively rapidly decreased to a minimum value before…
Linear Warmup With Cosine Annealing Linear Warmup With Cosine Annealing is a learning rate schedule where we increase the learning rate linearly for $n$ updates and then anneal according to a cosine schedule…
15 Ways to Contact How can i speak to someone at Delta Airlines 설명 없음
Dropout Dropout is a regularization technique for neural networks that drops a unit (along with connections) at training time with a specified probability $p$ (a common value is…
Attention Dropout Attention Dropout is a type of dropout used in attention-based architectures, where elements are randomly dropped out of the…

Similar Papers 제목 키워드 기반

Uncovering Social Network Activity Using Joint User and Topic Interaction

2025-06-15 · Gaspard Abel, Argyris Kalogeratos, Jean-Pierre Nadal, Julien Randon-Furling

The emergence of online social platforms, such as social networks and social media, has drastically affected the way people apprehend the information flows to which they are exposed. In such platforms, various informatio…

Point Processes

Learning Mixtures of Graphs from Epidemic Cascades

2019-06-14 · ICML 2020 1 · Jessica Hoffmann, Soumya Basu, Surbhi Goel, Constantine Caramanis

We consider the problem of learning the weighted edges of a balanced mixture of two undirected graphs from epidemic cascades. While mixture models are popular modeling tools, algorithmic development with rigorous guarant…

Network Inference from a Mixture of Diffusion Models for Fake News Mitigation

2020-08-08 · Karishma Sharma, Xinran He, Sungyong Seo, Yan Liu

The dissemination of fake news intended to deceive people, influence public opinion and manipulate social outcomes, has become a pressing problem on social media. Moreover, information sharing on social media facilitates…

parameter estimation

Mixture of Rationale: Multi-Modal Reasoning Mixture for Visual Question Answering

2024-06-03 · Tao Li, Linjun Shou, Xuejun Liu

Zero-shot visual question answering (VQA) is a challenging task that requires reasoning across modalities. While some existing methods rely on a single rationale within the Chain of Thoughts (CoT) framework, they may fal…

DiversityQuestion AnsweringRetrievalVisual Question Answering+1

Deep Interaction Processes for Time-Evolving Graphs

2019-09-25 · xiaofu Chang, Jianfeng Wen, Xuqin Liu, Yanming Fang 외

Time-evolving graphs are ubiquitous such as online transactions on an e-commerce platform and user interactions on social networks. While neural approaches have been proposed for graph modeling, most of them focus on sta…